↓ Skip to main content
  1. Posts/

Hack The Box Certified Offensive AI Expert Feedback - What is it, Should you take it, and a some advice

Lacroix Raphaël (Chepycou)
Author
Lacroix Raphaël (Chepycou)
I’m Raphaël LACROIX, a French computer scientist developping various applications in my free time ranging from definitely useless to somewhat usefull. I also do quite a lot of Capture the flag and cybersecurity challenges. I am working as a Penetration Tester at Fenrisk.

What is COAE ?
#

COAE is a certification by Hack The Box. HTB describes it as :

HTB COAE is a hands-on certification assessing knowledge gained by a curriculum co-developed with Google on identifying and exploiting vulnerabilities in AI and machine learning systems. Certification holders demonstrate technical competency in adversarial machine learning (evasion attacks, data poisoning), LLM prompt injection and jailbreaking, LLM output exploitation (XSS, SQLi, code injection), AI application and system security (MCP vulnerabilities, deployment tampering, model reverse engineering), AI defense (guardrails, adversarial training and tuning), and AI privacy (membership inference, differential privacy). The curriculum aligns with Google’s Secure AI Framework (SAIF), the OWASP Machine Learning Security Top 10, the OWASP Top 10 for Agentic Applications, and the OWASP Top 10 for LLM Applications 2025. Certification holders can also conduct professional AI red-team assessments and communicate findings effectively.

This article is probably going to be a bit redundant with my article on CPTS because the two certifications share similarities, however there are some key points on COAE.

My overall feedback on the course + exams
#

Great course material, though sometimes perhaps a bit too deep
#

The completion of the course path is required before you can start the exam. This course, when followed seriously (taking notes, reading the whole thing etc.) should in my experience take about 1-3 months, depending on your level at the start, and your willingness to get into rabbit holes. There are also machines and challenges that can be used to gain more experience before starting the exam.

As someone who had taken basic ML classes a few years ago in college, had studied mathematics as part of my engineering degree and already has some pentesting experience, I found that the courses quite challenging and containing a lot of interesting information I did not know or did not understand fully. I think sometimes the course even went a bit too far in terms of ML/math knowledge, but I’ll talk more about that later on.

The courses were really high quality and if you take the silver subscription as I did, you have corrections which is a huge time saver and doubles down as an explanation of things you may have missed when reading the course.

One thing to note is that AI is a very quickly developing field. This means that the course and certification suffer the same issues as EDR evasion courses/certifications for instance, in that everything that was true 6 months ago is not true anymore as major breakthrough both offensive and defensive happened in the meantime. So prepare to do some research when something does not work, and expect to have a bit of state-of-the-art catchup when you need to apply this to your real-world assignment 😁

A technically challenging exam, a frustratingly challenging infrastructure
#

Compared to the CPTS which I had taken 2 years ago, the exam was a bit less enjoyable. However, I still found it easier to take; let me explain.

The exam tests you on pretty much everything covered in the course material in a manner that allows for flexibility and going back and forth between challenges. Compared to the linear “HTB machine”-like experience of getting flag 1 then flag 2 all the way to flag 14 of CPTS, here you have 4 to 5 concurrent “tracks” as there are (witout any spoilers) 3 ML-focused independent challenges and one web + LLM track with several steps that branches at some point. This I really liked because it gives you something to do to get a bit of fresh air by going on another “scope”.

However, I had trouble with the infrastructure that many others pointed out, in that you can’t test it with any HTTP proxy like Caido or Burp Suite since the requests timeout every other time and the proxy does not handle it. HTB seems to just be cheating by having the front-end make up for the sluggish backend and keep on requesting, which HTTP proxies don’t do. I fully understand that models take a lot of compute power, but I hope this is an issue that can be fixed at some point due to the very frustrating experience of not being able to get your HTTP history and your usual proxy tools.

I found some exam parts really realistic and interesting (mostly the Web part which was really top tier), however some other parts of the exam looked very CTF-like and guessy. For instance, I got stuck on my first attempt because some steps were just too weird and unrealistic for me to conclude that the expected solution was what actually had to be done.

Note

Keep in mind that this exam was just released this year and I have no doubt that HTB will keep on improving. Always take this type of personal feedback with a grain of (cryptographic) salt

As of now there seems to be less than 300 people that have passed this certification based on HTB badges stats. However, HTB being one of the first to start an AI certification means it will probably have some use for HR and recruiters to notice you and for clients to be interested in the company you work in.

Who is this for ?
#

