Skip to content
Every technique
T1497.002Detection written

User Activity Based Checks

Stealth · DiscoveryLinux, macOS, Windows

Where this stands

One published detection covers this technique. Every one is unverified — no rule on Siemphony has been executed against real telemetry.

What the technique is

Adversaries may employ various user activity checks to detect and avoid virtualization and analysis environments. This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox. If the adversary detects a VME, they may alter their malware to disengage from the victim or conceal the core functions of the implant. They may also search for VME artifacts before dropping secondary or additional payloads. Adversaries may use the information learned from Virtualization/Sandbox Evasion during automated discovery to shape follow-on behaviors. Adversaries may search for user activity on the host based on variables such as the speed/frequency of mouse movements and clicks, browser history, cache, bookmarks, or number of files in common directories such as home or the desktop. Other methods may rely on specific user interaction with the system before the malicious code is activated, such as waiting for a document to close before activating a macro or waiting for a user to double click on an embedded image to activate.

Read it on attack.mitre.org

What MITRE says you would watch

  • AN1182

    Process execution that probes user activity artifacts (e.g., desktop files, registry history) following recent user login/unlock events.

  • AN1183

    Access to shell history or GUI input state (xdotool, xinput) for presence validation prior to payload execution.

  • AN1184

    API usage or filesystem access revealing user state or browser artifacts (e.g., Safari bookmarks, CGEventState).

Technique names and descriptions © MITRE ATT&CK®, CC BY 4.0. Not endorsed by MITRE.