2020-12-04 16:48:01 +01:00
[ metadata ]
creation_date = "2020/11/17"
maturity = "production"
2021-03-08 14:12:29 -09:00
updated_date = "2021/03/08"
2020-12-04 16:48:01 +01:00
[ rule ]
author = [ "Elastic" ]
description = "" "
Identifies the PowerShell engine being invoked by unexpected processes. Rather than executing PowerShell functionality
with powershell.exe, some attackers do this to operate more stealthily.
" ""
from = "now-9m"
2021-01-28 20:53:57 -09:00
index = [ "logs-endpoint.events.*" , "winlogbeat-*" , "logs-windows.*" ]
2020-12-04 16:48:01 +01:00
language = "eql"
2021-03-03 22:12:11 -09:00
license = "Elastic License v2"
2020-12-04 16:48:01 +01:00
name = "Suspicious PowerShell Engine ImageLoad"
risk_score = 47
rule_id = "852c1f19-68e8-43a6-9dce-340771fe1be3"
severity = "medium"
2021-03-08 14:12:29 -09:00
tags = [ "Elastic" , "Host" , "Windows" , "Threat Detection" , "Execution" ]
2021-02-16 10:52:48 -09:00
timestamp_override = "event.ingested"
2020-12-04 16:48:01 +01:00
type = "eql"
query = '' '
2021-02-03 11:09:29 -05:00
library where dll.name : ("System.Management.Automation.ni.dll", "System.Management.Automation.dll") and
2020-12-04 16:48:01 +01:00
/* add false positives relevant to your environment here */
not process.executable : ("C:\\Windows\\System32\\RemoteFXvGPUDisablement.exe", "C:\\Windows\\System32\\sdiagnhost.exe", "C:\\Program Files*\\*.exe") and
2021-02-03 11:09:29 -05:00
not process.name :
(
"Altaro.SubAgent.exe",
"AppV_Manage.exe",
"azureadconnect.exe",
"CcmExec.exe",
"configsyncrun.exe",
"choco.exe",
"ctxappvservice.exe",
"DVLS.Console.exe",
"edgetransport.exe",
"exsetup.exe",
"forefrontactivedirectoryconnector.exe",
"InstallUtil.exe",
"JenkinsOnDesktop.exe",
"Microsoft.EnterpriseManagement.ServiceManager.UI.Console.exe",
"mmc.exe",
"mscorsvw.exe",
"msexchangedelivery.exe",
"msexchangefrontendtransport.exe",
"msexchangehmworker.exe",
"msexchangesubmission.exe",
"msiexec.exe",
"MsiExec.exe",
"noderunner.exe",
"NServiceBus.Host.exe",
"NServiceBus.Host32.exe",
"NServiceBus.Hosting.Azure.HostProcess.exe",
"OuiGui.WPF.exe",
"powershell.exe",
"powershell_ise.exe",
"pwsh.exe",
"SCCMCliCtrWPF.exe",
"ScriptEditor.exe",
"ScriptRunner.exe",
"sdiagnhost.exe",
"servermanager.exe",
"setup100.exe",
"ServiceHub.VSDetouredHost.exe",
"SPCAF.Client.exe",
"SPCAF.SettingsEditor.exe",
"SQLPS.exe",
"telemetryservice.exe",
"UMWorkerProcess.exe",
"w3wp.exe",
"wsmprovhost.exe"
)
2020-12-04 16:48:01 +01:00
' ''
[ [ rule . threat ] ]
framework = "MITRE ATT&CK"
[ [ rule . threat . technique ] ]
2020-12-18 12:46:16 -09:00
id = "T1059"
name = "Command and Scripting Interpreter"
reference = "https://attack.mitre.org/techniques/T1059/"
[ [ rule . threat . technique . subtechnique ] ]
id = "T1059.001"
2020-12-04 16:48:01 +01:00
name = "PowerShell"
2020-12-18 12:46:16 -09:00
reference = "https://attack.mitre.org/techniques/T1059/001/"
2020-12-04 16:48:01 +01:00
[ rule . threat . tactic ]
2020-12-18 12:46:16 -09:00
id = "TA0002"
name = "Execution"
reference = "https://attack.mitre.org/tactics/TA0002/"
2021-03-03 22:12:11 -09:00