Skip to content

fix(workflow): IAT repair iron rule + six-phase map + vuln thin overlay (#65) - #72

Merged
dhicoc merged 2 commits into
mainfrom
fix/issue-65-iat-workflow-vuln-overlay
Aug 12, 2026
Merged

fix(workflow): IAT repair iron rule + six-phase map + vuln thin overlay (#65)#72
dhicoc merged 2 commits into
mainfrom
fix/issue-65-iat-workflow-vuln-overlay

Conversation

@dhicoc

@dhicoc dhicoc commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Issue #65 follow-ups from reporter (2026-08-12):

Problem 1 increment

  • IAT repair iron rule: try auto repair; on ImportREC/Scylla failure or unreable binary → stop static IAT, record E-iat-repair-fail, switch to dynamic API breakpoints (not a skip of the import hard gate).
  • Six-phase practical map folded into re-agent-workflow.md (no parallel second master workflow).
  • Patches: .NET equivalent anchor (dnSpy/IL/metadata), DLL/SYS E-exports alongside imports, x86 ImportREC / x64 Scylla, clean IAT → dynamic load suspicion, sandbox no-behavior → anti-VM branch.
  • Wired into malware-analysis, radare2, ida-reverse, RULES / RULES_zh, agent-obedience rebuttal table.

Microsoft vuln template

  • Thin optional vuln overlay only (overview → impact/repro → crash/patch/PoC analysis → mitigation).
  • Not a third default full vendor flavor; trigger only on explicit vuln/CVE/patch analysis tasks.
  • Structure-only; no weaponized PoC copy; scope/auth + E/F/P still MUST.

Test plan

  • skills/scripts/smoke.ps1 ×3 ALL PASS
  • skills/scripts/verify-routing-coherence.ps1 ×3 ALL PASS (new IAT/vuln asserts)
  • Maintainer review before merge

Closes nothing automatically — parent issue #65 stays open until reporter confirms.

- Map reporter six-phase malware RE flow into re-agent-workflow with
  IAT repair fail-fast (E-iat-repair-fail -> dynamic API breakpoints)
- Equivalent import anchors for .NET; E-exports for DLL/SYS; clean IAT
  and sandbox no-behavior side paths
- Wire radare2/ida/malware hard gates + RULES/obedience rebuttals
- Add optional thin vuln report overlay (not a 3rd default full flavor)
- Extend verify-routing-coherence assertions; smoke+verify x3 pass
@dhicoc dhicoc mentioned this pull request Aug 12, 2026
Windows CI failed because smoke.ps1 nested bare 'powershell' (often 5.1)
to run verify-routing-coherence.ps1. PS5.1 mis-parsed UTF-8 Chinese source
without BOM, so nested verify exited 1 while the standalone pwsh verify step passed.

- Resolve SmokeHostExe from current process (pwsh on GHA windows-latest)
- Rewrite nested invocations to use $SmokeHostExe
- Write UTF-8 BOM on smoke.ps1 and verify-routing-coherence.ps1 for PS5.1 safety
@dhicoc
dhicoc merged commit 899fedd into main Aug 12, 2026
12 checks passed
@dhicoc
dhicoc deleted the fix/issue-65-iat-workflow-vuln-overlay branch August 12, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant