rAudit is a security audit tool to help you create your own security audit checks.
Goals:
- Fast audit
- Make it easy to extend and create your own checks
- Output to JSON
What it is NOT:
- A configuration tool, no change is ever applied, just checks
- A vulnerability checker, no attempts to find vulnerable versions of applications are made
What is supported:
- Mounts including options
- Audit rules and configuration
- Kenel params
- Kernel compilation params
- Sysctl params
- Login.defs configuration
- Modprobe including blacklisted and disabled modules
- PAM rules
- OpenSSH configuration
- Sudo configuration
- Users and groups
- Uptime
- Systemd
- Process
- Audit(d) rules and configuration
- Grub
- GDM
Build:
cargo build --release
Run:
./target/release/raudit
Test:
cargo test
With: hyperfine -i ./target/release/raudit
:
Benchmark 1: ./target/release/raudit
Time (mean ± σ): 70.0 ms ± 0.7 ms [User: 7.8 ms, System: 62.2 ms]
Range (min … max): 68.9 ms … 71.7 ms 41 runs
- Config file to skip checks
- Add a "criticity", "hardening level" value linked to a check
- Add tags to checks and the ability to filter them
- Add JSON output format
rAudit is licensed under GPLv3.