Sandboxie Detection
Posted: Sun Jan 25, 2015 3:04 pm
Hello,
I use Sandboxie for some light malware analysis, I have never run in to a piece of malware that had this functionality. However, I know it has been out for quite some time (the original snippet was around 2009) and it is still active today.
I use Sandboxie for some light malware analysis, I have never run in to a piece of malware that had this functionality. However, I know it has been out for quite some time (the original snippet was around 2009) and it is still active today.
Code: Select all
bool IsInSandbox()
{
char* sModule[] = { "SbieDll.dll" };
for( int i = 0; i < ( sizeof( sModule ) / sizeof( char* ) ); i++ )
{
if( GetModuleHandle( sModule[ i ] ) ) {
return true;
}
}
return false;
}
I know you can also it determine by the window text also.I know this is not a life or death detection as stated there are easy fixes for programs with this functionality, however I just thought I would write about it.
Thanks for your time.