host-interaction/service/create

create service

rule:
  meta:
    name: create service
    namespace: host-interaction/service/create
    authors:
      - moritz.raabe@mandiant.com
    scopes:
      static: function
      dynamic: span of calls
    att&ck:
      - Persistence::Create or Modify System Process::Windows Service [T1543.003]
      - Execution::System Services::Service Execution [T1569.002]
    examples:
      - Practical Malware Analysis Lab 03-02.dll_:0x10004706
  features:
    - or:
      - and:
        - api: advapi32.CreateService
        - optional:
          - api: advapi32.OpenSCManager
      - and:
        - or:
          - substring: "sc.exe create"
          - substring: "sc create"
        - optional:
          - substring: "binpath="

last edited: 2026-02-23 17:20:55