audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit.

clone: git clone https://gitbay.org/audit-labs/audit-tools.git

main: os/linux/

100644 README.md1472
100755 passwords.sh3156
040000 report/
100755 ssh_root_login.sh2149

report/linux.sh

./report/linux.sh
_     ___ _   _ _   ___  __   ___  ____    ____  _____ ____   ___  ____ _____
| |   |_ _| \ | | | | \ \/ /  / _ \/ ___|  |  _ \| ____|  _ \ / _ \|  _ \_   _|
| |    | ||  \| | | | |\  /  | | | \___ \  | |_) |  _| | |_) | | | | |_) || |
| |___ | || |\  | |_| |/  \  | |_| |___) | |  _ <| |___|  __/| |_| |  _ < | |
|_____|___|_| \_|\___//_/\_\  \___/|____/  |_| \_\_____|_|    \___/|_| \_\|_|



==========================================
# SECTION 00: Script Info
==========================================
Execution Date and Time: Wed May  7 11:35:52 AM CDT 2025
Script Name: ./linux.sh
User Running the Script: root (called by: cmc)



==========================================
# SECTION 01: System Info
==========================================
## Hostname
hera
## Kernel Version
6.14.4-400.asahi.fc42.aarch64+16k
## os-release
NAME="Fedora Linux Asahi Remix"
VERSION="42 (Forty Two [Adams])"
RELEASE_TYPE=stable
ID=fedora-asahi-remix
ID_LIKE=fedora

ssh_root_login.sh

./ssh_root_login.sh
PermitRootLogin no

passwords.sh

./passwords.sh
Starting analysis of authentication and login parameters...
Checking /etc/pam.d/system-auth for password parameters...
/etc/pam.d/system-auth file not found.
Analyzing /etc/login.defs...
Contents of /etc/login.defs: