Anti-Debugging via PEB NtGlobalFlag Inspection (NtQueryInformationProcess/ReadProcessMemory)

Detects a process attempting to read its own Process Environment Block (PEB) using NtQueryInformationProcess in combination with ReadProcessMemory, a technique commonly used by malware to detect the presence of a debugger by inspecting the NtGlobalFlag field.