IllyroidCode

linuxBash Security Audit Scripts

Bash · ZIP
// Code · Intermediate · Free

Bash Security Audit Scripts

Automated server auditing: open ports, weak permissions, cron anomalies, and user account hygiene checks.

linuxbashhardeningauditFree

Overview

A set of read-only Bash scripts that audit a Linux server and produce a clear report of what needs attention.

They change nothing on the system, so they are safe to run on production servers.

Key highlights

Read-only — changes nothing
Open ports and listening services
World-writable files and weak permissions
Suspicious cron jobs
User and sudo account hygiene
Plain-text report output

What's inside

Network

Open ports and what is listening on them.

Permissions

World-writable files, SUID binaries and home folders.

Scheduled tasks

Cron and systemd timers worth a second look.

Accounts

Unused accounts, empty passwords and sudo rights.

Report

One summary file with findings by severity.

Automation

Running audits on a schedule.

Tools & technologies

BashLinuxss / netstatfindcron

Is this for you?

Who it's for

Sysadmins who want a quick, repeatable health check.

Before you start

Linux shell access (root recommended for full results).