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
HoneypotLoader.exe 9 2026-11-18 4 days, 5 hours ago
airgpu-5d6531e9-49i1wd.exe 11 2026-10-24 4 weeks, 1 day ago
airgpu-1050a2df-yogzjf.exe 11 2026-10-24 4 weeks, 1 day ago
airgpu-ded8c03b-bokslz.exe 11 2026-10-24 4 weeks, 1 day ago
setup.exe 12 2026-10-04 1 month, 2 weeks ago
new.exe 8 2026-09-29 1 month, 3 weeks ago
4KVideoDownloaderPlusPortable.exe 8 2026-09-12 2 months, 1 week ago
discord_game_sdk.dll 7 2026-09-08 2 months, 2 weeks ago
SSAStatement.exe 12 2026-08-14 3 months, 1 week ago
poc.exe.bin.txt 6 2026-07-31 3 months, 2 weeks ago
View All

Created

March 18, 2019

Last Revised

March 24, 2026