HARDCORE BLUE ← Home
Exams and course notes

CJCA: Reflection and Tips

Note: This article contains no exam solutions, flags, credentials, target information, screenshots, or other confidential examination content. It is a discussion of general preparation and lessons learned from my personal experience.

The CJCA Exam Experience

The exam is tough. While HTB materials are excellent, there is a real gap between theory and practice. The exam does not follow mechanically from the modules. The modules serve as a guide — most of the exam is real hacking and problem solving.

My ideas will overlap with CPTS.

What Is the Gap?

The exam presents a realistic target environment with multiple hosts. This is different from skills assessments, which are usually one small section or one host at a time. In the exam you need to control your workflow and time management, enumerate and chase leads, and assess vulnerabilities in real time without guidance. If an exploit doesn’t work, it’s up to you how far to pursue it before giving up. You will also run into new technologies, so you need to google on the fly and adapt. It comes naturally if you paid attention during the course. I often find it helpful to use Google search instead of AI.

I have identified four factors that make us more effective at live pentests, HTB exams, and the CJCA exam in particular: Context, Critical Thinking, Rabbitholes, and Frustration Tolerance.

Factor 1: Context

Tools and techniques need context to work properly. A great example is gobuster. Instead of blindly firing packets, do recon first and form a clear picture of the network stack, technologies, potential paths, and file names. Fuzzing for a PHP extension is only useful if you can realistically expect to find one.

This is one reason note-taking is highly encouraged. You gather specific information about the network and hosts — ports, services, hostnames, paths, files, usernames — that becomes the context enabling your tools to work effectively. People often expect cheatsheets or module concepts to work like a cookbook. In almost all exam scenarios you need to think for yourself. Information gathering and vulnerability assessment form a feedback loop; the tighter the loop, the better the result.

Factor 2: Critical Thinking

Treat it as a real investigation (both Red and Blue). You have some knowledge, but you still need to gather clues and interpret evidence. Combine pattern recognition from weeks of study with real context. Switch on your investigator brain from the beginning — it is a realistic, partially visible network. Information will be incomplete and sometimes rely more on logic than memory. Fragments may be scattered across hosts. The resulting information map is massive if you consider all possible attack paths. Practice and active problem solving make the difference.

Factor 3: Rabbitholes

Not all leads are equally promising, and many will be dead ends. Chasing dead ends is part of daily hacking life, but during an exam it costs valuable time. I had my first real experience with this during CPTS; the CJCA presents a similar challenge, though to a lesser extent.

A task may require knowledge you don’t have, a command you don’t remember, or a slight modification that needs fresh attention. The Academy search can help, but decide beforehand what to do when you get stuck and where you will source knowledge. The best resource is your personal field manual compiled from HTB notes and external sources. The worst approach is to rely entirely on AI.

A good rule of thumb: ask yourself what the core ideas of the relevant chapters were and what skills they imply. At the very least, recognise when you are entering an infinite loop and have a plan for what to do next. Come up with that plan beforehand. What is a rabbithole for one person may be an obvious solve for someone else. Experience is a major differentiator.

Techniques for handling rabbitholes:

  1. Review all your enumeration and summaries.
  2. Review your cheat sheets.
  3. Apply critical thinking.
  4. Switch from Red to Blue (or vice versa) to break the loop.

Indications of an infinite loop:

What you need may be hidden in plain sight or on another host. Exhaust your complete field manual across every host. Think of it like a search algorithm: iteratively run BFS → DFS until you have found all the flags. Start broad, then decide which leads are promising enough to investigate deeply.

Solutions for infinite loops:

Factor 4: Frustration Tolerance

You will face information overload and fatigue. After investing significant study time (and perhaps depending on the certification for a job), you may feel a sudden rush of disappointment when you realise it will not be easy. CPTS felt the same — it took several days to find the first flag. You can still have a rewarding experience if you deal with the frustration, take a break, and return with a fresh mindset and a more methodical approach.

The Critical Thinking Approach

You need to know the material very well — but that will not be enough. There is an X-factor we will call critical thinking. There is a difference between the map and the territory. The exam is all territory.

Critical thinking for Red

Critical thinking for Blue

Imagine a scale from STRONGLY BENIGN to STRONGLY MALICIOUS, with UNCERTAIN in the middle.

Working With (and Without) AI

You can’t unring a bell, so it’s unlikely anyone will completely avoid AI. But it can make you fail if you’re not careful.

Do Not

Do

You don’t need AI to pentest. The human brain is very good at assimilating scattered information and making interpretations. You are better off reviewing all the evidence yourself, thinking about it, and coming up with ideas. If you rely too much on AI you may soon find your wheels spinning, hours passing with no progress, pasting commands you don’t understand, and eventually failing the exam.

My System

I learned the hard way by failing CPTS. You need to pay attention from the beginning and read as widely as you can. Quality references such as Mandiant’s publications, interviews with well-known developers, Microsoft Learn materials, and published exploit POCs are crucial. This adds about 20% to your course completion time, but it matters a lot.

I use Ben Heater’s CTF methodology as a basic starting point for everything, then add to it where I can.

I collected all my notes and resources into one place and created a locally hosted application so the entire pentest can be managed in one place. My system has a repertoire of CJCA and CPTS cheatsheets, field notes, and images. It also includes my field manual, focused mostly on enumeration and footprinting. It may seem primitive to some, but it’s simple and it works. I use a net_state function to keep track of all the leads that have been exhausted on every host.

Keeping track of users and creds

Here’s a simple function you can add to your .bashrc for quickly storing and accessing credentials and breadcrumbs:

creds() {
	echo "$*" >> ~/.creds
	echo "[+] Added"
}
alias creds?='cat ~/.creds 2>/dev/null'
credsreset() {
	: > ~/.creds
	echo "[+] Credentials cleared"
}

I like to always remember the ground truth of the system I’m working with — the port signature and local enumeration. Once I’m 99% certain I know every open port on every host, I footprint them accordingly and pentest using Ben Heater’s CTF methodology as a broad first-pass framework.

There is an iterative process you follow in many situations, including nmap scanning, fuzzing, and password cracking. You start with the fastest and easiest approaches, throw some scans at it, and see what happens. Then you expand and iterate.

Example

Start with the most obvious:
nmap -F <ip>
nmap -p- <ip>
Any hidden or custom ports?
nmap -sU -F <ip>
Got all the ports? Any UDP or firewalled ports?
nmap -sC -sV <ports> <ip>
nmap --script * <port> <ip>

Feel free to spend a few hours on this. If you are 100% sure you are missing nothing, it gives you an advantage by adding to the process of elimination.

A Note on Notes

I keep mine as simple as possible. I use the Guake drop-down terminal with an alias for cd /notes && ls, then nano 1.first_note. Start by writing down the contents of the chapter, then go back and fill in each section as you read the material. I make sure to ask plenty of dumb questions, and I scribble a lot and leave ASCII art everywhere, because MY NOTES, MY RULES. Your notes are the playground where you get to experiment and question.

Sysreptor and Report Issues

You basically have two choices: deal with Sysreptor, or fill in the template you get with the exam. Sysreptor offers some convenience, but realise that HTB doesn’t maintain it.

Dealing with Blue

Ask yourself: Given the evidence, what should I be looking for?

As an admin or blue teamer you need to know what the baseline is for normal system noise. A fresh Windows installation, for example, will be very noisy and generate all sorts of telemetry that is not malicious at all. Arm yourself with thorough knowledge of common true positives and false positives.

Takeaway

Tradecraft Resources