Skip to content

Commit 1eefd8f

Browse files
committed
Macro and message issue fixed
1 parent acaceb8 commit 1eefd8f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

detections/endpoint/linux_auditd_magic_system_request_key.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ search: '`linux_auditd` type=Path name="/proc/sysrq-trigger" OR name="/proc/sys/
1717
| stats count min(_time) as firstTime max(_time) as lastTime by dest name
1818
| `security_content_ctime(firstTime)`
1919
| `security_content_ctime(lastTime)`
20-
| `linux_auditd_sysrq_abuse_filter`'
20+
| `linux_macro_sysrq_abuse_filter`'
2121
how_to_implement: |
2222
To implement this detection, ensure auditd is configured to watch:
2323
- /proc/sysrq-trigger
@@ -26,9 +26,8 @@ how_to_implement: |
2626
with write and attribute changes (`-p wa`) and key `sysrq`.
2727
Use the Splunk Add-on for Unix and Linux for proper ingestion and CIM normalization.
2828
This enables effective monitoring of Linux endpoints for SysRq abuse.
29-
known_false_positives:
30-
- Legitimate administrative activity modifying SysRq for debugging or recovery.
31-
- Please update the filter macros to remove false positives.
29+
known_false_positives: Legitimate administrative activity modifying SysRq for debugging or recovery.
30+
Please update the filter macros to remove false positives.
3231
references:
3332
- https://www.kernel.org/doc/html/v4.10/_sources/admin-guide/sysrq.txt
3433
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/4/html/reference_guide/s3-proc-sys-kernel
@@ -50,7 +49,7 @@ drilldown_searches:
5049
earliest_offset: $info_min_time$
5150
latest_offset: $info_max_time$
5251
rba:
53-
message: A [$comm$] event was occurred on host - [$dest$] Used the Linux Magic SysRq mechanism.
52+
message: Abuse of the Linux Magic System Request key detected on host - [$dest$]
5453
risk_objects:
5554
- field: dest
5655
type: system

0 commit comments

Comments
 (0)