Homework
Three tasks to deepen your AI-assisted binary and crypto workflow.
Complete the lab first.
Task 1 — Strings Classifier
Objective
Automate strings triage.
Instructions
- Write a Python script that takes strings output and bins each string into: URL, path, command, format string, version, crypto constant, base64/hex blob, or noise.
- Output a summary count per category + the top 5 most interesting strings.
Deliverable
strings_triage.py.
Task 2 — Crypto Weakness Catalog
Objective
Build a reference for future crypto challenges.
Instructions
- For each crypto weakness you found in the lab (ECB, key reuse, weak RSA, etc.), write a one-paragraph explanation, a one-line detection heuristic, and a one-line exploit technique.
- Format as a markdown reference you could use in any future CTF.
Deliverable
crypto-weaknesses.md.
Task 3 — YARA Rule
Objective
Codify binary detection.
Instructions
- Using strings and hex patterns from the lab binary, write a YARA rule that would detect it on an endpoint.
- Include at least 3 strings and one condition that limits FPs.
Deliverable
detect.yar.