A public technical walkthrough detailed module stomping, a Windows code-injection technique that executes shellcode by overwriting the .text section and entry point of a legitimate sacrificial DLL instead of allocating new executable memory. The write-up showed how an attacker can map a DLL as a SEC_IMAGE section with native APIs such as NtCreateSection and NtMapViewOfSection, confirm that the payload fits between the DLL entry point and the end of the code section, replace the entry point with shellcode, and launch execution with thread-creation APIs including NtCreateThreadEx.
The material also described a remote variant in which a DLL such as shell32.dll is loaded into another process, its entry point is located with process-memory and Toolhelp APIs, and that entry point is overwritten before execution is triggered with CreateRemoteThread. Examples cited combase.dll and shell32.dll as sacrificial modules and noted that manual mapping may help avoid Control Flow Guard issues that can arise with LoadLibrary, making the published proof of concept directly relevant to defenders tracking stealthy malware tradecraft on Windows.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
1 event from the most recent confirmed update back to the earliest known activity.
A technical blog post published examples of module stomping on Windows, showing how to overwrite the entry point of a sacrificial DLL such as combase.dll or shell32.dll with shellcode and execute it locally or remotely. The post described use of APIs including NtCreateSection, NtMapViewOfSection, NtCreateThreadEx, ReadProcessMemory, and CreateRemoteThread.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
3 references tracked. Mallory keeps watching after this page renders.
malware.news
Open sourcecocomelonc.github.io
Open sourceapp.any.run
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.