Cybellum / DoubleAgent

Zero-Day Code Injection and Persistence Technique

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample code on DoubleAgentDLL -> main.c

Fireplop opened this issue · comments

Hi, i compiled the solution successfully until i uncomment the sample code to launch cmd.exe in DoubleAgentDll - main.c .
goto lbl_cleanup; doesn't work as lbl_cleanup is not defined label. On the other hand, if i comment this line and compile, it seems that after launching DoubleAgent_x86.exe and then lauching manually the victim program, cmd.exe doesn't start :/
I am using a windows 7-32bits VM and Visual Studio Pro 2013.
Am i doing something wrong ?
Thanks ;)

Uncomment "//lbl_cleanup:" that appears just above "/* Returns status */".
Note that the sample code currently works on Windows 10 but might not work on older versions of Windows, read here for more information.

oh ! I haven't seen this line ... sorry ! For the windows version, i thought the program would have failed, that's why i didn't watch again this discussion. I'll try on win 10 before modifying things for 7. Thanks a lot ;)