checksec
Description
Checks security properties of binary files including NX (Non-Executable stack), RELRO (Relocation Read-Only), Stack Canaries, and PIE (Position Independent Executable). This is typically the first step when analyzing a binary for exploitation.
Usage 1: Check security properties of a binary using --file flag
Analyze a binary's security mitigations using the --file flag.
Command:
checksec --file login
Usage 2: Check security properties using --file= syntax
Analyze a binary's security mitigations using the equals syntax.
Command:
checksec --file=just_do_it