CloseHandle, NtClose

When a process is debugged, calling NtClose or CloseHandle with an invalid handle will generate a STATUS_INVALID_HANDLE exception.

The exception can be cached by an exception handler. If the control is passed to the exception handler, it indicates that a debugger is present.


Technique Identifiers

U0114 B0001.003

Technique Tags

closehandle ntclose

Evasion Categories

Code Snippets

Detection Rules

Additional Resources

External Links
The resources provided below are associated links that will give you even more detailed information and research on current evasion technique. It is important to note that, while these resources may be helpful, it is important to exercise caution when following external links. As always, be careful when clicking on links from unknown sources, as they may lead to malicious content.

Matching Samples 10 most recent

Sample Name Matching Techniques First Seen Last Seen
CVE-2026-20817_PoC.exe 8 2026-04-09 4 hours, 48 minutes ago
Raid.exe 7 2026-04-08 19 hours, 49 minutes ago
b2a17fbdf536bd79dba9eb5e4ea3...0fdd7eb07ca6c5bdf73de001.exe 11 2026-04-07 1 day, 23 hours ago
rootkit.exe 10 2026-03-24 2 weeks, 1 day ago
spread.exe 6 2026-03-24 2 weeks, 1 day ago
ngen.exe 7 2026-03-20 2 weeks, 6 days ago
UnPackMe_VMProtect_1.53.exe 7 2026-03-19 3 weeks ago
main.exe 11 2026-02-07 2 months ago
main.exe 7 2026-02-03 2 months ago
loader_complete.exe 10 2026-01-27 2 months, 1 week ago
View All

Created

March 18, 2019

Last Revised

March 24, 2026