PWS:Win32/Atraps is a highly stealthy, persistent keylogger and credential harvester designed to silently capture user input and extract sensitive authentication data from compromised corporate endpoints.
Understanding Atraps
To the end-user, an Atraps infection is completely invisible. For security analysts, Atraps is a severe breach of confidentiality. It is specifically engineered to hook into the Windows API to record every keystroke, capture clipboard contents, and scrape saved passwords from web browsers, email clients, and FTP software before securely transmitting them back to the attacker.
Execution and Evasion Strategies
Atraps is distributed through targeted spearphishing campaigns containing malicious attachments or dropped via advanced exploit kits. Upon execution, it copies itself into the %AppData% directory, often masquerading as a legitimate Windows executable (like lsass.exe or csrss.exe to blend in). It achieves persistence by modifying the HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry key. Atraps utilizes advanced API hooking (such as SetWindowsHookEx) to intercept keystrokes system-wide. The C2 communications are heavily encrypted and sent via HTTP POST requests.
Indicators of Compromise (IoCs)
The impact of Atraps is a massive loss of credential security. Incident responders should monitor for anomalous outbound HTTP traffic to unknown or newly registered domains. The presence of hidden, encrypted log files (often .dat or .log) in the user's profile directory, containing the captured keystrokes, is a strong indicator. EDR tools frequently flag the payload for 'Suspicious API Hooking' or 'Clipboard Access'.
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
rule MALWARE_WIN_ATRAPS {
meta:
description = "Detects Atraps (trojan_generic)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "atraps" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}title: Suspicious Atraps Activity
id: 275ff4ed47feec6f8088d40bab67d4b5
status: experimental
description: Detects generic indicators of the atraps malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*atraps*"
condition: selection
level: mediumOrdered checklist for responders. Adapt to your environment and engage professional support for active incidents.
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
Explore other malware families in the same category:
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/atraps.json
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, Replit, StackBlitz, CodeSandbox, and CodePen.