offensive-tools/rev/checksec/SKILL.md
checksec: Linux binary and kernel hardening inspection tool for RELRO, canary, NX, PIE, RPATH, RUNPATH, symbols, fortify, and kernel config checks. Use when triaging ELF targets for exploitability, verifying compiler hardening, or auditing Linux systems and offline root filesystems.
npx skillsauth add aeondave/malskill checksecInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quick hardening triage for ELF binaries and Linux kernels.
Use checksec when you need to answer questions like:
This is often the first command in pwn/reversing triage.
# Inspect one binary
checksec file /bin/ls
# JSON output for automation
checksec file /bin/ls --output json
# Kernel hardening survey
checksec kernel
checksec file ./target --output cli
checksec file ./target --output json
checksec file ./target --output yaml
checksec file ./target --output xml
Use machine-readable output when feeding exploit notes, parsers, or dashboards.
checksec file ./vuln
Interpret quickly:
checksec file ./target --output json
checksec kernel
checksec kernel --output json
Useful for local privesc context or hardening audits.
checksec fortifyProc 1
Use when you want deeper fortify coverage rather than just the summary row in normal binary output.
Upstream notes two important limits:
For offline target filesystems, consider pairing checksec with native readelf if the environment is stripped down.
readelf, objdump, debugger output, and vulnerability context.No bundled scripts/, references/, or assets/.
Use upstream examples for the latest subcommands and output schema.
data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.