r/Pentesting • • 26d ago

Where can I learn agentic pentesting?

I'm a senior pentester and I'm hearing more and more about agentic pentests. I'm pretty sure that in the future, we'll have to use agentic AI for our pentests (even if we don't want to). I've had several clients that came and asked for agentic pentests, but I feel like nobody really understands what it is, neither the clients nor my consulting company.

So I'm trying to learn agentic pentesting, not really because I'm fully enthousiast about that, but more because I don't want to be left behind. I'm trying to find courses that explain how to build agentic pentesters, but it's difficult to find relevant resources. There are a lot of courses (even free courses) on agentic AI, but I feel like I need a course focused on agentic pentesting. 

For now, here is what I found:

- https://www.coursera.org/learn/packt-agentic-ai-for-offensive-cybersecurity --> cheap, but not sure if it's what I'm looking for

- https://leanpub.com/c/learn-agentic-pentesting?lng=en --> cheap, but had no reviews for now (seems pretty recent)

- https://www.orsys.fr/en/formation/HIA --> interesting but sooo expensive

Have you tried any of these resources? Do you have any other interesting resources?

NB: I noticed that a lot of courses are on "how to pentest an AI" which is not what I'm looking for

62 Upvotes

44 comments sorted by

54

u/Remarkable_Pace8101 26d ago

You're a senior pentester.

Literally just use agents to automate your job you don't need a course or lecture material, just automate parts of your engagements with agents 

14

u/CorrectMap877 26d ago

If you want to do it correctly, it's not that simple. What you mentioned is kinda the first level of agentic pentesting.

For example imagine a client who wants you to deploy a multi agent pentesting system on their infra, integrates it on their CI/CD pipeline, without using cloud models (I had this case recently). Which model do you use? MoE? How much KV cache? Quantification? Fine-tuned? RAG? How do you implement safeguards? What about tool calling? How do ensure that your own system is not vulnerable? Ect

3

u/p0Gv6eUFSh6o 26d ago

That's not pentesting. It's infrastructure and the role could be something like Senior Agentic Architect. It's a niche on its own

2

u/volgarixon 26d ago

Some of those questions aren’t even well settled though right? Like MoE (custom models?), Quant (how much money you got) etc, which … makes it less likely that people have good courses (there are some).

In short, I agree, 100% not that simple.

8

u/[deleted] 26d ago

[removed] — view removed comment

2

u/CorrectMap877 26d ago

Yep but I think that someone who is able to do both would be very valuable in the market

→ More replies (1)
→ More replies (1)

6

u/Weird-Watch-9209 26d ago

"in the future"?! Holy crap you just made my day with that .. jogged my whole perspective. See I was feeling buried by the idea that everything was saturated and that now that even the absolute novice/beginner had a swarm of abliterated deepseek-4.1-flash pummeling their targets... and here now I see a fellow senior pentester speculating about maybe learning agentic workflows "in the future"! wut!? Technically it's not really your post, but the lack of sobering "wtf are you talking about, future" comments that has me rethinking things. The comments seem to be playing along like it's the most normal thing in the world to be new to agentic offsec (which is just "agentic" - adding some word after agentic doesn't mean anything different, since there was always going to be context).

I thought most of us had already been using agentic workflows for literally years (for perspective, aider came out in mid 2023, and there has been a parade of strong agentic harness ever since) and now I'm scrambling again to see about getting back in the action, since I can see I'm years ahead (of at least some folks)! It's easy to get desensitized to the endless mad dash of the AI field and feel that missing a week would put you hopelessly behind.

I mean, I'm not omniscient, but I check out each thing. For example I saw an article about hackers using ARTEX to such-and-such and I'd never heard of that tool, so I dispatched a small swarm to get every shred of info and find the most recently updated github forks (since the original was missing) and found the South Korean updated version and got a full rundown of the new features - then I set up another session dedicated to full translation to English (done) and analysis of the prompts (some of it is really interesting, others like where it anticipates ai model refusal and prepares a battle with the subagents is something I have solved..) anyway then days later I run across something else that shows someone else is ALREADY maintaining an English version! (https://github.com/jiwoochris/artex-global) but a quick inspection shows this has a blue team focus there are other folks with more frequent active offense updates in Korean (https://github.com/BaaRai/ARTEX) .. so my efforts were somewhat duplicate, but that's just how life goes. It's all a learning experience. I wouldn't use this on a customer's network, and my post isn't even about ARTEX, it's just an example of how using agents can keep your knowledge updated and enable a whole different scale of research. At any given moment I usually have agents running and some percentage of it ends up teaching me something.

(ob feedback: of those three courses.. first one seems to lean on n8n which isn't helpful, the second one looks the strongest by far (! good find !), and the third lists outdated models which doesn't inspire confidence - but yes it does have useful perspective and gems "LLM feeding strategy: Python pre-filtering of SharpHound/BloodHound data" etc. Of these, go leanpub 100%.)

2

u/pink-hat-hacker0 26d ago

Rn, agentic pentests are very costly and still not reliable enough. I've been using Opus 4.8 on Claude code for agentic pentesting but gosh, it labels every informational vulnerability out there as a critical or a high unless U reason with it or ask for impact. I'm not sure who's asking for agentic pentests. Perhaps ai assisted pentesting? But it takes the same amount of effort and time as it does for a manual pentesting tbh so idk how it's supposed to help in anyway

2

u/Standard-Sentence822 26d ago

Yep, right now, but I feel that it's not gonna be like this for a long time. For the cost issue, open-weight models are more and more commons and if a company manages to have a decent agentic pentester on their own server, their pentest cost is just the electricity cost. For the reliability, I 100% agree with you, I don't believe on fully autonomous agent, pentesters will always have to verify the findings and steer the agent

3

u/xkalibur3 23d ago

I always wondered with people who use closed models for pentesting, how do you handle client privacy issues? If you just let it rip at the client's app, and it finds a vuln, isn't that technically a sensitive info disclosed to a "third party" (anthropic servers)? If they use this data to train the new models in the future (which they likely do, no matter what they officially say), doesnt that raise the probability of similar future vulns in your client's app being easily found and exploited by someone? I only use local models for now because of these concerns. It seems like a bad long term strategy to trust big guys with the data and become dependent on them. I really want to know what other pentesters think about this.

4

u/TrustIsAVuln 26d ago

The OSSTMM, version 4 goes public Dec 1. It has AI security testing in the new methodology. That would be a really good start, and its free.

3

u/Suitable-Ad-3263 24d ago

Most of the commenters can't differentiate between using AI to perform a pentest and pentesting the AI itself.

4

u/alexsanford1 26d ago

Trail of bits publicized a bunch of their AI skills that they use for pentesting. May be worth playing with.

https://github.com/trailofbits/skills

2

u/th3_n3rD_b0i 26d ago

its not much learning but more doing, you can use strix with a model to run the pentest, its open source and easily deployable. Use open router and GLM or deepseek models with it, have had good results.

There are many more harnesses available.

2

u/SpicyCumJuice4000 23d ago

Get an uncensored chinese ai fired up and have some fun!

3

u/volgarixon 26d ago

Pentesterlab has great material on AI and AI Security with content being developed https://pentesterlab.com/badges/ai-security & https://pentesterlab.com/badges/ai-fundamentals

2

u/DigitalQuinn1 26d ago

Id focus more on learning about AI itself then learn how to apply it. I’ve been dabbling with it and used AI on a few pentests. To prepare I setup MCP servers and ran everything in my lab environment until I felt comfortable doing specific tasks through AI

1

u/cloudfox1 21d ago

You want to learn about using ai for your pentests, is that the question? Thought it'd be pretty common knowledge for a senior on what to do

1

u/Willing_Error_8530 8d ago

you can start by using open-source agent like ARTEX, strix...for beginning, i think it might be helpful

1

u/manapause 26d ago

IMHO you should learn how to leverage a lightweight harness (pi.dev) and wrap your tools and workflows in skills. Trust but verify everything you use, and build your own agent for your own work.

After that - learning how to leverage multi-agent configurations using herdr and utilizing local models for redaction layers has been an illuminating and profitable journey for myself!

0

u/Jazzlike_Conflict_80 26d ago

Offsec made new training I think it's named Agentic red teaming or so

-1

u/latnGemin616 25d ago

I don't think AGENTIC PEN TESTING is a thing. There is only employing agents to perform pen tests .. which is absolutely a thing.

That being said, if you want to learn AI Pen Testing (for free) - look no further than https://wraith.sh/ An absolutely fun way to learn the theory, offense, and defensive side of an LLM, along with practicing. If you love D&D, you'll absolutely enjoy the CTF challenges on the site. For the FREE content provided, it is S-tier (along with HTB Pen Tester Module). The cert they offer however, is NOT free .. worth it, but sadly not recognized (yet).

0

u/Suitable-Ad-3263 24d ago

Bro send dm. I will give you discord servers and a simple roadmap that I have been following.

-4

u/Delicious_Crew7888 26d ago

There’s nothing to learn man what are you on about

0

u/[deleted] 26d ago

[deleted] — view deleted comment

2

u/Standard-Sentence822 26d ago

Thanks I will check Jason Haddix's videos

1

u/[deleted] 26d ago

[removed] — view removed comment

1

u/PenligentTeam 24d ago

Yes, many YouTube videos are good and github program works too.

1

u/[deleted] 26d ago • Bravo

[removed] — view removed comment

3

u/Standard-Sentence822 26d ago

Yep I agree with you for the coursera course, I don't think it's really what I'm looking for. I might go with the course on leanpub, I checked the table of content and it's exactly what I'm looking for. Don't hesitate to give us an update when you finished the course :)