Detection rules › Elastic

Connection to WebService by a Signed Binary Proxy

Time window
5m
Sequence by
process.entity_id
Source
github.com/elastic/protections-artifacts

Identifies DNS queries to common web services by a signed Microsoft binary execution proxy. Adversaries may implement command and control communications that use common web services in order to hide their activity.

MITRE ATT&CK coverage

Rule body

[rule]
description = """
Identifies DNS queries to common web services by a signed Microsoft binary execution proxy. Adversaries may implement
command and control communications that use common web services in order to hide their activity.
"""
id = "c567240c-445b-4000-9612-b5531e21e050"
license = "Elastic License v2"
name = "Connection to WebService by a Signed Binary Proxy"
os_list = ["windows"]
reference = [
    "https://www.elastic.co/security-labs/doing-time-with-the-yipphb-dropper",
    "https://www.elastic.co/security-labs/globally-distributed-stealers",
]
version = "1.0.70"

query = '''
sequence by process.entity_id with maxspan=5m
  [process where event.action == "start" and user.id like ("S-1-5-21*", "S-1-12-*") and
    (
     process.name : ("wscript.exe", "cscript.exe", "regsvr32.exe", "mshta.exe", "rundll32.exe", "vbc.exe",
                     "msbuild.exe", "wmic.exe", "cmstp.exe", "RegAsm.exe", "installutil.exe","RegSvcs.exe",
                     "msxsl.exe", "xwizard.exe", "csc.exe", "net.exe", "certutil.exe", "ssh.exe",
                     "scp.exe", "msiexec.exe", "bitsadmin.exe") or
     process.pe.original_file_name : ("wscript.exe", "cscript.exe", "regsvr32.exe", "mshta.exe", "rundll32.exe", 
                                      "vbc.exe", "msbuild.exe", "wmic.exe", "cmstp.exe", "RegAsm.exe", "installutil.exe", 
                                      "RegSvcs.exe", "msxsl.exe", "xwizard.exe", "csc.exe", "net.exe",
                                      "certutil.exe", "ssh.exe", "scp.exe", "msiexec.exe", "bitsadmin.exe") or
     process.code_signature.subject_name == "OpenJS Foundation" or
     process.executable : ("?:\\Program Files\\Java\\jre*\\bin\\javaw.exe",
                           "?:\\Program Files (x86)\\Java\\jre*\\bin\\javaw.exe",
                           "?:\\Users\\*\\AppData\\*\\jre\\bin\\javaw.exe",
                           "?:\\ProgramData\\*\\javaw.exe",
                           "?:\\ProgramData\\javaw.exe",
                           "?:\\Users\\Public\\*\\javaw.exe",
                           "?:\\Windows\\Microsoft.NET\\*.exe") or
     ((process.name : "powershell.exe" or process.pe.original_file_name == "PowerShell.EXE") and process.args_count >= 2)
     ) and
     not (process.name : "rundll32.exe" and process.command_line : "*davclnt.dll,DavSetCookie*") and
     not (process.parent.executable : ("?:\\Program Files\\Microsoft SQL Server\\MSSQL*.EXE", "?:\\Program Files\\WindowsApps\\Microsoft.*.exe") and
          process.name : ("powershell.exe", "pwsh.exe")) and
     not (process.name : "java.exe" and process.parent.executable : "?:\\Program Files\\OWASP\\Zed Attack Proxy\\ZAP.exe") and
     not (process.name : "java.exe" and process.args_count >= 5) and
     not process.executable : ("?:\\Program Files\\Microsoft Visual Studio\\*\\MSBuild.exe", "?:\\Program Files (x86)\\Microsoft Visual Studio\\*\\MSBuild.exe") and
     not (process.name : "javaw.exe" and
          process.parent.executable : ("?:\\Program Files\\QZ Tray\\qz-tray.exe", "?:\\Program Files (x86)\\PGP Tool\\pgptool.exe", "?:\\Program Files\\OWASP\\Zed Attack Proxy\\ZAP.exe")) and
     not (process.name : "rundll32.exe" and process.args : "?:\\WINDOWS\\Installer\\MSI*.tmp,zzzzInvokeManagedCustomActionOutOfProc") and
     /* BlueIris - Camera IOT monitoring sw using telegram to upload pictures */
     not (process.name : "curl.exe" and process.parent.name : "cmd.exe" and process.parent.args : "C:\\BlueIris\\Telegram-Upload\\upload.cmd ") and
     not (process.name : "curl.exe" and process.parent.executable : "?:\\Program Files\\Neovim\\bin\\nvim.exe") and
     not (process.code_signature.subject_name in ("EFI Software (Electronics for Imaging, Inc.)", "Fiery, LLC", "EFI Software (Electronics for Imaging Inc.)") and
          process.code_signature.trusted == true) and
     not process.hash.sha256 in ("4337adaa6b26ea9ad6d7bd0871d49531442ba3d8a24aecc1a5a0f26378de4f78", "56b1c3941b781a00e3cd0df0c523242a4521930964f889c4b8baecd282c419b3") and
     not process.executable :
                       ("?:\\Program Files\\Git\\mingw64\\bin\\curl.exe",
                        "?:\\Program Files\\Fiery\\Components\\Common files\\curl.exe",
                        "?:\\Program Files\\Fiery\\Fiery Command WorkStation\\curl.exe",
                        "?:\\Program Files\\Microsoft Visual Studio\\*\\node.exe") and
     not (process.name : "rundll32.exe" and
          process.args : ("?:\\Program Files\\Microsoft Office\\root\\*",
                          "?:\\PROGRA~2\\MICROS~1\\Office*.CPL*",
                          "?:\\Program Files (x86)\\F5 VPN\\*",
                          "?:\\Program Files\\F5 VPN\\*",
                          "?:\\Program Files (x86)\\Microsoft Office\\root\\*",
                          "?:\\Windows\\system32\\shell32.dll,Control_RunDLL",
                          "?:\\WINDOWS\\SYSTEM32\\EDGEHTML.dll,#141",
                          "?:\\WINDOWS\\System32\\shell32.dll,SHCreateLocalServerRunDll",
                          "C:\\Program Files\\Windows Photo Viewer\\PhotoViewer.dll,",
                          "?:\\PROGRA~2\\MICROS~2\\Office*\\*.CPL*",
                          "?:\\Windows\\System32\\mshtml.dll,PrintHTML", 
                          "?:\\PROGRA~?\\MICROS~?\\Office??\\MLCFG32.CPL,@0", 
                          "AppXDeploymentExtensions.OneCore.dll,ShellRefresh",
                          "C:\\Windows\\System32\\LogiLDA.dll,LogiFetch",
                          "C:\\Windows\\System32\\mshtml.dll,PrintHTML*")) and
      not process.parent.executable : "C:\\Program Files\\Microsoft SQL Server\\150\\DTS\\Binn\\ISServerExec.exe" and
      not process.parent.executable : ("C:\\Program Files\\Logi\\LogiBolt\\LogiBolt.exe",
                                       "C:\\Program Files (x86)\\Avaya\\Avaya one-X Agent\\OneXAgentUI.exe",
                                       "C:\\Program Files (x86)\\HP\\StatusAlerts\\bin\\HPStatusAlerts.exe",
                                       "C:\\Program Files\\AutoHotkey\\AutoHotkeyU64.exe",
                                       "C:\\Program Files\\Microsoft VS Code\\Code.exe") and
      not (process.name : "powershell.exe" and process.parent.name : "wsmprovhost.exe" and
           process.command_line : "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Version 5.1 -s -NoLogo -NoProfile") and
      not (process.name : "curl.exe" and process.parent.name : "powershell.exe" and
           process.command_line : "\"C:\\Windows\\System32\\curl.exe\" -L -s -H \"User-Agent: PowerShell\" -H \"Accept: application/vnd.github+json\" https://api.github.com/repos/PowerShell/PowerShell/releases") and
      not (process.name : "curl.exe" and process.args :  ("DNS: %{time_namelookup}s\\nConnect: %{time_connect}s\\nStartTransfer: %{time_starttransfer}s\\nTotal: %{time_total}s\\n", "https://login.microsoftonline.com/*"))
  ]
  [dns where
    dns.question.name :
    (
        "raw.githubusercontent.*",
        "pastebin.*",
        "paste.ee",
        "ghostbin.com",
        "drive.google.com",
        "?.docs.live.net",
        "api.dropboxapi.*",
        "content.dropboxapi.*",
        "*dl.dropboxusercontent.*",
        "api.onedrive.com",
        "*.onedrive.org",
        "onedrive.live.com",
        "storage.googleapis.com",
        "www.googleapis.com",
        "filebin.net",
        "*.ngrok.io",
        "ngrok.com",
        "*.portmap.*",
        "*serveo.net",
        "*localtunnel.me",
        "*pagekite.me",
        "*localxpose.io",
        "*notabug.org",
        "rawcdn.githack.*",
        "paste.nrecom.net",
        "zerobin.net",
        "controlc.com",
        "requestbin.net",
        "slack.com",
        "api.slack.com",
        "slack-redir.net",
        "slack-files.com",
        "cdn.discordapp.com",
        "discordapp.com",
        "discord.com",
        "apis.azureedge.net",
        "cdn.sql.gg",
        "?.top4top.io",
        "top4top.io",
        "www.uplooder.net",
        "*.cdnmegafiles.com",
        "transfer.sh",
        "updates.peer2profit.com",
        "api.telegram.org",
        "t.me",
        "meacz.gq",
        "rwrd.org",
        "*.publicvm.com",
        "*.blogspot.com",
        "api.mylnikov.org",
        "script.google.com",
        "script.googleusercontent.com",
        "paste4btc.com",
        "workupload.com",
        "temp.sh",
        "filetransfer.io",
        "gofile.io",
        "store?.gofile.io",
        "tiny.one",
        "api.notion.com",
        "graph.microsoft.com",
        "*.sharepoint.com",
        "*upload.ee",
        "bit.ly",
        "t.ly",
        "cutt.ly",
        "mbasic.facebook.com",
        "login.live.com",
        "login.microsoftonline.com",
        "api.gofile.io",
        "file.io",
        "api.anonfiles.com",
        "api.trello.com",
        "api.notion.com",
        "gist.githubusercontent.com",
        "dpaste.com",
        "*azurewebsites.net",
        "*.zulipchat.com",
        "*.4shared.com",
        "filecloud.me",
        "i.ibb.co",
        "files.catbox.moe",
        "*.getmyip.com",
        "files.pythonhosted.org",
        "mockbin.org",
        "webhook.site",
        "run.mocky.io",
        "*infinityfreeapp.com",
        "free.keep.sh",
        "tinyurl.com",
        "ftpupload.net",
        "lobfile.com",
        "*.ngrok-free.app",
        "www.myexternalip.com",
        "*.aternos.me",
        "cdn??.space",
        "*.pcloud.com",
        "mediafire.zip",
        "urlz.fr",
        "api.github.com",
        "rentry.co",
        "*.b-cdn.net", 
        "pastecode.dev",
        "the.earth.li",
        "*.trycloudflare.com",
        "shorturl.at",
        "bitly.cx",
        "*.netlify.app", 
        "*.supabase.co",
        "envs.sh"
    ) and
    /* common to use powershell script by Microsoft Cloud sysadmins */
    not (process.name : ("powershell.exe", "pwsh.exe", "javaw.exe", "node.exe", "dfsvc.exe", "rundll32.exe") and
         dns.question.name : ("graph.microsoft.com", "*.sharepoint.com", "login.microsoftonline.com", "login.live.com",
                              "raw.githubusercontent.com", "api.github.com", "storage.googleapis.com")) and
    not (dns.question.name : "rev-resolve.azurewebsites.net" and process.name : "wscript.exe") and
    not (process.name : "powershell.exe" and dns.question.name like "*.azurewebsites.net") and
    not (process.name == "dfsvc.exe" and dns.question.name in ("innateclient.azurewebsites.net", "hybridconfigwizard.azurewebsites.net", "tmtdist.azurewebsites.net")) and
    not (process.executable : ("?:\\Program Files\\Git\\mingw64\\bin\\curl.exe", "C:\\Users\\*\\.babun\\cygwin\\bin\\curl.exe", "C:\\Users\\*\\Git\\mingw64\\bin\\curl.exe", "C:\\curl\\bin\\curl.exe") and
         dns.question.name in ("api.github.com", "raw.githubusercontent.com", "graph.microsoft.com"))
  ]
'''

