smbexecpy_service_installation


Description

Detects the use of smbexec.py tool by detecting a specific service installation License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
($service_installation.metadata.product_event_type = "7045" and $service_installation.target.process.command_line = "BTOBTO" and re.regex($service_installation.target.process.command_line, `.*\\execute\.bat`))

  condition:
    $service_installation
Raw source smbexecpy_service_installation · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule smbexecpy_service_installation {
 meta:
    author = "Omer Faruk Celik"
    description = "Detects the use of smbexec.py tool by detecting a specific service installation  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/9pBTcmTTsThC"
    version = "0.01"
    created = "2018/03/20"
    product = "windows"
    mitre = "lateral_movement, execution, t1077, t1035"

  events:
($service_installation.metadata.product_event_type = "7045" and $service_installation.target.process.command_line = "BTOBTO" and re.regex($service_installation.target.process.command_line, `.*\\execute\.bat`))

  condition:
    $service_installation
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.