If you are a pentester, and you only want to learn ASAP “How me can break LLM applications”, I think this certification is definitely not meant for you as it contains modules that are really boring from a pentest standpoint (looking at you Fast Gradient Sign Method and Jacobian-based Saliency Map Attacks). However, I would 100% recommend you follow part of the training path :

If however you are interested in having a glimpse of how ML/LLMs work on a mathematical level, then the rest (most) of the path and the certification is for you. And don’t worry that glimpse will already be quite advanced in terms of mathematics if you haven’t done much math at school (stuff like Linear Algebra, Normed Vector Spaces and python math libraries are basically prerequisites)

Advice
#

For what mine are worth 😅

When preparing
#

Prepare your notes
#

I’d recommend taking notes of all courses you take on academy + every exercise/CTF/machine/… that may be relevant. I did mine with obsidian which I recommend using, or something that has equivalent functionality (and is NOT stored online for obvious confidentiality reasons).

Prepare your code
#

For the ML part, the biggest asset you’ll take away from the courses, aside from your headaches will be your code. I highly recommend having it neatly organized and commented. I would recommend using a Jupiter notebook for each type of attack and in which every cell is known to work. This will be your best friend when you come across a challenge that requires you to perform attack X with modification Y and you can just duplicate the notebook, add a cell and get the challenge done in no time.

Prepare reporting
#

Another thing I’d recommend is to use sysreptor. sysreptor is a reporting tool for which Hack The Box has built an official template.

alt text

You can already create templates for all vulnerability that you think are likely to uncover (most chapters with attacks contain 2 or 3 classes of vulnerability, so that’s some time you can shave off).

alt text

I really recommend installing sysreptor locally (because this way you have unlimited features) and learning how to use it. You can follow their tutorial there. With the local versions you can already write pre-made vulnerability notes.

I’d recommend taking a look at this reporting module even though it is meant for the CPTS it still holds very well and build your own methodology based on this beforehand (every moment you spend before the exam is time you’ll be able to use during it)

Tips for the exam
#

I’ll keep those short as everyone work a little bit differently, but don’t hesitate to look at the links below they contain various other tips.

Keep track of what you do
#

The exam is 7 days long report included so knowing what you did 2 days ago will definitely help you especially if you move back and forth between tracks as mentioned above. If you rely solely on what you remember doing you’ll end up doing the same thing over and over again or, worse even, not doing something because you’ll think you’ve already tried it.

Tip

My advice on this is : Take note of everything. Especially take notes when you tried something that did not work. It would be a shame that you do it again in 5 hours or the next day because you forgot that you already tried it.

How to get yourself out when you’re stuck
#

Remember that this is not an “attacking AI” certification, but an offensive certification centered around AI and ML, so don’t expect everything to be exclusively prompt injecting an AI. Like in a real-world assessment you should start by enumerating your target, looking at every input and output, every interaction and business logic.

Compared to CPTS I found that you usually have less options of things to try which admittedly makes the rabbit holes less frequent, there may still be rabbit holes. As for my older CPTS article it is always hard to give proper advice on how to manage them, but I’d say that you should give yourself a time budget on ideas and if they really seem not to be fruitful to move to another track and come back with a clearer mind the next day/work session.

Time and stress management
#

I recommend taking some breaks on a regular basis. Whenever you don’t know what to do, you are going in circles, or are in one of the aforementioned rabbit holes, take the opportunity to do have a short rest.

Trying to do something that does not involve a screen helps a lot, even if it is only for 5 to 10 minutes (like going our for a 5 minutes walk, going outside, reading a chapter of a book, calling/chatting with someone, saying a decade or perhaps even taking a short nap if that works for you).

Another thing that worked quite well was to use the infamous “plastic duck” technique (It does not have to be a plastic duck it can also be another figurine, your dog, your right monitor or if you are next other people just someone you imagine, although speaking out loud seemed to work better for me). I would describe in great precision what issues I had, what I had tried and this helped tremendously.

Writing the report as you go (either in your notes or in your final report) also helped since you have to describe, and it can make stuff clearer in your head. I even sometimes understood the next step precisely before even starting it because I wrote the previous step in my notes seriously.

Tools
#

As an addition to the tools provided by HTB, since they did not provide any MCP-related tools I have developed a Burp Suite extension that can be used to enumerate and attack MCP servers. So for a bit of self-promotion here is the article and here is the tool :

The use of AI
#

AI is being more and more used at work for us pentesters. I mainly used it for the ML part in asking it questions, snippets of code etc. but it can also be used to generate prompt injection, suggest attack paths or anything else. It’s a tool so let’s use it, although responsively, humanely and with critical thinking.

alt text

Resources :
#