Anti Avast 5 SandBox Example C++ 10-18-2012, 07:57 PM
#1
Well, after a long stupid discussion and noobies that need help. Screw it.
Lets change the game a bit.
snxhk.dll is the dll that gets injected by the process of comodo to be able to sandbox a file that you selected or a suspicious file that comodo sandboxed for you.
In this example code i will test it on Sandboxie because i don't have avast anymore in my vm. Just change the dll and change the code to your needs. Done.
![[Image: iL1reR8ptsnhy.jpg]](http://i.minus.com/iL1reR8ptsnhy.jpg)
As simple as fucking that.
Lets change the game a bit.
snxhk.dll is the dll that gets injected by the process of comodo to be able to sandbox a file that you selected or a suspicious file that comodo sandboxed for you.
In this example code i will test it on Sandboxie because i don't have avast anymore in my vm. Just change the dll and change the code to your needs. Done.
Code:
#include "stdafx.h"
#include "windows.h"
int main()
{
HMODULE hDll = GetModuleHandle("SbieDll.dll");
printf ("hDll: 0x%08X\n", hDll);
if (NULL != hDll) {
printf("sanboxed\n");
return 0;
}
else {
printf("no sandbox handle detected!\n");
return 0;
}
}
![[Image: iL1reR8ptsnhy.jpg]](http://i.minus.com/iL1reR8ptsnhy.jpg)
As simple as fucking that.