Skip to content

Commit 19380b7

Browse files
committed
update create-service to detect sc.exe usage
1 parent 2e72aa5 commit 19380b7

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

host-interaction/service/create/create-service.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ rule:
1313
examples:
1414
- Practical Malware Analysis Lab 03-02.dll_:0x10004706
1515
features:
16-
- and:
17-
- api: advapi32.CreateService
18-
- optional:
19-
- api: advapi32.OpenSCManager
16+
- or:
17+
- and:
18+
- api: advapi32.CreateService
19+
- optional:
20+
- api: advapi32.OpenSCManager
21+
- and:
22+
- or:
23+
- substring: "sc.exe create"
24+
- substring: "sc create"
25+
- optional:
26+
- substring: "binpath="

0 commit comments

Comments
 (0)