Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2026, 06:15
Jasi2169's Avatar
Jasi2169 Jasi2169 is offline
Family
 
Join Date: Sep 2015
Location: India/TSRh
Posts: 326
Rept. Given: 3
Rept. Rcvd 75 Times in 50 Posts
Thanks Given: 47
Thanks Rcvd at 526 Times in 204 Posts
Jasi2169 Reputation: 75
Jasi Native Assembly Dumper v1.2

Jasi Native Assembly Dumper v1.2 By Jasi2169
(Runtime Catcher + Static Resources Scanner)

JasiNativeDumper is a command-line tool for capturing native Windows modules as they are loaded at runtime. It works by spawning the target process and polling its loaded module list - so every LoadLibrary call made by the target, including ones made by packers, protectors, or custom loaders, is intercepted and the raw PE bytes are written to disk.

It also includes a static scanner that inspects any PE file for embedded executables or DLLs hiding inside resources of any type, managed DLLs loaded by a native host are also flagged and an anti-debug module that patches common debugger
detection techniques before running the target.

Useful for reverse engineering packed or protected native applications where the real payload DLL is only extracted and loaded in memory at runtime, protected binary dumped might need PE reconstruction, fixing section raw offsets, rebuilding the import table etc as dumped is raw SizeOfImage byte copy.

Usage:
JasiNativeDumper --static <file> Static scan for PE blobs in all resource types
JasiNativeDumper --target <file> Spawn EXE and dump every module it loads
JasiNativeDumper --attach <pid> Attach to already-running process by PID
JasiNativeDumper --out <dir> Output directory (default: .\dumped)
JasiNativeDumper --dontskipknown Also dump system/runtime DLLs, by default skip known

Examples:
JasiNativeDumper --static packed.exe --out C:\dumps
JasiNativeDumper --target game.exe --out C:\dumps
JasiNativeDumper --attach 1234 --out C:\dumps
JasiNativeDumper --target app.exe --dontskipknown --out C:\dumps

Notes:
-> Use Build x64 for targeting 64-bit processes, build x86 for targeting 32-bit processes.
-> Static scan works regardless of build bitness, one build can scan any PE file.
-> Anti-debug only runs in --target and --attach modes, not in --static mode.
-> Runtime dumps are captured from process memory, means packed or protected targets are dumped in their unpacked/loaded state which is more useful for analysis, binary dumped might need PE reconstruction, fixing section raw offsets, rebuilding the import table etc to be able to run.
-> Also dump .NET assemblies from resources as well as memory if found.
-> You can also run using RunCommand.bat directly!

Changelog:
v1.2 (03/Jun/2026)
- Added SeDebugPrivilege check on attach mode just in case we have the access might need to run as admin, not needed for target mode we already have the handle and neither on static mode
- SanitizeInitData and RestoreBSS now only run in attach mode, target dumps are pre-init state, the loader has already done the right thing, running sanitization was not needed in previous version
- Heap flags patching added to AntiDebug, PEB->ProcessHeap->Flags and ForceFlags are checked by many protectors alongside BeingDebugged, only called in attach mode
- Added EnumResourceLanguagesA to static scanner to dump all resource of every single language PE/DLL present
- Many bugs fixed under the hood

v1.1 (02/Jun/2026)
- Now using --target, dumps main exe + all DLLs before any code runs, .data/.bss/CRT/Delphi RTL all in clean on-disk state, nothing initialized. Best for unpacked targets
- Now using --attach, dumps main exe + all DLLs from a running process, .data has runtime state (heap pointers, init flags, CRT tables). Before saving, cleans up BSS tail zero-fill regions and zeroes runtime pointers. Best for packed targets after unpacking, or any target that must run first to reach a dumpable state

v1.0 (01/Jun/2026)
- Initial Release

Download: (Pwd: Jasi2169)
https://pixeldrain.com/u/FtrL7LEi
Attached Files
File Type: rar Jasi Native Assembly Dumper v1.2.rar (82.8 KB, 1 views)

Last edited by Jasi2169; 06-04-2026 at 09:27.
Reply With Quote
The Following 2 Users Gave Reputation+1 to Jasi2169 For This Useful Post:
CodeCracker (06-03-2026), MarcElBichon (06-04-2026)
The Following 5 Users Say Thank You to Jasi2169 For This Useful Post:
CodeCracker (06-03-2026), foosaa (06-03-2026), niculaita (06-02-2026), user_hidden (06-02-2026), wx69wx2023 (06-02-2026)
  #2  
Old 06-03-2026, 09:14
Jasi2169's Avatar
Jasi2169 Jasi2169 is offline
Family
 
Join Date: Sep 2015
Location: India/TSRh
Posts: 326
Rept. Given: 3
Rept. Rcvd 75 Times in 50 Posts
Thanks Given: 47
Thanks Rcvd at 526 Times in 204 Posts
Jasi2169 Reputation: 75
v1.1 (02/Jun/2026)
- Now using --target, dumps main exe + all DLLs before any code runs, .data/.bss/CRT/Delphi RTL all in clean on-disk state, nothing initialized. Best for unpacked targets
- Now using --attach, dumps main exe + all DLLs from a running process, .data has runtime state (heap pointers, init flags, CRT tables). Before saving, cleans up BSS tail zero-fill regions and zeroes runtime pointers. Best for packed targets after unpacking, or any target that must run first to reach a dumpable state
Reply With Quote
The Following User Gave Reputation+1 to Jasi2169 For This Useful Post:
CodeCracker (06-03-2026)
The Following 2 Users Say Thank You to Jasi2169 For This Useful Post:
CodeCracker (06-03-2026), user_hidden (06-03-2026)
  #3  
Old 06-04-2026, 09:28
Jasi2169's Avatar
Jasi2169 Jasi2169 is offline
Family
 
Join Date: Sep 2015
Location: India/TSRh
Posts: 326
Rept. Given: 3
Rept. Rcvd 75 Times in 50 Posts
Thanks Given: 47
Thanks Rcvd at 526 Times in 204 Posts
Jasi2169 Reputation: 75
v1.2 (03/Jun/2026)
- Added SeDebugPrivilege check on attach mode just in case we have the access might need to run as admin, not needed for target mode we already have the handle and neither on static mode
- SanitizeInitData and RestoreBSS now only run in attach mode, target dumps are pre-init state, the loader has already done the right thing, running sanitization was not needed in previous version
- Heap flags patching added to AntiDebug, PEB->ProcessHeap->Flags and ForceFlags are checked by many protectors alongside BeingDebugged, only called in attach mode
- Added EnumResourceLanguagesA to static scanner to dump all resource of every single language PE/DLL present
- Many bugs fixed under the hood
Reply With Quote
The Following User Says Thank You to Jasi2169 For This Useful Post:
Gyrus (06-04-2026)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 22:53.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )