How AI Is Used in Ethical Hacking Work Today, and Where It Falls Short

In authorised ethical hacking work, AI is mainly an assistant. Testers use large language models to summarise scope documents, sort scan output, explain unfamiliar technologies, draft test plans and write first versions of reports. A growing share of work is the reverse: testing AI systems themselves for problems such as prompt injection, which the OWASP Top 10 for LLM Applications lists first.

Mar 12, 2025 - 15:36
Updated: 
101.5k

Ethical Hacking in Cybersecurity & Ethical Hacking · Explainer

AI in Cybersecurity

How AI Is Used in Ethical Hacking Work Today, and Where It Falls Short

Quick answer: In authorised ethical hacking work, AI is mainly an assistant. Testers use large language models to summarise scope documents, sort scan output, explain unfamiliar technologies, draft test plans and write first versions of reports. A growing share of work is the reverse: testing AI systems themselves for problems such as prompt injection, which the OWASP Top 10 for LLM Applications lists first. AI does not replace the tester. Models make confident mistakes, can leak client data if used carelessly, and cannot take legal responsibility. Every AI output must be verified, and every test still needs written authorisation from the system owner.

Key takeaways

  • AI helps with reading, sorting and writing tasks around a test, not with judgement.
  • Testing AI applications is now its own area of ethical hacking work.
  • Client data should never be pasted into public AI tools without approval.
  • Every finding suggested by AI must be reproduced and confirmed by a person.
  • Written authorisation is still required under India's IT Act 2000, Sections 43 and 66.

Table of Contents

Where Does AI Fit in an Ethical Hacking Engagement?

A professional test follows a structured method such as the planning, discovery, attack and reporting phases described in NIST SP 800-115. AI tools fit around those phases as helpers. They speed up reading and writing, but the plan, the decisions and the evidence remain the tester's responsibility.

Which Tasks Does AI Help With Most?

PhaseHelpful AI useHuman check needed
PlanningSummarise scope and rules of engagementConfirm scope with the client in writing
DiscoveryGroup and explain large scan outputsConfirm each item is real and in scope
AnalysisExplain an unfamiliar framework or protocolCheck against vendor documentation
ReportingDraft clear descriptions and fix adviceEdit for accuracy and client context
RetestingCompare old and new resultsConfirm fixes manually

For a wider look at methods, see our sibling post on AI-powered ethical hacking and penetration testing.

What Does It Mean to Test AI Systems?

Many organisations now ship chatbots and AI agents, and these need security testing too. Testers assess them against the OWASP Top 10 for LLM Applications, which covers risks such as prompt injection, sensitive information disclosure and excessive agency. MITRE ATLAS catalogues adversary tactics against AI systems, and NIST AI 100-2 gives a shared vocabulary for adversarial machine learning. Our explainer on prompt injection attacks covers the most common issue.

Where Does AI Fall Short?

LimitationWhy it matters in a test
HallucinationModels can invent version numbers, CVEs or findings
No contextA model does not know the client's business risk
Data leakagePasted logs or code may leave the client's control
AccountabilityOnly a named person can sign and stand behind a report
Safety filtersResults vary between tools and over time

How Should Testers Protect Client Data When Using AI?

  • Agree in the contract whether AI tools may be used at all.
  • Prefer approved enterprise or self-hosted models with clear data handling terms.
  • Remove hostnames, credentials and personal data before sharing any text.
  • Remember India's DPDP Act 2023 if personal data is involved.

The NCSC and CISA secure AI development guidelines and the NIST AI RMF both stress knowing where data goes.

How Do You Verify AI Output?

Treat AI output as a lead, not a result. Reproduce every finding yourself, record the evidence, check CVE numbers in official databases, and read vendor advisories before you recommend a fix. If you cannot reproduce it, it does not go in the report.

AI changes nothing about permission. Testing a system without the owner's written approval can be an offence under the IT Act 2000, Sections 43 and 66. Incidents found during a test may also fall under CERT-In reporting rules, including the six-hour reporting direction. If you want to build these habits with supervised labs, ask about our ethical hacking training.

References

Frequently Asked Questions

No. AI can assist with reading, sorting and drafting, but planning, judgement, verification and sign-off must stay with a qualified human tester.

Common uses are summarising scope documents, grouping scan output, explaining unfamiliar technologies and drafting the first version of a report.

Not without the client’s approval and an approved tool. Remove hostnames, credentials and personal data, and follow the contract and the DPDP Act.

It is security testing of chatbots, AI agents and models for risks such as prompt injection and data leakage, often using the OWASP LLM Top 10.

Models can invent CVE numbers, versions or vulnerabilities. Only findings that a tester reproduces with evidence should appear in a client report.

MITRE ATLAS is a public knowledge base of adversary tactics and techniques used against AI systems, modelled on the ATT&CK approach.

Yes. Written authorisation from the owner is always required. Unauthorised testing can be an offence under India’s IT Act 2000, Sections 43 and 66.

Current evidence points to AI changing the work rather than replacing it. Testers who verify AI output and can test AI systems add the most value.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.