PTRACE anti-debug attempt
Description
Detect usage of the PTRACE system call with the PTRACE_TRACEME argument, indicating a program actively attempting to avoid debuggers attaching to the process. This behavior is typically indicative of malware activity. Read more about PTRACE in the "PTRACE attached to process" rule.
Query · falco
evt.type=ptrace and evt.arg.request contains PTRACE_TRACEME and proc_name_exists
Rule dependencies
Depends on
-
composes · Falco macro
proc_name_existsA shared condition, not a detection — not indexed on this site.
Analyst notes
Detected potential PTRACE_TRACEME anti-debug attempt | proc_pcmdline=%proc.pcmdline evt_type=%evt.type user=%user.name user_uid=%user.uid user_loginuid=%user.loginuid process=%proc.name proc_exepath=%proc.exepath parent=%proc.pname command=%proc.cmdline terminal=%proc.tty