Back to skills
SKILL.md
Linux Discovery
BSecurityRead-only situational awareness on an authorized Linux host — user/group/sudo context, OS/kernel version, SUID/SGID inventory, cron and systemd units, writable paths, network/listeners, running processes, containers, and credentials at rest. Feeds the Linux privesc skills. Use right after gaining a foothold.
- 16 stars
- 0 votes
- 0 copies
- 5 views
- Added November 17, 2026
Security analysis
88/100- Accesses sensitive system or user directories
npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill linux-discovery --agent claude-codeAre you the author of Linux Discovery?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-linux-discovery)---
name: linux-discovery
description: Read-only situational awareness on an authorized Linux host — user/group/sudo context, OS/kernel version, SUID/SGID inventory, cron and systemd units, writable paths, network/listeners, running processes, containers, and credentials at rest. Feeds the Linux privesc skills. Use right after gaining a foothold.
---
# Linux Local Discovery (read-only enumeration)
Enumeration only — collect the facts that reveal escalation paths; change nothing. Re-run after any privilege change.
## Trigger phrases
`linux enumeration, linpeas, local recon linux, sudo -l, suid, cron, writable paths`
## Context & system
```
id; sudo -l 2>/dev/null; whoami; hostname
uname -a; cat /etc/os-release # kernel + distro -> linux-kernel-exploits / vulnerable-components
cat /etc/passwd; ls -la /home/*
```
## Automated sweeps (read-only)
```
linpeas.sh -q # or lse.sh, linux-smart-enumeration ; pspy for cron/process timing (no changes)
```
## Facts to collect → routing
- **sudo rights** (`sudo -l`) → `linux-sudo-suid-capabilities` (GTFOBins).
- **SUID/SGID bins** (`find / -perm -4000 -o -perm -2000 2>/dev/null`) → `linux-sudo-suid-capabilities`.
- **Capabilities** (`getcap -r / 2>/dev/null`) → same.
- **Cron / systemd timers / writable units or scripts** → `linux-cron-service-abuse`.
- **Writable sensitive files / PATH / lib dirs** → `linux-file-path-abuse`.
- **Kernel + patch level** → `linux-kernel-exploits` (Tier 2, gated).
- **Creds at rest** (history files, `.env`, configs, keys, `/var/backups`, DB files) → harvest.
- **Containers** (`/.dockerenv`, cgroups) → `container-escape`.
- **Network**: listeners, routes, internal hosts for pivoting.
## Backend
Run via the preferred Kali path or directly on the target shell (see orchestrator). Local target commands run on the target; analysis tooling via Kali/HexStrike as needed.
## Verification (background, before reporting)
Enumeration facts are inputs, not findings. Only the privesc skills confirm an exploitable path, and only after independent reproduction.
## Output
Findings table (fact → candidate skill → risk) to `./.zazy/surface.md`.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.