Capstone: guard a certificate's lifetime and replay a trusted-update attack
Use what you know to look after TLS certificates the way an engineer does, then replay a real incident in which a signature was valid and the software was still malicious.
The capstone labs
- Restrict certificate issuance with CAA and test the policy: You limit which authorities may issue for a domain and test the policy, applying certificate authority knowledge.
- Monitor TLS certificate expiry with a Python script: You write a small monitor that warns before a certificate expires, the lifetime lesson turned into a tool.
Chain Replay exercise
In 2020 attackers tampered with a vendor's build, and the tampered update was then signed and shipped to customers. Replay it and decide what a signature proved and what it did not.
- Run the replay and find the stage where the tampered update is signed. In one sentence, say what the signature proved to the customer and what it did not.
- Turn on build integrity checks. Which stage is affected, and why does protecting the build matter even when you sign carefully?
- Turn on the control that protects token-signing keys. Explain how a stolen signing key lets an attacker forge something valid, using what you learned about private keys.
Write it down
- Write three sentences that a non-technical manager could read, explaining why 'it is signed' does not mean 'it is safe'.
You are done when
- You can choose between encoding, hashing, encryption and signing for a stated goal and justify the choice.
- You can read a certificate and say who vouches for it, when it expires and what you would do if its key leaked.
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.