malware-dev/6-self-deleting-file/debugger.asm
2023-11-03 16:58:05 +02:00

15 lines
170 B
NASM

.code
GetPEB proc
mov rax, qword ptr gs:[60h]
ret
GetPEB endp
BeingDebugged proc
xor eax, eax
call GetPEB
movzx eax, byte ptr [rax+2h]
ret
BeingDebugged endp
end