Skip to content
Back to skills

Linux Discovery

BSecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securityshelldockerbackend

Security analysis

B88/100
  • criticalAccesses sensitive system or user directories

Pro shows the line behind each finding and how to fix it

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill linux-discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Linux Discovery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Linux Discovery
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-linux-discovery/badge)](https://www.skillsdirectory.com/skills/anandjogawade-linux-discovery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.