How to Install and Uninstall checksec Package on openSUSE Leap

Last updated: December 24,2024

1. Install "checksec" package

In this section, we are going to explain the necessary steps to install checksec on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install checksec

2. Uninstall "checksec" package

In this section, we are going to explain the necessary steps to uninstall checksec on openSUSE Leap:

$ sudo zypper remove checksec

3. Information about the checksec package on openSUSE Leap

Information for package checksec:
---------------------------------
Repository : Main Repository
Name : checksec
Version : 2.6.0-bp155.1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 92.1 KiB
Installed : No
Status : not installed
Source package : checksec-2.6.0-bp155.1.5.src
Upstream URL : https://github.com/slimm609/checksec.sh
Summary : Utility to check binaries for system hardening
Description :
Checksec is a bash script to check the properties of executables (like PIE,
RELRO, PaX, Canaries, ASLR, Fortify Source). It has been originally written by
Tobias Klein and the original source is available here:
http://www.trapkit.de/tools/checksec.html
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 script is
designed to test what *standard* Linux OS and PaX (http://pax.grsecurity.net/)
security features are being used.