Detectionhightest

smbexec.py Service Installation

Detects the use of smbexec.py tool by detecting a specific service installation

Open in Detection LabConvert ruleBuild Package
Omer Faruk CelikCreated 2018-03-20Updated 2023-11-0952a85084-6989-40c3-8f32-091e12e13f09windows
Log Source
Windowssystem
ProductWindows← raw: windows
Servicesystem← raw: system
Detection Logic
Detection Logic3 selectors
detection:
    selection_eid:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection_service_name:
        ServiceName: 'BTOBTO'
    selection_service_image:
        ImagePath|contains:
            - '.bat & del '
            - '__output 2^>^&1 >'
    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.

Rule Metadata
Rule ID
52a85084-6989-40c3-8f32-091e12e13f09
Status
test
Level
high
Type
Detection
Created
2018-03-20
Modified
2023-11-09
Path
rules/windows/builtin/system/service_control_manager/win_system_hack_smbexec.yml
Raw Tags
attack.lateral-movementattack.executionattack.t1021.002attack.t1569.002
View on GitHub