Arbitrary Read/Write Primitive
Also called arbitrary read, arbitrary write.
The ability to read or write any chosen memory address at will.
What it is
An exploitation primitive that lets an attacker read from or write to memory addresses of their choosing. Once obtained, it is typically used to corrupt control data and convert into code execution.
Why it matters
An arbitrary read/write is often the capability that turns a memory bug into full compromise. Analysts assessing exploit severity look for whether a bug can be massaged into this primitive.
In practice
After corrupting an array's length field, the attacker gains the ability to read and write anywhere in the process address space.
What to look for
- Bugs that let input pick an address to read or write.
- Exploit chains that build this as an early step.
- Kernel advisories describing it.
Common mistake
Treating it as the end goal. Once an attacker has it, full control usually follows.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Risk Scoring
Score a vulnerability with CVSS v3.1, or an incident across five dimensions, and see the reasoning behind each number.
- Map and Score
Map real procedures to ATT&CK techniques, then pick the CVSS v3.1 metrics for real vulnerabilities.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Nessus Commercial
A vulnerability scanner that checks hosts for known flaws and missing patches.
-
Qualys VMDR Commercial
A cloud platform that scans assets and ranks vulnerabilities for patching.
-
OpenVAS Open source
An open source vulnerability scanner with a large set of checks.
-
Nuclei Open source
Runs community templates that test for specific, newly published flaws.
Read next
- Write-What-Where Condition: Controlling both the value written and the address it lands at.
- Information Leak: Disclosing memory contents to defeat randomization or steal secrets.
- Type Confusion: Treating a memory object as a different type than it actually is.