Debian Codegraph @

extras/man/checksec.1

raw
1 \" Process this file with
2 .\" groff -man -Tascii foo.1
3 .\"
4 .TH CHECKSEC 1 "FEBRUARY 2019" Linux "User Manuals"
5 .SH NAME
6 checksec \- check executables and kernel properties
7 .SH SYNOPSIS
8 .B checksec [options] [file]
9 .SH DESCRIPTION
10 .B checksec
11 is a bash script used to check the properties of executables
12 (like PIE, RELRO, PaX, Canaries, ASLR, Fortify Source) and kernel security
13 options (like GRSecurity and SELinux).
14 .SH OPTIONS
15 .TP
16 \fB\--output=\fP or \fB\--format=\fP \fB{cli|csv|xml|json}\fP
17 Output the results in different formats for ingestion to other applications.
18 NOTE: This option must go before any other options currently
19 .TP
20 \fB\--help\fP
21 Displays the help text
22 .TP
23 \fB\--file={filename}\fP
24 Checks individual files for security features compiled into the executable
25 .TP
26 \fB\--dir={directory}\fP
27 Recursively checks all executable files in the directory for security features compiled into the executables
28 .TP
29 \fB\--proc={pid}\fP
30 Checks the security features of a running process by name
31 .TP
32 \fB\--proc-all\fP
33 Checks the security features of all running processes
34 .TP
35 \fB\--proc-libs\fP
36 Checks the security features of the all libraries of a running process ID
37 .TP
38 \fB\--kernel[=kconfig]\fP
39 Checks the security features of the running kernel or a specified kernel config
40 .TP
41 \fB\--fortify-file={filename}\fP
42 Checks the fortifiability of a file and if any of the fortifiable features have already been compiled into the file
43 .TP
44 \fB\--fortify-proc={pid}\fP
45 Checks the fortifiability of a running process and if any of the fortifiable features have already been compiled in
46 .TP
47 \fB\--version\fP
48 Shows the current version of the running software
49 .TP
50 \fB\--update\fP or \fB\--upgrade\fP
51 Checks source for a signed update and updates the application if available
52
53 .SH DIAGNOSTICS
54 The following diagnostics may be issued on stderr:
55
56 Permission Denied.
57 .RS
58 For most of the checks you must be root..
59 .RE
60 Debugging
61 .RS
62 \fB\--debug\fP option can be specified for debug level output
63 .SH AUTHORS
64 Brian Davis <slimm609 at gmail dot com>
65 .RE
66 Checksec was originally written by Tobias Klein