Lightweight probing for memory-corruption/overflow (Tier 2, crash-risky) — send length/boundary inputs to find crashes, then discover the control offset. The fast triage step before full fuzzing or exploit-dev. Use to quickly check whether an input vector is overflowable. Gated: crash-inducing input only in a lab or with explicit authorization.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Overflow Probe?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-overflow-probe)
---
name: overflow-probe
description: "Lightweight probing for memory-corruption/overflow (Tier 2, crash-risky) — send length/boundary inputs to find crashes, then discover the control offset. The fast triage step before full fuzzing or exploit-dev. Use to quickly check whether an input vector is overflowable. Gated: crash-inducing input only in a lab or with explicit authorization."
---
# Overflow Probe (quick crash + offset discovery)
A fast check of whether a given input vector mishandles length/boundaries — send escalating and boundary inputs, watch for a crash, then find the offset that controls the saved return/pointer. This is triage; hand off to `fuzzing` for breadth or `exploit-development` to weaponize.
## Trigger phrases
`overflow probe, crash test, length fuzz, boundary input, offset discovery, does it crash, pattern offset, quick bof check`
## Execution gate
Record in `./.zazy/scope.md`:
(a) **Lab/authorized to send crash-inducing input?** → yes = probe fully.
(b) No → **dry scan only**: identify inputs that lack length validation and the component/version, without sending crashing payloads (static review / version check). Crashing a production service is a DoS — needs explicit RoE.
## Method (lab)
1. **Pick the vector:** network field/CLI arg/file field/env var/registry value that reaches a parser. Per `${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`, enumerate all inputs (fields, headers, filenames, counts/lengths).
2. **Length escalation:** send `A`*100, 500, 1000, 2000, 5000, 10000, 20000 under a debugger (`gdb`+`gef`/`x64dbg`); note where it crashes.
3. **Classify the crash:** EIP/RIP overwrite (`41414141`), SEH overwrite, read/write AV on a controlled pointer, or just a hang. (Detailed triage → `crash-analysis`.)
4. **Find the offset:** `msf-pattern_create -l <crashlen>` → crash → `msf-pattern_offset -q <reg>` (or `!mona findmsp`) → exact distance to control.
5. **Boundary/format probes:** also try `%x%x%x%n` (format-string), integer boundaries (`0`, `-1`, `0xffffffff`, `0x7fffffff`), off-by-one, and negative/huge length fields.
6. **Decide:** controllable return/pointer → `exploit-development`; broad/unknown input space → `fuzzing`; need deeper triage → `crash-analysis`.
## Modern / rare techniques
- **[NEW] Integer-overflow-to-buffer-overflow**: an attacker-controlled size field wrapping → undersized allocation then overflow — probe length/count fields specifically.
- **[RARE] Format-string quick test** (`%p%p%p`/`%n`) revealing a write primitive without a classic overflow.
- **[NEW] ASan/Valgrind-assisted probing** in a lab build to catch non-crashing corruption early.
## Escalation / chaining
Crash + control → `exploit-development`. Crash, unclear exploitability → `crash-analysis`. Want automated coverage → `fuzzing`. Known-vulnerable version → `vulnerable-components`.
## Backend & tooling
Kali/WSL-Kali lab/snapshot: `pwntools`/`python` senders, `gdb`+`gef`/`pwndbg`, `msf-pattern_*`, `valgrind`/ASan builds; Windows: `x64dbg`/Immunity + `mona`. Gate cleared before using orchestrator backends.
## Verification (background, before reporting)
Reproduce the crash from a clean state and confirm the offset is stable across runs; distinguish a true control overwrite from an unrelated fault. Report a reproducible crash + offset, not a one-off.
## Evidence
The input that crashes, crash length, register/fault state, and the computed offset. Note it's a crash/DoS finding until control is proven. Remediation: bounds/length validation, safe parsing APIs, integer-overflow checks on size fields, and compiler mitigations.