#audit

16 solutions

List Every Open Network Connection with lsof
macOSsocketslsofaudit

One forgotten command shows all sockets on the Mac with the owning process, unlike netstat's bare connection table.

Low risk ✓ 2026-09-17
Check Installed Windows Updates with Get-HotFix
Windowsupdatespowershellaudit

The forgotten Get-HotFix cmdlet answers 'is KBxxxxxxx installed?' in one line, locally or on remote machines.

Low risk ✓ 2026-09-17
Audit SUID/SGID binaries with find -perm
Linuxsuidprivilegeaudit

Enumerate every binary that runs with elevated privileges — unexpected entries here are the classic local privilege-escalation vector.

Medium risk ✓ 2026-09-17
List members of a local group on Windows
Windowsaccountspowershellaudit

Enumerate local Administrators, Remote Desktop Users or any local group membership with Get-LocalGroupMember, including domain-sourced accounts.

Low risk ✓ 2026-09-17
List your sudo privileges with `sudo -l`
Linuxpolicyprivilegessudo

Before pasting a sudo command from a tutorial, or when writing automation, `sudo -l` shows precisely what your account is allowed to run — and what will be rejected.

Medium risk ✓ 2026-09-17
List Defender Malware Detections with PowerShell
Windowsdefenderpowershellaudit

Get-MpThreatDetection reveals the full detection history the Windows Security app doesn't show.

Low risk ✓ 2026-09-17
Audit world-writable files in your home directory
Linuxpermissionssecurityaudit

List every file that any user on the system could modify.

Low risk ✓ 2026-09-18
Search Linux Audit Logs with ausearch
Linuxlogsecurityaudit

Query the kernel audit log with ausearch for security-relevant events — logins, file access, or specific commands — in readable form.

Medium risk ✓ 2026-09-18
Find user accounts with empty passwords
Linuxpasswordsuserssecurity

A quick audit that catches passwordless accounts — a silent backdoor on any Linux box.

Medium risk ✓ 2026-09-18
Inspect an App's Code Signature with codesign -dv
macOSsignaturecodesignaudit

See the signing identity, TeamID, CDHash, and entitlements of any application on your Mac.

Low risk ✓ 2026-09-17
List Last Login Times for All Users with lastlog
Linuxaccountslastlogaudit

Print one line per system account showing when it last logged in — or 'Never logged in' for accounts nobody has used.

Low risk ✓ 2026-09-17
List failed login attempts with `lastb`
Linuxloginssshlastb

The forgotten counterpart of `last`: lastb reads /var/log/btmp and shows every failed login — the quickest way to see whether your SSH server is being brute-forced.

Medium risk ✓ 2026-09-17