Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
hbsd-checksec
Commits
48ec4456
Commit
48ec4456
authored
Jul 02, 2021
by
Loic
Browse files
Adding a sample capture
parent
05dd3108
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
48ec4456
...
...
@@ -2,7 +2,8 @@ hbsd-checksec
========
hbsd-checksec is a script to check the properties of executables (like PIE, RELRO, CFI, Canaries, ASLR).
It has been originally written by Tobias Klein and the original source is available here: http://www.trapkit.de/tools/checksec.html
It has been originally written by Tobias Klein and the original source is available
[
here
](
http://www.trapkit.de/tools/checksec.html
)
.
How to run this script
--------
...
...
@@ -10,7 +11,7 @@ How to run this script
```
$ fetch https://git.hardenedbsd.org/loic/hbsd-checksec/-/raw/master/hbsd-checksec
$ chmod 710 hbsd-checksec
$ ./hbsd-checksec
[](url)
$ ./hbsd-checksec
```
...
...
@@ -45,31 +46,4 @@ Options:
Examples
--------
```
./hbsd-checksec --proc-all
* System-wide ASLR: PaX ASLR enabled
* Does the CPU support NX: Yes
* Crash dumps: Not Restricted
COMMAND PID RELRO STACK CANARY Clang CFI SafeStack BIND_NOW NX PIE
getty 10251 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
devd 24 Partial RELRO No symbol table found No Clang CFI found No SafeStack found No BIND_NOW found NX enabled No PIE
getty 24711 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
dhclient 25 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
syslogd 26 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 27 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 29 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 36282 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 62677 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
sshd 65250 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
csh 66538 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
mutt 67544 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
sshd 71249 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 78416 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
dhclient 78527 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
getty 80242 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
cron 81213 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
dhclient 81882 Full RELRO Canary found No Clang CFI found SafeStack found BIND_NOW found NX enabled PIE enabled
```

Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment