Detection rules › Elastic

Binary Masquerading via Untrusted Path

Source
github.com/elastic/protections-artifacts

Identifies binaries that have been identically named to Windows built-in programs and being run from untrusted or commonly abused paths. Adversaries may attempt to manipulate the name of a task or service to make it appear legitimate or benign.

MITRE ATT&CK coverage

Rule body

[rule]
description = """
Identifies binaries that have been identically named to Windows built-in programs and being run from untrusted or
commonly abused paths. Adversaries may attempt to manipulate the name of a task or service to make it appear legitimate
or benign.
"""
id = "35dedf0c-8db6-4d70-b2dc-a133b808211f"
license = "Elastic License v2"
name = "Binary Masquerading via Untrusted Path"
os_list = ["windows"]
reference = [
    "https://www.elastic.co/security-labs/invisible-miners-unveiling-ghostengine",
    "https://www.elastic.co/security-labs/siestagraph-new-implant-uncovered-in-asean-member-foreign-ministry",
]
version = "1.0.55"

query = '''
process where event.action == "start" and
  (
   process.name : (
    "at.exe",
    "atbroker.exe",
    "bcdedit.exe",
    "cmstp.exe",
    "conhost.exe",
    "control.exe",
    "cscript.exe",
    "csrss.exe",
    "dsget.exe",
    "dfsvc.exe",
    "dllhost.exe",
    "eventvwr.exe",
    "ieexec.exe",
    "ipconfig.exe",
    "lsass.exe",
    "Microsoft.Workflow.Compiler.exe",
    "mmc.exe",
    "msdt.exe",
    "mshta.exe",
    "msiexec.exe",
    "net1.exe",
    "netsh.exe",
    "netstat.exe",
    "odbcconf.exe",
    "ping.exe",
    "powershell.exe",
    "qprocess.exe",
    "quser.exe",
    "qwinsta.exe",
    "regsvcs.exe",
    "rundll32.exe",
    "schtasks.exe",
    "sdclt.exe",
    "services.exe",
    "spoolsv.exe",
    "svchost.exe",
    "taskhost.exe",
    "taskhostw.exe",
    "userinit.exe",
    "vaultcmd.exe",
    "vssadmin.exe",
    "wininit.exe",
    "winlogon.exe",
    "wmic.exe",
    "wevtutil.exe",
    "wscript.exe",
    "gprslt.exe",
    "nbtstat.exe",
    "systeminfo.exe",
    "VsJITDebugger.exe",
    "extexport.exe",
    "extexport.exe", 
    "fltmc.exe", 
    "stordiag.exe", 
    "manage-bde.exe") or
    (process.pe.original_file_name == "bsdtar" and process.name : "tar.exe" and process.code_signature.subject_name == "Microsoft Windows") or
    (process.pe.original_file_name : "WerFaultSecure.exe" or process.name : "WerFaultSecure.exe") or
    (process.pe.original_file_name : "WerFault.exe" or process.name : "WerFault.exe") or
    (process.pe.original_file_name : "wermgr.exe" or process.name : "wermgr.exe") or
    (process.pe.original_file_name : "IE4UINIT.EXE" or process.name : "ie4uinit.exe") or
    (process.pe.original_file_name == "curl.exe" and process.code_signature.subject_name : "Microsoft *" and process.executable : "C:\\Users\\*")
    )
    and
    
  not process.executable : (
    "?:\\Windows\\System32\\*.exe",
    "?:\\Windows\\SysWOW64\\*.exe",
    "?:\\Windows\\Microsoft.NET\\*.exe",
    "?:\\Program Files (x86)\\*.exe",
    "?:\\Program Files\\*.exe",
    "?:\\Windows\\WinSxS\\*.exe",
    "C:\\$WINDOWS.~BT\\NewOS\\Windows\\WinSxS\\wow64_microsoft-windows-*\\mmc.exe",
    "C:\\Windows\\SoftwareDistribution\\Download\\*.exe",

    /* Issue # 295 */
    "?:\\Users\\*\\AppData\\Local\\Programs\\Git\\usr\\bin\\hostname.exe",
    "?:\\*\\usr\\bin\\hostname.exe",
    "?:\\ProgramData\\West Wind Technologies\\Uninstall\\*\\regsvr32.exe",
    "?:\\ProgramData\\chocolatey\\*.exe",
    "?:\\cygwin*\\bin\\*.exe",

    /* PR #685 */
    "\\Device\\HarddiskVolume*\\Windows\\System32\\*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\SysWOW64\\*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\Microsoft.NET\\*.exe",
    "\\Device\\HarddiskVolume*\\Program Files (x86)\\*.exe",
    "\\Device\\HarddiskVolume*\\Program Files\\*.exe",

    /* VHD */
    "\\Device\\VhdHardDisk*\\Windows\\System32\\*.exe",
    "\\Device\\VhdHardDisk*\\Windows\\SysWOW64\\*.exe",
    "\\Device\\VhdHardDisk*\\Windows\\Microsoft.NET\\*.exe",
    "\\Device\\VhdHardDisk*\\Program Files (x86)\\*.exe",
    "\\Device\\VhdHardDisk*\\Program Files\\*.exe",
    
    "\\\\?\\Volume{*}\\Windows\\System32\\*.exe", 
    "\\\\?\\Volume{*}\\Windows\\SysWOW64\\*.exe", 
    "\\\\?\\Volume{*}\\Windows\\Microsoft.NET\\*.exe",
    "\\\\?\\Volume{*}\\Program Files (x86)\\*.exe",
    "\\\\?\\Volume{*}\\Program Files\\*.exe", 
    "\\\\?\\Volume{*}\\Windows\\WinSxS\\*.exe"
    ) and

  not (process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\*.exe" and process.code_signature.subject_name : "Lenovo") and
  not (process.pe.original_file_name == "RegAsm.exe" and
       process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\LenovoBatteryGaugePackage\\*\\RegAsm.exe") and
  not (process.name : "regsvr32.exe" and process.parent.executable : ("?:\\ERPU\\Browser\\AutoUpgrade.exe", "?:\\ERPU\\Browser\\NeoWeb.exe")) and
  not (process.executable : "?:\\Campus\\System\\DLL\\CADability\\RegAsm.exe" and process.parent.executable : "?:\\Campus\\System\\DLL\\CADability\\RegCADability.exe") and
  not (process.name : "services.exe" and process.args : "-i*" and process.parent.name : "monitor.exe") and
  not (process.name : "RegAsm.exe" and process.args : ("directdeposit.vb.tlb", "?:\\Program Files (x86)\\*.dll", "?:\\Program Files\\*.dll")) and
  not process.executable : "D:\\Reform V*\\Reform_PDC_Server_v*\\Plugins\\Monitoring\\CScript.exe" and
  not (process.name : "rundll32.exe" and process.code_signature.subject_name : ("Teramind Inc.", "STAKHANOVETS LIMITED LIABILITY COMPANY") and process.code_signature.trusted == true) and
  not (process.name : "regsvr32.exe" and
       process.args : ("?:\\Sage\\Sage300 Programs\\GL69A\\FRCOM690.DLL",
                       "?:\\Program Files (x86)\\*.dll",
                       "?:\\Program Files\\*.dll",
                       "?:\\WINDOWS\\system32\\*.dll")) and
  not process.executable : ("?:\\Microsoft Visual Studio\\*\\Msbuild.exe", "?:\\adv\\app\\RegAsm.exe", "?:\\Windows\\WinSxS\\wow64_microsoft-windows*management-console_*\\mmc.exe") and
  not (process.executable : "?:\\Engeman\\RegAsm.exe" and process.parent.executable : "?:\\Engeman\\Engeman.exe") and
  not (process.name : "regsvr32.exe" and process.code_signature.subject_name == "Tarma Software Research Ltd" and process.code_signature.trusted == true) and
  not (process.parent.executable : "?:\\Gb\\GBsoftware.exe" and process.executable : "?:\\Gb\\Lib\\regsvr32.exe") and
  not (process.executable : "?:\\OfficeMate\\REGSVR32.EXE" and process.parent.args : "?:\\OfficeMate\\~Reg*DLLs.bat" and process.parent.name : "cmd.exe") and
  not (process.name : "powershell.exe" and process.executable : "?:\\Windows\\WinSxS\\amd64_microsoft-windows-powershell-exe_*\\powershell.exe") and
  not process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\LenovoBatteryGaugePackage\\x64\\RegAsm.exe" and
  not (process.name : "regasm.exe" and process.parent.executable : "?:\\Program Files (x86)\\Common Files\\InstallShield\\Driver\\*\\IDriver.exe") and
  not process.executable : "?:\\Windows\\WinSxS\\amd64_microsoft-windows-powershell-exe_*\\powershell.exe" and
  not (process.executable : ("?:\\Gb\\Lib\\regsvr32.exe", "?:\\E20-II\\ENVIRO\\regasm.exe") and
       process.parent.executable : ("?:\\Gb\\GBsoftware.exe", "?:\\E20-II\\PCN33\\CODE\\SilentPCBEngTools128.exe")) and
  not (process.parent.executable : "?:\\apps\\sage300\\Programs\\runtime\\a4wcontainerXP.exe" and process.name : "regsvr32.exe") and
  not process.executable : "\\Device\\Mup\\*" and
  not process.executable : ("?:\\*Visual*Studio\\*\\MSBuild.exe",
                            "?:\\CAMS\\Enterprise\\CAMSServices\\ServiceBroker\\RegAsm.exe",
                            "?:\\Witron\\wms\\rt\\axl\\runtime\\bin\\system\\tools\\RegAsm.exe",
                            "?:\\SpearTrayApplication\\Tray\\regsvr32.exe",
                            "?:\\ProgramData\\Lenovo\\Vantage\\Addins\\LenovoBatteryGaugeAddin\\*\\RegAsm.exe",
                            "*\\Visual Studio\\*\\Bin\\MSBuild.exe",
                            "C:\\Sage\\Sage300\\Online\\Worker\\InstallUtil.exe",
                            "C:\\AssessPro\\Programs\\RegAsm.exe", 
                            "C:\\ProgramData\\Lenovo\\Vantage\\Addins\\LenovoBatteryGaugeAddin\\*\\RegAsm.exe") and
  not (process.name : "regsvr32.exe" and process.parent.name : "rundll32.exe" and
       process.parent.command_line : "*zzzzInvokeManagedCustomActionOutOfProc*") and
  not (process.executable : "C:\\ProgramData\\baramundi\\bma\\Downloads\\Temp\\netsh.exe" and
       process.args : "exec" and process.args : "\\\\*.txt") and
  not (process.name : "bcdedit.exe" and process.args : "/enum") and
  not (process.executable : "?:\\Windows\\LFSAgent\\services.exe" and
       process.code_signature.trusted == true and
       process.code_signature.subject_name : "LEPIDE SOFTWARE PRIVATE LIMITED") and
  not (process.name : "ping.exe" and process.executable : "?:\\Windows\\Temp\\pdk-SYSTEM-*\\ping.exe") and
  not (process.code_signature.subject_name : ("JetBrains s.r.o.", "LG Electronics Inc.", "Timothy Hugh Perry", "Code Systems Corporation", "Douyin Vision Co., Ltd.", "Hangzhou Hikvision Digital Tech.Co.,Ltd") and process.code_signature.trusted == true) and
  not process.hash.sha256 :
                  ("7c621ec91b71d14494beddaae8edb67ed26baa257d750546772aa90653ad6016",
                   "195bebdefeb704158633b7f3d943e1d792fcb9b81f36530fad5b04a1622a0c58",
                   "dc84f15625f115faa757dee79b285a5af65298074827c917f0dfcacc5b308855",
                   "3f73452d3a5c39c8abc9e2b37c5e5f6ef210a4edb17ac180f425b05f320e5720",
                   "10fe2a16356afcb0f0d3ae77dc1320acdc7244a4115e3eabff6220fdd8d1347f",
                   "77e67a63a69c545a193998e3c17f6e4b15538f40aaaec3a1d4713b05ab3a4ede",
                   "87a4a3a8fb5df2e79e512f8a5043725dde70811afb39110cd8b4904dd15046f2",
                   "637c3c0e4441998130d0166e95d0449e22d82107be8daeb234126ca6392b25b7",
                   "2425e9a2b5f19483e234eb220bd4db97cecc5dbef5fd1a19940f823c7997fc26",
                   "facb69c35c1d63aeca9d9e55525660b728445acd0df1b6a23e52acf329baf94c",
                   "879f58323b0ee3313a0e43d507373a6ac9bc5b3cfbd6eac6411c252af261b60e",
                   "c7b895a4a21b597a5a7dc3c1a2d4c5e9823649688da9b57dd0c1bcea28c739ba",
                   "186546f3a23be3069550c185363034e686e87a3eccc9f5c7f3a5a92f15a0b1cb") and
  not (process.parent.code_signature.subject_name == "Data Spotlite Inc." and process.parent.code_signature.trusted == true and
       process.executable : "C:\\CYRISMA_Agent\\App\\powershell.exe")
'''

