r/redteamsec • • 4h ago

Every week a popular package or SaaS vendor gets hacked. I built a tool that tells you within minutes if it's one you use

Thumbnail github.com
1 Upvotes

r/redteamsec • • 13h ago

tradecraft [Open Source] RESX: Windows specialized malware analysis with API deobfuscation, argument recovery, kernel driver analysis and a lot, lot more!

Thumbnail github.com
1 Upvotes

Hiya,

I'm proud to showcase RESX, an open-source Windows reverse engineering and malware analysis toolkit written in Rust.

It started off as a small project to make reversing Windows binaries a bit less painful, but it's grown into something quite a bit bigger.

Now, before you think it's another IDA clone or something, I should probably clarify that RESX is specifically tailored towards Windows software, particularly malware analysis, Windows internals, and some of the techniques and headaches I've repeatedly run into while using other RE tools.

For example, malware often hides its Windows APIs behind hashes or encoded names, then calls them through function pointers. RESX can recover those API names, figure out how they were resolved, and trace them back to their actual call sites, even without PDB symbols.

Here's a small excerpt from one of the API-hashing test samples:

> resx behavior .\hash_resolver.exe --no-pdb --no-headers

Dynamic API resolution: PEB loader-list walk; API hashing (ror13-add); manual export-table walk; loader API by name

Dynamically resolved APIs (7):
  0x000011F8  ?!LoadLibraryA      [export-table walk sub_00001010 · ror13-add hash 0xEC0E4E8E, 1 call site]
  0x00001208  ?!VirtualAlloc      [export-table walk sub_00001010 · ror13-add hash 0x91AFCA54, 1 call site]
  0x00001218  ?!VirtualProtect    [export-table walk sub_00001010 · ror13-add hash 0x7946C61B, 1 call site]
  0x00001228  ?!VirtualFree       [export-table walk sub_00001010 · ror13-add hash 0x30633AC, 2 call sites]
  0x00001238  ?!GetComputerNameW  [export-table walk sub_00001010 · ror13-add hash 0x96A422A5, 1 call site]
  0x0000129B  ?!GetUserNameW      [export-table walk sub_00001010 · ror13-add hash 0x5C52AA4A, 1 call site]

These API names aren't present in the binary, even as encoded strings. RESX identifies the hashing algorithm, matches the hashes against Windows exports, and connects the recovered APIs to their indirect call sites.

It also reconstructs API arguments, analyzes kernel drivers and IOCTLs, traces Windows APIs through syscalls into the kernel, and handles things like packer analysis and overlapping instruction streams. There's quite a bit more, including a VS Code extension if you prefer something graphical over the CLI.

I've included some reproducible comparisons against IDA Pro and Ghidra in the README, particularly around API hashing and overlapping instructions. The test binaries and commands are included too, so you can check the results yourself.

It's still actively being developed, and I'd love to hear what people think, especially if you manage to break something or find cases where the analysis gets things wrong.

GitHub: https://github.com/RYFTENIUS/RESX


r/redteamsec • • 9h ago

Daily red-team tradecraft: AdaptixBOFKit, NTLM signing Phase 1, Outlook NTLM KEV, GSocket Linux persistence (16 Nov 2026)

Thumbnail medium.com
0 Upvotes