Skip to content

Commit

Permalink
Merge pull request #161 from EzLucky/patch-2
Browse files Browse the repository at this point in the history
32 bit ABI
  • Loading branch information
Neo23x0 authored Jan 31, 2025
2 parents c6a39f3 + 99c5721 commit ddf2603
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions audit.rules
Original file line number Diff line number Diff line change
Expand Up @@ -806,12 +806,13 @@
-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

## 32bit API Exploitation
## 32bit ABI Exploitation
### https://github.com/linux-audit/audit-userspace/blob/c014eec64b3a16c004f4a75e5792a4ac2fcc0df2/rules/21-no32bit.rules
### 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
### because this might be a sign of someone exploiting a hole in the 32
### bit API.
-a always,exit -F arch=b32 -S all -k 32bit_api
### bit ABI.
-a always,exit -F arch=b32 -S all -k 32bit_abi

# Make The Configuration Immutable --------------------------------------------

Expand Down

0 comments on commit ddf2603

Please sign in to comment.