Advisor
Wiki Techniques, Tactics & Procedures (TTPs) Command & Control Social Media-Based Command and Control

Social Media-Based Command and Control

2 min read
Jump to:

Overview

Social Media-Based Command and Control (C2) is a technique where adversaries leverage popular social media platforms to communicate with compromised systems. This method is used during the Command & Control phase of the attack lifecycle to evade traditional network defenses and blend malicious traffic with legitimate social media communications.

Attack Objective

  • Maintain covert control over compromised hosts
  • Supports the Command & Control stage and can facilitate subsequent stages such as lateral movement and data exfiltration
  • Enables attackers to issue commands, receive data, and update malware while avoiding detection by conventional security controls

How the Technique Works

Adversaries use social media platforms as communication channels by embedding commands or data within posts, messages, or profiles. Compromised systems connect to these platforms to retrieve instructions or upload stolen information, often using legitimate APIs or web interfaces to blend in with normal user activity.

Common Methods & Variations

  • Embedding commands in social media posts, comments, or direct messages
  • Using popular platforms such as Twitter, Facebook, Instagram, LinkedIn, or Telegram
  • Variants include using on-premises endpoints or cloud-hosted environments to access social media APIs
  • Utilization of living-off-the-land techniques by leveraging legitimate social media tools and protocols versus custom-built C2 frameworks

Indicators of Compromise (IOCs)

  • Unusual or unauthorized access to social media accounts from endpoints
  • Network traffic patterns consistent with social media API calls outside normal user behavior
  • Artifacts such as scripts or binaries designed to parse or interact with social media content
  • Unexpected outbound connections to social media domains from non-user applications

Detection Strategies

  • Monitoring endpoint and network telemetry for anomalous social media access patterns
  • Behavioral detection focusing on unusual timing, frequency, or volume of social media interactions
  • Correlation of social media access with other suspicious activities such as privilege escalation or lateral movement

Mitigation & Prevention

  • Implement strict egress filtering and proxy controls to limit unauthorized social media access
  • Enforce application whitelisting and endpoint protection to prevent unauthorized tools from accessing social media APIs
  • Apply multi-factor authentication and strong credential management for social media accounts
  • Establish user awareness training regarding social media risks and suspicious activity reporting

Response Considerations

  • Immediately isolate affected systems to prevent further C2 communications
  • Investigate social media account activity and associated network logs to identify scope and timeline
  • Revoke or reset credentials for compromised social media accounts and endpoints
  • Enhance monitoring and harden controls around social media access post-incident

Related Techniques

  • Use of Web Services for Command and Control
  • Data Encoding and Obfuscation to conceal commands within social media content
  • Lateral Movement facilitated through compromised credentials obtained via social media-based C2

Mapping & References

  • MITRE ATT&CK: T1091 – Replication Through Removable Media (related to C2)
  • MITRE ATT&CK: T1102 – Web Service
  • Public research reports on social media C2 usage in advanced persistent threat campaigns
  • Security advisories highlighting detection and mitigation of social media-based C2
Tags: Attack Techniques Command and Control cyber threats endpoint security Incident Response network security Social Media Threat Detection