Detection rules › Elastic

Privilege Escalation via SeImpersonatePrivilege

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

Identifies a privilege escalation attempt from an account with the SeImpersonatePrivilege to full System privileges.

MITRE ATT&CK coverage

Rule body

[rule]
description = "Identifies a privilege escalation attempt from an account with the SeImpersonatePrivilege to full System privileges."
id = "e9d6f6a5-c375-4313-b269-1a8d42c64480"
license = "Elastic License v2"
name = "Privilege Escalation via SeImpersonatePrivilege"
os_list = ["windows"]
reference = [
    "https://decoder.cloud/2019/12/06/we-thought-they-were-potatoes-but-they-were-beans/",
    "https://github.com/hackvens/CoercedPotato",
]
version = "1.0.24"

query = '''
sequence with maxspan=3m
 [process where event.action == "start" and 
  (user.id : ("S-1-5-17", "S-1-5-19", "S-1-5-20", "S-1-5-32-568") or user.domain : "IIS AppPool") and 
  not process.executable : 
                ("?:\\Windows\\Syswow64\\wbem\\wmiprvse.exe", 
                 "?:\\Windows\\system32\\wbem\\wmiprvse.exe", 
                 "?:\\WINDOWS\\system32\\svchost.exe",
                 "?:\\Windows\\System32\\sppsvc.exe",
                 "C:\\Windows\\System32\\taskhost.exe",
                 "?:\\Windows\\system32\\printfilterpipelinesvc.exe", 
                 "?:\\Windows\\syswow64\\printfilterpipelinesvc.exe",
                 "?:\\Windows\\System32\\appidcertstorecheck.exe",
                 "\\Device\\HarddiskVolume*\\Windows\\System32\\printfilterpipelinesvc.exe", 
                 "\\Device\\HarddiskVolume*\\Windows\\System32\\wbem\\wmiprvse.exe",
                 "C:\\Windows\\System32\\Speech_OneCore\\Common\\SpeechModelDownload.exe") and
  not (process.name : "rundll32.exe" and process.args : "?:\\WINDOWS\\sys*\\davclnt.dll,DavSetCookie") and
  not (process.executable : "C:\\Windows\\System32\\conhost.exe" and
       process.parent.executable : ("C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe",
                                    "C:\\Program Files\\Windows Defender\\mpcmdrun.exe")) and
  not (process.parent.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\MsSense.exe" and
       process.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\Classification\\SenseCE.exe") and 
  not (process.parent.executable : "?:\\ProgramData\\Microsoft\\Windows Defender\\platform\\*\\MsMpEng.exe" and 
       process.executable : "?:\\ProgramData\\Microsoft\\Windows Defender\\platform\\*\\MpCmdRun.exe")
  ] by process.entity_id
 [process where event.action == "start" and user.id : "S-1-5-18" and 
  (
   _arraysearch(process.parent.thread.Ext.call_stack, $entry, $entry.symbol_info : ("*CreateProcessAsUser*", "*CreateProcessWithToken*")) or 
   
   process.parent.thread.Ext.call_stack_summary : 
                    ("ntdll.dll|Unbacked",
                     "ntdll.dll|kernelbase.dll|Unbacked",
                     "ntdll.dll|kernelbase.dll|Unknown",
                     "ntdll.dll|kernelbase.dll|kernel32.dll|Unbacked",
                     "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked",
                     "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked|kernel32.dll|ntdll.dll") or 
                     
   (_arraysearch(process.parent.thread.Ext.call_stack, $entry, $entry.symbol_info : "*KernelBase.dll!CreateProcessInternal*") and 
    not _arraysearch(process.parent.thread.Ext.call_stack, $entry, 
                     $entry.symbol_info : ("*kernel32.dll!CreateProcess*", "*CreateProcessAsUser*", "*CreateProcessWithToken*", "*KernelBase.dll!CreateProcessA+*", "KernelBase.dll!CreateProcessW")))
   ) and
   not (process.executable : "?:\\Program Files (x86)\\Lenovo\\System Update\\uncsetting.exe" and
        process.parent.executable : "?:\\Windows\\Microsoft.NET\\Framework64\\*\\csc.exe") and
   not (process.executable : "C:\\Program Files (x86)\\Google\\GoogleUpdater\\*\\updater.exe" and
        process.parent.executable == "C:\\Windows\\System32\\appidcertstorecheck.exe") and
    not (process.executable == "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe" and
         process.parent.executable in
                         ("C:\\Program Files\\Windows Defender\\MpCmdRun.exe",
                          "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe",
                          "C:\\Program Files\\Windows Defender Advanced Threat Protection\\Classification\\SenseCE.exe")) and
    not (process.executable : "C:\\Program Files\\Portrait Displays\\HP Display Control Service\\DeviceCheck.exe" and
         process.parent.executable : "C:\\Windows\\System32\\pacjsworker.exe") and

    not (process.executable : ("C:\\Windows\\Microsoft.NET\\Framework\\*\\csc.exe", "C:\\Windows\\SysWOW64\\cmd.exe") and
         process.parent.executable : "C:\\Program Files (x86)\\Tanium\\Tanium Client\\TaniumClient.exe") and
    not (process.executable : "?:\\Windows\\SysWOW64\\bitsadmin.exe" and process.parent.executable : "?:\\Windows\\SysWOW64\\cmd.exe") and
    not process.executable :
                     ("C:\\Program Files\\HP\\hpssacli\\bin\\hpssacli.exe",
                      "C:\\Program Files (x86)\\ManageSoft\\Uploader\\ndupload.exe",
                      "C:\\Program Files (x86)\\Google\\GoogleUpdater\\*\\updater.exe",
                      "C:\\Program Files\\Npcap\\NPFInstall.exe",
                      "C:\\Program Files (x86)\\ManageEngine\\UEMS_Agent\\bin\\metroapps.exe",
                      "C:\\Program Files (x86)\\Google\\Update\\GoogleUpdate.exe",
                      "C:\\Program Files (x86)\\SolarWinds\\Agent\\Plugins\\ADMProbe\\nping.exe",
                      "C:\\Program Files (x86)\\ManageEngine\\UEMS_Agent\\DeviceControl\\bin\\devctrlaction64.exe") and
    process.hash.sha256 != "8ba8760bcb924e1e7943c3008a80006b29737808cc41a93cabcfeaaec9785276" and
    not process.parent.executable :
                        ("C:\\Program Files (x86)\\MspPlatform\\PME\\Installers\\RequestHandlerAgentSetup.exe",
                         "C:\\Program Files\\LANDESK\\Shavlik Protect Agent\\STAgentUpdater.exe",
                         "C:\\Program Files\\AzureConnectedMachineAgent\\GCArcService\\GC\\gc_worker.exe",
                         "C:\\Windows\\CCM\\Ccm32BitLauncher.exe",
                         "C:\\Program Files (x86)\\Common Files\\Pulse Secure\\JUNS\\PulseSecureService.exe",
                         "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe",
                         "C:\\Program Files (x86)\\Lenovo\\VantageService\\*\\ScheduleEventAction.exe") and
    not (process.code_signature.subject_name in ("Sophos Ltd", "Entrust Datacard Corporation", "Com4Cure GmbH", "Martin Prikryl", "Stellar Cyber Inc", "Nmap Software LLC", "SimpleHelp Ltd") and
         process.code_signature.trusted == true) and
    not (process.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe" and
         process.parent.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe") and
    not (process.parent.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe" and
         process.executable : ("C:\\Windows\\System32\\DriverStore\\FileRepository\\*.exe", "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe")) and
    not (process.parent.executable : "C:\\Windows\\Microsoft.NET\\Framework\\*\\ngentask.exe" and
         process.executable : "C:\\Windows\\Microsoft.NET\\Framework\\*\\ngen.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\winlogon.exe" and process.executable : "C:\\Windows\\System32\\LogonUI.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\msiexec.exe" and process.executable : "C:\\Windows\\SysWOW64\\msiexec.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\SearchIndexer.exe" and process.executable : "C:\\Windows\\System32\\SearchFilterHost.exe") and
    not (process.executable : "C:\\Windows\\System32\\WerFault.exe" and process.parent.thread.Ext.call_stack_summary == "ntdll.dll|kernelbase.dll|faultrep.dll|wersvc.dll|ntdll.dll|kernel32.dll|ntdll.dll") and
    not (process.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\Install\\*.tmp\\setup.exe" and
         process.parent.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\Install\\*.tmp\\setup.exe")
   ] by process.parent.entity_id
'''

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

