Atraps

Category: trojan_generic · Aliases: None known · Sample count (EMBER 2018): 164 · Enrichment: expert-seo · Updated: 2026-06-09

Overview

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'.

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to the MITRE ATT&CK framework:

TechniqueNameTactic
T1056.001Input Capture: KeyloggingCollection
T1115Clipboard DataCollection
T1555Credentials from Password StoresCredential Access
T1048Exfiltration Over Alternative ProtocolExfiltration
T1547.001Boot or Logon Autostart Execution: Registry Run Keys / Startup FolderPersistence

Generated Detections (Boilerplate)

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.

YARA Rule

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
}

Sigma Rule

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: medium

Containment & Response Steps

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Instantly sever the endpoint from the network to halt the active exfiltration of stolen credentials and keystrokes.
  2. Force a global password reset for all user accounts, prioritizing corporate VPN access, email, and financial portals.
  3. Utilize EDR or memory forensics to locate and terminate the specific process executing the Atraps keylogging hooks.
  4. Perform a full system sweep to eradicate the dropped executables and delete any temporary log files containing stolen data.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not allow the user to type any passwords or access sensitive portals while the machine is infected, as the keylogger captures all input.
  2. Avoid assuming the threat is contained just by removing the executable; the exfiltrated passwords must be reset globally.

References & External Analysis

Related Families (Category: trojan_generic)

Explore other malware families in the same category:

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/atraps.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, Replit, StackBlitz, CodeSandbox, and CodePen.