تخطي إلى المحتوى الرئيسي
M.ALRASHID
CTFREVERSE ENGINEERINGCRYPTOGRAPHY2 ديسمبر 20243 دقائق قراءة

CTF notes: the solve is only part of it

As I build pentesting skills, I want my practice notes to explain the reasoning, the dead ends, and what would matter outside the challenge.

Getting a flag is satisfying. Being able to explain how the challenge worked is more useful for the skills I want to build. These are the notes I want to keep as I build my skills in cryptography, reversing, and network analysis. They don't document a specific event or solve.

Separate what I saw from what I assumed

I'd start a write-up with the input, the stated goal, and the constraints. If I think a string is Base64 or a packet field is a length, that goes down as a hypothesis until I test it.

For an encoding puzzle, that means keeping each intermediate result. With a binary, I'd record the file type and architecture before choosing tools, and with a capture I'd start from the protocols and endpoints before assigning meaning to individual packets.

It's easy to recognize a pattern and then force every new detail to fit it. Keeping the observations separate makes it easier to notice when the idea is wrong.

Save the path, including the dead end

My notes should have enough detail to reproduce the result: the input, the relevant commands or recipe, the output, and the reason for the next step. I don't need every terminal line, but I do need the step that changed my understanding.

For a dead end, one sentence can be enough: what I expected, what happened instead, and why I moved on. That's useful later when the same assumption shows up again.

The CyberChef workspace is a good place to preserve a sequence of decoding operations as a recipe. Example inputs are fine to share. Real tokens and private data need to stay out of shared recipe URLs.

Translate the challenge into a security question

After a solve, I'd ask what made it possible. Was data treated as a command? Was authorization missing? Did an implementation misuse a cryptographic primitive? Or was the challenge relying on deliberately unrealistic conditions?

Then I'd describe the evidence that would be needed in a real assessment and the change that would address the weakness. A CTF shortcut can be educational without being representative of a production system.

Make the next exercise more deliberate

I'd rather repeat a concept with a different constraint than collect another tool command I don't understand. Can I explain the failure without the original walkthrough, and reproduce it on a clean setup? Can I say why a proposed fix works?

For web application testing, the OWASP Web Security Testing Guide gives me a structured reference beyond individual challenges, which helps connect practice to a repeatable assessment process.

محمد الراشد

مهندس أمن سيبراني في PassiveLogic. مهتم باختبار الاختراق والثقة الصفرية والتعلم في المختبر المنزلي.

تواصل