Detection of Anomalous Windows Calculator Execution
Detection of potential process masquerading or command-line exploitation attempts leveraging the Windows Calculator binary from non-standard system directories or with abnormal parameters.
This detection covers the anomalous execution of 'calc.exe', the Windows Calculator binary, which is frequently used by security researchers and threat actors as a payload for proof-of-concept (PoC) code execution, process injection testing, or detection evasion. While 'calc.exe' is a standard utility, it should strictly reside within specific Windows system directories such as 'System32', 'SysWOW64', or 'WinSxS'. The execution of this binary from user-writable directories (e.g., 'C:\Users\Public\' or 'C:\Temp\') or its invocation with unexpected command-line arguments is a common indicator of an attacker verifying execution flow following an exploit or conducting initial testing for post-exploitation persistence.
Impact
Successful execution of payloads disguised as 'calc.exe' indicates that an attacker has achieved arbitrary code execution on the endpoint. If left undetected, this allows attackers to verify the stability of their environment access before pivoting to more intrusive activities like credential dumping, lateral movement, or ransomware deployment.
Recommendation
Deploy the provided Sigma rule to monitor for suspicious process execution patterns. Ensure Sysmon or equivalent endpoint logging is active to capture the full command line and image path for 'calc.exe'.
- Enable Sysmon Event ID 1 (Process Creation) to populate the required 'Image' and 'CommandLine' fields.
- Investigate any hits in your SIEM immediately, as legitimate system processes should not be running from unexpected directories or using parameters.
Immediate actions
Deploy Sigma rule to hunt for historical instances of anomalous calc.exe execution
Threat Hunt
Process creation events for calc.exe outside of System32/SysWOW64
Data: Sysmon ID 1
Detection coverage 1
Detect Suspicious Calculator Usage
mediumDetects anomalous use of 'calc.exe' with command line parameters or execution from outside standard Windows system directories
Detection queries are available on the platform. Get full rules →