Detection rules › Elastic

Potential Computer Account NTLM Relay Activity

Author
Elastic
Source
upstream

Identifies potential relay activities against a Computer account by identifying authentication events using the computer account coming from from hosts other than the server that owns the account. Attackers may relay the computer account hash after capturing it using forced authentication.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1187 Forced Authentication, T1557 Adversary-in-the-Middle, T1557.001 Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay
CollectionT1557 Adversary-in-the-Middle, T1557.001 Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay

Event coverage

ProviderEvent IDTitle
Security-Auditing4624An account was successfully logged on.
Security-Auditing4625An account failed to log on.

Stages and Predicates

Stage 1: eql:authentication

not host.ip contains and not source.ip ends_with and host.name starts_with and not source.ip:"127.0.0.1" and not source.ip:"::1" and user.name:"*$" and not user.name:"$" and winlog.event_data.AuthenticationPackageName:"NTLM" and winlog.logon.type:"Network"

Exclusions

Top-level NOT(...) conjuncts — predicates this rule actively suppresses.

StageFieldKindExcluded values
1host.ipcontains(no value — null check)
2source.ipends_with(no value — null check)

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
source.ipne
  • 127.0.0.1 corpus 8 (elastic 8)
  • ::1 corpus 7 (elastic 7)
user.nameends_with
  • $ corpus 18 (sigma 14, elastic 4)
user.namene
  • $
winlog.event_data.AuthenticationPackageNameeq
  • NTLM corpus 2 (sigma 1, elastic 1)
winlog.logon.typeeq
  • Network corpus 4 (elastic 4)

Neighbors

Often fire together

Rules that target events appearing in the same incident timelines. They pattern-match on adjacent steps of the same TTP, so an alert from one is often paired with alerts from these. Useful for triage context and for assembling chained-detection rules.

Share event IDs (chain-detection candidates)

Rules that observe the same Windows event-ID pairs as this one. If you're authoring a multi-stage / sequence rule that spans these events, these are the existing detections that already cover one or both endpoints.