Dimnie
Table of Contents
Overview
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.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1055.012 | Process Injection: Process Hollowing | Defense Evasion | ATT&CK ↗ |
T1620 | Reflective Code Loading (Fileless execution of plugins) | Defense Evasion | ATT&CK ↗ |
T1056.001 | Input Capture: Keylogging | Credential Access | ATT&CK ↗ |
T1005 | Data from Local System (Source code theft) | Collection | ATT&CK ↗ |
T1566.001 | Phishing: Spearphishing Attachment | Initial Access | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.001: Implement Endpoint Detection and Response (EDR) to monitor for suspicious API calls related to keystroke interception. Enforce Multi-Factor Authentication (MFA) to render stolen passwords useless.
- T1566.001: Scan email attachments for malicious macros, scripts, or suspicious archive files.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-FDM | File Data Monitoring | Detect | T1005 | Deploy Data Loss Prevention (DLP) agents to audit sensitive file access and block unauthorized batch file copying. |
D3-PHA | Process Hollowing Analysis | Detect | T1055.012 | Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes. |
D3-MFA | Multi-factor Authentication | Harden | T1056.001 | Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless. |
D3-FS | File Sandboxing (Attachment Detonation) | Isolate | T1566.001 | Detonate macro-enabled documents, ISOs, and password-protected archives inside an isolated hypervisor. |
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_DIMNIE_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Dimnie"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "dimnie" ascii wide nocase
$s2 = "trojan:win32/dimnie" ascii wide nocase
$s3 = "pws:win32/dimnie" ascii wide nocase
$s4 = "trojan.dimnie" ascii wide nocase
$s5 = "dimnie stealer" ascii wide nocase
$s6 = "win32/dimnie" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Dimnie (Infostealer) Execution & Triage
id: fb1f7292-bb7e-5b07-bb4a-3ea09de7b5e1
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Dimnie malware family. Detects browser credential database harvesting,
master key queries, and DPAPI extraction routines typical of modern infostealers.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/dimnie
- https://malware-families-catalog.systemhelpdesk.com/defensive/infostealer-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.infostealer
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1055
- attack.t1056_001
- attack.t1113
- attack.t1125
- attack.t1059_001
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \rundll32.exe
CommandLine|contains:
- \Google\Chrome\User Data\Default\Login Data
- \AppData\Roaming\Mozilla\Firefox\Profiles
- \AppData\Local\Microsoft\Edge\User Data
- vaultcmd.exe /list
- dpapi
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_DIMNIE_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Dimnie tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "dimnie" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- 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
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- 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.
References & External Analysis
Frequently Asked Questions
What is Trojan:Win32/Dimnie?
Dimnie is a sophisticated modular infostealer and surveillance trojan designed to covertly harvest sensitive data in-memory.
Why is Dimnie considered highly evasive?
It executes purely in memory without dropping files to disk and uses multi-layered obfuscation against sandbox environments.
What surveillance modules are included in Dimnie?
Keylogging, desktop screenshots, audio recording, process memory scraping, and arbitrary PowerShell execution.
How does Dimnie exfiltrate stolen data?
It disguises exfiltration traffic inside benign HTTP traffic, GitHub API interactions, or encoded DNS queries.
How do defenders detect Dimnie infections?
Deploy endpoint detection and response (EDR) agents with memory scanning, process hollowing detection, and network anomaly monitoring.
How do I remove Dimnie from Windows?
Manual removal of Dimnie is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
What are the main symptoms of a Dimnie infection?
Symptoms of Dimnie can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Infostealers
Want to prevent Dimnie and similar threats from compromising your organization? Read our comprehensive defensive guide: InfoStealer Protection & Remediation.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/dimnie.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.