inaabi / Guides / HIPAA technical safeguards on a Linux host
HIPAA technical safeguards on a Linux host
Linux readings for the five HIPAA Security Rule technical safeguards in 45 CFR 164.312. Evidence for a risk analysis, not a determination.
Tested on Debian GNU/Linux 12 (bookworm), 2026-12-04.
45 CFR 164.312 is the technical-safeguard section of the HIPAA Security Rule. It is five jobs: control access, record activity, notice when files change, prove who someone is, and protect data in motion. The section is at eCFR and, in a readable copy, at Cornell.
A covered entity decides how, in a risk analysis. This page is what a Debian 12 host showed on 2026-12-04. It is not a HIPAA determination. MinakiLabs does not claim HIPAA compliance. A business associate agreement is a contract. It is not a setting on this page.
Access control
Unique users are the account list. On a fixture, this awk printed alice 1000 /bin/bash and bob 1001 /bin/bash, and it dropped root and a nologin service account:
awk -F: '$3>=1000 && $7 !~ /nologin|false/ {print $1, $3, $7}' fixture-passwd
The same awk on this host printed four lines. The names stay on the host.
Automatic logoff is an idle shell. A temp file set TMOUT=900, readonly, and exported it. Sourcing the file printed 900. Removing the file and starting a new shell printed unset. The rule does not require 900. Write down the number you chose. The file was not installed in /etc/profile.d on this host.
/etc/shadow is mode 640, group shadow. An unprivileged read returned Permission denied.
Audit controls
dpkg -s auditd exited 1. The package is not installed. There is no auditd trail on this host. The evidence is that absence, dated 2026-12-04. Do not write "audit controls: pass" in the risk analysis while that line is true. Installing auditd was not run.
Integrity
dpkg --verify base-files printed one line and exited 0:
??5?????? c /etc/issue
The 5 means the checksum of the conffile /etc/issue does not match the package. Exit 0 does not mean "no changes." Read the lines. The banner text was not printed, and the file was not restored, because this host is not a lab. A checksum mismatch is a question for the risk analysis, not automatically an incident. dpkg --verify does not see a database of health records. That integrity check belongs to the application.
Authentication
New passwords use yescrypt: pam_unix.so obscure yescrypt in /etc/pam.d/common-password. The empty-password count, as root, was empty 0. PASS_MAX_DAYS is 99999 and PASS_MIN_DAYS is 0, so passwords do not expire. libpam-pwquality is not installed. None of that is a second factor. If the risk analysis says remote access needs a second factor, the PAM hash does not satisfy that sentence.
Transmission security
telnetd, inetutils-telnetd, and rsh-server are not installed. The remote shell that is installed is OpenSSH 1:9.2p1-2+deb12u10. On the lab config, a drop-in limited ciphers to aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr and MACs to hmac-sha2-512,hmac-sha2-256. sshd -t -f exited 0 and sshd -T -f printed that list. Deleting the drop-in removed it. The host daemon was not reloaded. TLS for an application was not configured here.
Questions
Is this a HIPAA compliance determination?
No. It is five readings a risk analysis can cite. The determination is the covered entity's.
What is the undo?
Every change in this test was on a copy or a temp file. Deleting the SSH drop-in restored permitrootlogin yes. Restoring the login.defs copy put PASS_MAX_DAYS back to 99999. Removing the TMOUT file made a new shell print unset. No host config file was left edited.
Where is the command transcript for SSH?
On the STIG page. A safeguard you meet some other way needs an exception record and a line in the risk analysis.