能力值:
( LV2,RANK:10 )
|
-
-
2 楼
帖子表意不明
改这些东西做什么,为了注入hs?
你改这么多,本来不想检测你的,但此时,都不得不检测你了!
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
HS 会检测PEB标志位
|
能力值:
( LV12,RANK:210 )
|
-
-
4 楼
BOOL MyIsDebuggerPresent(VOID)
{
__asm
{
mov eax, fs:[0x30]
movzx eax,byte ptr [eax+2]
mov eax,0
}
return TRUE;
}
BOOL MyNtGlobalFlag(VOID)
{
__asm
{
mov eax, fs:[30]
movzx eax,byte ptr [eax+0x68]
mov eax, 0
}
return TRUE;
}
BOOL MyProcessHeapFlags(VOID)
{
__asm
{
mov eax, fs:[30h]
mov eax, [eax+18h] //PEB.ProcessHeap
mov eax, [eax+0ch] //PEB.ProcessHeap.Flags
mov eax, 2h
}
return TRUE;
}
BOOL MyProcessHeapForceFlags(VOID)
{
__asm
{
mov eax, fs:[30h]
mov eax, [eax+18h] //PEB.ProcessHeap
mov eax, [eax+10h] //PEB.ProcessHeap.ForceFlags
mov eax, 0
}
return TRUE;
}
只看到读,没看到改
|
能力值:
( LV13,RANK:410 )
|
-
-
5 楼
BOOL MyIsDebuggerPresent(VOID)
{
__asm
{
mov eax, fs:[0x30]
movzx byte ptr [eax+2],0
}
return TRUE;
}
BOOL MyNtGlobalFlag(VOID)
{
__asm
{
mov eax, fs:[30]
movzx byte ptr [eax+0x68], 0
}
return TRUE;
}
BOOL MyProcessHeapFlags(VOID)
{
__asm
{
mov eax, fs:[30h]
mov eax, [eax+18h] //PEB.ProcessHeap
mov dword ptr [eax+0ch],2h
}
return TRUE;
}
BOOL MyProcessHeapForceFlags(VOID)
{
__asm
{
mov eax, fs:[30h]
mov eax, [eax+18h] //PEB.ProcessHeap
mov dword ptr [eax+10h] , 0
}
return TRUE;
}
|
|
|