Detectionhightest

HackTool Service Registration or Execution

Detects installation or execution of services

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2022-03-21Updated 2023-08-07d26ce60c-2151-403c-9a42-49420d87b5e4windows
Log Source
Windowssystem
ProductWindows← raw: windows
Servicesystem← raw: system
Detection Logic
Detection Logic3 selectors
detection:
    selection_eid:
        Provider_Name: 'Service Control Manager'
        EventID:
            - 7045
            - 7036
    selection_service_name:
        ServiceName|contains:
            - 'cachedump'
            - 'DumpSvc'
            - 'gsecdump'
            - 'pwdump'
            - 'UACBypassedService'
            - 'WCE SERVICE'
            - 'WCESERVICE'
            - 'winexesvc'
    selection_service_image:
        ImagePath|contains: 'bypass' # https://gist.github.com/tyranid/c24cfd1bd141d14d4925043ee7e03c82#file-scmuacbypass-cpp-L159
    condition: selection_eid and 1 of selection_service_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

References
1
Resolving title…
Internal Research
Rule Metadata
Rule ID
d26ce60c-2151-403c-9a42-49420d87b5e4
Status
test
Level
high
Type
Detection
Created
2022-03-21
Modified
2023-08-07
Path
rules/windows/builtin/system/service_control_manager/win_system_service_install_hacktools.yml
Raw Tags
attack.executionattack.t1569.002attack.s0029
View on GitHub