Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
SERVICE

Locked Anti Sandboxie[MASM]


top10

Recommended Posts

[LENGUAJE=asm].386

.model flat,stdcall

option casemap:none

 

include \masm32\include\windows.inc

include \masm32\include\kernel32.inc

include \masm32\include\user32.inc

includelib \masm32\lib\user32.lib

includelib \masm32\lib\kernel32.lib

 

.data

SbieDll db "SbieDll.dll",0

MsgDetected db "Detected",0

MsgNotDetected db "Not Detected",0

 

.code

 

start:

 

 

invoke GetModuleHandle, addr SbieDll

jz NotDetected ; if is 0 jump to NotDetected

jnz Detected ; if is not 0 jump to Detected

 

NotDetected:

invoke MessageBox,NULL,addr MsgNotDetected,addr MsgNotDetected,MB_OK

jmp Exit

 

 

Detected:

invoke MessageBox,NULL,addr MsgDetected,addr MsgDetected,MB_OK

jmp Exit

 

Exit:

invoke ExitProcess,0

 

ret

 

 

end start[/LENGUAJE]

Link to comment
Share on other sites

  • 3 months later...

Re: Anti Sandboxie[MASM]

 

what's the importance to code that in MASM when you're using shit things like Macro ?

 

Is only a example or snippet how to do this in asm dont worry about the rest.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.