Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions audit.rules
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,14 @@
-a always,exit -F arch=b64 -S rename -S renameat -S truncate -S chmod -S setxattr -S lsetxattr -S removexattr -S lremovexattr -F exit=-EACCES -k file_modification
-a always,exit -F arch=b64 -S rename -S renameat -S truncate -S chmod -S setxattr -S lsetxattr -S removexattr -S lremovexattr -F exit=-EPERM -k file_modification


## Monitor for creation of anonymous files in memory
-a always,exit -F arch=b64 -S memfd_create -F key=anon_file_create

## Monitor execution of in-memory files
-a always,exit -F arch=b64 -S fexecve -F key=in_memory_execution


## 32bit API Exploitation
### If you are on a 64 bit platform, everything _should_ be running
### in 64 bit mode. This rule will detect any use of the 32 bit syscalls
Expand Down