auditd icon indicating copy to clipboard operation
auditd copied to clipboard

Update audit.rules - fexecve

Open CheraghiMilad opened this issue 6 months ago • 5 comments
trafficstars

check this PoC => https://github.com/CheraghiMilad/bypass-Neo23x0-auditd-config.git

CheraghiMilad avatar Apr 27 '25 05:04 CheraghiMilad

Bruh… fexecve isn’t a syscall? Then what exactly do you expect auditd to monitor—your hopes and dreams?

thegreatmhn avatar Apr 29 '25 07:04 thegreatmhn

Kiddo, you don't even know what a syscall is. Be happy you copied from me — you didn't even bother changing the repo name: https://github.com/vahidmalekk/bypass-Neo23x0-auditd-config Did you ever test the rule you added?

auditctl -a always,exit -F arch=b64 -S fexecve -k fexecve_detect
Syscall name unknown: fexecve

vahidmalekk avatar Apr 29 '25 10:04 vahidmalekk

Screenshot 2025-04-29 133609

vahidmalekk avatar Apr 29 '25 10:04 vahidmalekk

The PoC I wrote clearly uses the fexecve wrapper, which is a system call, not a syscall in the literal sense.

I actually saw your GitHub today for the first time — I don’t think I’ve come across your work before. And about the repo name: if you were writing a PoC for bypassing Neo23x0’s auditd config, what would you name it?

Do you seriously think I’d be so naive as to copy something and leave the exact same repo name? Even our PoCs differ significantly in terms of privilege level and approach.

CheraghiMilad avatar Apr 29 '25 18:04 CheraghiMilad

be happy about your findings, but auditd won’t work the way you expect it to(You should read more about how auditd actually works before making pushing changes like this) It can’t monitor wrappers or what ever you call it. If you review what you pushed, you’ll notice it doesn’t work and some one else even pushed it in past https://github.com/Neo23x0/auditd/pull/156/files.

vahidmalekk avatar Apr 30 '25 06:04 vahidmalekk