Skip to content

deoktr/raudit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rAudit

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

Usage

Build:

cargo build --release

Run:

./target/release/raudit

Develop

Test:

cargo test

Alternatives

Benchmark

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

TODO

  • 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

License

rAudit is licensed under GPLv3.

About

Linux Security Audit Tool in Rust

Resources

License

Stars

Watchers

Forks

Languages