Attack Patterns: Recognizing the Same Weak Point in New Places
A website hides its administrative tools from the navigation menu but forgets to restrict who can use them. The same mistake can appear in many products, even when the buttons, addresses and programming languages are different.
An attack pattern describes a recurring way an adversary can exploit a weakness. It captures the common behavior and the conditions that make it work, so defenders can recognize the idea beyond one particular incident.
MITRE's explanation of attack patterns emphasizes those shared attributes and approaches. A pattern is a reusable description, rather than proof that every attacker follows an identical script.
A Field Guide to How Attackers Operate
A hidden feature can still be reachable
The website example illustrates a pattern covered by CAPEC-36, Using Unpublished Interfaces or Functionality. An interface is a way to interact with a system, such as a website function or a service that accepts requests from software.
The key problem isn't simply that a feature is undocumented. It's that someone can discover or reach a function and use it without the required checks.
Authentication checks who or what is requesting access. Authorization checks whether that identity is allowed to perform the action; hiding a menu option provides neither check by itself.
A well-protected administrative feature remains restricted even when someone knows it exists. The pattern therefore helps a reviewer ask about the permission checks, instead of stopping after confirming that ordinary users can't see a button.
This is an illustrative example, not a report about a particular website. Its value is that the underlying question applies to many systems.
What a pattern description tells you
CAPEC stands for Common Attack Pattern Enumeration and Classification. It's a public catalog of attack patterns, with identifiers that let people refer to the same entry without relying on slightly different descriptions.
A number such as CAPEC-36 identifies an entry; it isn't a score showing how dangerous the attack is. MITRE's guide for new CAPEC readers explains the fields and how related weaknesses are recorded.
When using a pattern, focus on:
- Prerequisites: the conditions that must exist for the approach to be possible.
- Behavior: what the adversary tries to do and how that exploits the weakness.
- Consequences: what could happen if the attempt succeeds.
- Mitigations: changes or protections that can reduce the opportunity or the damage.
A pattern can list possible consequences without claiming they'll all occur in every system. An exposed function that reads a report poses a different immediate problem from one that can delete every customer record.
- Skip the install: pfSense Plus comes preloaded, so you can start writing rules right away.
- Get a firewall, router and VPN in one silent box that sips power.
- Keep receiving pfSense Plus updates for the life of the product.
A pattern and a weakness describe different things
A weakness is a flaw or condition that can contribute to a security vulnerability. A vulnerability is a security weakness in a particular system that can be exploited.
The Common Weakness Enumeration, or CWE, catalogs types of software and hardware weaknesses. CAPEC describes ways an adversary can take advantage of them, and one pattern may relate to several weakness types.
In the hidden-feature example, missing access checks are the weakness. Seeking out and using functionality that wasn't meant to be available is the attacker's approach.
Another reference, MITRE ATT&CK, organizes knowledge about adversary behavior and techniques. MITRE's comparison of the two resources explains their overlapping uses: CAPEC is especially useful for application security, while ATT&CK helps with operational defense and analysis.
Use the pattern to improve the design
A security team can turn the example into a concrete requirement: every administrative action must enforce the appropriate identity and permission checks. Tests should verify that protection even when a request arrives without using the normal menu.
That is more useful than labeling the application “vulnerable to attack patterns” and moving on. The pattern earns its place when it leads to a question you can test and a weakness you can remove.
What Is CWE? Finding the Mistakes Behind Security Flaws

A Threat Model Follows the Request Past the Login Screen

Attack Methods: How the Intruder Tried to Get What They Wanted

QUOTE:
"Amateurs hack systems, professionals hack people."
