Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ rule:
- optional:
- description: class identifier (CLSID) of the device category
- bytes: 10 B3 0B 86 01 5D D0 11 BD 3B 00 A0 C9 11 CE 86 = CVidCapClassManager
- bytes: 62 A7 D9 33 C8 90 D0 11 BD 43 00 A0 C9 11 CE 86 = CWaveinClassManager
21 changes: 21 additions & 0 deletions host-interaction/service/continue-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
rule:
meta:
name: continue service
namespace: host-interaction/service
authors:
- "@mr-tz"
scope: function
att&ck:
- Persistence::Create or Modify System Process::Windows Service [T1543.003]
examples:
- Practical Malware Analysis Lab 17-02.dll_:0x1000bd79
features:
- and:
- optional:
- match: get service handle
- basic block:
- and:
- number: 0x3 = SERVICE_CONTROL_CONTINUE
- or:
- api: advapi32.ControlService
- api: advapi32.ControlServiceEx
21 changes: 21 additions & 0 deletions host-interaction/service/pause-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
rule:
meta:
name: pause service
namespace: host-interaction/service
authors:
- "@mr-tz"
scope: function
att&ck:
- Persistence::Create or Modify System Process::Windows Service [T1543.003]
examples:
- Practical Malware Analysis Lab 17-02.dll_:0x1000bccd
features:
- and:
- optional:
- match: get service handle
- basic block:
- and:
- number: 0x2 = SERVICE_CONTROL_PAUSE
- or:
- api: advapi32.ControlService
- api: advapi32.ControlServiceEx
10 changes: 6 additions & 4 deletions host-interaction/service/stop/stop-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ rule:
- and:
- optional:
- match: get service handle
- number: 0x1 = SERVICE_CONTROL_STOP
- or:
- api: advapi32.ControlService
- api: advapi32.ControlServiceEx
- basic block:
- and:
- number: 0x1 = SERVICE_CONTROL_STOP
- or:
- api: advapi32.ControlService
- api: advapi32.ControlServiceEx