How to Install and Uninstall checksec Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 30,2024

1. Install "checksec" package

This guide covers the steps necessary to install checksec on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install checksec

2. Uninstall "checksec" package

Please follow the guidance below to uninstall checksec on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove checksec $ sudo apt autoclean && sudo apt autoremove

3. Information about the checksec package on Ubuntu 21.04 (Hirsute Hippo)

Package: checksec
Architecture: all
Version: 2.4.0-1
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Chen-Ying Kuo
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 107
Depends: procps, file, openssl, gawk, binutils
Recommends: curl, wget
Filename: pool/universe/c/checksec/checksec_2.4.0-1_all.deb
Size: 22656
MD5sum: c90a025e4bc7deda2e6f7fdfde6600a9
SHA1: c5a30ea94ab92844a42ba00fc57b50512187618f
SHA256: 27f4bcb780d8c3057233813fb56add4a77b57aca80cdf5fa299abf49536cd01e
SHA512: 2a1cd0eb77e1b90bdb87e392c2ce06eec44f821995bfebdc6bf37a0844cb18bd27d997bdca92d46ab001ecd3578bd7b35aaba3da99d52ee784ab14b66f0a9cbc
Homepage: https://github.com/slimm609/checksec.sh
Description-en: Bash script to test executable properties
Modern Linux distributions offer some mitigation techniques to make it harder
to exploit software vulnerabilities reliably. Mitigations such as RELRO,
NoExecute (NX), Stack Canaries, Address Space Layout Randomization (ASLR) and
Position Independent Executables (PIE) have made reliably exploiting any
vulnerabilities that do exist far more challenging. The checksec.sh script is
designed to test what standard Linux OS and PaX security features are being
used.
Description-md5: a97047856b15e3cdb277f4df737b523f