min_endpoint_version = "7.15.0"
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 1

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

[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1218"
name = "System Binary Proxy Execution"
reference = "https://attack.mitre.org/techniques/T1218/"


[threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1071"
name = "Application Layer Protocol"
reference = "https://attack.mitre.org/techniques/T1071/"
[[threat.technique.subtechnique]]
id = "T1071.004"
name = "DNS"
reference = "https://attack.mitre.org/techniques/T1071/004/"


[[threat.technique]]
id = "T1102"
name = "Web Service"
reference = "https://attack.mitre.org/techniques/T1102/"


[threat.tactic]
id = "TA0011"
name = "Command and Control"
reference = "https://attack.mitre.org/tactics/TA0011/"

[internal]
min_endpoint_version = "7.15.0"

Stages and Predicates

Ordered sequence: each step below must occur in order within 5m, correlated by process.entity_id.

Stage 1: process

[process where event.action == "start" and user.id like ("S-1-5-21*", "S-1-12-*") and
    (
     process.name : ("wscript.exe", "cscript.exe", "regsvr32.exe", "mshta.exe", "rundll32.exe", "vbc.exe",
                     "msbuild.exe", "wmic.exe", "cmstp.exe", "RegAsm.exe", "installutil.exe","RegSvcs.exe",
                     "msxsl.exe", "xwizard.exe", "csc.exe", "net.exe", "certutil.exe", "ssh.exe",
                     "scp.exe", "msiexec.exe", "bitsadmin.exe") or
     process.pe.original_file_name : ("wscript.exe", "cscript.exe", "regsvr32.exe", "mshta.exe", "rundll32.exe",
                                      "vbc.exe", "msbuild.exe", "wmic.exe", "cmstp.exe", "RegAsm.exe", "installutil.exe",
                                      "RegSvcs.exe", "msxsl.exe", "xwizard.exe", "csc.exe", "net.exe",
                                      "certutil.exe", "ssh.exe", "scp.exe", "msiexec.exe", "bitsadmin.exe") or
     process.code_signature.subject_name == "OpenJS Foundation" or
     process.executable : ("?:\\Program Files\\Java\\jre*\\bin\\javaw.exe",
                           "?:\\Program Files (x86)\\Java\\jre*\\bin\\javaw.exe",
                           "?:\\Users\\*\\AppData\\*\\jre\\bin\\javaw.exe",
                           "?:\\ProgramData\\*\\javaw.exe",
                           "?:\\ProgramData\\javaw.exe",
                           "?:\\Users\\Public\\*\\javaw.exe",
                           "?:\\Windows\\Microsoft.NET\\*.exe") or
     ((process.name : "powershell.exe" or process.pe.original_file_name == "PowerShell.EXE") and process.args_count >= 2)
     ) and
     not (process.name : "rundll32.exe" and process.command_line : "*davclnt.dll,DavSetCookie*") and
     not (process.parent.executable : ("?:\\Program Files\\Microsoft SQL Server\\MSSQL*.EXE", "?:\\Program Files\\WindowsApps\\Microsoft.*.exe") and
          process.name : ("powershell.exe", "pwsh.exe")) and
     not (process.name : "java.exe" and process.parent.executable : "?:\\Program Files\\OWASP\\Zed Attack Proxy\\ZAP.exe") and
     not (process.name : "java.exe" and process.args_count >= 5) and
     not process.executable : ("?:\\Program Files\\Microsoft Visual Studio\\*\\MSBuild.exe", "?:\\Program Files (x86)\\Microsoft Visual Studio\\*\\MSBuild.exe") and
     not (process.name : "javaw.exe" and
          process.parent.executable : ("?:\\Program Files\\QZ Tray\\qz-tray.exe", "?:\\Program Files (x86)\\PGP Tool\\pgptool.exe", "?:\\Program Files\\OWASP\\Zed Attack Proxy\\ZAP.exe")) and
     not (process.name : "rundll32.exe" and process.args : "?:\\WINDOWS\\Installer\\MSI*.tmp,zzzzInvokeManagedCustomActionOutOfProc") and
     not (process.name : "curl.exe" and process.parent.name : "cmd.exe" and process.parent.args : "C:\\BlueIris\\Telegram-Upload\\upload.cmd ") and
     not (process.name : "curl.exe" and process.parent.executable : "?:\\Program Files\\Neovim\\bin\\nvim.exe") and
     not (process.code_signature.subject_name in ("EFI Software (Electronics for Imaging, Inc.)", "Fiery, LLC", "EFI Software (Electronics for Imaging Inc.)") and
          process.code_signature.trusted == true) and
     not process.hash.sha256 in ("4337adaa6b26ea9ad6d7bd0871d49531442ba3d8a24aecc1a5a0f26378de4f78", "56b1c3941b781a00e3cd0df0c523242a4521930964f889c4b8baecd282c419b3") and
     not process.executable :
                       ("?:\\Program Files\\Git\\mingw64\\bin\\curl.exe",
                        "?:\\Program Files\\Fiery\\Components\\Common files\\curl.exe",
                        "?:\\Program Files\\Fiery\\Fiery Command WorkStation\\curl.exe",
                        "?:\\Program Files\\Microsoft Visual Studio\\*\\node.exe") and
     not (process.name : "rundll32.exe" and
          process.args : ("?:\\Program Files\\Microsoft Office\\root\\*",
                          "?:\\PROGRA~2\\MICROS~1\\Office*.CPL*",
                          "?:\\Program Files (x86)\\F5 VPN\\*",
                          "?:\\Program Files\\F5 VPN\\*",
                          "?:\\Program Files (x86)\\Microsoft Office\\root\\*",
                          "?:\\Windows\\system32\\shell32.dll,Control_RunDLL",
                          "?:\\WINDOWS\\SYSTEM32\\EDGEHTML.dll,#141",
                          "?:\\WINDOWS\\System32\\shell32.dll,SHCreateLocalServerRunDll",
                          "C:\\Program Files\\Windows Photo Viewer\\PhotoViewer.dll,",
                          "?:\\PROGRA~2\\MICROS~2\\Office*\\*.CPL*",
                          "?:\\Windows\\System32\\mshtml.dll,PrintHTML",
                          "?:\\PROGRA~?\\MICROS~?\\Office??\\MLCFG32.CPL,@0",
                          "AppXDeploymentExtensions.OneCore.dll,ShellRefresh",
                          "C:\\Windows\\System32\\LogiLDA.dll,LogiFetch",
                          "C:\\Windows\\System32\\mshtml.dll,PrintHTML*")) and
      not process.parent.executable : "C:\\Program Files\\Microsoft SQL Server\\150\\DTS\\Binn\\ISServerExec.exe" and
      not process.parent.executable : ("C:\\Program Files\\Logi\\LogiBolt\\LogiBolt.exe",
                                       "C:\\Program Files (x86)\\Avaya\\Avaya one-X Agent\\OneXAgentUI.exe",
                                       "C:\\Program Files (x86)\\HP\\StatusAlerts\\bin\\HPStatusAlerts.exe",
                                       "C:\\Program Files\\AutoHotkey\\AutoHotkeyU64.exe",
                                       "C:\\Program Files\\Microsoft VS Code\\Code.exe") and
      not (process.name : "powershell.exe" and process.parent.name : "wsmprovhost.exe" and
           process.command_line : "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Version 5.1 -s -NoLogo -NoProfile") and
      not (process.name : "curl.exe" and process.parent.name : "powershell.exe" and
           process.command_line : "\"C:\\Windows\\System32\\curl.exe\" -L -s -H \"User-Agent: PowerShell\" -H \"Accept: application/vnd.github+json\" https://api.github.com/repos/PowerShell/PowerShell/releases") and
      not (process.name : "curl.exe" and process.args :  ("DNS: %{time_namelookup}s\\nConnect: %{time_connect}s\\nStartTransfer: %{time_starttransfer}s\\nTotal: %{time_total}s\\n", "https://login.microsoftonline.com/*"))
  ]

Stage 2: dns

[dns where
    dns.question.name :
    (
        "raw.githubusercontent.*",
        "pastebin.*",
        "paste.ee",
        "ghostbin.com",
        "drive.google.com",
        "?.docs.live.net",
        "api.dropboxapi.*",
        "content.dropboxapi.*",
        "*dl.dropboxusercontent.*",
        "api.onedrive.com",
        "*.onedrive.org",
        "onedrive.live.com",
        "storage.googleapis.com",
        "www.googleapis.com",
        "filebin.net",
        "*.ngrok.io",
        "ngrok.com",
        "*.portmap.*",
        "*serveo.net",
        "*localtunnel.me",
        "*pagekite.me",
        "*localxpose.io",
        "*notabug.org",
        "rawcdn.githack.*",
        "paste.nrecom.net",
        "zerobin.net",
        "controlc.com",
        "requestbin.net",
        "slack.com",
        "api.slack.com",
        "slack-redir.net",
        "slack-files.com",
        "cdn.discordapp.com",
        "discordapp.com",
        "discord.com",
        "apis.azureedge.net",
        "cdn.sql.gg",
        "?.top4top.io",
        "top4top.io",
        "www.uplooder.net",
        "*.cdnmegafiles.com",
        "transfer.sh",
        "updates.peer2profit.com",
        "api.telegram.org",
        "t.me",
        "meacz.gq",
        "rwrd.org",
        "*.publicvm.com",
        "*.blogspot.com",
        "api.mylnikov.org",
        "script.google.com",
        "script.googleusercontent.com",
        "paste4btc.com",
        "workupload.com",
        "temp.sh",
        "filetransfer.io",
        "gofile.io",
        "store?.gofile.io",
        "tiny.one",
        "api.notion.com",
        "graph.microsoft.com",
        "*.sharepoint.com",
        "*upload.ee",
        "bit.ly",
        "t.ly",
        "cutt.ly",
        "mbasic.facebook.com",
        "login.live.com",
        "login.microsoftonline.com",
        "api.gofile.io",
        "file.io",
        "api.anonfiles.com",
        "api.trello.com",
        "api.notion.com",
        "gist.githubusercontent.com",
        "dpaste.com",
        "*azurewebsites.net",
        "*.zulipchat.com",
        "*.4shared.com",
        "filecloud.me",
        "i.ibb.co",
        "files.catbox.moe",
        "*.getmyip.com",
        "files.pythonhosted.org",
        "mockbin.org",
        "webhook.site",
        "run.mocky.io",
        "*infinityfreeapp.com",
        "free.keep.sh",
        "tinyurl.com",
        "ftpupload.net",
        "lobfile.com",
        "*.ngrok-free.app",
        "www.myexternalip.com",
        "*.aternos.me",
        "cdn??.space",
        "*.pcloud.com",
        "mediafire.zip",
        "urlz.fr",
        "api.github.com",
        "rentry.co",
        "*.b-cdn.net",
        "pastecode.dev",
        "the.earth.li",
        "*.trycloudflare.com",
        "shorturl.at",
        "bitly.cx",
        "*.netlify.app",
        "*.supabase.co",
        "envs.sh"
    ) and
    not (process.name : ("powershell.exe", "pwsh.exe", "javaw.exe", "node.exe", "dfsvc.exe", "rundll32.exe") and
         dns.question.name : ("graph.microsoft.com", "*.sharepoint.com", "login.microsoftonline.com", "login.live.com",
                              "raw.githubusercontent.com", "api.github.com", "storage.googleapis.com")) and
    not (dns.question.name : "rev-resolve.azurewebsites.net" and process.name : "wscript.exe") and
    not (process.name : "powershell.exe" and dns.question.name like "*.azurewebsites.net") and
    not (process.name == "dfsvc.exe" and dns.question.name in ("innateclient.azurewebsites.net", "hybridconfigwizard.azurewebsites.net", "tmtdist.azurewebsites.net")) and
    not (process.executable : ("?:\\Program Files\\Git\\mingw64\\bin\\curl.exe", "C:\\Users\\*\\.babun\\cygwin\\bin\\curl.exe", "C:\\Users\\*\\Git\\mingw64\\bin\\curl.exe", "C:\\curl\\bin\\curl.exe") and
         dns.question.name in ("api.github.com", "raw.githubusercontent.com", "graph.microsoft.com"))
  ]

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.argswildcard?:\Program Files\Microsoft Office\root\*, ?:\PROGRA~2\MICROS~1\Office*.CPL*, ?:\Program Files (x86)\F5 VPN\*, ?:\Program Files\F5 VPN\*, ?:\Program Files (x86)\Microsoft Office\root\*, ?:\Windows\system32\shell32.dll,Control_RunDLL, ?:\WINDOWS\SYSTEM32\EDGEHTML.dll,#141, ?:\WINDOWS\System32\shell32.dll,SHCreateLocalServerRunDll, C:\Program Files\Windows Photo Viewer\PhotoViewer.dll,, ?:\PROGRA~2\MICROS~2\Office*\*.CPL*, ?:\Windows\System32\mshtml.dll,PrintHTML, ?:\PROGRA~?\MICROS~?\Office??\MLCFG32.CPL,@0, AppXDeploymentExtensions.OneCore.dll,ShellRefresh, C:\Windows\System32\LogiLDA.dll,LogiFetch, C:\Windows\System32\mshtml.dll,PrintHTML*excludes:process.args
process.nameeqrundll32.exeexcludes:process.name field:"process.name" value:"rundll32.exe"
process.argswildcard?:\WINDOWS\Installer\MSI*.tmp,zzzzInvokeManagedCustomActionOutOfProcexcludes:process.args field:"process.args" value:"?:\WINDOWS\Installer\MSI*.tmp,zzzzInvokeManagedCustomActionOutOfProc"
process.argswildcardDNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStartTransfer: %{time_starttransfer}s\nTotal: %{time_total}s\n, https://login.microsoftonline.com/*excludes:process.args field:"process.args" value:"DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStartTransfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" field:"process.args" value:"https://login.microsoftonline.com/*"
process.nameeqcurl.exeexcludes:process.name field:"process.name" value:"curl.exe"
process.args_countge5excludes:process.args_count field:"process.args_count" value:"5"
process.nameeqjava.exeexcludes:process.name field:"process.name" value:"java.exe"
process.code_signature.subject_nameinEFI Software (Electronics for Imaging Inc.), EFI Software (Electronics for Imaging, Inc.), Fiery, LLCexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"EFI Software (Electronics for Imaging Inc.)" field:"process.code_signature.subject_name" value:"EFI Software (Electronics for Imaging, Inc.)" field:"process.code_signature.subject_name" value:"Fiery, LLC"
process.code_signature.trustedeqtrueexcludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true"
process.command_lineeq"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfileexcludes:process.command_line
process.nameeqpowershell.exeexcludes:process.name field:"process.name" value:"powershell.exe"
process.parent.nameeqwsmprovhost.exeexcludes:process.parent.name field:"process.parent.name" value:"wsmprovhost.exe"
process.command_lineeq"C:\Windows\System32\curl.exe" -L -s -H "User-Agent: PowerShell" -H "Accept: application/vnd.github+json" https://api.github.com/repos/PowerShell/PowerShell/releasesexcludes:process.command_line
process.parent.nameeqpowershell.exeexcludes:process.parent.name field:"process.parent.name" value:"powershell.exe"
process.command_linematchdavclnt.dll,DavSetCookieexcludes:process.command_line field:"process.command_line" value:"davclnt.dll,DavSetCookie"
process.parent.argseqC:\BlueIris\Telegram-Upload\upload.cmd excludes:process.parent.args field:"process.parent.args" value:"C:\BlueIris\Telegram-Upload\upload.cmd "
process.parent.nameeqcmd.exeexcludes:process.parent.name field:"process.parent.name" value:"cmd.exe"
process.parent.executableeq?:\Program Files\Neovim\bin\nvim.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\Neovim\bin\nvim.exe"
process.parent.executableeq?:\Program Files\OWASP\Zed Attack Proxy\ZAP.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\OWASP\Zed Attack Proxy\ZAP.exe"
process.nameeqjavaw.exeexcludes:process.name field:"process.name" value:"javaw.exe"
process.parent.executableeq?:\Program Files\QZ Tray\qz-tray.exe, ?:\Program Files (x86)\PGP Tool\pgptool.exe, ?:\Program Files\OWASP\Zed Attack Proxy\ZAP.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\QZ Tray\qz-tray.exe" field:"process.parent.executable" value:"?:\Program Files (x86)\PGP Tool\pgptool.exe" field:"process.parent.executable" value:"?:\Program Files\OWASP\Zed Attack Proxy\ZAP.exe"
process.nameeqpowershell.exe, pwsh.exeexcludes:process.name field:"process.name" value:"powershell.exe" field:"process.name" value:"pwsh.exe"
process.parent.executablewildcard?:\Program Files\Microsoft SQL Server\MSSQL*.EXE, ?:\Program Files\WindowsApps\Microsoft.*.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\Microsoft SQL Server\MSSQL*.EXE" field:"process.parent.executable" value:"?:\Program Files\WindowsApps\Microsoft.*.exe"
process.executablewildcard?:\Program Files\Git\mingw64\bin\curl.exe, ?:\Program Files\Fiery\Components\Common files\curl.exe, ?:\Program Files\Fiery\Fiery Command WorkStation\curl.exe, ?:\Program Files\Microsoft Visual Studio\*\node.exeexcludes:process.executable
process.executablewildcard?:\Program Files\Microsoft Visual Studio\*\MSBuild.exe, ?:\Program Files (x86)\Microsoft Visual Studio\*\MSBuild.exeexcludes:process.executable field:"process.executable" value:"?:\Program Files\Microsoft Visual Studio\*\MSBuild.exe" field:"process.executable" value:"?:\Program Files (x86)\Microsoft Visual Studio\*\MSBuild.exe"
process.hash.sha256in4337adaa6b26ea9ad6d7bd0871d49531442ba3d8a24aecc1a5a0f26378de4f78, 56b1c3941b781a00e3cd0df0c523242a4521930964f889c4b8baecd282c419b3excludes:process.hash.sha256 field:"process.hash.sha256" value:"4337adaa6b26ea9ad6d7bd0871d49531442ba3d8a24aecc1a5a0f26378de4f78" field:"process.hash.sha256" value:"56b1c3941b781a00e3cd0df0c523242a4521930964f889c4b8baecd282c419b3"
process.parent.executableeqC:\Program Files\Logi\LogiBolt\LogiBolt.exe, C:\Program Files (x86)\Avaya\Avaya one-X Agent\OneXAgentUI.exe, C:\Program Files (x86)\HP\StatusAlerts\bin\HPStatusAlerts.exe, C:\Program Files\AutoHotkey\AutoHotkeyU64.exe, C:\Program Files\Microsoft VS Code\Code.exeexcludes:process.parent.executable
process.parent.executableeqC:\Program Files\Microsoft SQL Server\150\DTS\Binn\ISServerExec.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Microsoft SQL Server\150\DTS\Binn\ISServerExec.exe"
dns.question.nameends_with.azurewebsites.netexcludes:dns.question.name field:"dns.question.name" value:".azurewebsites.net"
dns.question.nameeqrev-resolve.azurewebsites.netexcludes:dns.question.name field:"dns.question.name" value:"rev-resolve.azurewebsites.net"
process.nameeqwscript.exeexcludes:process.name field:"process.name" value:"wscript.exe"
dns.question.nameinapi.github.com, graph.microsoft.com, raw.githubusercontent.comexcludes:dns.question.name field:"dns.question.name" value:"api.github.com" field:"dns.question.name" value:"graph.microsoft.com" field:"dns.question.name" value:"raw.githubusercontent.com"
process.executablewildcard?:\Program Files\Git\mingw64\bin\curl.exe, C:\Users\*\.babun\cygwin\bin\curl.exe, C:\Users\*\Git\mingw64\bin\curl.exe, C:\curl\bin\curl.exeexcludes:process.executable
dns.question.nameinhybridconfigwizard.azurewebsites.net, innateclient.azurewebsites.net, tmtdist.azurewebsites.netexcludes:dns.question.name field:"dns.question.name" value:"hybridconfigwizard.azurewebsites.net" field:"dns.question.name" value:"innateclient.azurewebsites.net" field:"dns.question.name" value:"tmtdist.azurewebsites.net"
process.nameeqdfsvc.exeexcludes:process.name field:"process.name" value:"dfsvc.exe"
dns.question.namewildcardgraph.microsoft.com, *.sharepoint.com, login.microsoftonline.com, login.live.com, raw.githubusercontent.com, api.github.com, storage.googleapis.comexcludes:dns.question.name
process.nameeqpowershell.exe, pwsh.exe, javaw.exe, node.exe, dfsvc.exe, rundll32.exeexcludes:process.name

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
dns.question.namewildcard
  • *.4shared.com
  • *.aternos.me
  • *.b-cdn.net
  • *.blogspot.com
  • *.cdnmegafiles.com
  • *.getmyip.com
  • *.netlify.app
  • *.ngrok-free.app
  • *.ngrok.io
  • *.onedrive.org
  • *.pcloud.com
  • *.portmap.*
  • *.publicvm.com
  • *.sharepoint.com
  • *.supabase.co
  • *.trycloudflare.com
  • *.zulipchat.com
  • *azurewebsites.net
  • *dl.dropboxusercontent.*
  • *infinityfreeapp.com
  • *localtunnel.me
  • *localxpose.io
  • *notabug.org
  • *pagekite.me
  • *serveo.net
  • *upload.ee
  • ?.docs.live.net
  • ?.top4top.io
  • api.anonfiles.com
  • api.dropboxapi.*
  • api.github.com
  • api.gofile.io
  • api.mylnikov.org
  • api.notion.com
  • api.onedrive.com
  • api.slack.com
  • api.telegram.org
  • api.trello.com
  • apis.azureedge.net
  • bit.ly
  • +69 more values (see full rule source)
field:"QueryName" kind:wildcard
event.actioneq
  • start corpus 391 (elastic 391)
field:"EventType" kind:eq value:"start"
process.args_countge
  • 2 transforms: number corpus 18 (elastic 18)
field:"process.args_count" kind:ge value:"2"
process.code_signature.subject_nameeq
  • OpenJS Foundation corpus 3 (elastic 3)
field:"Signature" kind:eq value:"OpenJS Foundation"
process.executablewildcard
  • ?:\Program Files (x86)\Java\jre*\bin\javaw.exe corpus 3 (elastic 3)
  • ?:\Program Files\Java\jre*\bin\javaw.exe corpus 3 (elastic 3)
  • ?:\ProgramData\*\javaw.exe
  • ?:\ProgramData\javaw.exe
  • ?:\Users\*\AppData\*\jre\bin\javaw.exe
  • ?:\Users\Public\*\javaw.exe
  • ?:\Windows\Microsoft.NET\*.exe corpus 8 (elastic 8)
field:"Image" kind:wildcard
process.namewildcard
  • RegAsm.exe corpus 26 (elastic 24, splunk 2)
  • RegSvcs.exe corpus 23 (elastic 21, splunk 2)
  • bitsadmin.exe corpus 23 (elastic 21, splunk 2)
  • certutil.exe corpus 44 (elastic 38, splunk 6)
  • cmstp.exe corpus 25 (elastic 25)
  • csc.exe corpus 12 (elastic 11, splunk 1)
  • cscript.exe corpus 67 (elastic 65, splunk 2)
  • installutil.exe corpus 37 (elastic 32, splunk 5)
  • msbuild.exe corpus 39 (elastic 36, splunk 3)
  • mshta.exe corpus 84 (elastic 79, splunk 5)
  • msiexec.exe corpus 46 (elastic 41, splunk 5)
  • msxsl.exe corpus 23 (elastic 22, splunk 1)
  • net.exe corpus 28 (elastic 26, splunk 2)
  • powershell.exe corpus 184 (elastic 140, splunk 44)
  • regsvr32.exe corpus 73 (elastic 68, splunk 5)
  • rundll32.exe corpus 126 (elastic 100, splunk 26)
  • scp.exe corpus 5 (elastic 5)
  • ssh.exe corpus 8 (elastic 8)
  • vbc.exe corpus 9 (elastic 8, splunk 1)
  • wmic.exe corpus 66 (elastic 39, splunk 27)
  • wscript.exe corpus 83 (elastic 82, splunk 1)
  • xwizard.exe corpus 16 (elastic 16)
field:"process_name" kind:wildcard
process.pe.original_file_nameeq
  • PowerShell.EXE corpus 138 (sigma 84, splunk 30, elastic 24)
field:"OriginalFileName" kind:eq value:"PowerShell.EXE"
process.pe.original_file_namewildcard
  • RegAsm.exe corpus 14 (elastic 7, sigma 6, splunk 1)
  • RegSvcs.exe corpus 13 (elastic 7, sigma 5, splunk 1)
  • bitsadmin.exe corpus 20 (sigma 9, elastic 8, splunk 2, kusto 1)
  • certutil.exe corpus 30 (sigma 14, elastic 10, splunk 6)
  • cmstp.exe corpus 11 (elastic 6, sigma 5)
  • csc.exe corpus 4 (elastic 2, sigma 1, splunk 1)
  • cscript.exe corpus 32 (sigma 17, elastic 15)
  • installutil.exe corpus 21 (elastic 11, sigma 6, splunk 4)
  • msbuild.exe corpus 20 (elastic 15, splunk 4, sigma 1)
  • mshta.exe corpus 40 (elastic 21, sigma 13, splunk 6)
  • msiexec.exe corpus 20 (elastic 11, sigma 5, splunk 4)
  • msxsl.exe corpus 11 (elastic 8, sigma 3)
  • net.exe corpus 31 (sigma 19, elastic 10, splunk 2)
  • regsvr32.exe corpus 37 (sigma 17, elastic 15, splunk 5)
  • rundll32.exe corpus 78 (sigma 35, elastic 22, splunk 21)
  • scp.exe
  • ssh.exe
  • vbc.exe corpus 3 (elastic 2, sigma 1)
  • wmic.exe corpus 80 (sigma 38, elastic 24, splunk 18)
  • wscript.exe corpus 38 (elastic 21, sigma 17)
  • xwizard.exe corpus 4 (elastic 3, sigma 1)
field:"OriginalFileName" kind:wildcard
user.idwildcard
  • S-1-12-* corpus 46 (elastic 46)
  • S-1-5-21* corpus 47 (elastic 47)
field:"user.id" kind:wildcard