Detection rules › Sigma
Serial console process spawning CMD shell (via command)
Detects if an attacker open a privileged CMD shell while accessing to an Azure virtual machine via serial cable.
Known false positives
- Virtual machine recovery by administrator
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: Serial console process spawning CMD shell (via command)
description: Detects if an attacker open a privileged CMD shell while accessing to an Azure virtual machine via serial cable.
references:
- https://www.mandiant.com/resources/blog/sim-swapping-abuse-azure-serial
tags:
- attack.execution
- attack.t1059.003 # Command and Scripting Interpreter: Windows Command Shell
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
ParentImage|endswith: '\sacsess.exe' # C:\Windows\System32\sacsess.exe
Image|endswith: '\cmd.exe'
condition: selection
falsepositives:
- Virtual machine recovery by administrator
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
ParentImage|endswith: '\sacsess.exe'
Image|endswith: '\cmd.exe'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
Image | ends_with |
| field:"Image" kind:ends_with value:"\cmd.exe" |
ParentImage | ends_with |
| field:"ParentImage" kind:ends_with value:"\sacsess.exe" |