About Security audit agent
The security audit agent is a small bash script for Linux servers. It reads settings and file permissions, works out a score out of 100 with a grade, and lists what to fix, starting with the most serious. In the dashboard version the result is kept for 12 audits per server.
It runs at the lowest priority with a time limit. You can read the whole script before you run it, and a published checksum lets you check the file. A free mode prints the report on your screen and sends nothing.
What it does
- Runs more than 60 checks on SSH, accounts, firewall and ports, updates, files, services, logs, backups, cron, PHP, databases and control panels
- Deep checks for cPanel and WHM, Plesk and DirectAdmin, and detection of other panels
- Weekly run on a timer, plus a Run audit now button in the dashboard that is picked up within about 10 minutes
- Free mode: sudo bash rootmanage-audit.sh --report prints a readable report and sends nothing
What it does not do
- It does not change your server: it never installs, edits or restarts anything
- It is a review of settings, not a penetration test or a certification, and it cannot find unknown holes in your own applications
- It does not check Windows servers
Schedule: Weekly on Sunday at about 03:30, when you press Run audit now in the dashboard (checked every 10 minutes), and whenever you run it by hand
How it updates
The script does not update itself. To get a new version, run the install line from your dashboard again. It checks the new file against its published checksum before it replaces anything.
Run the install line from your dashboard againSecurity audit agent version history
- v1.2.0New
Free mode: a readable report on your screen, no account needed
The script has a new --report mode. It runs the audit and prints a score, a grade and the findings with their fixes in your terminal. Nothing is sent anywhere.
What changed
- New: sudo bash rootmanage-audit.sh --report prints a readable report, worst findings first, each with its fix
- The score is worked out with the same rule as the dashboard, so the two agree
- The other modes (--once, --print, --poll, --version) work as before
How it affects you
- No change for servers already installed: the weekly audit and the dashboard work as before
- You can now try the audit on any Linux server without an account, using the free Linux security audit page
What to do. Nothing to do. To get --report on a server that has the agent installed, run the install line from your dashboard again.
- v1.1.0New
Run audit now, verify your fixes, and a dashboard that keeps track
A second timer asks every 10 minutes whether you pressed Run audit now or Verify my fixes in the dashboard. The audit starts only if you did. The dashboard also gained alerts, accepted risks, fix requests and a PDF report.
What changed
- New --poll mode and a timer every 10 minutes: one small request that sends only the server token and gets back run or do not run
- Dashboard buttons Run audit now and Verify my fixes (no update needed for the dashboard parts below)
- Dashboard: alerts and an email when the score drops by 5 points or more, when a new critical or high finding appears, or when no audit ran for 30 days
- Dashboard: accept a risk on purpose with a reason and an end date, ask RootManage to fix selected findings, and print the report as a PDF
How it affects you
- Run audit now needs this version on the server. Servers still on 1.0.0 keep working with the weekly audit
- The extra timer uses almost no CPU: one request of a few hundred bytes every 10 minutes
What to do. To use Run audit now, run the install line from Dashboard, Security audit again. It replaces the script and adds the timer.
- v1.0.0New
First release: a read-only security audit for Linux servers and control panels
A read-only script that checks a Linux server and its control panel and sends the result to your dashboard, with a score, a grade and a plain fix for every finding.
What changed
- More than 60 checks on SSH, accounts, firewall and ports, updates, files, services, logs, backups, cron, PHP, databases and control panels
- Deep checks for cPanel and WHM, Plesk and DirectAdmin; detection of CyberPanel, CloudPanel, Hestia, Webmin, Virtualmin, aaPanel, CentOS Web Panel and ISPConfig
- Weekly timer at the lowest priority, 10% CPU cap, stops after three minutes
- Installer that checks the script against its published SHA-256 before it installs anything, and an uninstaller
How it affects you
- Part of the paid plans
- The audit only reads: it never changes the server and never sends passwords, keys or file contents
What to do. Open Dashboard, Security audit, press Show the install line and run it on the server as root.
Questions about Security audit agent updates
How do I update the security audit agent?
Open Dashboard, Security audit, press Show the install line and run it on the server as root. It replaces the script and the timers. rootmanage-audit --version shows the installed version.
Can I run it without an account?
Yes. Download the script and its checksum from the free Linux security audit page, check it, and run it with --report. It prints a report on your screen and sends nothing.