min_endpoint_version = "8.10.0"
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0

[[optional_actions]]
action = "rollback"
field = "process.entity_id"
state = 0

[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1036"
name = "Masquerading"
reference = "https://attack.mitre.org/techniques/T1036/"
[[threat.technique.subtechnique]]
id = "T1036.004"
name = "Masquerade Task or Service"
reference = "https://attack.mitre.org/techniques/T1036/004/"



[threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"

[internal]
min_endpoint_version = "8.10.0"

Stages and Predicates

Stage 1: process

process where event.action == "start" and
  (
   process.name : (
    "at.exe",
    "atbroker.exe",
    "bcdedit.exe",
    "cmstp.exe",
    "conhost.exe",
    "control.exe",
    "cscript.exe",
    "csrss.exe",
    "dsget.exe",
    "dfsvc.exe",
    "dllhost.exe",
    "eventvwr.exe",
    "ieexec.exe",
    "ipconfig.exe",
    "lsass.exe",
    "Microsoft.Workflow.Compiler.exe",
    "mmc.exe",
    "msdt.exe",
    "mshta.exe",
    "msiexec.exe",
    "net1.exe",
    "netsh.exe",
    "netstat.exe",
    "odbcconf.exe",
    "ping.exe",
    "powershell.exe",
    "qprocess.exe",
    "quser.exe",
    "qwinsta.exe",
    "regsvcs.exe",
    "rundll32.exe",
    "schtasks.exe",
    "sdclt.exe",
    "services.exe",
    "spoolsv.exe",
    "svchost.exe",
    "taskhost.exe",
    "taskhostw.exe",
    "userinit.exe",
    "vaultcmd.exe",
    "vssadmin.exe",
    "wininit.exe",
    "winlogon.exe",
    "wmic.exe",
    "wevtutil.exe",
    "wscript.exe",
    "gprslt.exe",
    "nbtstat.exe",
    "systeminfo.exe",
    "VsJITDebugger.exe",
    "extexport.exe",
    "extexport.exe",
    "fltmc.exe",
    "stordiag.exe",
    "manage-bde.exe") or
    (process.pe.original_file_name == "bsdtar" and process.name : "tar.exe" and process.code_signature.subject_name == "Microsoft Windows") or
    (process.pe.original_file_name : "WerFaultSecure.exe" or process.name : "WerFaultSecure.exe") or
    (process.pe.original_file_name : "WerFault.exe" or process.name : "WerFault.exe") or
    (process.pe.original_file_name : "wermgr.exe" or process.name : "wermgr.exe") or
    (process.pe.original_file_name : "IE4UINIT.EXE" or process.name : "ie4uinit.exe") or
    (process.pe.original_file_name == "curl.exe" and process.code_signature.subject_name : "Microsoft *" and process.executable : "C:\\Users\\*")
    )
    and
  not process.executable : (
    "?:\\Windows\\System32\\*.exe",
    "?:\\Windows\\SysWOW64\\*.exe",
    "?:\\Windows\\Microsoft.NET\\*.exe",
    "?:\\Program Files (x86)\\*.exe",
    "?:\\Program Files\\*.exe",
    "?:\\Windows\\WinSxS\\*.exe",
    "C:\\$WINDOWS.~BT\\NewOS\\Windows\\WinSxS\\wow64_microsoft-windows-*\\mmc.exe",
    "C:\\Windows\\SoftwareDistribution\\Download\\*.exe",
    "?:\\Users\\*\\AppData\\Local\\Programs\\Git\\usr\\bin\\hostname.exe",
    "?:\\*\\usr\\bin\\hostname.exe",
    "?:\\ProgramData\\West Wind Technologies\\Uninstall\\*\\regsvr32.exe",
    "?:\\ProgramData\\chocolatey\\*.exe",
    "?:\\cygwin*\\bin\\*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\System32\\*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\SysWOW64\\*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\Microsoft.NET\\*.exe",
    "\\Device\\HarddiskVolume*\\Program Files (x86)\\*.exe",
    "\\Device\\HarddiskVolume*\\Program Files\\*.exe",
    "\\Device\\VhdHardDisk*\\Windows\\System32\\*.exe",
    "\\Device\\VhdHardDisk*\\Windows\\SysWOW64\\*.exe",
    "\\Device\\VhdHardDisk*\\Windows\\Microsoft.NET\\*.exe",
    "\\Device\\VhdHardDisk*\\Program Files (x86)\\*.exe",
    "\\Device\\VhdHardDisk*\\Program Files\\*.exe",
    "\\\\?\\Volume{*}\\Windows\\System32\\*.exe",
    "\\\\?\\Volume{*}\\Windows\\SysWOW64\\*.exe",
    "\\\\?\\Volume{*}\\Windows\\Microsoft.NET\\*.exe",
    "\\\\?\\Volume{*}\\Program Files (x86)\\*.exe",
    "\\\\?\\Volume{*}\\Program Files\\*.exe",
    "\\\\?\\Volume{*}\\Windows\\WinSxS\\*.exe"
    ) and
  not (process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\*.exe" and process.code_signature.subject_name : "Lenovo") and
  not (process.pe.original_file_name == "RegAsm.exe" and
       process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\LenovoBatteryGaugePackage\\*\\RegAsm.exe") and
  not (process.name : "regsvr32.exe" and process.parent.executable : ("?:\\ERPU\\Browser\\AutoUpgrade.exe", "?:\\ERPU\\Browser\\NeoWeb.exe")) and
  not (process.executable : "?:\\Campus\\System\\DLL\\CADability\\RegAsm.exe" and process.parent.executable : "?:\\Campus\\System\\DLL\\CADability\\RegCADability.exe") and
  not (process.name : "services.exe" and process.args : "-i*" and process.parent.name : "monitor.exe") and
  not (process.name : "RegAsm.exe" and process.args : ("directdeposit.vb.tlb", "?:\\Program Files (x86)\\*.dll", "?:\\Program Files\\*.dll")) and
  not process.executable : "D:\\Reform V*\\Reform_PDC_Server_v*\\Plugins\\Monitoring\\CScript.exe" and
  not (process.name : "rundll32.exe" and process.code_signature.subject_name : ("Teramind Inc.", "STAKHANOVETS LIMITED LIABILITY COMPANY") and process.code_signature.trusted == true) and
  not (process.name : "regsvr32.exe" and
       process.args : ("?:\\Sage\\Sage300 Programs\\GL69A\\FRCOM690.DLL",
                       "?:\\Program Files (x86)\\*.dll",
                       "?:\\Program Files\\*.dll",
                       "?:\\WINDOWS\\system32\\*.dll")) and
  not process.executable : ("?:\\Microsoft Visual Studio\\*\\Msbuild.exe", "?:\\adv\\app\\RegAsm.exe", "?:\\Windows\\WinSxS\\wow64_microsoft-windows*management-console_*\\mmc.exe") and
  not (process.executable : "?:\\Engeman\\RegAsm.exe" and process.parent.executable : "?:\\Engeman\\Engeman.exe") and
  not (process.name : "regsvr32.exe" and process.code_signature.subject_name == "Tarma Software Research Ltd" and process.code_signature.trusted == true) and
  not (process.parent.executable : "?:\\Gb\\GBsoftware.exe" and process.executable : "?:\\Gb\\Lib\\regsvr32.exe") and
  not (process.executable : "?:\\OfficeMate\\REGSVR32.EXE" and process.parent.args : "?:\\OfficeMate\\~Reg*DLLs.bat" and process.parent.name : "cmd.exe") and
  not (process.name : "powershell.exe" and process.executable : "?:\\Windows\\WinSxS\\amd64_microsoft-windows-powershell-exe_*\\powershell.exe") and
  not process.executable : "?:\\ProgramData\\Lenovo\\ImController\\Plugins\\LenovoBatteryGaugePackage\\x64\\RegAsm.exe" and
  not (process.name : "regasm.exe" and process.parent.executable : "?:\\Program Files (x86)\\Common Files\\InstallShield\\Driver\\*\\IDriver.exe") and
  not process.executable : "?:\\Windows\\WinSxS\\amd64_microsoft-windows-powershell-exe_*\\powershell.exe" and
  not (process.executable : ("?:\\Gb\\Lib\\regsvr32.exe", "?:\\E20-II\\ENVIRO\\regasm.exe") and
       process.parent.executable : ("?:\\Gb\\GBsoftware.exe", "?:\\E20-II\\PCN33\\CODE\\SilentPCBEngTools128.exe")) and
  not (process.parent.executable : "?:\\apps\\sage300\\Programs\\runtime\\a4wcontainerXP.exe" and process.name : "regsvr32.exe") and
  not process.executable : "\\Device\\Mup\\*" and
  not process.executable : ("?:\\*Visual*Studio\\*\\MSBuild.exe",
                            "?:\\CAMS\\Enterprise\\CAMSServices\\ServiceBroker\\RegAsm.exe",
                            "?:\\Witron\\wms\\rt\\axl\\runtime\\bin\\system\\tools\\RegAsm.exe",
                            "?:\\SpearTrayApplication\\Tray\\regsvr32.exe",
                            "?:\\ProgramData\\Lenovo\\Vantage\\Addins\\LenovoBatteryGaugeAddin\\*\\RegAsm.exe",
                            "*\\Visual Studio\\*\\Bin\\MSBuild.exe",
                            "C:\\Sage\\Sage300\\Online\\Worker\\InstallUtil.exe",
                            "C:\\AssessPro\\Programs\\RegAsm.exe",
                            "C:\\ProgramData\\Lenovo\\Vantage\\Addins\\LenovoBatteryGaugeAddin\\*\\RegAsm.exe") and
  not (process.name : "regsvr32.exe" and process.parent.name : "rundll32.exe" and
       process.parent.command_line : "*zzzzInvokeManagedCustomActionOutOfProc*") and
  not (process.executable : "C:\\ProgramData\\baramundi\\bma\\Downloads\\Temp\\netsh.exe" and
       process.args : "exec" and process.args : "\\\\*.txt") and
  not (process.name : "bcdedit.exe" and process.args : "/enum") and
  not (process.executable : "?:\\Windows\\LFSAgent\\services.exe" and
       process.code_signature.trusted == true and
       process.code_signature.subject_name : "LEPIDE SOFTWARE PRIVATE LIMITED") and
  not (process.name : "ping.exe" and process.executable : "?:\\Windows\\Temp\\pdk-SYSTEM-*\\ping.exe") and
  not (process.code_signature.subject_name : ("JetBrains s.r.o.", "LG Electronics Inc.", "Timothy Hugh Perry", "Code Systems Corporation", "Douyin Vision Co., Ltd.", "Hangzhou Hikvision Digital Tech.Co.,Ltd") and process.code_signature.trusted == true) and
  not process.hash.sha256 :
                  ("7c621ec91b71d14494beddaae8edb67ed26baa257d750546772aa90653ad6016",
                   "195bebdefeb704158633b7f3d943e1d792fcb9b81f36530fad5b04a1622a0c58",
                   "dc84f15625f115faa757dee79b285a5af65298074827c917f0dfcacc5b308855",
                   "3f73452d3a5c39c8abc9e2b37c5e5f6ef210a4edb17ac180f425b05f320e5720",
                   "10fe2a16356afcb0f0d3ae77dc1320acdc7244a4115e3eabff6220fdd8d1347f",
                   "77e67a63a69c545a193998e3c17f6e4b15538f40aaaec3a1d4713b05ab3a4ede",
                   "87a4a3a8fb5df2e79e512f8a5043725dde70811afb39110cd8b4904dd15046f2",
                   "637c3c0e4441998130d0166e95d0449e22d82107be8daeb234126ca6392b25b7",
                   "2425e9a2b5f19483e234eb220bd4db97cecc5dbef5fd1a19940f823c7997fc26",
                   "facb69c35c1d63aeca9d9e55525660b728445acd0df1b6a23e52acf329baf94c",
                   "879f58323b0ee3313a0e43d507373a6ac9bc5b3cfbd6eac6411c252af261b60e",
                   "c7b895a4a21b597a5a7dc3c1a2d4c5e9823649688da9b57dd0c1bcea28c739ba",
                   "186546f3a23be3069550c185363034e686e87a3eccc9f5c7f3a5a92f15a0b1cb") and
  not (process.parent.code_signature.subject_name == "Data Spotlite Inc." and process.parent.code_signature.trusted == true and
       process.executable : "C:\\CYRISMA_Agent\\App\\powershell.exe")

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.argseq/enumexcludes:process.args field:"process.args" value:"/enum"
process.nameeqbcdedit.exeexcludes:process.name field:"process.name" value:"bcdedit.exe"
process.argseqexecexcludes:process.args field:"process.args" value:"exec"
process.argswildcard\\*.txtexcludes:process.args field:"process.args" value:"\\*.txt"
process.executableeqC:\ProgramData\baramundi\bma\Downloads\Temp\netsh.exeexcludes:process.executable field:"process.executable" value:"C:\ProgramData\baramundi\bma\Downloads\Temp\netsh.exe"
process.argsstarts_with-iexcludes:process.args field:"process.args" value:"-i"
process.nameeqservices.exeexcludes:process.name field:"process.name" value:"services.exe"
process.parent.nameeqmonitor.exeexcludes:process.parent.name field:"process.parent.name" value:"monitor.exe"
process.argswildcard?:\Sage\Sage300 Programs\GL69A\FRCOM690.DLL, ?:\Program Files (x86)\*.dll, ?:\Program Files\*.dll, ?:\WINDOWS\system32\*.dllexcludes:process.args
process.nameeqregsvr32.exeexcludes:process.name field:"process.name" value:"regsvr32.exe"
process.argswildcarddirectdeposit.vb.tlb, ?:\Program Files (x86)\*.dll, ?:\Program Files\*.dllexcludes:process.args field:"process.args" value:"directdeposit.vb.tlb" field:"process.args" value:"?:\Program Files (x86)\*.dll" field:"process.args" value:"?:\Program Files\*.dll"
process.nameeqRegAsm.exeexcludes:process.name field:"process.name" value:"RegAsm.exe"
process.code_signature.subject_nameeqJetBrains s.r.o., LG Electronics Inc., Timothy Hugh Perry, Code Systems Corporation, Douyin Vision Co., Ltd., Hangzhou Hikvision Digital Tech.Co.,Ltdexcludes:process.code_signature.subject_name
process.code_signature.trustedeqtrueexcludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true"
process.code_signature.subject_nameeqLEPIDE SOFTWARE PRIVATE LIMITEDexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"LEPIDE SOFTWARE PRIVATE LIMITED"
process.executableeq?:\Windows\LFSAgent\services.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\LFSAgent\services.exe"
process.code_signature.subject_nameeqLenovoexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Lenovo"
process.executablewildcard?:\ProgramData\Lenovo\ImController\Plugins\*.exeexcludes:process.executable field:"process.executable" value:"?:\ProgramData\Lenovo\ImController\Plugins\*.exe"
process.code_signature.subject_nameeqTarma Software Research Ltdexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Tarma Software Research Ltd"
process.code_signature.subject_nameeqTeramind Inc., STAKHANOVETS LIMITED LIABILITY COMPANYexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Teramind Inc." field:"process.code_signature.subject_name" value:"STAKHANOVETS LIMITED LIABILITY COMPANY"
process.nameeqrundll32.exeexcludes:process.name field:"process.name" value:"rundll32.exe"
process.executableeq?:\Campus\System\DLL\CADability\RegAsm.exeexcludes:process.executable field:"process.executable" value:"?:\Campus\System\DLL\CADability\RegAsm.exe"
process.parent.executableeq?:\Campus\System\DLL\CADability\RegCADability.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Campus\System\DLL\CADability\RegCADability.exe"
process.executableeq?:\Engeman\RegAsm.exeexcludes:process.executable field:"process.executable" value:"?:\Engeman\RegAsm.exe"
process.parent.executableeq?:\Engeman\Engeman.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Engeman\Engeman.exe"
process.executableeq?:\Gb\Lib\regsvr32.exe, ?:\E20-II\ENVIRO\regasm.exeexcludes:process.executable field:"process.executable" value:"?:\Gb\Lib\regsvr32.exe" field:"process.executable" value:"?:\E20-II\ENVIRO\regasm.exe"
process.parent.executableeq?:\Gb\GBsoftware.exe, ?:\E20-II\PCN33\CODE\SilentPCBEngTools128.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Gb\GBsoftware.exe" field:"process.parent.executable" value:"?:\E20-II\PCN33\CODE\SilentPCBEngTools128.exe"
process.executableeq?:\Gb\Lib\regsvr32.exeexcludes:process.executable field:"process.executable" value:"?:\Gb\Lib\regsvr32.exe"
process.parent.executableeq?:\Gb\GBsoftware.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Gb\GBsoftware.exe"
process.executableeq?:\OfficeMate\REGSVR32.EXEexcludes:process.executable field:"process.executable" value:"?:\OfficeMate\REGSVR32.EXE"
process.parent.argswildcard?:\OfficeMate\~Reg*DLLs.batexcludes:process.parent.args field:"process.parent.args" value:"?:\OfficeMate\~Reg*DLLs.bat"
process.parent.nameeqcmd.exeexcludes:process.parent.name field:"process.parent.name" value:"cmd.exe"
process.executableeqC:\CYRISMA_Agent\App\powershell.exeexcludes:process.executable field:"process.executable" value:"C:\CYRISMA_Agent\App\powershell.exe"
process.parent.code_signature.subject_nameeqData Spotlite Inc.excludes:process.parent.code_signature.subject_name field:"process.parent.code_signature.subject_name" value:"Data Spotlite Inc."
process.parent.code_signature.trustedeqtrueexcludes:process.parent.code_signature.trusted field:"process.parent.code_signature.trusted" value:"true"
process.executablewildcard?:\ProgramData\Lenovo\ImController\Plugins\LenovoBatteryGaugePackage\*\RegAsm.exeexcludes:process.executable field:"process.executable" value:"?:\ProgramData\Lenovo\ImController\Plugins\LenovoBatteryGaugePackage\*\RegAsm.exe"
process.pe.original_file_nameeqRegAsm.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"RegAsm.exe"
process.executablewildcard?:\Windows\Temp\pdk-SYSTEM-*\ping.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\Temp\pdk-SYSTEM-*\ping.exe"
process.nameeqping.exeexcludes:process.name field:"process.name" value:"ping.exe"
process.executablewildcard?:\Windows\WinSxS\amd64_microsoft-windows-powershell-exe_*\powershell.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\WinSxS\amd64_microsoft-windows-powershell-exe_*\powershell.exe"
process.nameeqpowershell.exeexcludes:process.name field:"process.name" value:"powershell.exe"
process.nameeqregasm.exeexcludes:process.name field:"process.name" value:"regasm.exe"
process.parent.executablewildcard?:\Program Files (x86)\Common Files\InstallShield\Driver\*\IDriver.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files (x86)\Common Files\InstallShield\Driver\*\IDriver.exe"
process.parent.command_linematchzzzzInvokeManagedCustomActionOutOfProcexcludes:process.parent.command_line field:"process.parent.command_line" value:"zzzzInvokeManagedCustomActionOutOfProc"
process.parent.nameeqrundll32.exeexcludes:process.parent.name field:"process.parent.name" value:"rundll32.exe"
process.parent.executableeq?:\ERPU\Browser\AutoUpgrade.exe, ?:\ERPU\Browser\NeoWeb.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\ERPU\Browser\AutoUpgrade.exe" field:"process.parent.executable" value:"?:\ERPU\Browser\NeoWeb.exe"
process.parent.executableeq?:\apps\sage300\Programs\runtime\a4wcontainerXP.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\apps\sage300\Programs\runtime\a4wcontainerXP.exe"
process.executableeq?:\ProgramData\Lenovo\ImController\Plugins\LenovoBatteryGaugePackage\x64\RegAsm.exeexcludes:process.executable field:"process.executable" value:"?:\ProgramData\Lenovo\ImController\Plugins\LenovoBatteryGaugePackage\x64\RegAsm.exe"
process.executablestarts_with\Device\Mup\excludes:process.executable field:"process.executable" value:"\Device\Mup\"
process.executablewildcard?:\*Visual*Studio\*\MSBuild.exe, ?:\CAMS\Enterprise\CAMSServices\ServiceBroker\RegAsm.exe, ?:\Witron\wms\rt\axl\runtime\bin\system\tools\RegAsm.exe, ?:\SpearTrayApplication\Tray\regsvr32.exe, ?:\ProgramData\Lenovo\Vantage\Addins\LenovoBatteryGaugeAddin\*\RegAsm.exe, *\Visual Studio\*\Bin\MSBuild.exe, C:\Sage\Sage300\Online\Worker\InstallUtil.exe, C:\AssessPro\Programs\RegAsm.exe, C:\ProgramData\Lenovo\Vantage\Addins\LenovoBatteryGaugeAddin\*\RegAsm.exeexcludes:process.executable
process.executablewildcard?:\Microsoft Visual Studio\*\Msbuild.exe, ?:\adv\app\RegAsm.exe, ?:\Windows\WinSxS\wow64_microsoft-windows*management-console_*\mmc.exeexcludes:process.executable field:"process.executable" value:"?:\Microsoft Visual Studio\*\Msbuild.exe" field:"process.executable" value:"?:\adv\app\RegAsm.exe" field:"process.executable" value:"?:\Windows\WinSxS\wow64_microsoft-windows*management-console_*\mmc.exe"
process.executablewildcard?:\Windows\System32\*.exe, ?:\Windows\SysWOW64\*.exe, ?:\Windows\Microsoft.NET\*.exe, ?:\Program Files (x86)\*.exe, ?:\Program Files\*.exe, ?:\Windows\WinSxS\*.exe, C:\$WINDOWS.~BT\NewOS\Windows\WinSxS\wow64_microsoft-windows-*\mmc.exe, C:\Windows\SoftwareDistribution\Download\*.exe, ?:\Users\*\AppData\Local\Programs\Git\usr\bin\hostname.exe, ?:\*\usr\bin\hostname.exe, ?:\ProgramData\West Wind Technologies\Uninstall\*\regsvr32.exe, ?:\ProgramData\chocolatey\*.exe, ?:\cygwin*\bin\*.exe, \Device\HarddiskVolume*\Windows\System32\*.exe, \Device\HarddiskVolume*\Windows\SysWOW64\*.exe, \Device\HarddiskVolume*\Windows\Microsoft.NET\*.exe, \Device\HarddiskVolume*\Program Files (x86)\*.exe, \Device\HarddiskVolume*\Program Files\*.exe, \Device\VhdHardDisk*\Windows\System32\*.exe, \Device\VhdHardDisk*\Windows\SysWOW64\*.exe, \Device\VhdHardDisk*\Windows\Microsoft.NET\*.exe, \Device\VhdHardDisk*\Program Files (x86)\*.exe, \Device\VhdHardDisk*\Program Files\*.exe, \\?\Volume{*}\Windows\System32\*.exe, \\?\Volume{*}\Windows\SysWOW64\*.exe, \\?\Volume{*}\Windows\Microsoft.NET\*.exe, \\?\Volume{*}\Program Files (x86)\*.exe, \\?\Volume{*}\Program Files\*.exe, \\?\Volume{*}\Windows\WinSxS\*.exeexcludes:process.executable
process.executablewildcardD:\Reform V*\Reform_PDC_Server_v*\Plugins\Monitoring\CScript.exeexcludes:process.executable field:"process.executable" value:"D:\Reform V*\Reform_PDC_Server_v*\Plugins\Monitoring\CScript.exe"
process.hash.sha256eq7c621ec91b71d14494beddaae8edb67ed26baa257d750546772aa90653ad6016, 195bebdefeb704158633b7f3d943e1d792fcb9b81f36530fad5b04a1622a0c58, dc84f15625f115faa757dee79b285a5af65298074827c917f0dfcacc5b308855, 3f73452d3a5c39c8abc9e2b37c5e5f6ef210a4edb17ac180f425b05f320e5720, 10fe2a16356afcb0f0d3ae77dc1320acdc7244a4115e3eabff6220fdd8d1347f, 77e67a63a69c545a193998e3c17f6e4b15538f40aaaec3a1d4713b05ab3a4ede, 87a4a3a8fb5df2e79e512f8a5043725dde70811afb39110cd8b4904dd15046f2, 637c3c0e4441998130d0166e95d0449e22d82107be8daeb234126ca6392b25b7, 2425e9a2b5f19483e234eb220bd4db97cecc5dbef5fd1a19940f823c7997fc26, facb69c35c1d63aeca9d9e55525660b728445acd0df1b6a23e52acf329baf94c, 879f58323b0ee3313a0e43d507373a6ac9bc5b3cfbd6eac6411c252af261b60e, c7b895a4a21b597a5a7dc3c1a2d4c5e9823649688da9b57dd0c1bcea28c739ba, 186546f3a23be3069550c185363034e686e87a3eccc9f5c7f3a5a92f15a0b1cbexcludes:process.hash.sha256

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
event.actioneq
  • start corpus 391 (elastic 391)
field:"EventType" kind:eq value:"start"
process.code_signature.subject_nameeq
  • Microsoft Windows corpus 3 (elastic 3)
field:"Signature" kind:eq value:"Microsoft Windows"
process.code_signature.subject_namewildcard
  • Microsoft * corpus 10 (elastic 10)
field:"Signature" kind:wildcard value:"Microsoft *"
process.executablewildcard
  • C:\Users\* corpus 2 (sigma 1, elastic 1)
field:"Image" kind:wildcard value:"C:\Users\*"
process.namewildcard
  • Microsoft.Workflow.Compiler.exe corpus 12 (elastic 11, splunk 1)
  • VsJITDebugger.exe
  • WerFault.exe corpus 7 (elastic 7)
  • WerFaultSecure.exe corpus 4 (elastic 4)
  • at.exe corpus 4 (elastic 3, splunk 1)
  • atbroker.exe corpus 6 (elastic 6)
  • bcdedit.exe corpus 9 (elastic 5, splunk 4)
  • cmstp.exe corpus 25 (elastic 25)
  • conhost.exe corpus 12 (elastic 11, splunk 1)
  • control.exe corpus 10 (elastic 8, splunk 2)
  • cscript.exe corpus 67 (elastic 65, splunk 2)
  • csrss.exe corpus 5 (elastic 5)
  • dfsvc.exe corpus 2 (elastic 2)
  • dllhost.exe corpus 19 (elastic 17, splunk 2)
  • dsget.exe corpus 8 (elastic 8)
  • eventvwr.exe corpus 2 (elastic 2)
  • extexport.exe
  • fltmc.exe corpus 4 (elastic 3, splunk 1)
  • gprslt.exe
  • ie4uinit.exe corpus 2 (elastic 2)
  • ieexec.exe corpus 10 (elastic 10)
  • ipconfig.exe corpus 10 (elastic 9, splunk 1)
  • lsass.exe corpus 9 (elastic 9)
  • manage-bde.exe corpus 3 (elastic 2, splunk 1)
  • mmc.exe corpus 12 (elastic 7, splunk 5)
  • msdt.exe corpus 9 (elastic 7, splunk 2)
  • mshta.exe corpus 84 (elastic 79, splunk 5)
  • msiexec.exe corpus 46 (elastic 41, splunk 5)
  • nbtstat.exe corpus 9 (elastic 9)
  • net1.exe corpus 39 (elastic 20, splunk 19)
  • netsh.exe corpus 21 (elastic 14, splunk 7)
  • netstat.exe corpus 9 (elastic 8, splunk 1)
  • odbcconf.exe corpus 14 (elastic 11, splunk 3)
  • ping.exe corpus 10 (elastic 8, splunk 2)
  • powershell.exe corpus 184 (elastic 140, splunk 44)
  • qprocess.exe corpus 8 (elastic 8)
  • quser.exe corpus 10 (elastic 9, splunk 1)
  • qwinsta.exe corpus 9 (elastic 8, splunk 1)
  • regsvcs.exe corpus 23 (elastic 21, splunk 2)
  • rundll32.exe corpus 126 (elastic 100, splunk 26)
  • schtasks.exe corpus 30 (elastic 19, splunk 11)
  • sdclt.exe corpus 2 (elastic 2)
  • services.exe corpus 7 (elastic 7)
  • spoolsv.exe corpus 7 (elastic 5, splunk 2)
  • stordiag.exe corpus 2 (elastic 2)
  • svchost.exe corpus 24 (elastic 22, splunk 2)
  • systeminfo.exe corpus 9 (elastic 9)
  • tar.exe corpus 6 (elastic 6)
  • taskhost.exe corpus 4 (elastic 3, splunk 1)
  • taskhostw.exe corpus 4 (elastic 4)
  • userinit.exe corpus 6 (elastic 6)
  • vaultcmd.exe corpus 3 (elastic 3)
  • vssadmin.exe corpus 9 (elastic 6, splunk 3)
  • wermgr.exe corpus 7 (elastic 5, splunk 2)
  • wevtutil.exe corpus 10 (elastic 6, splunk 4)
  • wininit.exe corpus 5 (elastic 5)
  • winlogon.exe corpus 6 (elastic 5, splunk 1)
  • wmic.exe corpus 66 (elastic 39, splunk 27)
  • wscript.exe corpus 83 (elastic 82, splunk 1)
field:"process_name" kind:wildcard
process.pe.original_file_nameeq
  • bsdtar corpus 4 (sigma 2, elastic 2)
  • curl.exe corpus 24 (sigma 13, elastic 8, splunk 3)
field:"OriginalFileName" kind:eq
process.pe.original_file_namewildcard
  • IE4UINIT.EXE corpus 3 (sigma 2, elastic 1)
  • WerFault.exe corpus 3 (sigma 2, elastic 1)
  • WerFaultSecure.exe corpus 2 (sigma 1, elastic 1)
  • wermgr.exe
field:"OriginalFileName" kind:wildcard