(YARA) YARA_Detect_CloseHandle
rule Detect_CloseHandle: AntiDebug {
meta:
description = "Detect CloseHandle as anti-debug"
author = "Unprotect"
comment = "Experimental rule"
strings:
$1 = "NtClose" fullword ascii
$2 = "CloseHandle" fullword ascii
condition:
uint16(0) == 0x5A4D and filesize < 1000KB and any of them
}
Associated Techniques
| Technique Name | Technique ID's | Snippet(s) | OS |
|---|---|---|---|
| CloseHandle, NtClose | U0114 B0001.003 |
Matching Samples 10 most recent
| Sample Name | Matching Techniques | First Seen | Last Seen |
|---|---|---|---|
| main.exe | 11 | 2026-02-07 | 6 days, 6 hours ago |
| main.exe | 7 | 2026-02-03 | 1 week, 3 days ago |
| loader_complete.exe | 10 | 2026-01-27 | 2 weeks, 2 days ago |
| Torture.exe | 9 | 2025-12-16 | 1 month, 3 weeks ago |
| cmd.exe | 7 | 2025-12-10 | 2 months ago |
| setup.exe | 11 | 2025-12-09 | 2 months ago |
| pafish64.exe | 10 | 2025-12-06 | 2 months ago |
| fpCSEvtSvc.scam | 5 | 2025-12-01 | 2 months, 1 week ago |
| Launcher_dump.exe | 7 | 2025-11-30 | 2 months, 2 weeks ago |
| c09065e575639c63ee5e74b4def1...a5454d3a98302478f7840338.exe | 8 | 2025-11-05 | 3 months, 1 week ago |
Created
June 22, 2022
Last Revised
June 22, 2022