CyberKit

/proc Filesystem

Also called procfs, /proc.

Virtual filesystem exposing live process and kernel state on Linux.

What it is

/proc is a virtual (memory-backed) filesystem that presents a directory per running process plus kernel and system information as readable files. Per-process entries expose the command line (cmdline), environment (environ), open file descriptors (fd), memory maps (maps), and the executable link (exe).

Where it lives

/proc

Why it matters

On a live Linux host it is the richest source for triage: an analyst can recover a deleted-but-running binary via /proc/PID/exe, list real open files and sockets, and read a process's environment and memory. It is also where userland rootkit deception is exposed by cross-checking against hidden processes.

In practice

Even though the malware had deleted itself from disk, /proc/PID/exe still linked to the running image, letting the responder dump the binary intact.

What to look for

  • Processes whose exe link points to a deleted file.
  • Unusual command lines in /proc/<pid>/cmdline.
  • Network sockets in /proc/net that tools do not show.

Common mistake

Forgetting it is live only. Capture what you need before shutdown, because /proc vanishes.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • osquery Open source

    Exposes Linux and macOS system state as SQL tables you can query.

  • Velociraptor Open source

    Collects Linux artifacts such as logs, cron and shell history at scale. Our notes.

  • Falco Open source

    Watches system calls at runtime and alerts on suspicious behavior.

  • Wazuh Open source

    Collects Linux logs and checks file integrity on each host.

Read next

Sources