Detection rules › Sigma

Suspicious anonymous login (domain specified)

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

Detects scenarios where a suspicious anonymous login is performed during discovery phases.

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1046 Network Service Discovery

Event coverage

Rule body yaml

title: Suspicious anonymous login (domain specified)
description: Detects scenarios where a suspicious anonymous login is performed during discovery phases.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0007-Discovery/T1046-Network%20Service%20Scanning
- https://github.com/login-securite/DonPAPI
tags:
- attack.discovery
- attack.t1046
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4624
    TargetUserSid: S-1-5-7 # ANONYMOUS LOGON
    LogonType: 3
    AuthenticationPackageName: NTLM
  filter:
    - IpAddress:
      - '%vulnerability_scanners%'
    - TargetDomainName:
      - 'NT AUTHORITY'  # English
      - 'AUTORITE NT'   # French
      - 'NT AUTHORITÄT' # German
      #- other localized language names for the NT AUTHORITY
  condition: selection and not filter
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
  EventID: 4624
  TargetUserSid: S-1-5-7
  LogonType: 3
  AuthenticationPackageName: NTLM

Stage 2: not filter

filter:
  - IpAddress:
    - '%vulnerability_scanners%'
  - TargetDomainName:
    - 'NT AUTHORITY'
    - 'AUTORITE NT'
    - 'NT AUTHORITÄT'

Exclusions

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

FieldKindExcluded values
IpAddresseq%vulnerability_scanners%
TargetDomainNameeqAUTORITE NT
TargetDomainNameeqNT AUTHORITY
TargetDomainNameeqNT AUTHORITÄT

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
AuthenticationPackageNameeq
  • NTLM corpus 9 (sigma 5, elastic 2, splunk 1, kusto 1)
LogonTypeeq
  • 3 corpus 40 (splunk 13, sigma 12, elastic 9, kusto 6)
TargetUserSideq
  • S-1-5-7 corpus 3 (sigma 3)