بنقرة واحدة
rev-shellcode
Reverse shellcode or staged raw code safely through bounded emulation and artifact-backed extraction.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reverse shellcode or staged raw code safely through bounded emulation and artifact-backed extraction.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Enforce artifact-contract, presence, dependency, freshness, and cross-reference correctness for the artifact graph.
Reuse prior work only when hashes, dependencies, and artifact semantics still support it.
Normalize remote configuration and connection hints into machine-readable, ambiguity-aware remote artifacts.
Run a bounded, evidence-heavy cribdrag workflow for suspected keystream reuse and XOR-style leakage.
Drive decode-first problems through explicit candidate generation, convergence tests, and branch stop conditions.
Map mixed decode-plus-crypto chains into explicit stages, transitions, and evidence-backed branch routes.
استنادا إلى تصنيف SOC المهني
| name | rev_shellcode |
| description | Reverse shellcode or staged raw code safely through bounded emulation and artifact-backed extraction. |
| metadata | {"short-description":"Safe shellcode workflow with explicit artifact and validation requirements"} |
When raw shellcode, a staged loader, or an extracted executable code blob is present, analyze it in a way that is safe, reproducible, and inspectable. The goal is to extract the executed behavior, next-stage payloads, and any verified output without inventing semantics that are not supported by emulator or tool output.
Create and maintain:
artifacts/shellcode/
shellcode.bin
shellcode_context.json
architecture_assessment.json
emulator_config.json
trace.txt
trace_summary.json
stage_inventory.json
behavior.md
validation.json
next_targets.json
logs/
snippets/
extracts/
scripts/
At minimum, this skill must produce:
artifacts/shellcode/shellcode.binartifacts/shellcode/shellcode_context.jsonartifacts/shellcode/architecture_assessment.jsonartifacts/shellcode/emulator_config.jsonartifacts/shellcode/trace.txtartifacts/shellcode/trace_summary.jsonartifacts/shellcode/behavior.mdartifacts/shellcode/validation.jsonartifacts/shellcode/next_targets.jsonWhen applicable, also produce:
artifacts/shellcode/extracts/artifacts/shellcode/stage_inventory.jsonartifacts/shellcode/scripts/artifacts/shellcode/logs/Save the exact bytes that are being analyzed and record their provenance.
Required artifacts:
artifacts/shellcode/shellcode.binartifacts/shellcode/shellcode_context.jsonartifacts/shellcode/validation.json updateGate:
Use evidence such as:
Required artifacts:
artifacts/shellcode/architecture_assessment.jsonartifacts/shellcode/snippets/arch_notes.txtartifacts/shellcode/validation.json updateGate:
Run emulation with explicit safety boundaries:
Required artifacts:
artifacts/shellcode/emulator_config.jsonartifacts/shellcode/logs/artifacts/shellcode/validation.json updateGate:
Capture enough trace to support behavior claims without drowning the workflow in noise.
Required artifacts:
artifacts/shellcode/trace.txtartifacts/shellcode/trace_summary.jsonartifacts/shellcode/logs/ entries as neededartifacts/shellcode/validation.json updateGate:
If the shellcode unpacks, decrypts, or writes a next stage, extract it with hashes and provenance.
Required artifacts:
artifacts/shellcode/extracts/artifacts/shellcode/stage_inventory.jsonartifacts/shellcode/validation.json updateGate:
Summarize only what the emulator or strongly supporting tool output shows:
Also name the next likely targets if the shellcode analysis reveals additional loaders or payloads to inspect.
Required artifacts:
artifacts/shellcode/behavior.mdartifacts/shellcode/next_targets.jsonartifacts/findings.jsonartifacts/validation.jsonGate:
Use larger bounded limits to reduce premature truncation while keeping emulation safe:
behavior.md: 60PASS only if:
Run shell commands:
{"command":["bash","-lc","<command>"]}