Writing
Notes on security, embedded systems, and the work I do when nobody asked me to.
- 2026-07-12
Embedded Security In Practice: Root of Trust and Key Storage on FRDM-MCXN947
M4: using the SRAM PUF and EdgeLock Secure Enclave to make ECU keys device-bound at rest. What this gives you, and what it does not.
- 2026-06-26
Automotive threat model as code on Threagile
A tag-driven Threagile model of a composite BEV: 16 custom rules encoding automotive bus-security weaknesses and a multi-hop attack path analyzer.
- 2026-06-14
Threat modeling an authenticated RAG chatbot for a bank
Part 2. Add a login gate and read-only session-scoped tools to the Part 1 bank chatbot, re-run the OWASP LLM Top 10, and the triage nearly inverts.
- 2026-06-07
Threat modeling a RAG chatbot for a bank
A walk through the OWASP LLM Top 10 threat model for a retrieval-only, unauthenticated bank chatbot. Scope the system right and only four threats actually bite.
- 2026-05-31
Embedded Security In Practice: Enabling Authenticated Debug on FRDM-MCXN947
A walk through of closing the TS3 risk: the SWD port ships open. This post builds, verifies, and stages the per-device DAT credential gate for it.
- 2026-05-24
Embedded Security In Practice: Secure Boot on FRDM-MCXN947
This post implements ECDSA P-384 secure boot on the FRDM-MCXN947: the boot ROM now refuses any image without a valid signature. Live captures prove TS2 closed.
- 2026-05-17
Using the Automotive Threat Matrix to threat model a telematics control unit
The Automotive Threat Matrix is ATT&CK for cars. How to scope it to a single ECU, a telematics control unit, and where it helps versus where it stops short.
- 2026-05-10
Embedded Security In Practice: TARA and Lifecycle Plan for the FRDM-MCXN947
A full ISO/SAE 21434 TARA on the FRDM-MCXN947 cast as an ASIL B BCM: threat scenarios, attack paths, risk treatment, and the M2-M8 control roadmap.
- 2026-05-03
DREAD ranks threats by summing five factor scores. A fine way to force an argument about what to fix first, a poor calculator. Worked on a telematics backend.
- 2026-04-26
Embedded Security In Practice: Secure Boot, Debug Lockdown, Key Storage
Layered defense for when the attacker holds the hardware: secure boot, debug lockdown, key storage, safe updates, and the basics that catch most attackers.
- 2026-04-19
ISO/SAE 21434 TARA: A Worked Automotive Risk Assessment and Its Limits
A full ISO/SAE 21434 TARA on a telematics backend: all seven Clause 15 activities, then where the method strains and what keeps it alive as the system changes.
- 2026-04-12
X.509 Certificate Chains: Path Building vs. Path Validation
Certificate chaining is two processes most writeups blur: path building assembles a candidate, path validation checks it. Built and broken with OpenSSL.
- 2026-04-05
How to Read a TLS 1.3 Cipher Suite
A TLS 1.3 cipher suite names just two things: an AEAD cipher and a hash. How to read one, and where the key exchange and signature moved to.
- 2026-03-29
LINDDUN: A Worked Privacy Threat Model and Its Limits
LINDDUN is STRIDE for privacy. A worked pass on a vehicle telematics backend, where it contradicts STRIDE, and where it expands the threat taxonomy.
- 2026-03-22
AI agents now exploit real CVEs for under $10. That changes how we should score the likelihood axis in OWASP, CVSS, DREAD, and FAIR risk frameworks.
- 2026-03-15
STRIDE: A Worked Threat Model and Its Limits
A full STRIDE threat model on a vehicle telematics backend, then where the taxonomy breaks down: coverage limits, ranking gaps, and privacy blind spots.
- 2026-03-08
When "Not Root" Still Means Root: Linux Capabilities and Least Privilege
Linux capabilities were meant to replace setuid root. In practice, many grants are just root with a different label and are much harder to find.
- 2026-03-01
A straight answer for future-me about what this place is before I start filling it with content. No content strategy. Just a place to think things through.