{
  "family": "confucius",
  "sample_count": 2,
  "category": "trojan",
  "description": "Trojan:Win32/Confucius is a specialized espionage trojan and backdoor associated with the 'Confucius' Advanced Persistent Threat (APT) group (often linked to South Asian state-sponsored activity). It is highly targeted malware designed for long-term intelligence gathering, specifically exfiltrating sensitive documents, keystrokes, and audio recordings from compromised government and military targets (`T1005`).<br><br><b>Understanding Confucius (Targeted Espionage)</b><br>To an end-user, a Confucius infection is entirely invisible, operating silently to avoid disrupting the target's daily work. For a SOC analyst, detecting Confucius signifies a highly sophisticated, targeted state-sponsored attack. This is not cybercrime; it is cyber-espionage. The malware is often custom-compiled for the specific target environment to bypass standard AV signatures.<br><br><b>Execution and Espionage Mechanics</b><br>Confucius relies heavily on highly tailored spearphishing (`T1566.001`), often using malicious documents exploiting known vulnerabilities (e.g., CVE-2017-11882 in Microsoft Equation Editor). Upon successful exploitation, it drops its payload. It establishes persistence via Registry Run keys or hidden Scheduled Tasks. The core modules focus on data collection: it constantly searches the file system for specific document types (`.pdf`, `.docx`, `.xls`) (`T1005`), records keystrokes (`T1056.001`), and can even activate the microphone to record ambient audio (`T1120`). Exfiltration is carefully managed, often trickling data out via encrypted HTTPS connections to compromised, legitimate websites acting as C2 proxies.<br><br><b>Indicators of Compromise & Impact</b><br>The impact is the devastating loss of highly sensitive, classified, or proprietary data. Host-based IoCs include EDR alerts for uncommon processes spawning from Microsoft Office, unauthorized access to the microphone API (`T1120`), and the creation of hidden staging directories (e.g., in `%LocalAppData%`) where documents are gathered before exfiltration. Network IoCs involve low-and-slow beaconing to specific, often compromised regional domains, rather than typical bulletproof hosting.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [],
  "faq_count": 0,
  "mitre_attack": [
    "T1566.001",
    "T1120",
    "T1005",
    "T1056.001"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1005",
      "name": "Data from Local System (Searching for and staging sensitive documents for exfiltration)",
      "tactic": "Collection"
    },
    {
      "id": "T1120",
      "name": "Peripheral Device Discovery (Activating the microphone for audio surveillance)",
      "tactic": "Discovery"
    },
    {
      "id": "T1056.001",
      "name": "Input Capture: Keylogging (Stealing credentials and intelligence)",
      "tactic": "Credential Access"
    },
    {
      "id": "T1566.001",
      "name": "Phishing: Spearphishing Attachment (Primary entry vector using targeted lures)",
      "tactic": "Initial Access"
    }
  ],
  "containment_steps": [
    "Isolate the machine, but DO NOT turn it off. State-sponsored malware often operates in memory; a live RAM capture is critical.",
    "Initiate a full enterprise-wide threat hunt using the identified C2 domains and file hashes, as APTs rarely compromise just one machine.",
    "Analyze email gateways to identify the initial spearphishing lure to understand the attacker's targeting profile and prevent further clicks.",
    "Assume all data on the machine has been compromised and notify appropriate internal intelligence or legal teams."
  ],
  "what_to_avoid": [
    "Do not remediate the machine immediately without performing deep forensics; understanding what data the APT stole is vital for damage assessment.",
    "Avoid discussing the incident on unencrypted channels, as the attacker may still have active surveillance capabilities within the network."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ]
}