provocativo_
back to the arsenal
// arsenal·Linux & ShellBeginnerFOSS

checksec

Check ELF/PE binary security properties — NX, PIE, RELRO, canary, fortify.

Linux & Shell

$ checksec --help

checksec

// what it is

Description

Quick mitigation checker. Reports which compile-time protections (NX, PIE, RELRO, stack canary, FORTIFY_SOURCE) are enabled on a binary. The first thing every CTF rev player runs.

// use cases

What people use it for

  • Binary exploit pre-flight
  • Confirming hardening flags in CI

// commands

The commands you'll type

Check mitigations

$ checksec --file=./binary

// facts

category
Linux & Shell
platforms
LIN · MAC
license
FOSS
difficulty
Beginner

// related in Linux & Shell