ordinary
defense.
A practical guide to digital self defense
Independent reference · December 2026
Something went wrong?

03 / UNDER THE HOOD

The machinery behind it all.

You do not need a computer science degree to understand the boundaries that keep your information safe.

FIELD NOTES

Encryption, hashing and signatures

Encryption turns readable information into ciphertext using a key. Symmetric encryption uses a shared secret; public key cryptography uses related public and private keys. HTTPS normally combines these ideas to establish protected connections. Encryption without authentication may not detect tampering; modern authenticated encryption protects both confidentiality and integrity.

A hash is a fixed size digest, not encrypted text waiting to be unlocked. Password databases should use salted, deliberately expensive password hashing rather than fast general purpose hashes alone. A salt makes identical passwords produce different stored values. Digital signatures establish integrity and prove possession of a signing key when the public key is trusted.

Think of disk encryption as a locked filing cabinet. Once you unlock it, a malicious program with permission to read a file may still read it. End to end encryption protects content between communicating endpoints, not a compromised phone or a recipient who takes a screenshot.

Read further: NIST SP 800-63B-4: authentication · Apple: device passcodes and data protection · Signal: encryption and privacy

FIELD NOTES

Passwords, passkeys and authentication

Identification is saying who you are. Authentication is proving it. Authorization determines what you can do afterward. A website that recognizes you still needs to check whether you own the record you are trying to access.

Use long, unique generated passwords, preferably 20 or more characters when accepted. For a master password, use several independently random words. Avoid scheduled password changes unless compromise is suspected. Two factors must represent distinct categories: knowledge, possession or inherence. Two passwords are not two factors.

Authenticator apps generate temporary codes using a shared secret and time. They resist stolen passwords but can still be phished. Passkeys use public key cryptography tied to a legitimate service; the private key stays with the authenticator or its protected sync system. Hardware security keys are useful for important accounts and higher risk users. Keep a spare or recovery codes offline. SMS is better than no second factor, but vulnerable to carrier fraud.

Read further: NIST SP 800-63B-4: authentication · FTC: SIM swap scams

FIELD NOTES

Sessions, cookies and account recovery

A website cannot ask for your password on every click. It establishes a session and your browser supplies a credential on subsequent requests. Secure cookies are sent over HTTPS; HttpOnly limits access by page scripts; SameSite restricts some cross site cookie sending. None of these flags makes a compromised endpoint trustworthy.

Session expiry, revocation, fresh authentication for sensitive actions and device binding can limit harm. After account theft, changing a password may not revoke every session or third party app token. Review active devices, app grants, recovery methods, forwarding rules and passkeys.

Read further: MITRE: stolen session cookies · NIST SP 800-63B-4: authentication

FIELD NOTES

What happens when you open a website

Your device asks DNS for an address, connects using IP, and communicates with the remote service. TCP provides an ordered reliable byte stream; UDP delivers independent datagrams without those guarantees. QUIC builds secure reliable streams over UDP and is used by HTTP/3. TLS authenticates the server and protects traffic in transit. HTTP describes the web requests and responses themselves.

Your router moves packets between networks. Network address translation lets multiple local devices share a public IPv4 address; it is not a substitute for a firewall. A firewall applies traffic rules. It cannot reliably distinguish a malicious action inside an otherwise permitted encrypted connection.

DNS over HTTPS or TLS protects the query on its way to the selected resolver. The resolver still sees the query. DNSSEC validates signatures on DNS records, but does not encrypt lookups. HTTPS authenticates the site name in the certificate; a scammer can get a valid certificate for a scam domain.

Read further: Quad9: resolver options · Cloudflare: DNS setup · EFF: choosing a VPN

FIELD NOTES

Permissions, isolation and privilege

Operating systems isolate applications and enforce permissions. A camera permission permits camera access under the rules of that OS. An accessibility service, screen recording permission or full disk access may have far broader consequences than a photo permission. Give access for the task, not because the dialog says the app wants it.

A sandbox limits what a process can reach. Administrator or root access can modify system wide settings and undermine other defenses. A privilege escalation bug lets code cross a boundary it should not cross. Least privilege means running with only the rights needed.

Code signing identifies a publisher and helps detect changes. It does not prove that every signed application is safe. Security updates repair defects; an unsupported system eventually accumulates unpatched weaknesses.

Read further: Apple: Personal Safety User Guide · Google: Android security settings · Ubuntu: security updates · MITRE ATT&CK: Enterprise techniques

FIELD NOTES

Hardware security and verified boot

A TPM, Secure Enclave or hardware backed Android Keystore can protect keys and perform cryptographic operations within a restricted environment. The exact guarantees depend on the device. A key that cannot be exported is harder to copy, but malicious software may still request authorized operations.

Secure Boot verifies that trusted boot components are loaded. Verified Boot checks system integrity according to platform policy. Attestation lets a verifier evaluate signed evidence about a key or device state. A hardware security feature does not tell you whether every app is trustworthy.

Use a strong device PIN or password, keep firmware updated, enable platform protections, and store recovery keys separately before making boot or encryption changes.

Read further: Apple: device passcodes and data protection · Ubuntu: disk encryption · NIST SP 800-63B-4: authentication

FIELD NOTES

Fingerprinting and digital footprints

Websites can combine screen dimensions, language, time zone, browser characteristics and graphics behavior to distinguish devices. Unlike a cookie, this fingerprint can be reconstructed from observations. It may change, and it is not always uniquely identifying.

Your digital footprint also includes old posts, usernames, tagged photos, broker records, search history and location metadata. Logging into the same account identifies you even if you changed your IP address. Incognito does not erase data collected by a website.

Use tracker protection, limit extensions, avoid unnecessary public disclosures, remove location metadata before sharing sensitive photos and review old account visibility. Consider Tor Browser for a specific anonymity need, without adding extensions or signing into identifying accounts.

Read further: EFF: Cover Your Tracks · Mozilla: Enhanced Tracking Protection · EFF: choosing a VPN

FIELD NOTES

Risk, threat models and layered defense

Start by asking what you need to protect, from whom, and what losing it would cost. Most people need protection from fraud, opportunistic malware and account theft. A journalist facing targeted surveillance may need very different precautions.

Layer controls so one failure does not ruin everything: unique credentials, strong MFA, updates, limited permissions, network protection and recoverable backups. Do not treat a security checklist as a certificate of safety. Make decisions based on your circumstances rather than panic.

Read further: CISA: Secure Our World · Apple: Lockdown Mode