# CISA CPG 2.0 small business workbook Version 2026-12-04. From jwatte.com: https://jwatte.com/blog/cisa-cpg-2-security-self-assessment-small-business/ This workbook walks the 34 goals in CISA's Cybersecurity Performance Goals 2.0 (https://www.cisa.gov/cybersecurity-performance-goals-2-0-cpg-2-0) for a small business with a few servers, a few PCs, some domains and a handful of cloud accounts. For each goal it gives: - **Ask**: the goal in one line. - **Evidence**: where to look. Commands are read-only. Linux commands are for Debian/Ubuntu unless marked RHEL (RHEL, Oracle Linux, Rocky, Alma). Windows commands run in an elevated PowerShell. - **Status**: fill in PASS, PARTIAL, GAP, MANUAL (only you can answer) or N/A. - **Note**: what you found and the next step. Copy this file into your own notes and fill it in. Do not publish a filled-in copy: it is a map of your weak spots. If you want CISA's own report format, install CSET 13 or later (https://github.com/cisagov/cset/releases) and type your answers in afterwards. Tip: run the evidence commands first and save the output with a date. The second run takes a fraction of the time and shows what changed. --- ## GOVERN ### 1.A Establish cybersecurity responsibilities - Ask: Is it written down who is responsible for security, and who covers when that person is out? - Evidence: a document. Nothing on a server answers this. - Status: - Note: ### 1.B Manage cybersecurity oversight - Ask: Is there a written security policy, reviewed at least once a year? - Evidence: the policy file and its last-reviewed date. Check that older policies (backup, access) still describe how things actually work today. - Status: - Note: ### 1.C Manage incident response plans - Ask: Is there an incident response plan, and has anyone walked through it this year? - Evidence: the plan. Minimum useful version: one page each for (1) a hijacked account, (2) ransomware on a server or PC, (3) customer data exposed. For each: first three actions, who to call, where the backups are, how to restore. - Status: - Note: ### 1.D Supply chain incident reporting and vulnerability disclosure - Ask: Will your vendors tell you when they are breached, and do they have a current contact for you? - Evidence: list your vendors (host, email, DNS, registrar, payment processor, booking or POS software, accounting). For each, check the security or account contact address on file. - Status: MANUAL - Note: ### 1.E Manage risks from managed service providers - Ask: Does any outside company have standing admin access to your systems? - Evidence: Linux: `cat ~/.ssh/authorized_keys` on each server (name every key); Windows: `Get-LocalGroupMember Administrators`; cloud: admin users in each console. - Status: - Note: ## IDENTIFY ### 2.A Manage organizational assets - Ask: Is there one up-to-date inventory of hardware, software, data, accounts and domains? - Evidence: Linux: `hostnamectl; ss -tlnup; systemctl list-units --type=service --state=running; docker ps 2>/dev/null`. Windows: `Get-ComputerInfo | Select OsName,OsVersion; Get-Service | ? Status -eq Running`. Plus: domains from your registrar, on-site devices (routers, cameras, POS, gateways). - Status: - Note: ### 2.B Mitigate known vulnerabilities - Ask: Are updates applied promptly, with known-exploited flaws first? - Evidence: Ubuntu: `apt list --upgradable 2>/dev/null | wc -l; pro status`. RHEL: `dnf updateinfo list --security; dnf updateinfo list cves`. Windows: `Get-HotFix | Sort InstalledOn -Desc | Select -First 3`. Cross-check against CISA's Known Exploited Vulnerabilities list: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json - Status: - Note: ### 2.C Obtain independent validation of cybersecurity controls - Ask: Has anyone other than you tested your defenses? - Evidence: the last outside test or scan report and its date. Options: a pen test, a table-top exercise with someone outside the business, or CISA's free scanning if you qualify (https://www.cisa.gov/cyber-hygiene-services; governments and critical infrastructure only). - Status: - Note: ### 2.D Maintain a vulnerability disclosure/reporting process - Ask: Can a stranger who finds a hole in your site tell you about it? - Evidence: every public web domain and subdomain serves `/.well-known/security.txt` with a `Contact:` line and an `Expires:` date less than a year ahead (RFC 9116). Use the domain sweep script at the end of this file. - Status: - Note: ### 2.E Document network topology - Ask: Is there a current diagram of each network? - Evidence: the diagram. Per site: internet line, router or firewall, guest Wi-Fi, office PCs, cameras, payment devices, and how they are separated. - Status: MANUAL - Note: ## PROTECT ### 3.A Changing default passwords - Ask: Have default passwords been changed on every device and app before it went live? - Evidence: walk the device inventory from 2.A: router, switch, Wi-Fi, camera recorder, printers, smart devices. Linux: `sudo passwd -S root` (L = locked). - Status: - Note: ### 3.B Establish minimum password strength - Ask: Are passwords at least 16 characters where the system allows? - Evidence: Ubuntu: `grep -E 'minlen' /etc/security/pwquality.conf`; RHEL: same file plus `authselect current`. Windows: `net accounts`. Cloud: password manager in use? - Status: - Note: ### 3.C Create unique credentials - Ask: Is any password shared between people, services or devices? - Evidence: list shared logins (front desk, a shared mailbox password, one Wi-Fi admin password used everywhere). - Status: MANUAL - Note: ### 3.D Revoking credentials for departing staff - Ask: When someone leaves, is their access removed everywhere, and are inactive accounts disabled? - Evidence: Linux: `lastlog -b 30` (RHEL 10: `lastlog2`), `cat ~/.ssh/authorized_keys`. Windows: `Get-LocalUser | Select Name,Enabled,LastLogon`. Cloud: user lists in each admin console. - Status: - Note: ### 3.E Monitor unsuccessful (automated) login attempts - Ask: Are failed logins logged, and does a burst of them alert someone? - Evidence: Linux: `sudo journalctl -u ssh --since "7 days ago" | grep -c -E 'Failed|Invalid user'` (RHEL: `-u sshd`); `systemctl is-active fail2ban`. Windows: failed logons are event 4625 in the Security log. Then: what sends an alert? - Status: - Note: ### 3.F Implement multi-factor authentication - Ask: Do all remote and admin logins use MFA, phishing-resistant where possible? - Evidence: email, code hosting, DNS, registrar, web host, bank, payment processor: check each account's security page for passkeys or security keys. Servers: `sudo sshd -T | grep -E 'passwordauthentication|authenticationmethods'`. - Status: - Note: ### 3.G Separate user and privileged accounts - Ask: Do admins use a separate account for admin work? - Evidence: Linux: `sudo grep -rh NOPASSWD /etc/sudoers /etc/sudoers.d`; which account runs automation? Windows: is your daily account in `Get-LocalGroupMember Administrators`? - Status: - Note: ### 3.H Implement the principle of least privilege - Ask: Does each account and service have only the access it needs, reviewed quarterly? - Evidence: Linux: `ss -tlnp` (what listens publicly), `docker ps` (containers bound to 0.0.0.0?); Windows: services running as accounts other than the built-ins. - Status: - Note: ### 3.I Implement network segmentation - Ask: Are guest, office, payment and camera networks separated? - Evidence: router config. Servers: `sudo ufw status verbose` or `sudo firewall-cmd --list-all`. - Status: - Note: ### 3.J Implement cybersecurity training - Ask: Does everyone get a short yearly briefing on phishing and payment scams? - Evidence: date of the last briefing and who attended. - Status: MANUAL - Note: ### 3.K Utilize strong encryption - Ask: Is sensitive data encrypted in transit and at rest, with no plaintext passwords? - Evidence: `lsblk -o NAME,TYPE,FSTYPE | grep -E 'crypt|luks'`; Windows: `Get-BitLockerVolume`; sites served only over HTTPS; backups encrypted. If you accept unencrypted disks, write down why. - Status: - Note: ### 3.L Enable email security - Ask: SPF, DKIM and DMARC at `p=reject` on every domain, including domains that send no mail? - Evidence: the domain sweep script below. Domains that send no mail: `v=spf1 -all` and `v=DMARC1; p=reject`. - Status: - Note: ### 3.M Disable autorun and macros by default - Ask: Are Office macros and AutoRun off by default? - Evidence: Windows: `Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name NoDriveTypeAutoRun`; Office macro policy in your admin center. - Status: - Note: ### 3.N Establish change management processes - Ask: Are changes planned, tested and recorded, with a way back? - Evidence: config in git, an update process with a rollback, a file integrity monitor (`sudo aide --check` or similar). When the integrity monitor alerts, check the package log for the same minute first: `grep "$(date +%F)" /var/log/dpkg.log` (RHEL: `dnf history`). - Status: - Note: ### 3.O Maintain system backups and restoration ability - Ask: Are backups frequent, offsite AND offline (or immutable), and tested at least once a year? - Evidence: backup timer or job status and last success; a restore test (script below); can the machine being backed up delete its own backups? If yes, add an append-only or object-locked copy. - Status: - Note: ### 3.P Maintain hardware and software approval process - Ask: Is there a list of approved software and devices, and a check before new ones go in? - Evidence: the list. Servers: pinned versions or image tags. - Status: - Note: ### 3.Q Maintain log collection and storage - Ask: Are logs kept centrally, protected from tampering, with an alert if logging stops? - Evidence: Linux: `systemctl is-active auditd; sudo auditctl -l | wc -l; ls /etc/rsyslog.d`; journald persistent? Windows: `wevtutil gl Security` (max size). Do logs leave the machine? - Status: - Note: ### 3.R Prohibit connection of unauthorized devices - Ask: Are USB storage and unknown devices restricted? - Evidence: policy and device control settings; Linux: `lsmod | grep usb_storage`. - Status: - Note: ### 3.S Secure internet-facing devices - Ask: Is every internet-facing service needed, patched, and free of exposed admin panels? - Evidence: `sudo ss -Hltnup | grep -v 127.0.0.1`; firewall rules; router port forwards. - Status: - Note: ## DETECT ### 4.A Establish malicious code detection - Ask: Is anti-malware running and current on every endpoint? - Evidence: Windows: `Get-MpComputerStatus | Select AntivirusEnabled,RealTimeProtectionEnabled,AntivirusSignatureAge,IsTamperProtected`. Linux: your EDR agent, or at least a file integrity monitor. - Status: - Note: ### 4.B Identify adverse events - Ask: Does anything tell you when something unusual happens? - Evidence: what alerts exist (backup failure, integrity change, login bursts, new admin user) and where they go. - Status: - Note: ## RESPOND ### 5.A Establish incident communication procedures - Ask: Do you know who to call and what to tell customers during an incident? - Evidence: a contact sheet: partners, vendors' security lines, bank, payment processor, insurer, lawyer, and a draft customer notice. - Status: MANUAL - Note: ### 5.B Establish incident reporting procedures - Ask: Do you know your legal duty to report a breach, to whom, and how fast? - Evidence: your state's data breach notification law, your payment processor's terms, your cyber insurance policy. CISA accepts voluntary reports: https://www.cisa.gov/report - Status: MANUAL - Note: ## RECOVER ### 6.A Incident planning and preparedness - Ask: Can you recover in a known order, and keep working in a degraded mode meanwhile? - Evidence: a written recovery order (what comes back first) and a paper or offline fallback for each business process that stops when systems are down. - Status: - Note: --- ## Script: restore test (restic example) Restores a few known files from the newest snapshot into a temporary folder and compares checksums. Read-only on the repository. Adjust the repository, password file and file list. ```bash #!/bin/bash set -uo pipefail REPO='sftp:backup@example.com:/srv/restic/myserver' # your repository PW="$HOME/.restic-password" # your password file FILES=(/etc/hostname /etc/fstab "$HOME/.bashrc") # files that rarely change T=$(mktemp -d) start=$(date +%s) restic -r "$REPO" --password-file "$PW" snapshots --latest 1 inc=(); for f in "${FILES[@]}"; do inc+=(--include "$f"); done restic -r "$REPO" --password-file "$PW" restore latest --target "$T" "${inc[@]}" for f in "${FILES[@]}"; do a=$(sha256sum "$f" | cut -c1-16); b=$(sha256sum "$T$f" 2>/dev/null | cut -c1-16) if [ -n "$b" ] && [ "$a" = "$b" ]; then echo "MATCH $f" elif [ -n "$b" ]; then echo "DIFFERS $f (changed since the snapshot?)" else echo "MISSING $f"; fi done echo "restore test took $(( $(date +%s) - start ))s on $(date -u +%F)" rm -rf "$T" ``` Write the date and the result in 3.O. Next time, restore something bigger, such as a database dump. ## Script: domain sweep (email security and security.txt) Needs `dig` and `curl`. Prints one line per domain: MX, SPF `all` qualifier, DMARC policy, security.txt status and its Expires date. ```bash #!/bin/bash D="example.com www.example.com pay.example.com example.net" printf 'domain\tMX\tSPF\tDMARC\tsecurity.txt\texpires\n' for d in $D; do mx=$(dig +short MX "$d" | awk '{print $2}' | paste -sd, -); [ -z "$mx" ] && mx=none spf=$(dig +short TXT "$d" | tr -d '"' | grep -i '^v=spf1' | grep -oE '[~?+-]all'); [ -z "$spf" ] && spf=none dm=$(dig +short TXT "_dmarc.$d" | tr -d '"' | grep -oiE 'p=[a-z]+' | head -1); [ -z "$dm" ] && dm=none tmp=$(mktemp) code=$(curl -s -o "$tmp" -w '%{http_code}' -m 15 "https://$d/.well-known/security.txt") if [ "$code" = 200 ] && grep -qi '^Contact:' "$tmp"; then st=ok; ex=$(grep -i '^Expires:' "$tmp" | awk '{print $2}') else st=$code; ex=-; fi rm -f "$tmp" printf '%s\t%s\t%s\t%s\t%s\t%s\n' "$d" "$mx" "${spf}" "$dm" "$st" "${ex:-missing}" done ``` Reading it: a domain with MX `none` sends and receives no mail, so it should show `-all` and `p=reject`. A domain that does send mail can start at `p=none`, but should reach `p=reject` once DMARC reports show all legitimate mail passing. security.txt should be `ok` with an Expires date less than a year ahead on every web host, including app subdomains. --- This workbook is informational, not legal or cybersecurity consulting advice. Goal names and IDs are CISA's; the evidence commands and questions are ours.