Detection rules › Elastic

Suspicious PowerShell Execution via Windows Scripts

Source
github.com/elastic/protections-artifacts

Identifies suspicious PowerShell execution spawning from Windows Script Host processes (cscript or wscript.exe).

MITRE ATT&CK coverage

Rule body

[rule]
description = "Identifies suspicious PowerShell execution spawning from Windows Script Host processes (cscript or wscript.exe)."
id = "3899dd3b-f31a-4634-8467-55326cd87597"
license = "Elastic License v2"
name = "Suspicious PowerShell Execution via Windows Scripts"
os_list = ["windows"]
reference = ["https://www.elastic.co/security-labs/doing-time-with-the-yipphb-dropper"]
version = "1.0.45"

query = '''
process where event.action == "start" and
  (process.name : ("powershell.exe", "pwsh.exe") or process.pe.original_file_name : ("powershell.exe", "pwsh.exe")) and
  (
   process.parent.name : ("wscript.exe", "mshta.exe") or
   (process.parent.name : "node.exe" and process.working_directory : ("?:\\Users\\*\\Downloads\\*", "?:\\Users\\*\\Desktop\\*", "?:\\Users\\*\\appdata\\*")) or
   (descendant of [process where event.action == "start" and process.name : ("wscript.exe", "mshta.exe")] and
    not process.parent.executable : ("?:\\Program Files\\*.exe", "?:\\Program Files (x86)\\*.exe"))
   ) and
   (
   process.args_count == 1 or
   process.command_line :
             ("*^*^*^*^*^*^*^*^*^*",
              "*''*''*''*",
              "*`*`*`*`*",
              "*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*",
              "*+*+*+*+*+*",
              "*$*$*$*$*",
              "*[char[]](*)*-join",
              "*Base64String*",
              "*[*Convert]*",
              "*.Text.Encoding*",
              "*.Compression.*",
              "*.replace(*",
              "*MemoryStream*",
              "*WriteAllBytes*",
              "* -en* *",
              "* -ec *",
              "* -e *",
              "* -ep *",
              "* /e *",
              "* /en* *",
              "* /ec *",
              "* /ep *",
              "*WebClient*",
              "*DownloadFile*",
              "*DownloadString*",
              "*BitsTransfer*",
              "*Invoke-Exp*",
              "*invoke-web*",
              "*Invoke-RestMethod*",
              "*iex*",
              "*iwr*",
              "*Reflection.Assembly*",
              "*Assembly.GetType*",
              "*.Sockets.*",
              "*Add-MpPreference*ExclusionPath*",
              "*raw.githubusercontent*")
   ) and
    /* false positives */
   not process.parent.name: ("gc_worker.exe", "gc_service.exe") and
   not process.parent.command_line : "*Windows\\TEMP\\nessus_*" and
   /* Issue #247 */
   not process.parent.executable :
                 ("?:\\Windows\\System32\\svchost.exe",
                  "?:\\Windows\\System32\\CompatTelRunner.exe",
                  "?:\\Windows\\System32\\taskeng.exe") and
   not process.parent.executable : "C:\\FVS\\FVSSoftware\\*\\bin\\x64\\Rscript.exe" and
   not process.Ext.token.integrity_level_name == "system" and

   /* many legit powershell commands uses those non shortened execution flags excluding Sync-AppvPublishingServer lolbas */
   not (process.args : ("-EncodedCommand", "Import-Module*", "-NonInteractive") and
        process.args : "-ExecutionPolicy" and not process.args : "Sync-AppvPublishingServer") and

   /* third party installation related FPs */
   not process.parent.args : "?:\\Windows\\system32\\gatherNetworkInfo.vbs" and
   not (process.parent.args : "Microsoft.SystemCenter.ICMPProbe.WithConsecutiveSamples.vbs" and process.args : "Get-SCOMAgent") and
   not (process.command_line : "*WEBLOGIC_ARGS_CURRENT_1.DATA*" and process.parent.command_line : "*Impact360*") and
   not process.args :  "$package = Get-AppxPackage Microsoft.Office.Desktop -allUsers;*" and
   not process.command_line : ("*.Access.IdentityReference*win32_SID.SID*", "*AGIAbQB4AC0AYQBwAC4AcwAzAC4AdQBzAC0AZQBhAHMAd*") and
   not (process.parent.args : "?:\\Users\\Prestige\\AppData\\Local\\Temp\\Rar$*\\KMS_VL_ALL_AIO.cmd  -elevated" and process.command_line : "*KMS_VL_ALL_AIO.cmd*") and
   not (process.parent.name : "cmd.exe" and
        process.parent.command_line : "*C:\\Program Files\\CheckPoint\\Harmony Connect\\resources\\build\\installation_scripts\\on_install\\on_install.bat*") and
   not process.args : "iwr https://*.s3.us-east-1.amazonaws.com/scripts/Start-SpeedTest.ps1 -UserAgent * -UseBasicParsing | invoke-expression" and
   not (process.parent.name : "wscript.exe" and
        process.parent.args : "C:\\Program Files (x86)\\Telivy\\Telivy Agent\\telivy.js") and
   not process.command_line : "c:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command \"powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command \\\"iwr bmx-panels-check.s3.us-east-1.amazonaws.com/scripts/Set-BMXFirewallPolicy.ps1 -UserAgent MzEyYTdjNzg1ZWI3 -UseBasicParsing | invoke-expression\\\"\"" and
   not (process.parent.name : "cmd.exe" and process.parent.args : "\\\\*\\netlogon\\*" and process.args : "\\\\*\\netlogon\\*.ps1") and
   not process.args : "C:\\Program Files\\Common Files\\EETI\\TouchModeXML\\RunRegisterAllUserTask.ps1" and
   not (process.parent.name: "cmd.exe" and process.args : ("C:\\PreVeil\\filesync\\PreVeil_Client", "C:\\ProgramData\\recycle\\ISO\\recycle.ps1")) and
   not (process.parent.command_line : "wscript //B checkschedule.wsf /baseUrl:https://utilities.pcpitstop.com") and
   not (process.parent.name : "cmd.exe" and
        process.parent.args : ("C:\\Users\\*\\AppData\\Local\\Temp\\DONDA-NetworkInfo-*.bat ",
                               "C:\\ProgramData\\Hays\\WallpaperRefresh\\SilentExecute.bat ",
                               "Files\\Tyco\\SiteServer\\TSP.ISS.WindowsServices.Host\\Command\\ComputerNameScripts\\toolbar.cmd ",
                               "Files\\Tyco\\SiteServer\\TSP.ISS.WindowsServices.Host\\Command\\ComputerNameScripts\\start.cmd ")) and

   /* developer and AI coding tools spawning PowerShell for system queries */
   not (
      (
        (process.parent.name : "node.exe" and
         process.parent.code_signature.subject_name : "OpenJS Foundation") or
         (process.parent.name : "claude.exe" and
          process.parent.code_signature.subject_name : "Anthropic, PBC") or
         (process.parent.name : "codex.exe" and
          process.parent.code_signature.subject_name : "OpenAI OpCo, LLC")
       ) and
        process.parent.code_signature.trusted == true)
'''