[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1134"
name = "Access Token Manipulation"
reference = "https://attack.mitre.org/techniques/T1134/"
[[threat.technique.subtechnique]]
id = "T1134.001"
name = "Token Impersonation/Theft"
reference = "https://attack.mitre.org/techniques/T1134/001/"

[[threat.technique.subtechnique]]
id = "T1134.002"
name = "Create Process with Token"
reference = "https://attack.mitre.org/techniques/T1134/002/"



[threat.tactic]
id = "TA0004"
name = "Privilege Escalation"
reference = "https://attack.mitre.org/tactics/TA0004/"

[internal]
min_endpoint_version = "8.7.0"

Stages and Predicates

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

Stage 1: process

[process where event.action == "start" and 
  (user.id : ("S-1-5-17", "S-1-5-19", "S-1-5-20", "S-1-5-32-568") or user.domain : "IIS AppPool") and 
  not process.executable : 
                ("?:\\Windows\\Syswow64\\wbem\\wmiprvse.exe", 
                 "?:\\Windows\\system32\\wbem\\wmiprvse.exe", 
                 "?:\\WINDOWS\\system32\\svchost.exe",
                 "?:\\Windows\\System32\\sppsvc.exe",
                 "C:\\Windows\\System32\\taskhost.exe",
                 "?:\\Windows\\system32\\printfilterpipelinesvc.exe", 
                 "?:\\Windows\\syswow64\\printfilterpipelinesvc.exe",
                 "?:\\Windows\\System32\\appidcertstorecheck.exe",
                 "\\Device\\HarddiskVolume*\\Windows\\System32\\printfilterpipelinesvc.exe", 
                 "\\Device\\HarddiskVolume*\\Windows\\System32\\wbem\\wmiprvse.exe",
                 "C:\\Windows\\System32\\Speech_OneCore\\Common\\SpeechModelDownload.exe") and
  not (process.name : "rundll32.exe" and process.args : "?:\\WINDOWS\\sys*\\davclnt.dll,DavSetCookie") and
  not (process.executable : "C:\\Windows\\System32\\conhost.exe" and
       process.parent.executable : ("C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe",
                                    "C:\\Program Files\\Windows Defender\\mpcmdrun.exe")) and
  not (process.parent.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\MsSense.exe" and
       process.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\Classification\\SenseCE.exe") and 
  not (process.parent.executable : "?:\\ProgramData\\Microsoft\\Windows Defender\\platform\\*\\MsMpEng.exe" and 
       process.executable : "?:\\ProgramData\\Microsoft\\Windows Defender\\platform\\*\\MpCmdRun.exe")
  ] by process.entity_id

Stage 2: process

[process where event.action == "start" and user.id : "S-1-5-18" and 
  (
   _arraysearch(process.parent.thread.Ext.call_stack, $entry, $entry.symbol_info : ("*CreateProcessAsUser*", "*CreateProcessWithToken*")) or 
   
   process.parent.thread.Ext.call_stack_summary : 
                    ("ntdll.dll|Unbacked",
                     "ntdll.dll|kernelbase.dll|Unbacked",
                     "ntdll.dll|kernelbase.dll|Unknown",
                     "ntdll.dll|kernelbase.dll|kernel32.dll|Unbacked",
                     "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked",
                     "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked|kernel32.dll|ntdll.dll") or 
                     
   (_arraysearch(process.parent.thread.Ext.call_stack, $entry, $entry.symbol_info : "*KernelBase.dll!CreateProcessInternal*") and 
    not _arraysearch(process.parent.thread.Ext.call_stack, $entry, 
                     $entry.symbol_info : ("*kernel32.dll!CreateProcess*", "*CreateProcessAsUser*", "*CreateProcessWithToken*", "*KernelBase.dll!CreateProcessA+*", "KernelBase.dll!CreateProcessW")))
   ) and
   not (process.executable : "?:\\Program Files (x86)\\Lenovo\\System Update\\uncsetting.exe" and
        process.parent.executable : "?:\\Windows\\Microsoft.NET\\Framework64\\*\\csc.exe") and
   not (process.executable : "C:\\Program Files (x86)\\Google\\GoogleUpdater\\*\\updater.exe" and
        process.parent.executable == "C:\\Windows\\System32\\appidcertstorecheck.exe") and
    not (process.executable == "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe" and
         process.parent.executable in
                         ("C:\\Program Files\\Windows Defender\\MpCmdRun.exe",
                          "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe",
                          "C:\\Program Files\\Windows Defender Advanced Threat Protection\\Classification\\SenseCE.exe")) and
    not (process.executable : "C:\\Program Files\\Portrait Displays\\HP Display Control Service\\DeviceCheck.exe" and
         process.parent.executable : "C:\\Windows\\System32\\pacjsworker.exe") and

    not (process.executable : ("C:\\Windows\\Microsoft.NET\\Framework\\*\\csc.exe", "C:\\Windows\\SysWOW64\\cmd.exe") and
         process.parent.executable : "C:\\Program Files (x86)\\Tanium\\Tanium Client\\TaniumClient.exe") and
    not (process.executable : "?:\\Windows\\SysWOW64\\bitsadmin.exe" and process.parent.executable : "?:\\Windows\\SysWOW64\\cmd.exe") and
    not process.executable :
                     ("C:\\Program Files\\HP\\hpssacli\\bin\\hpssacli.exe",
                      "C:\\Program Files (x86)\\ManageSoft\\Uploader\\ndupload.exe",
                      "C:\\Program Files (x86)\\Google\\GoogleUpdater\\*\\updater.exe",
                      "C:\\Program Files\\Npcap\\NPFInstall.exe",
                      "C:\\Program Files (x86)\\ManageEngine\\UEMS_Agent\\bin\\metroapps.exe",
                      "C:\\Program Files (x86)\\Google\\Update\\GoogleUpdate.exe",
                      "C:\\Program Files (x86)\\SolarWinds\\Agent\\Plugins\\ADMProbe\\nping.exe",
                      "C:\\Program Files (x86)\\ManageEngine\\UEMS_Agent\\DeviceControl\\bin\\devctrlaction64.exe") and
    process.hash.sha256 != "8ba8760bcb924e1e7943c3008a80006b29737808cc41a93cabcfeaaec9785276" and
    not process.parent.executable :
                        ("C:\\Program Files (x86)\\MspPlatform\\PME\\Installers\\RequestHandlerAgentSetup.exe",
                         "C:\\Program Files\\LANDESK\\Shavlik Protect Agent\\STAgentUpdater.exe",
                         "C:\\Program Files\\AzureConnectedMachineAgent\\GCArcService\\GC\\gc_worker.exe",
                         "C:\\Windows\\CCM\\Ccm32BitLauncher.exe",
                         "C:\\Program Files (x86)\\Common Files\\Pulse Secure\\JUNS\\PulseSecureService.exe",
                         "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe",
                         "C:\\Program Files (x86)\\Lenovo\\VantageService\\*\\ScheduleEventAction.exe") and
    not (process.code_signature.subject_name in ("Sophos Ltd", "Entrust Datacard Corporation", "Com4Cure GmbH", "Martin Prikryl", "Stellar Cyber Inc", "Nmap Software LLC", "SimpleHelp Ltd") and
         process.code_signature.trusted == true) and
    not (process.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe" and
         process.parent.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe") and
    not (process.parent.executable : "C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseNdr.exe" and
         process.executable : ("C:\\Windows\\System32\\DriverStore\\FileRepository\\*.exe", "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe")) and
    not (process.parent.executable : "C:\\Windows\\Microsoft.NET\\Framework\\*\\ngentask.exe" and
         process.executable : "C:\\Windows\\Microsoft.NET\\Framework\\*\\ngen.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\winlogon.exe" and process.executable : "C:\\Windows\\System32\\LogonUI.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\msiexec.exe" and process.executable : "C:\\Windows\\SysWOW64\\msiexec.exe") and
    not (process.parent.executable : "C:\\Windows\\System32\\SearchIndexer.exe" and process.executable : "C:\\Windows\\System32\\SearchFilterHost.exe") and
    not (process.executable : "C:\\Windows\\System32\\WerFault.exe" and process.parent.thread.Ext.call_stack_summary == "ntdll.dll|kernelbase.dll|faultrep.dll|wersvc.dll|ntdll.dll|kernel32.dll|ntdll.dll") and
    not (process.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\Install\\*.tmp\\setup.exe" and
         process.parent.executable : "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\Install\\*.tmp\\setup.exe")
   ] by process.parent.entity_id

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.argswildcard?:\WINDOWS\sys*\davclnt.dll,DavSetCookieexcludes:process.args field:"process.args" value:"?:\WINDOWS\sys*\davclnt.dll,DavSetCookie"
process.nameeqrundll32.exeexcludes:process.name field:"process.name" value:"rundll32.exe"
process.executableeqC:\Program Files\Windows Defender Advanced Threat Protection\Classification\SenseCE.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\Classification\SenseCE.exe"
process.parent.executableeqC:\Program Files\Windows Defender Advanced Threat Protection\MsSense.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\MsSense.exe"
process.executableeqC:\Windows\System32\conhost.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\conhost.exe"
process.parent.executablewildcardC:\ProgramData\Microsoft\Windows Defender\Platform\*\MpCmdRun.exe, C:\Program Files\Windows Defender\mpcmdrun.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\ProgramData\Microsoft\Windows Defender\Platform\*\MpCmdRun.exe" field:"process.parent.executable" value:"C:\Program Files\Windows Defender\mpcmdrun.exe"
process.executablewildcard?:\ProgramData\Microsoft\Windows Defender\platform\*\MpCmdRun.exeexcludes:process.executable field:"process.executable" value:"?:\ProgramData\Microsoft\Windows Defender\platform\*\MpCmdRun.exe"
process.parent.executablewildcard?:\ProgramData\Microsoft\Windows Defender\platform\*\MsMpEng.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\ProgramData\Microsoft\Windows Defender\platform\*\MsMpEng.exe"
process.executablewildcard?:\Windows\Syswow64\wbem\wmiprvse.exe, ?:\Windows\system32\wbem\wmiprvse.exe, ?:\WINDOWS\system32\svchost.exe, ?:\Windows\System32\sppsvc.exe, C:\Windows\System32\taskhost.exe, ?:\Windows\system32\printfilterpipelinesvc.exe, ?:\Windows\syswow64\printfilterpipelinesvc.exe, ?:\Windows\System32\appidcertstorecheck.exe, \Device\HarddiskVolume*\Windows\System32\printfilterpipelinesvc.exe, \Device\HarddiskVolume*\Windows\System32\wbem\wmiprvse.exe, C:\Windows\System32\Speech_OneCore\Common\SpeechModelDownload.exeexcludes:process.executable
process.code_signature.subject_nameinCom4Cure GmbH, Entrust Datacard Corporation, Martin Prikryl, Nmap Software LLC, SimpleHelp Ltd, Sophos Ltd, Stellar Cyber Incexcludes:process.code_signature.subject_name
process.code_signature.trustedeqtrueexcludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true"
process.executableeq?:\Program Files (x86)\Lenovo\System Update\uncsetting.exeexcludes:process.executable field:"process.executable" value:"?:\Program Files (x86)\Lenovo\System Update\uncsetting.exe"
process.parent.executablewildcard?:\Windows\Microsoft.NET\Framework64\*\csc.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\Microsoft.NET\Framework64\*\csc.exe"
process.executableeq?:\Windows\SysWOW64\bitsadmin.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\SysWOW64\bitsadmin.exe"
process.parent.executableeq?:\Windows\SysWOW64\cmd.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\SysWOW64\cmd.exe"
process.executableeqC:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"
process.parent.executableeqC:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"
process.parent.executableinC:\Program Files\Windows Defender Advanced Threat Protection\Classification\SenseCE.exe, C:\Program Files\Windows Defender Advanced Threat Protection\SenseNdr.exe, C:\Program Files\Windows Defender\MpCmdRun.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\Classification\SenseCE.exe" field:"process.parent.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\SenseNdr.exe" field:"process.parent.executable" value:"C:\Program Files\Windows Defender\MpCmdRun.exe"
process.executableeqC:\Program Files\Portrait Displays\HP Display Control Service\DeviceCheck.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files\Portrait Displays\HP Display Control Service\DeviceCheck.exe"
process.parent.executableeqC:\Windows\System32\pacjsworker.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\pacjsworker.exe"
process.executableeqC:\Windows\SysWOW64\msiexec.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\SysWOW64\msiexec.exe"
process.parent.executableeqC:\Windows\System32\msiexec.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\msiexec.exe"
process.executableeqC:\Windows\System32\LogonUI.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\LogonUI.exe"
process.parent.executableeqC:\Windows\System32\winlogon.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\winlogon.exe"
process.executableeqC:\Windows\System32\SearchFilterHost.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\SearchFilterHost.exe"
process.parent.executableeqC:\Windows\System32\SearchIndexer.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\SearchIndexer.exe"
process.executableeqC:\Windows\System32\WerFault.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\WerFault.exe"
process.parent.thread.Ext.call_stack_summaryeqntdll.dll|kernelbase.dll|faultrep.dll|wersvc.dll|ntdll.dll|kernel32.dll|ntdll.dllexcludes:process.parent.thread.Ext.call_stack_summary field:"process.parent.thread.Ext.call_stack_summary" value:"ntdll.dll|kernelbase.dll|faultrep.dll|wersvc.dll|ntdll.dll|kernel32.dll|ntdll.dll"
process.executablewildcardC:\Program Files (x86)\Google\GoogleUpdater\*\updater.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files (x86)\Google\GoogleUpdater\*\updater.exe"
process.parent.executableeqC:\Windows\System32\appidcertstorecheck.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\appidcertstorecheck.exe"
process.executablewildcardC:\Program Files (x86)\Microsoft\EdgeUpdate\Install\*.tmp\setup.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files (x86)\Microsoft\EdgeUpdate\Install\*.tmp\setup.exe"
process.parent.executablewildcardC:\Program Files (x86)\Microsoft\EdgeUpdate\Install\*.tmp\setup.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files (x86)\Microsoft\EdgeUpdate\Install\*.tmp\setup.exe"
process.executablewildcardC:\Windows\Microsoft.NET\Framework\*\csc.exe, C:\Windows\SysWOW64\cmd.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\Microsoft.NET\Framework\*\csc.exe" field:"process.executable" value:"C:\Windows\SysWOW64\cmd.exe"
process.parent.executableeqC:\Program Files (x86)\Tanium\Tanium Client\TaniumClient.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files (x86)\Tanium\Tanium Client\TaniumClient.exe"
process.executablewildcardC:\Windows\Microsoft.NET\Framework\*\ngen.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\Microsoft.NET\Framework\*\ngen.exe"
process.parent.executablewildcardC:\Windows\Microsoft.NET\Framework\*\ngentask.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\Microsoft.NET\Framework\*\ngentask.exe"
process.executablewildcardC:\Windows\System32\DriverStore\FileRepository\*.exe, C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\DriverStore\FileRepository\*.exe" field:"process.executable" value:"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
process.parent.executableeqC:\Program Files\Windows Defender Advanced Threat Protection\SenseNdr.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\SenseNdr.exe"
process.executablewildcardC:\Program Files\HP\hpssacli\bin\hpssacli.exe, C:\Program Files (x86)\ManageSoft\Uploader\ndupload.exe, C:\Program Files (x86)\Google\GoogleUpdater\*\updater.exe, C:\Program Files\Npcap\NPFInstall.exe, C:\Program Files (x86)\ManageEngine\UEMS_Agent\bin\metroapps.exe, C:\Program Files (x86)\Google\Update\GoogleUpdate.exe, C:\Program Files (x86)\SolarWinds\Agent\Plugins\ADMProbe\nping.exe, C:\Program Files (x86)\ManageEngine\UEMS_Agent\DeviceControl\bin\devctrlaction64.exeexcludes:process.executable
process.parent.executablewildcardC:\Program Files (x86)\MspPlatform\PME\Installers\RequestHandlerAgentSetup.exe, C:\Program Files\LANDESK\Shavlik Protect Agent\STAgentUpdater.exe, C:\Program Files\AzureConnectedMachineAgent\GCArcService\GC\gc_worker.exe, C:\Windows\CCM\Ccm32BitLauncher.exe, C:\Program Files (x86)\Common Files\Pulse Secure\JUNS\PulseSecureService.exe, C:\Program Files\Windows Defender Advanced Threat Protection\SenseNdr.exe, C:\Program Files (x86)\Lenovo\VantageService\*\ScheduleEventAction.exeexcludes:process.parent.executable

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
event.actioneq
  • start corpus 391 (elastic 391)
field:"EventType" kind:eq value:"start"
process.hash.sha256ne
  • 8ba8760bcb924e1e7943c3008a80006b29737808cc41a93cabcfeaaec9785276
field:"Hashes" kind:ne value:"8ba8760bcb924e1e7943c3008a80006b29737808cc41a93cabcfeaaec9785276"
process.parent.thread.Ext.call_stack_summarywildcard
  • ntdll.dll|Unbacked corpus 3 (elastic 3)
  • ntdll.dll|kernelbase.dll|Unbacked corpus 4 (elastic 4)
  • ntdll.dll|kernelbase.dll|Unknown
  • ntdll.dll|kernelbase.dll|kernel32.dll|Unbacked corpus 3 (elastic 3)
  • ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked corpus 4 (elastic 4)
  • ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|Unbacked|kernel32.dll|ntdll.dll corpus 4 (elastic 4)
field:"process.parent.thread.Ext.call_stack_summary" kind:wildcard
user.domainwildcard
  • IIS AppPool
field:"TargetDomainName" kind:wildcard value:"IIS AppPool"
user.idwildcard
  • S-1-5-17
  • S-1-5-18 corpus 13 (elastic 13)
  • S-1-5-19 corpus 3 (elastic 3)
  • S-1-5-20 corpus 3 (elastic 3)
  • S-1-5-32-568
field:"user.id" kind:wildcard