-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #787 from jtothej/hidethread
Update and promote hide-thread-from-debugger.yml
- Loading branch information
Showing
2 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
anti-analysis/anti-debugging/debugger-evasion/hide-thread-from-debugger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
rule: | ||
meta: | ||
name: hide thread from debugger | ||
namespace: anti-analysis/anti-debugging/debugger-evasion | ||
authors: | ||
- [email protected] | ||
- [email protected] | ||
scope: function | ||
att&ck: | ||
- Defense Evasion::Debugger Evasion [T1622] | ||
mbc: | ||
- Anti-Behavioral Analysis::Debugger Evasion [B0002] | ||
references: | ||
- https://anti-debug.checkpoint.com/techniques/interactive.html#ntsetinformationthread | ||
- https://github.com/LordNoteworthy/al-khaser/blob/master/al-khaser/AntiDebug/NtSetInformationThread_ThreadHideFromDebugger.cpp | ||
- https://github.com/jaeyung1001/Anti-Debugging/blob/master/Code/NtSetInformationThread.cpp | ||
examples: | ||
- 26beba7352a32b803aa19e0782011a383a1df19549910e7b2f2f244e49678524:0x10001670 | ||
features: | ||
- or: | ||
- basic block: | ||
- and: | ||
- or: | ||
- api: NtSetInformationThread | ||
- api: ZwSetInformationThread | ||
- number: 0x11 = ThreadHideFromDebugger | ||
- and: | ||
- or: | ||
- string: "NtSetInformationThread" | ||
- string: "ZwSetInformationThread" | ||
- match: link function at runtime on Windows | ||
- api: GetCurrentThread | ||
- number: 0x11 = ThreadHideFromDebugger |
This file was deleted.
Oops, something went wrong.