Windows Pass-the-Hash Activity via Security Event 4624 (LogonType 3 or 9)

Flags Windows 4624 successful logons consistent with Pass-the-Hash activity using NtLmSsp or seclogo.

FreeReviewedSigma · Medium · v2
Product
windows
Service
security
Author
Dave Kennedy, Jeff Warren (method) / David Vassallo (rule) (SigmaHQ), DRL 1.1
Published
2019-06-14
Updated
2026-07-31
title: Windows Pass-the-Hash Activity via Security Event 4624 (LogonType 3 or 9)
id: 78c75ec7-f524-4449-91e2-71a5c2161b47
status: stable
description: This rule identifies Windows logon events consistent with pass-the-hash lateral movement activity by matching Security Event ID 4624 with specific LogonType values. Attackers can use pass-the-hash to authenticate to remote systems without knowing the plaintext password, enabling lateral movement within a network. It relies on Windows Security auditing telemetry (Event ID 4624), including the logon process name and logon type fields.
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/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security/account_management/win_security_pass_the_hash_2.yml
author: Dave Kennedy, Jeff Warren (method) / David Vassallo (rule), Huntrule Team
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
license: DRL-1.1
related:
  - id: 8eef149c-bd26-49f2-9e5a-9b00e3af499b
    type: derived