|
2 | 2 | creation_date = "2020/04/24" |
3 | 3 | integration = ["endpoint"] |
4 | 4 | maturity = "production" |
5 | | -updated_date = "2024/05/21" |
| 5 | +updated_date = "2024/17/21" |
6 | 6 |
|
7 | 7 | [rule] |
8 | 8 | author = ["Elastic"] |
@@ -61,46 +61,45 @@ tags = [ |
61 | 61 | ] |
62 | 62 | timestamp_override = "event.ingested" |
63 | 63 | type = "eql" |
64 | | - |
65 | 64 | query = ''' |
66 | | -process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event") and |
67 | | -process.name == "rmmod" or (process.name == "modprobe" and process.args in ("--remove", "-r")) and |
68 | | -process.parent.name in ("sudo", "bash", "dash", "ash", "sh", "tcsh", "csh", "zsh", "ksh", "fish") |
| 65 | +process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event") and ( |
| 66 | + process.name == "rmmod" or |
| 67 | + (process.name == "modprobe" and process.args in ("--remove", "-r")) |
| 68 | +) and process.parent.name in ("sudo", "bash", "dash", "ash", "sh", "tcsh", "csh", "zsh", "ksh", "fish") |
69 | 69 | ''' |
70 | 70 |
|
71 | | - |
72 | 71 | [[rule.threat]] |
73 | 72 | framework = "MITRE ATT&CK" |
| 73 | + |
74 | 74 | [[rule.threat.technique]] |
75 | 75 | id = "T1562" |
76 | 76 | name = "Impair Defenses" |
77 | 77 | reference = "https://attack.mitre.org/techniques/T1562/" |
| 78 | + |
78 | 79 | [[rule.threat.technique.subtechnique]] |
79 | 80 | id = "T1562.001" |
80 | 81 | name = "Disable or Modify Tools" |
81 | 82 | reference = "https://attack.mitre.org/techniques/T1562/001/" |
82 | 83 |
|
83 | | - |
84 | | - |
85 | 84 | [rule.threat.tactic] |
86 | 85 | id = "TA0005" |
87 | 86 | name = "Defense Evasion" |
88 | 87 | reference = "https://attack.mitre.org/tactics/TA0005/" |
| 88 | + |
89 | 89 | [[rule.threat]] |
90 | 90 | framework = "MITRE ATT&CK" |
| 91 | + |
91 | 92 | [[rule.threat.technique]] |
92 | 93 | id = "T1547" |
93 | 94 | name = "Boot or Logon Autostart Execution" |
94 | 95 | reference = "https://attack.mitre.org/techniques/T1547/" |
| 96 | + |
95 | 97 | [[rule.threat.technique.subtechnique]] |
96 | 98 | id = "T1547.006" |
97 | 99 | name = "Kernel Modules and Extensions" |
98 | 100 | reference = "https://attack.mitre.org/techniques/T1547/006/" |
99 | 101 |
|
100 | | - |
101 | | - |
102 | 102 | [rule.threat.tactic] |
103 | 103 | id = "TA0003" |
104 | 104 | name = "Persistence" |
105 | 105 | reference = "https://attack.mitre.org/tactics/TA0003/" |
106 | | - |
0 commit comments