pwndbg_checksec
Checks ELF binary security properties including RELRO, NX, stack canary, PIE, RPATH, and other mitigations to analyze hardening levels.
Instructions
Check binary security properties (RELRO, NX, canary, PIE, RPATH, etc.).
pwndbg command: checksec Source: pwndbg/commands/checksec.py Category: Misc
Analyzes the ELF binary for security mitigations. Shows RELRO level, stack canary, NX (non-executable stack), PIE (position-independent), RPATH/RUNPATH, Fortify, and other compiler/linker security features.
Args: session_id: The UUID of the session. file: Optional path to check (default: loaded binary).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/checksec/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |