Detection rules › Sigma

Failed Logon From Public IP

Severity
medium
Author
NVISO
Source
upstream

Detects a failed logon attempt from a public IP. A login from a public IP can indicate a misconfigured firewall or network boundary.

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1078 Valid Accounts, T1133 External Remote Services, T1190 Exploit Public-Facing Application
PersistenceT1078 Valid Accounts, T1133 External Remote Services
Privilege EscalationT1078 Valid Accounts
Defense EvasionT1078 Valid Accounts

Event coverage

ProviderEvent IDTitle
Security-Auditing4625An account failed to log on.

Stages and Predicates

Stage 1: selection

Stage 2: not 1 of filter_main_*

or:
IpAddress|cidr: '10.0.0.0/8'
IpAddress|cidr: '127.0.0.0/8'
IpAddress|cidr: '169.254.0.0/16'
IpAddress|cidr: '172.16.0.0/12'
IpAddress|cidr: '192.168.0.0/16'
IpAddress|cidr: '::1/128'
IpAddress|cidr: 'fc00::/7'
IpAddress|cidr: 'fe80::/10'
IpAddress|contains: -

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
IpAddresscidr_match
  • 10.0.0.0/8 corpus 3 (sigma 3)
  • 127.0.0.0/8 corpus 4 (sigma 4)
  • 169.254.0.0/16 corpus 4 (sigma 4)
  • 172.16.0.0/12 corpus 3 (sigma 3)
  • 192.168.0.0/16 corpus 3 (sigma 3)
  • ::1/128 corpus 4 (sigma 4)
  • fc00::/7 corpus 4 (sigma 4)
  • fe80::/10 corpus 4 (sigma 4)
IpAddressmatch
  • -

Neighbors

Stricter alternatives (narrower than this rule)

The rules below may be useful if you find the current rule is too noisy / lacks specificity.