# What is MITRE ATT&CK?

Canonical: https://hackergpt.org/learn/mitre-attack/

**MITRE ATT&CK is a free, public knowledge base of how real attackers behave, built by MITRE from observed intrusions. It sorts behaviour into tactics, the attacker's goal at each step, such as initial access, and techniques, the way they reach it, each with an ID such as T1190 for exploiting a public-facing application.**

Part of the roadmap: [Stage 7, Choose a direction](https://hackergpt.org/learn/roadmap/#specialise)

## Why it matters

Where CWE and CVE describe bugs, ATT&CK describes actions. That makes it the shared language of detection and response: a defender who knows which techniques an attacker group uses can check whether their logs would show each one, and a red team can plan an exercise as a list of technique IDs that the blue team then reviews.

The Enterprise matrix, in version 20.1, has 15 tactics, from Reconnaissance and Initial Access to Exfiltration and Impact. Recent versions split the old Defense Evasion tactic into Stealth (TA0005) and Defense Impairment (TA0112), so older tutorials show 14. Each technique page lists sub-techniques, the groups and software seen using it, how to detect it and how to mitigate it.

For a web app, a handful of techniques cover most of what an attacker does before anything else: scanning (T1595), exploiting the app itself (T1190) and guessing passwords (T1110). You do not need the whole matrix to start; you need to recognise those in your own logs.

## Example: a web app attack, step by step in ATT&CK terms

Take requests you can make yourself against CyberGym, the legal practice target, or your own site, and name each step the way a defender would see it in an access log:

```
Reconnaissance     T1595.003  Wordlist Scanning           many 404s from one client, paths from a list
Initial Access     T1190      Exploit Public-Facing App   q=energy' -> 500 with SQLITE_ERROR
Credential Access  T1110.001  Password Guessing           ten 401s on /rest/user/login, no 429
```

Each line is a question for your own monitoring: would you see it, and would anyone be told? T1190's page lists mitigations such as updating software, application isolation and a web application firewall, and how to detect it. Mapping a pentest finding to the technique an attacker would use also helps when you explain it to the team that runs detection.

## Common mistakes

- **Treating ATT&CK as a vulnerability list.** It lists attacker behaviour, not bugs. A finding gets a CWE; the way it would be used gets a technique.
- **Trying to cover every technique.** Start with the ones that reach your systems, such as T1190 for a public web app, and check detection for each.
- **Quoting an old matrix.** Tactics and techniques change between versions. Cite the version you read.
- **Confusing it with the Top 10.** OWASP lists risks in your code. ATT&CK describes what an attacker does across a whole intrusion.

## Related terms

- [Red team vs blue team](https://hackergpt.org/learn/red-team-vs-blue-team/)
- [Penetration testing](https://hackergpt.org/learn/penetration-testing/)
- [OSINT](https://hackergpt.org/learn/osint/)
- [CWE](https://hackergpt.org/learn/cwe/)

## Go deeper

- [What an attack looks like in your web server logs](https://hackergpt.org/blog/detect-attacks-in-web-server-logs/)
- [Map a web app's attack surface before you test it](https://hackergpt.org/blog/map-web-app-attack-surface/)
- [HackerGPT features: an AI agent that pentests your own website](https://hackergpt.org/features/)

## Sources

- [MITRE ATT&CK](https://attack.mitre.org/)
- [MITRE ATT&CK: Enterprise tactics](https://attack.mitre.org/tactics/enterprise/)
- [T1190: Exploit Public-Facing Application](https://attack.mitre.org/techniques/T1190/)
- [MITRE ATT&CK: version history](https://attack.mitre.org/resources/versions/)

Test only sites you own or have written permission to test. To practise without one, use CyberGym, a legal, deliberately vulnerable target. [Practise on CyberGym](https://cybergym.hackergpt.app).
