The /proc/PID/exe file on procfs-enabled systems is a symbolic link to the actual binary of the specified process (PID) on disk.
% ls -l /proc/self/exe lrwxrwxrwx 1 daniel daniel 0 Apr 2 10:17 /proc/self/exe -> /usr/bin/ls*
/proc/PID/exe
0001-01-01
The /proc/PID/exe file on procfs-enabled systems is a symbolic link to the actual binary of the specified process (PID) on disk.
% ls -l /proc/self/exe lrwxrwxrwx 1 daniel daniel 0 Apr 2 10:17 /proc/self/exe -> /usr/bin/ls*
Linux Persistence: atd
2025-04-01 DFIR CTF linux persistence at atd
Linux Persistence: SSH
2025-03-29 DFIR CTF SSH hardening hunting persistence linux persistence hunting hardening SSH PAM