# AI po stronie atakującego i testy penetracyjne

EN: **Offensive AI and AI-assisted penetration testing** · id `offensiveai` · aliases: offensive AI, AI-powered attacks, AI pentesting, autonomous hacking, ofensywne AI, AI-enabled cyberattacks

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w cyberbezpieczeństwie](https://aiatlasgraph.com/t/cyberai.md) › AI po stronie atakującego i testy penetracyjne

## Description

- PL: Użycie modeli i agentów do rekonesansu, eksploatacji i socjotechniki: zarówno w legalnych testach penetracyjnych, jak i w realnych atakach.
- EN: Using models and agents for reconnaissance, exploitation and social engineering, both in legitimate penetration tests and in real attacks.

## In one sentence

- PL: Wykorzystanie AI do włamywania się do systemów: przez zatrudnionych testerów, którzy szukają słabych punktów, i przez prawdziwych przestępców.
- EN: Using AI to break into systems, both by hired testers looking for weak spots and by real criminals.

## Problem it solves

- PL: Firmy nie wiedzą, jak łatwo się do nich włamać, a ręczny test penetracyjny jest drogi i robiony raz do roku.
- EN: Companies don't know how easily they can be broken into, and a manual penetration test is costly and done once a year.

## What it does

- PL: Jak próbny alarm przeciwpożarowy z bardzo pomysłowym podpalaczem: pokazuje, którędy naprawdę przejdzie ogień, zanim zrobi to ktoś prawdziwy.
- EN: Like a fire drill with a very inventive arsonist: shows where fire would really spread before a real one does.

## Everyday example

- PL: Firma zamawia test; agent w kilka godzin znajduje zapomniany serwer testowy z domyślnym hasłem, a tester-człowiek potwierdza wynik i pisze raport.
- EN: A company orders a test; within hours an agent finds a forgotten test server with a default password, and a human tester confirms it and writes the report.

## This concerns you if you…

- PL: zlecasz lub prowadzisz testy bezpieczeństwa
- PL: chcesz wiedzieć, jak AI zmienia ataki na firmy
- PL: oceniasz ryzyko udostępniania zdolnych modeli
- EN: commission or run security tests
- EN: want to know how AI changes attacks on companies
- EN: assess the risk of releasing capable models

## Keywords

PentestGPT · Cybench · CTF benchmarks · autonomous pentesting · red team automation · AI-orchestrated attacks · LLM phishing · dual-use · MITRE ATT&CK · Metasploit

## How it works

- PL: Agent planuje kolejne kroki testu, uruchamia narzędzia, czyta ich wyniki i aktualizuje obraz celu; moduły pamięci łagodzą utratę kontekstu w długich zadaniach. Zdolności mierzy się na zadaniach typu CTF. Według raportu samego dostawcy modelu podobny agent wykonywał większość kroków taktycznych w opisanej kampanii, lecz raport nie stanowi niezależnej weryfikacji.
- EN: An agent plans test steps, runs tools, reads their output and updates its picture of the target; memory modules ease context loss in long tasks. Capabilities are measured on CTF-style tasks. According to the model provider's own report, a similar agent performed most tactical steps in a reported campaign, but that report is not independent verification.

## Limits

- PL: Agenci gubią obraz całego zadania i zawyżają znaleziska, np. zgłaszają niedziałające hasła, więc człowiek musi weryfikować wyniki. Wyniki na zadaniach CTF słabo przekładają się na prawdziwe sieci. Udostępnianie takich narzędzi wymaga zabezpieczeń przed nadużyciem.
- EN: Agents lose track of the overall task and overstate findings, e.g. reporting credentials that don't work, so a human must verify results. CTF scores transfer poorly to real networks. Releasing such tools needs safeguards against misuse.

## Key terms

- PL: **test penetracyjny**: Zlecony, legalny atak na własne systemy w celu znalezienia słabości.
- PL: **CTF**: Zawody hakerskie, w których trzeba zdobyć ukrytą flagę.
- PL: **socjotechnika**: Manipulowanie ludźmi, by sami otworzyli drzwi atakującemu.
- EN: **penetration test**: A commissioned, legal attack on your own systems to find weaknesses.
- EN: **CTF**: Hacking contests where you must capture a hidden flag.
- EN: **social engineering**: Manipulating people into opening the door for an attacker.

## Know first

- [Ewaluacje niebezpiecznych zdolności (cyber, bio, autonomia) (Dangerous capability evaluations)](https://aiatlasgraph.com/t/dangerouscapevals.md)
- [Agenci przy komputerze (Computer and browser use)](https://aiatlasgraph.com/t/computeruse.md)

## Subtopics (2 direct, 2 in total)

- [Agenci testów penetracyjnych (LLM penetration-testing agents)](https://aiatlasgraph.com/t/autopentest.md): Language agents planning and executing penetration-test steps: reconnaissance, scanning, exploitation and reporting, supervised by a tester.
- [Ataki prowadzone z pomocą AI (AI-enabled and AI-orchestrated cyberattacks)](https://aiatlasgraph.com/t/aiattacks.md): Use of models by criminals and state groups: from writing convincing phishing to agents carrying out most stages of an intrusion.

## Related topics

Untyped, symmetric "see also" links.

- [Ewaluacje niebezpiecznych zdolności (cyber, bio, autonomia) (Dangerous capability evaluations)](https://aiatlasgraph.com/t/dangerouscapevals.md)

## Sources

- [A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypes](<https://arxiv.org/abs/2601.05293>) `lazer-agentic-ai-cybersecurity-2026` · by Sahaya Jestus Lazer, Kshitiz Aryal, Maanak Gupta, Elisa Bertino
- [PentestGPT: An LLM-empowered Automatic Penetration Testing Tool](<https://arxiv.org/abs/2308.06782>) `deng-pentestgpt-2023` · by Gelei Deng, Yi Liu, Víctor Mayoral-Vilches, Peng Liu, Yuekang Li, Yuan Xu, Tianwei Zhang, Yang Liu, Martin Pinzger, Stefan Rass
- [Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Models](<https://arxiv.org/abs/2408.08926>) `zhang-cybench-2024` · by Andy K. Zhang, Neil Perry i in. (m.in. Dan Boneh, Daniel E. Ho, Percy Liang)
- [Disrupting the first reported AI-orchestrated cyber espionage campaign](<https://assets.anthropic.com/m/ec212e6566a0d47/original/Disrupting-the-first-reported-AI-orchestrated-cyber-espionage-campaign.pdf>) `anthropic-ai-orchestrated-espionage-2025` · by Anthropic (zespół Threat Intelligence) · sponsored

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/offensiveai · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
