Skip to content
Linux
Platform

Linux

Linux attack reference covering enumeration, privesc via SUID and sudo, shell upgrades, lateral movement via SSH, persistence through cron and systemd, and data exfiltration techniques

51 guides 7 phases
1 min read Created: Jan 19, 2026 Updated: Jul 15, 2026

Linux is the dominant operating system for servers, containers, cloud infrastructure, and embedded devices. In pentesting, it appears both as the attacker platform (Kali, Parrot) and as the target host running web applications, databases, and network services. Understanding Linux internals is essential for nearly every engagement.

Linux privilege escalation targets misconfigurations in sudo rules, SUID/SGID binaries, cron jobs, writable paths, kernel exploits, and capabilities. Post-exploitation focuses on credential harvesting from configuration files, SSH keys, bash history, and memory. Persistence techniques include SSH authorized keys, cron backdoors, systemd services, and shared library injection.

This section covers Linux-specific techniques: local enumeration of users, processes, network connections, and installed software, privilege escalation through sudo abuse, kernel exploits, and service misconfigurations, lateral movement via SSH key reuse and credential pivoting, and post-exploitation actions like data staging and log cleanup. Core tooling includes LinPEAS, pspy, GTFOBins, and Linux Exploit Suggester.

Privilege Escalation

Linux privesc guides covering SUID, sudo, cron, kernel CVEs, and more

25
Cron Job Privilege Escalation

Cron Job Privilege Escalation

Exploit misconfigured cron jobs running as root to escalate privileges via writable scripts, PATH hijacking, or wildcard injection on Linux systems.

Feb 13, 2026 • 8 min read

D-Bus Misconfiguration Privilege Escalation

Exploit misconfigured D-Bus services on Linux to escalate privileges by abusing insecure policy rules, exposed interfaces, and unauthorized method calls.

Mar 14, 2026 • 2 min read

Post-Exploitation

Linux post-exploitation guides for exfil, persistence, and creds

6
5 steps

Credentials

Techniques for harvesting Linux credentials post-exploitation, covering password files, hashes, SSH keys, memory dumps, and credential reuse strategies.

May 10, 2026 • 1 min read

Browser saved passwords

Extracting credentials stored in browser password managers on Linux systems using filesystem access and decryption techniques during post-exploitation.

Feb 17, 2026 • 4 min read

Credential hunting in files

Techniques for locating stored credentials in Linux files, configs, logs, and history files during post-exploitation to escalate privileges or move laterally.

Feb 17, 2026 • 3 min read

Process secret hunting

Enumerate running process memory and cmdline args to extract plaintext secrets, credentials, and sensitive data from live Linux processes.

Feb 17, 2026 • 2 min read

Shell history credential hunting

Extracts credentials and sensitive data from shell history files (.bash_history, .zsh_history) across user accounts during post-exploitation.

Feb 17, 2026 • 2 min read

SSH keys and agent harvesting

Techniques for harvesting SSH keys and abusing agent forwarding on compromised Linux hosts to enable lateral movement across infrastructure.

Feb 17, 2026 • 3 min read

Exploitation

TTY upgrades and reverse shell one-liners for Linux

2

Enumeration

Guides for enumerating users, system, network, services, and jobs on Linux

7

Linux Local System Enumeration

Techniques for enumerating local Linux systems post-access: users, groups, SUID binaries, cron jobs, kernel version, and privilege escalation vectors.

Mar 15, 2026 • 4 min read

Linux Local User and Group Enumeration

Enumerate local Linux users and groups via /etc/passwd, /etc/group, id, whoami, and getent to map privilege levels and identify targets.

Mar 15, 2026 • 3 min read

Lateral Movement

SSH tunneling, port forwarding, and credential reuse for pivoting

2

SSH Port Forwarding and Tunneling on Linux

Covers SSH local, remote & dynamic port forwarding techniques to tunnel traffic, bypass network restrictions and pivot through compromised Linux hosts.

Mar 16, 2026 • 4 min read

Data Exfiltration

Find, stage, compress, and transfer data from Linux systems

3
Linux File Transfer Without Common Tools

Linux File Transfer Without Common Tools

Living-off-the-land file transfer techniques for Linux using built-in utilities like /dev/tcp, base64, and proc when wget/curl/nc are unavailable.

Mar 16, 2026 • 4 min read

Persistence

Cron, SSH keys, web shells, backdoors, systemd, and profile persistence

6

Linux Backdoor Account Persistence

Covers techniques for detecting and preventing unauthorized backdoor accounts on Linux systems used to maintain persistent unauthorized access.

Apr 4, 2026 • 5 min read
Linux Cron and Timer Persistence

Linux Cron and Timer Persistence

Covers abusing cron jobs and systemd timers to maintain persistent access on Linux systems, including scheduled task backdoors and detection evasion.

Apr 4, 2026 • 4 min read

Linux Shell and Profile Persistence

Techniques for maintaining persistent access on Linux systems via shell configuration files, profile scripts, and environment variable hijacking.

Apr 4, 2026 • 4 min read
Linux SSH Authorized Keys Persistence

Linux SSH Authorized Keys Persistence

Covers abusing SSH authorized_keys files to maintain persistent backdoor access on Linux systems by injecting attacker-controlled public keys.

Apr 4, 2026 • 4 min read

Linux Systemd Service Persistence

Covers creating malicious systemd service units to maintain persistent code execution across reboots, including unit file structure and enabling techniques.

Apr 4, 2026 • 1 min read
Linux Web Shell Persistence

Linux Web Shell Persistence

Covers techniques attackers use to deploy and maintain web shells on Linux servers for persistent backdoor access and remote code execution.

Apr 4, 2026 • 5 min read