guildma_malware_detector_sysmon_behavior


Description

This content detects characteristics of the Guildma malware strain License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
(($selection1.metadata.product_event_type = "11" and (re.regex($selection1.target.file.full_path, `C:\\Users\\Public\\Librarires\\awsvideos.*`) or re.regex($selection1.target.file.full_path, `C:\\Users \\Public\\Librarires\\awsvideos.*`) or re.regex($selection1.target.file.full_path, `C:\\Users\\Public\\Libraries\\raptor.*`) or re.regex($selection1.target.file.full_path, `.*rakpat0.*`))) or ($selection1.metadata.product_event_type = "1" and ($selection1.target.process.command_line = "cmd /k shutdown -r -t 0 -f" or $selection1.target.process.command_line = "cmd /k shutdown -r -t 1 -f" or $selection1.target.process.command_line = "taskkill /f /im regsvr32.exe" or $selection1.target.process.command_line = "taskkill /f /im unins000.exe" or $selection1.target.process.command_line = "taskkill /f /im aswRunDll.exe" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\sysdirb & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\nulls & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\xnull & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\libs & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\sysdirb & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\nulls & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\xnull & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\libs & exit")))

  condition:
    $selection1
Raw source guildma_malware_detector_sysmon_behavior · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule guildma_malware_detector_sysmon_behavior {
 meta:
    author = "Lee Archinal"
    description = "This content detects characteristics of the Guildma malware strain  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/hFgCcdCAWwW1"
    version = "0.01"
    created = "2019/07/30"
    product = "windows"
    service = "sysmon"
    mitre = "command_and_control, t1219, exfiltration, t1041, execution, t1059"

  events:
(($selection1.metadata.product_event_type = "11" and (re.regex($selection1.target.file.full_path, `C:\\Users\\Public\\Librarires\\awsvideos.*`) or re.regex($selection1.target.file.full_path, `C:\\Users \\Public\\Librarires\\awsvideos.*`) or re.regex($selection1.target.file.full_path, `C:\\Users\\Public\\Libraries\\raptor.*`) or re.regex($selection1.target.file.full_path, `.*rakpat0.*`))) or ($selection1.metadata.product_event_type = "1" and ($selection1.target.process.command_line = "cmd /k shutdown -r -t 0 -f" or $selection1.target.process.command_line = "cmd /k shutdown -r -t 1 -f" or $selection1.target.process.command_line = "taskkill /f /im regsvr32.exe" or $selection1.target.process.command_line = "taskkill /f /im unins000.exe" or $selection1.target.process.command_line = "taskkill /f /im aswRunDll.exe" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\sysdirb & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\nulls & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\xnull & exit" or $selection1.target.process.command_line = "cmd /k del /q /s /f C:\\ProgramData\\libs & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\sysdirb & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\nulls & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\xnull & exit" or $selection1.target.process.command_line = "cmd /k rd /s /q C:\\ProgramData\\libs & exit")))

  condition:
    $selection1
}

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.