Packs / Linux for Security Work

Pack 08

Linux for Security Work

20 practical checks for the Linux box you have to vouch for

For blue-team learners, homelabbers and junior admins handed a Linux box they have to vouch for. Twenty recipes cover what to check first: the system, its accounts and sudo rights, who's logged in, file permissions, SUID files, capabilities, ACLs and immutable files, processes and open ports, cron jobs, timers and login hooks, recently changed files and installed packages that no longer match. Each recipe was run on Ubuntu Server from Kali on an isolated lab network and shows the real output it produced; every test file it planted was removed afterwards.

US$12local taxes calculated at checkout

Buy on Gumroad

Checkout and download are handled by Gumroad.

Cover of Linux for Security Work

What you get

  • Linux for Security Work PDF: 20 recipes
  • One-page Linux cheat sheet PDF
  • Edition 1

What it covers

  • Know the system, its users and sudo
  • Find SUID files, capabilities and ACLs
  • Look inside processes and open ports
  • Hunt persistence, check what changed

Tested on

Tool
Linux 7.0.0 on Ubuntu 26.04.1 LTS
Lab runs
30 Nov 2026, on an isolated lab network

Only inspect, change or plant test files on systems you own or have written permission to examine.

A sample page from Linux for Security Work
A page from the pack.

The 20 recipes

Know the box and its users

  1. 01Identify the system you're on
  2. 02See who you are and what you're allowed to do
  3. 03List the accounts that can log in
  4. 04Find UID 0 accounts and empty passwords
  5. 05See who's logged in and who has been
  6. 06Check who has sudo rights

Permissions and risky files

  1. 07Read file permissions properly
  2. 08Control the permissions new files get
  3. 09Find SUID and SGID programs
  4. 10Find files with capabilities
  5. 11Find world-writable files and folders
  6. 12Read ACLs, the permissions ls hides
  7. 13Lock a file with immutable and append-only

Processes

  1. 14See what's running and who runs it
  2. 15Find which process has a file or port open
  3. 16Look inside a process through /proc

Persistence

  1. 17List scheduled jobs: cron and timers
  2. 18Check login hooks, keys and services

Is it intact?

  1. 19Find recently changed files
  2. 20Check installed files against their packages

Also in a bundle