checksec — authorized ELF hardening checks
checksec (slimm609/checksec.sh) reports ELF hardening features such as NX, PIE, RelRO and stack canaries. Release 3.2.0 (2026-06-17 UTC) was the latest non-prerelease on 2026-10-24. License is BSD per upstream LICENSE. Inspect only binaries and hosts you are authorized to examine.
Snapshot
| Field | Value |
|---|---|
| License | BSD (LICENSE; GitHub often NOASSERTION) |
| Latest checked | 3.2.0 (2026-06-17 UTC) |
| Job | Report common Linux ELF / process hardening indicators |
| Stars (order of magnitude) | ~2.4k on GitHub (counts change daily) |
| Peers | LIEF, pwndbg/GEF checksec helpers |
Allowed framing
- Baseline hardening checks on your Linux builds before release.
- Classroom demos comparing hardened vs unhardened lab binaries.
- IR triage notes that record observed mitigation flags (not “safe/unsafe” verdicts).
Scope we will not cover
- No exploit PoC cookbooks targeting “missing canary” binaries.
- No bypass recipes for ASLR/PIE/RelRO.
- No scanning of third-party production hosts without authorization.
Beginner path (authorized only)
- Work on binaries you built or ticketed IR samples in a lab VM.
- Install from official slimm609/checksec.sh Releases (or distro package when policy allows).
- Record the exact checksec version beside the binary SHA-256.
- Treat output as indicators, then continue with a real code review / debugger session.
- For structured parsing APIs, also see LIEF.
- Use checksec for a fast hardening inventory on authorized Linux ELF targets.
- Never equate green flags with “no vulnerabilities.”
- Refuse exploit-PoC framing.
For legal, authorized and educational use only.
FAQ
What is checksec?
checksec (checksec.sh) is a shell utility that reports common compile-time / linker hardening features on Linux ELF binaries and, depending on mode, related process/kernel settings documented upstream.
Which version is cited?
3.2.0 published 2026-06-17 UTC on slimm609/checksec.sh Releases (latest non-prerelease checked 2026-10-24).
What license applies?
Upstream LICENSE is a BSD License text (Tobias Klein / contributors lineage). GitHub may show NOASSERTION for SPDX — read LICENSE in the tree you pin (checked 2026-10-24).
Does a green checksec report mean a program is safe?
No. Hardening flags reduce some classes of memory-corruption impact; they do not prove absence of bugs, misconfiguration or malicious behavior.
Does this teach writing exploits against unprotected binaries?
No. Authorized assessment and education only — BinBench will not supply exploit PoCs.