Auditd Login Attempt at Forbidden Time
Identifies that a login attempt occurred at a forbidden time.
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 occurred at a forbidden time."
10index = ["auditbeat-*"]
11language = "kuery"
12license = "Elastic License v2"
13name = "Auditd Login Attempt at Forbidden Time"
14references = [
15 "https://github.com/linux-pam/linux-pam/blob/aac5a8fdc4aa3f7e56335a6343774cc1b63b408d/modules/pam_time/pam_time.c#L666",
16]
17risk_score = 47
18rule_id = "90e28af7-1d96-4582-bf11-9a1eff21d0e5"
19severity = "medium"
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-during-unusual-hour-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
- Auditd Login from Forbidden Location
- Auditd Max Failed Login Attempts
- Auditd Max Login Sessions
- Attempt to Disable IPTables or Firewall
- Unusual Process Execution - Temp