You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: detections/endpoint/linux_auditd_edit_cron_table_parameter.yml
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,13 @@ description: The following analytic detects the suspicious editing of cron jobs
14
14
compromise.
15
15
data_source:
16
16
- Linux Auditd Syscall
17
-
search: '`linux_auditd` type=SYSCALL SYSCALL=rename (comm IN ("crontab") OR exe IN
18
-
("*/crontab")) success=yes AND NOT (UID IN("daemon")) | rename host as dest | stats
19
-
count min(_time) as firstTime max(_time) as lastTime by comm exe SYSCALL UID ppid
20
-
pid dest | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`|
21
-
`linux_auditd_edit_cron_table_parameter_filter`'
17
+
search: '`linux_auditd` type=SYSCALL syscall IN ("rename", "execve") (comm IN ("crontab") OR exe IN ("*/crontab")) success=yes AND NOT (UID IN("daemon"))
18
+
| rename host as dest
19
+
| stats count min(_time) as firstTime max(_time) as lastTime
0 commit comments