Skip to content

feat(processing): Implement ExtremeDumper synthetic PE reconstruction for .NET memory payloads - #3196

Open
doomedraven wants to merge 2 commits into
kevoreilly:masterfrom
doomedraven:feature/dotnet-rebuilder-extreme
Open

feat(processing): Implement ExtremeDumper synthetic PE reconstruction for .NET memory payloads#3196
doomedraven wants to merge 2 commits into
kevoreilly:masterfrom
doomedraven:feature/dotnet-rebuilder-extreme

Conversation

@doomedraven

Copy link
Copy Markdown
Collaborator

Description

Implements the ExtremeDumper '.NET PE Rebuild' logic synthetically onto the CAPEv2 Python processing engine.

Changes

  • Adds rebuild_dotnet_pe inside lib/cuckoo/common/dotnet_utils.py that aligns Memory to File Layout and iterates backwards from the (b"BSJB") Metadata Signature to synthesize a fake IMAGE_COR20_HEADER.
  • Injects early-execution hook onto process_file natively inside modules/processing/CAPE.py.
  • Triggers immediately on TYPE_STRING == '.NET JIT MSIL bytecode' metadata generated natively by capemon.
  • Enables easy drag-and-drop decompilation via dnSpy of payloads extracted from within memory maps (e.g. CobaltStrike or reflective CoreCLR drops).

@doomedraven

Copy link
Copy Markdown
Collaborator Author

depends on kevoreilly/capemon#180

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