Detection rules › Sigma
Pass the Hash Activity 2
Detects the attack technique pass the hash which is used to move laterally inside the network
Known false positives
- Administrator activity
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Security-Auditing | Event ID 4624: An account was successfully logged on. |
Rule body
title: Pass the Hash Activity 2
id: 8eef149c-bd26-49f2-9e5a-9b00e3af499b
status: stable
description: Detects the attack technique pass the hash which is used to move laterally inside the network
references:
- https://github.com/iadgov/Event-Forwarding-Guidance/tree/master/Events
- https://web.archive.org/web/20170909091934/https://blog.binarydefense.com/reliably-detecting-pass-the-hash-through-event-log-analysis
- https://blog.stealthbits.com/how-to-detect-pass-the-hash-attacks/
author: Dave Kennedy, Jeff Warren (method) / David Vassallo (rule)
date: 2019-06-14
modified: 2022-10-05
tags:
- attack.lateral-movement
- attack.t1550.002
logsource:
product: windows
service: security
definition: The successful use of PtH for lateral movement between workstations would trigger event ID 4624
detection:
selection_logon3:
EventID: 4624
SubjectUserSid: 'S-1-0-0'
LogonType: 3
LogonProcessName: 'NtLmSsp'
KeyLength: 0
selection_logon9:
EventID: 4624
LogonType: 9
LogonProcessName: 'seclogo'
filter:
TargetUserName: 'ANONYMOUS LOGON'
condition: 1 of selection_* and not filter
falsepositives:
- Administrator activity
level: medium
Stages and Predicates
Stage 0: condition
1 of selection_* and not filterStage 1: selection_logon3
selection_logon3:
EventID: 4624
SubjectUserSid: 'S-1-0-0'
LogonType: 3
LogonProcessName: 'NtLmSsp'
KeyLength: 0
Stage 2: selection_logon9
selection_logon9:
EventID: 4624
LogonType: 9
LogonProcessName: 'seclogo'
Stage 3: not filter
filter:
TargetUserName: 'ANONYMOUS LOGON'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
TargetUserName | eq | ANONYMOUS LOGON | excludes:TargetUserName field:"TargetUserName" value:"ANONYMOUS LOGON" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
KeyLength | eq |
| field:"KeyLength" kind:eq value:"0" |
LogonProcessName | eq |
| field:"LogonProcessName" kind:eq |
LogonType | eq |
| field:"LogonType" kind:eq |
SubjectUserSid | eq |
| field:"SubjectUserSid" kind:eq value:"S-1-0-0" |