Auditd Login from Forbidden Location

Identifies that a login attempt has happened from a forbidden location.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/07/08"
 3deprecation_date = "2022/07/25"
 4maturity = "deprecated"
 5updated_date = "2022/07/25"
 6
 7[rule]
 8author = ["Elastic"]
 9description = "Identifies that a login attempt has happened from a forbidden location."
10index = ["auditbeat-*"]
11language = "kuery"
12license = "Elastic License v2"
13name = "Auditd Login from Forbidden Location"
14references = [
15    "https://github.com/linux-pam/linux-pam/blob/aac5a8fdc4aa3f7e56335a6343774cc1b63b408d/modules/pam_access/pam_access.c#L412",
16]
17risk_score = 73
18rule_id = "cab4f01c-793f-4a54-a03e-e5d85b96d7af"
19severity = "high"
20tags = ["Elastic", "Host", "Linux", "Threat Detection", "Initial Access"]
21timestamp_override = "event.ingested"
22type = "query"
23
24query = '''
25event.module:auditd and event.action:"attempted-log-in-from-unusual-place-to"
26'''
27
28
29[[rule.threat]]
30framework = "MITRE ATT&CK"
31[[rule.threat.technique]]
32id = "T1078"
33name = "Valid Accounts"
34reference = "https://attack.mitre.org/techniques/T1078/"
35
36
37[rule.threat.tactic]
38id = "TA0001"
39name = "Initial Access"
40reference = "https://attack.mitre.org/tactics/TA0001/"
41[[rule.threat]]
42framework = "MITRE ATT&CK"
43[[rule.threat.technique]]
44id = "T1078"
45name = "Valid Accounts"
46reference = "https://attack.mitre.org/techniques/T1078/"
47
48
49[rule.threat.tactic]
50id = "TA0003"
51name = "Persistence"
52reference = "https://attack.mitre.org/tactics/TA0003/"

References

Related rules

to-top