CAPEC-28
Fuzzing
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.
Soyutlama
Meta
Tipik ciddiyet
Medium
Saldırı ihtimali
High
Saldırıyı anla
Bu saldırı kalıbı nedir?
Uygulama akışı
Saldırı adım adım nasıl ilerler?
Explore
Observe communication and inputs
Kullanılan teknikler
- 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
Generate fuzzed inputs
Kullanılan teknikler
- 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.
Observe the outcome
Exploit
Craft exploit payloads
Kullanılan teknikler
- 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.
Gereksinimler
Saldırının gerçekleşmesi için ne gerekir?
Ön koşullar
- Target application executes operating system shell commands with user input.
Gerekli beceri
- Low: There is a wide variety of fuzzing tools available.
Gerekli kaynak
- Fuzzing tools.
Tespit
Saldırının göstergeleri nelerdir?
Etki
Başarılı saldırı neye yol açar?
Etkilenen alanlar: Integrity
Etkilenen alanlar: Availability
Etkilenen alanlar: Confidentiality
Etkilenen alanlar: Confidentiality, Access Control, Authorization
Etkilenen alanlar: Confidentiality, Integrity, Availability
Savunma
Nasıl önlenir ve etkisi azaltılır?
Gerçek dünya