Request a quote

AI pentest methodology in 8 steps

By Sébastien De Coninck, founder of HackHeart. Updated .

In short

An AI pentest follows the same phases as a traditional penetration test (scoping, reconnaissance, analysis, exploitation, reporting, debrief), but enumeration, analysis and drafting are accelerated by AI agents. Decision phases (scoping, sensitive exploitation, validation, debrief) remain human. HackHeart's methodology is based on the OWASP WSTG, PTES and MITRE ATT&CK.

The 8 steps of an AI pentest at HackHeart

  1. Scoping and authorisation. Targets, testing windows, provided accounts and exclusions are defined and a written authorisation is signed. The scope is then hard-coded into the agents' configuration.
  2. Preparation. Test accounts per role, black, grey or white box choice, pseudonymisation set-up.
  3. Assisted reconnaissance. Agents map subdomains, exposed services, endpoints, parameters and technologies. The tester validates and prioritises.
  4. Automated analysis. Specialised agents test the OWASP Top 10 and OWASP API Security Top 10 families.
  5. Controlled exploitation. Attack chains are built and exploited by the tester with agent support, without destructive actions. Internally, the same logic applies to Active Directory (Kerberoasting, delegation, ACLs, ADCS).
  6. Qualification. An adversarial agent tries to invalidate each finding, then the tester manually reproduces the survivors. Each vulnerability gets a CVSS score and a context-aware severity.
  7. Reporting. Executive summary, technical detail per vulnerability (evidence, reproduction, impact, prioritised remediation) and an action plan.
  8. Debrief and retest. Results are presented live, then fixes are verified after remediation.

Who does what: AI or human?

PhaseAI agentsPenetration tester
ScopingNoneFull
ReconnaissanceMost of the workValidation, prioritisation
AnalysisMost of the workSteering, business logic
ExploitationAssistanceDecision and execution
QualificationFirst adversarial filterReproduction and final validation
ReportingFirst draftReview, context, sign-off
DebriefNoneFull

Scopes covered

Web applications

Websites, extranets, customer portals, SaaS, grey box with per-role accounts.

APIs

REST and GraphQL, with a focus on object-level access control.

External perimeter

Everything an attacker sees from the Internet: services, VPN, mail, DNS.

Internal and Active Directory

Simulating a compromised workstation and finding paths to privileged accounts.

Need an AI-assisted pentest for your application or network?

Tell us about your scope (web application, API, external perimeter, Active Directory). Tailored answer and free quote.

Request a quote from HackHeart