{
  "family": "dimnie",
  "sample_count": 13,
  "category": "infostealer",
  "description": "Dimnie (first discovered in 2014 and thoroughly analyzed by security firms including Palo Alto Networks Unit 42) is an evasive modular infostealer and intelligence-gathering trojan. Operating primarily in memory to avoid writing artifacts to disk, Dimnie features multi-layered encryption and anti-analysis routines that evade debuggers and sandbox hypervisors. Dimnie is equipped with specialized plugins: a memory scraper for harvesting credentials, an audio and screen recording module, a PowerShell execution engine, a keylogger, and network traffic exfiltration modules that disguise outbound stolen data within benign-looking HTTP requests, GitHub commits, or DNS queries.",
  "cta": "Published by the SystemHelpdesk Threat Intelligence Team.",
  "aliases": [
    "Trojan:Win32/Dimnie",
    "PWS:Win32/Dimnie",
    "Trojan.Dimnie",
    "Dimnie Stealer",
    "Win32/Dimnie"
  ],
  "enrichment_level": "curated_sourced",
  "faq": [
    {
      "@type": "Question",
      "name": "What is Trojan:Win32/Dimnie?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Dimnie is a sophisticated modular infostealer and surveillance trojan designed to covertly harvest sensitive data in-memory."
      }
    },
    {
      "@type": "Question",
      "name": "Why is Dimnie considered highly evasive?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It executes purely in memory without dropping files to disk and uses multi-layered obfuscation against sandbox environments."
      }
    },
    {
      "@type": "Question",
      "name": "What surveillance modules are included in Dimnie?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Keylogging, desktop screenshots, audio recording, process memory scraping, and arbitrary PowerShell execution."
      }
    },
    {
      "@type": "Question",
      "name": "How does Dimnie exfiltrate stolen data?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It disguises exfiltration traffic inside benign HTTP traffic, GitHub API interactions, or encoded DNS queries."
      }
    },
    {
      "@type": "Question",
      "name": "How do defenders detect Dimnie infections?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Deploy endpoint detection and response (EDR) agents with memory scanning, process hollowing detection, and network anomaly monitoring."
      }
    }
  ],
  "faq_count": 5,
  "mitre_attack": [
    "T1055",
    "T1056.001",
    "T1113",
    "T1125",
    "T1059.001",
    "T1071.001",
    "T1041"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-10-15",
  "mitre_attack_detail": [
    {
      "id": "T1055.012",
      "name": "Process Injection: Process Hollowing",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1620",
      "name": "Reflective Code Loading (Fileless execution of plugins)",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1056.001",
      "name": "Input Capture: Keylogging",
      "tactic": "Credential Access"
    },
    {
      "id": "T1005",
      "name": "Data from Local System (Source code theft)",
      "tactic": "Collection"
    },
    {
      "id": "T1566.001",
      "name": "Phishing: Spearphishing Attachment",
      "tactic": "Initial Access"
    }
  ],
  "containment_steps": [
    "Instantly isolate the endpoint; an active Dimnie infection means an advanced threat actor is actively stealing source code and credentials.",
    "Assume all local credentials, SSH keys, GitHub tokens, and AWS access keys present on the machine are compromised. Revoke them immediately.",
    "Capture a full forensic memory image (RAM dump) to extract the fileless espionage plugins and determine exactly what data was targeted for exfiltration.",
    "Perform a complete bare-metal rebuild of the operating system; fileless malware leaves persistence hooks that are extremely difficult to guarantee removed."
  ],
  "what_to_avoid": [
    "Do not assume the code repositories accessed by the victim are safe; audit all recent commits made by the compromised user for malicious injections.",
    "Avoid relying on standard antivirus scans, as Dimnie's core logic and plugins exist almost entirely in volatile memory."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ],
  "attack_stage": [
    "execution",
    "persistence"
  ],
  "ecosystem": [
    "windows_pe"
  ],
  "is_emerging": false,
  "sources": [
    {
      "name": "Palo Alto Networks Unit 42 - Dimnie Trojan Analysis",
      "url": "https://unit42.paloaltonetworks.com/unit42-dimnie-hiding-in-the-shadows/"
    },
    {
      "name": "Microsoft Defender Threat Encyclopedia - Trojan:Win32/Dimnie",
      "url": "https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Win32/Dimnie"
    },
    {
      "name": "MITRE ATT&CK - Process Injection (T1055)",
      "url": "https://attack.mitre.org/techniques/T1055/"
    }
  ],
  "target_platforms": [
    "Windows 11",
    "Windows 10",
    "Windows Server 2022",
    "Windows Server 2019"
  ]
}