CloseHandle, NtClose

Created the Monday 18 March 2019. Updated 1 year, 2 months ago.

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


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
test.exe 7 2024-12-06 7 hours, 32 minutes ago
EternelSuspention.exe 8 2024-12-05 23 hours, 47 minutes ago
br1.dll 10 2024-12-03 3 days, 1 hour ago
lnl-msfvenom.exe 7 2024-12-02 4 days, 8 hours ago
satan_ransomware.exe 10 2024-11-30 6 days, 11 hours ago
EDR Silencer 1.4.exe 8 2024-11-29 1 week ago
Xulytaikhoan.xlsx 14 2024-11-26 1 week, 3 days ago
credwiz.exe 6 2024-11-25 1 week, 3 days ago
ejecutablehex01~Rip_dump_SCY.exe.hex 5 2024-11-24 1 week, 4 days ago
ebb508b441172b95f4c6a63c7f78...904128200bcb8ef38b1374663789 4 2024-11-19 2 weeks, 3 days ago
View All

Sleeping Alien

Subscribe to our Newsletter

Don't miss out on the latest and greatest updates from us! Subscribe to our newsletter and be the first to know about exciting content and future updates.