Detection rules › Sigma

Azure Windows virtual machine login via serial console

Status
experimental
Severity
high
Log source
product windows, service security
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects if an attacker logs on using the serial console.

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1078 Valid Accounts
Privilege EscalationT1078 Valid Accounts

Event coverage

Rule body yaml

title: Azure Windows virtual machine login via serial console
description: Detects if an attacker logs on using the serial console.
references:
- https://msrc.microsoft.com/blog/2023/08/azure-serial-console-attack-and-defense-part-1/
- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/serial-console-cmd-ps-commands
- https://www.mandiant.com/resources/blog/sim-swapping-abuse-azure-serial
tags:
- attack.initial_access
- attack.privilege_escalation
- attack.t1078 # valid accounts
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4624
    LogonProcess|contains: 'sacsess.exe'
    LogonType: 2
  condition: selection
falsepositives:
- Virtual machine recovery by administrator
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4624
  LogonProcess|contains: 'sacsess.exe'
  LogonType: 2

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
LogonProcessmatch
  • sacsess.exe
LogonTypeeq
  • 2 corpus 5 (sigma 2, splunk 2, elastic 1)