| name | T1497.002_user-activity-based-checks |
| description | Adversaries may employ various user activity checks to detect and avoid virtualization and analysis environments. |
| category | configuration |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1497.002","defense-evasion","discovery","linux","windows","macos","sub-technique"] |
| technique_id | T1497.002 |
| tactic | defense-evasion |
| all_tactics | ["defense-evasion","discovery"] |
| platforms | ["Linux","Windows","macOS"] |
| mitre_url | https://attack.mitre.org/techniques/T1497/002 |
| tech_stack | ["linux","windows","macos"] |
| cwe_ids | ["CWE-693"] |
| chains_with | ["T1497","T1497.001","T1497.003"] |
| prerequisites | ["T1497"] |
| severity_boost | {"T1497":"Chain with T1497 for deeper attack path","T1497.001":"Chain with T1497.001 for deeper attack path","T1497.003":"Chain with T1497.003 for deeper attack path"} |
T1497.002 User Activity Based Checks
Sub-technique of: T1497
High-Level Description
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.
Kill Chain Phase
- Defense Evasion (TA0005)
- Discovery (TA0007)
Platforms: Linux, Windows, macOS
What to Check
How to Test
Manual Testing
-
Identify Attack Surface: Determine if the target environment is susceptible to User Activity Based Checks by examining the target platforms (Linux, Windows, macOS).
-
Assess Existing Defenses: Review whether mitigations for T1497.002 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
-
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
: No Atomic Red Team tests available for this technique. See for updates.