Skip to content

Commit 2f10cb6

Browse files
committed
Passing all the lint rules and the test
1 parent 2af9fbf commit 2f10cb6

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
rule:
2+
meta:
3+
name: check for time delay in .NET
4+
namespace: anti-analysis/anti-debugging/debugger-detection
5+
authors:
6+
- "@aryanyk"
7+
description: detects potential debugger checks by comparing Environment.TickCount values around Thread.Sleep calls.
8+
scopes:
9+
static: function
10+
dynamic: unsupported # relies on static analysis of IL property access and timing patterns
11+
att&ck:
12+
- Defense Evasion::Virtualization/Sandbox Evasion [T1497]
13+
mbc:
14+
- Anti-Behavioral Analysis::Debugger Detection::Timing/Delay Check GetTickCount [B0001.032]
15+
references:
16+
- https://github.com/Outbuilt/.NET-Anti-Debug
17+
examples:
18+
- e842958188274d5ffee7fbeffb803b2e:0x6000001
19+
20+
features:
21+
- and:
22+
- format: dotnet
23+
- api: System.Threading.Thread::Sleep
24+
- count(property(System.Environment::TickCount)): 2 or more

0 commit comments

Comments
 (0)