min_endpoint_version = "8.8.0"
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
tree = true

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

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

[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1059"
name = "Command and Scripting Interpreter"
reference = "https://attack.mitre.org/techniques/T1059/"
[[threat.technique.subtechnique]]
id = "T1059.001"
name = "PowerShell"
reference = "https://attack.mitre.org/techniques/T1059/001/"

[[threat.technique.subtechnique]]
id = "T1059.005"
name = "Visual Basic"
reference = "https://attack.mitre.org/techniques/T1059/005/"

[[threat.technique.subtechnique]]
id = "T1059.007"
name = "JavaScript"
reference = "https://attack.mitre.org/techniques/T1059/007/"



[threat.tactic]
id = "TA0002"
name = "Execution"
reference = "https://attack.mitre.org/tactics/TA0002/"

[internal]
min_endpoint_version = "8.8.0"

Stages and Predicates

Stage 1: process

process where event.action == "start" and
  (process.name : ("powershell.exe", "pwsh.exe") or process.pe.original_file_name : ("powershell.exe", "pwsh.exe")) and
  (
   process.parent.name : ("wscript.exe", "mshta.exe") or
   (process.parent.name : "node.exe" and process.working_directory : ("?:\\Users\\*\\Downloads\\*", "?:\\Users\\*\\Desktop\\*", "?:\\Users\\*\\appdata\\*")) or
   (descendant of [process where event.action == "start" and process.name : ("wscript.exe", "mshta.exe")] and
    not process.parent.executable : ("?:\\Program Files\\*.exe", "?:\\Program Files (x86)\\*.exe"))
   ) and
   (
   process.args_count == 1 or
   process.command_line :
             ("*^*^*^*^*^*^*^*^*^*",
              "*''*''*''*",
              "*`*`*`*`*",
              "*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*",
              "*+*+*+*+*+*",
              "*$*$*$*$*",
              "*[char[]](*)*-join",
              "*Base64String*",
              "*[*Convert]*",
              "*.Text.Encoding*",
              "*.Compression.*",
              "*.replace(*",
              "*MemoryStream*",
              "*WriteAllBytes*",
              "* -en* *",
              "* -ec *",
              "* -e *",
              "* -ep *",
              "* /e *",
              "* /en* *",
              "* /ec *",
              "* /ep *",
              "*WebClient*",
              "*DownloadFile*",
              "*DownloadString*",
              "*BitsTransfer*",
              "*Invoke-Exp*",
              "*invoke-web*",
              "*Invoke-RestMethod*",
              "*iex*",
              "*iwr*",
              "*Reflection.Assembly*",
              "*Assembly.GetType*",
              "*.Sockets.*",
              "*Add-MpPreference*ExclusionPath*",
              "*raw.githubusercontent*")
   ) and
   not process.parent.name: ("gc_worker.exe", "gc_service.exe") and
   not process.parent.command_line : "*Windows\\TEMP\\nessus_*" and
   not process.parent.executable :
                 ("?:\\Windows\\System32\\svchost.exe",
                  "?:\\Windows\\System32\\CompatTelRunner.exe",
                  "?:\\Windows\\System32\\taskeng.exe") and
   not process.parent.executable : "C:\\FVS\\FVSSoftware\\*\\bin\\x64\\Rscript.exe" and
   not process.Ext.token.integrity_level_name == "system" and
   not (process.args : ("-EncodedCommand", "Import-Module*", "-NonInteractive") and
        process.args : "-ExecutionPolicy" and not process.args : "Sync-AppvPublishingServer") and
   not process.parent.args : "?:\\Windows\\system32\\gatherNetworkInfo.vbs" and
   not (process.parent.args : "Microsoft.SystemCenter.ICMPProbe.WithConsecutiveSamples.vbs" and process.args : "Get-SCOMAgent") and
   not (process.command_line : "*WEBLOGIC_ARGS_CURRENT_1.DATA*" and process.parent.command_line : "*Impact360*") and
   not process.args :  "$package = Get-AppxPackage Microsoft.Office.Desktop -allUsers;*" and
   not process.command_line : ("*.Access.IdentityReference*win32_SID.SID*", "*AGIAbQB4AC0AYQBwAC4AcwAzAC4AdQBzAC0AZQBhAHMAd*") and
   not (process.parent.args : "?:\\Users\\Prestige\\AppData\\Local\\Temp\\Rar$*\\KMS_VL_ALL_AIO.cmd  -elevated" and process.command_line : "*KMS_VL_ALL_AIO.cmd*") and
   not (process.parent.name : "cmd.exe" and
        process.parent.command_line : "*C:\\Program Files\\CheckPoint\\Harmony Connect\\resources\\build\\installation_scripts\\on_install\\on_install.bat*") and
   not process.args : "iwr https://*.s3.us-east-1.amazonaws.com/scripts/Start-SpeedTest.ps1 -UserAgent * -UseBasicParsing | invoke-expression" and
   not (process.parent.name : "wscript.exe" and
        process.parent.args : "C:\\Program Files (x86)\\Telivy\\Telivy Agent\\telivy.js") and
   not process.command_line : "c:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command \"powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command \\\"iwr bmx-panels-check.s3.us-east-1.amazonaws.com/scripts/Set-BMXFirewallPolicy.ps1 -UserAgent MzEyYTdjNzg1ZWI3 -UseBasicParsing | invoke-expression\\\"\"" and
   not (process.parent.name : "cmd.exe" and process.parent.args : "\\\\*\\netlogon\\*" and process.args : "\\\\*\\netlogon\\*.ps1") and
   not process.args : "C:\\Program Files\\Common Files\\EETI\\TouchModeXML\\RunRegisterAllUserTask.ps1" and
   not (process.parent.name: "cmd.exe" and process.args : ("C:\\PreVeil\\filesync\\PreVeil_Client", "C:\\ProgramData\\recycle\\ISO\\recycle.ps1")) and
   not (process.parent.command_line : "wscript //B checkschedule.wsf /baseUrl:https://utilities.pcpitstop.com") and
   not (process.parent.name : "cmd.exe" and
        process.parent.args : ("C:\\Users\\*\\AppData\\Local\\Temp\\DONDA-NetworkInfo-*.bat ",
                               "C:\\ProgramData\\Hays\\WallpaperRefresh\\SilentExecute.bat ",
                               "Files\\Tyco\\SiteServer\\TSP.ISS.WindowsServices.Host\\Command\\ComputerNameScripts\\toolbar.cmd ",
                               "Files\\Tyco\\SiteServer\\TSP.ISS.WindowsServices.Host\\Command\\ComputerNameScripts\\start.cmd ")) and
   not (
      (
        (process.parent.name : "node.exe" and
         process.parent.code_signature.subject_name : "OpenJS Foundation") or
         (process.parent.name : "claude.exe" and
          process.parent.code_signature.subject_name : "Anthropic, PBC") or
         (process.parent.name : "codex.exe" and
          process.parent.code_signature.subject_name : "OpenAI OpCo, LLC")
       ) and
        process.parent.code_signature.trusted == true)

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.parent.code_signature.subject_nameeqAnthropic, PBCexcludes:process.parent.code_signature.subject_name field:"process.parent.code_signature.subject_name" value:"Anthropic, PBC"
process.parent.nameeqclaude.exeexcludes:process.parent.name field:"process.parent.name" value:"claude.exe"
process.parent.code_signature.subject_nameeqOpenAI OpCo, LLCexcludes:process.parent.code_signature.subject_name field:"process.parent.code_signature.subject_name" value:"OpenAI OpCo, LLC"
process.parent.nameeqcodex.exeexcludes:process.parent.name field:"process.parent.name" value:"codex.exe"
process.parent.code_signature.subject_nameeqOpenJS Foundationexcludes:process.parent.code_signature.subject_name field:"process.parent.code_signature.subject_name" value:"OpenJS Foundation"
process.parent.nameeqnode.exeexcludes:process.parent.name field:"process.parent.name" value:"node.exe"
process.parent.code_signature.trustedeqtrueexcludes:process.parent.code_signature.trusted field:"process.parent.code_signature.trusted" value:"true"
process.argseqSync-AppvPublishingServerexcludes:process.args field:"process.args" value:"Sync-AppvPublishingServer"
process.argseq-ExecutionPolicyexcludes:process.args field:"process.args" value:"-ExecutionPolicy"
process.argswildcard-EncodedCommand, Import-Module*, -NonInteractiveexcludes:process.args field:"process.args" value:"-EncodedCommand" field:"process.args" value:"Import-Module*" field:"process.args" value:"-NonInteractive"
process.argseqC:\PreVeil\filesync\PreVeil_Client, C:\ProgramData\recycle\ISO\recycle.ps1excludes:process.args field:"process.args" value:"C:\PreVeil\filesync\PreVeil_Client" field:"process.args" value:"C:\ProgramData\recycle\ISO\recycle.ps1"
process.parent.nameeqcmd.exeexcludes:process.parent.name field:"process.parent.name" value:"cmd.exe"
process.argseqGet-SCOMAgentexcludes:process.args field:"process.args" value:"Get-SCOMAgent"
process.parent.argseqMicrosoft.SystemCenter.ICMPProbe.WithConsecutiveSamples.vbsexcludes:process.parent.args field:"process.parent.args" value:"Microsoft.SystemCenter.ICMPProbe.WithConsecutiveSamples.vbs"
process.argswildcard\\*\netlogon\*.ps1excludes:process.args field:"process.args" value:"\\*\netlogon\*.ps1"
process.parent.argswildcard\\*\netlogon\*excludes:process.parent.args field:"process.parent.args" value:"\\*\netlogon\*"
process.command_linematchKMS_VL_ALL_AIO.cmdexcludes:process.command_line field:"process.command_line" value:"KMS_VL_ALL_AIO.cmd"
process.parent.argswildcard?:\Users\Prestige\AppData\Local\Temp\Rar$*\KMS_VL_ALL_AIO.cmd -elevatedexcludes:process.parent.args field:"process.parent.args" value:"?:\Users\Prestige\AppData\Local\Temp\Rar$*\KMS_VL_ALL_AIO.cmd -elevated"
process.command_linematchWEBLOGIC_ARGS_CURRENT_1.DATAexcludes:process.command_line field:"process.command_line" value:"WEBLOGIC_ARGS_CURRENT_1.DATA"
process.parent.command_linematchImpact360excludes:process.parent.command_line field:"process.parent.command_line" value:"Impact360"
process.parent.argseqC:\Program Files (x86)\Telivy\Telivy Agent\telivy.jsexcludes:process.parent.args field:"process.parent.args" value:"C:\Program Files (x86)\Telivy\Telivy Agent\telivy.js"
process.parent.nameeqwscript.exeexcludes:process.parent.name field:"process.parent.name" value:"wscript.exe"
process.parent.argswildcardC:\Users\*\AppData\Local\Temp\DONDA-NetworkInfo-*.bat , C:\ProgramData\Hays\WallpaperRefresh\SilentExecute.bat , Files\Tyco\SiteServer\TSP.ISS.WindowsServices.Host\Command\ComputerNameScripts\toolbar.cmd , Files\Tyco\SiteServer\TSP.ISS.WindowsServices.Host\Command\ComputerNameScripts\start.cmd excludes:process.parent.args
process.parent.command_linematchC:\Program Files\CheckPoint\Harmony Connect\resources\build\installation_scripts\on_install\on_install.batexcludes:process.parent.command_line field:"process.parent.command_line" value:"C:\Program Files\CheckPoint\Harmony Connect\resources\build\installation_scripts\on_install\on_install.bat"
process.Ext.token.integrity_level_nameeqsystemexcludes:process.Ext.token.integrity_level_name field:"process.Ext.token.integrity_level_name" value:"system"
process.argseqC:\Program Files\Common Files\EETI\TouchModeXML\RunRegisterAllUserTask.ps1excludes:process.args field:"process.args" value:"C:\Program Files\Common Files\EETI\TouchModeXML\RunRegisterAllUserTask.ps1"
process.argsstarts_with$package = Get-AppxPackage Microsoft.Office.Desktop -allUsers;excludes:process.args field:"process.args" value:"$package = Get-AppxPackage Microsoft.Office.Desktop -allUsers;"
process.argswildcardiwr https://*.s3.us-east-1.amazonaws.com/scripts/Start-SpeedTest.ps1 -UserAgent * -UseBasicParsing | invoke-expressionexcludes:process.args field:"process.args" value:"iwr https://*.s3.us-east-1.amazonaws.com/scripts/Start-SpeedTest.ps1 -UserAgent * -UseBasicParsing | invoke-expression"
process.command_lineeqc:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command "powershell.exe -executionpolicy bypass -WindowStyle Hidden -Command \"iwr bmx-panels-check.s3.us-east-1.amazonaws.com/scripts/Set-BMXFirewallPolicy.ps1 -UserAgent MzEyYTdjNzg1ZWI3 -UseBasicParsing | invoke-expression\""excludes:process.command_line
process.command_linewildcard*.Access.IdentityReference*win32_SID.SID*, *AGIAbQB4AC0AYQBwAC4AcwAzAC4AdQBzAC0AZQBhAHMAd*excludes:process.command_line field:"process.command_line" value:"*.Access.IdentityReference*win32_SID.SID*" field:"process.command_line" value:"*AGIAbQB4AC0AYQBwAC4AcwAzAC4AdQBzAC0AZQBhAHMAd*"
process.parent.argseq?:\Windows\system32\gatherNetworkInfo.vbsexcludes:process.parent.args field:"process.parent.args" value:"?:\Windows\system32\gatherNetworkInfo.vbs"
process.parent.command_lineeqwscript //B checkschedule.wsf /baseUrl:https://utilities.pcpitstop.comexcludes:process.parent.command_line field:"process.parent.command_line" value:"wscript //B checkschedule.wsf /baseUrl:https://utilities.pcpitstop.com"
process.parent.command_linematchWindows\TEMP\nessus_excludes:process.parent.command_line field:"process.parent.command_line" value:"Windows\TEMP\nessus_"
process.parent.executableeq?:\Windows\System32\svchost.exe, ?:\Windows\System32\CompatTelRunner.exe, ?:\Windows\System32\taskeng.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\svchost.exe" field:"process.parent.executable" value:"?:\Windows\System32\CompatTelRunner.exe" field:"process.parent.executable" value:"?:\Windows\System32\taskeng.exe"
process.parent.executablewildcardC:\FVS\FVSSoftware\*\bin\x64\Rscript.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\FVS\FVSSoftware\*\bin\x64\Rscript.exe"
process.parent.nameeqgc_worker.exe, gc_service.exeexcludes:process.parent.name field:"process.parent.name" value:"gc_worker.exe" field:"process.parent.name" value:"gc_service.exe"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
event.actioneq
  • start corpus 391 (elastic 391)
field:"EventType" kind:eq value:"start"
process.argswildcard
  • Sync-AppvPublishingServer corpus 2 (elastic 2)
field:"process.args" kind:wildcard value:"Sync-AppvPublishingServer"
process.args_counteq
  • 1 transforms: number corpus 49 (elastic 49)
field:"process.args_count" kind:eq value:"1"
process.command_linewildcard
  • * -e * corpus 17 (sigma 14, elastic 3)
  • * -ec * corpus 2 (sigma 2)
  • * -en* * corpus 3 (elastic 3)
  • * -ep *
  • * /e * corpus 3 (sigma 3)
  • * /ec *
  • * /en* * corpus 3 (elastic 3)
  • * /ep *
  • *$*$*$*$* corpus 3 (elastic 3)
  • *''*''*''* corpus 3 (elastic 3)
  • *+*+*+*+*+* corpus 3 (elastic 3)
  • *.Compression.*
  • *.Sockets.*
  • *.Text.Encoding*
  • *.replace(*
  • *Add-MpPreference*ExclusionPath*
  • *Assembly.GetType*
  • *Base64String*
  • *BitsTransfer*
  • *DownloadFile* corpus 6 (sigma 4, elastic 1, chronicle 1)
  • *DownloadString* corpus 9 (sigma 7, elastic 1, kusto 1)
  • *Invoke-Exp*
  • *Invoke-RestMethod* corpus 5 (sigma 5)
  • *MemoryStream*
  • *Reflection.Assembly* corpus 2 (elastic 2)
  • *WebClient* corpus 2 (elastic 2)
  • *WriteAllBytes*
  • *[*Convert]* corpus 5 (elastic 5)
  • *[char[]](*)*-join corpus 3 (elastic 3)
  • *^*^*^*^*^*^*^*^*^* corpus 5 (elastic 5)
  • *`*`*`*`* corpus 5 (elastic 5)
  • *iex* corpus 6 (sigma 5, splunk 1)
  • *invoke-web*
  • *iwr*
  • *raw.githubusercontent*
  • *{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{*{* corpus 2 (elastic 2)
field:"CommandLine" kind:wildcard
process.namewildcard
  • powershell.exe corpus 184 (elastic 140, splunk 44)
  • pwsh.exe corpus 77 (elastic 48, splunk 29)
field:"process_name" kind:wildcard
process.parent.namewildcard
  • mshta.exe corpus 24 (elastic 22, splunk 2)
  • node.exe corpus 4 (elastic 3, splunk 1)
  • wscript.exe corpus 24 (elastic 23, splunk 1)
field:"parent_process_name" kind:wildcard
process.pe.original_file_namewildcard
  • powershell.exe corpus 138 (sigma 84, splunk 30, elastic 24)
  • pwsh.exe corpus 7 (elastic 7)
field:"OriginalFileName" kind:wildcard
process.working_directorywildcard
  • ?:\Users\*\Desktop\*
  • ?:\Users\*\Downloads\* corpus 2 (elastic 2)
  • ?:\Users\*\appdata\*
field:"CurrentDirectory" kind:wildcard