maziland / stackbombing Goto Github PK
View Code? Open in Web Editor NEWNext gen process injection technique
Next gen process injection technique
Hey everybody,
I tried the following:
replacing line 257 in Rop_Chain.cpp --> FunctionCall((DWORD64)MessageBoxA, 0, 0, 0, 0);
with the following line --> FunctionCall((DWORD64)MessageBoxB, 0, 0, 0, 0);
where MessageBoxB is an user defined function with the same signature as MessageBoxA:
int WINAPI MessageBoxB(
In_opt HWND hWnd,
In_opt LPCSTR lpText,
In_opt LPCSTR lpCaption,
In UINT uType)
{
return MessageBoxA(NULL, "IM INJECTED", "MessageBoxB", MB_OK);
}
It was compiled successfully but when executed it caused the target process to crash.
what am I doing wrong?
Alternatively, how can I make this happen so I can inject user defined functions successfully?
Thanks in advance,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.