Detection rules › Elastic

Parent Process PID Spoofing

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

Identifies parent process spoofing used to thwart detection. Adversaries may spoof the parent process identifier (PPID) of a new process to evade process-monitoring defenses or to elevate privileges.

MITRE ATT&CK coverage

Rule body

[rule]
description = """
Identifies parent process spoofing used to thwart detection. Adversaries may spoof the parent process identifier (PPID)
of a new process to evade process-monitoring defenses or to elevate privileges.
"""
id = "816ba7e7-519a-4f85-be2a-bacd6ccde57f"
license = "Elastic License v2"
name = "Parent Process PID Spoofing"
os_list = ["windows"]
reference = [
    "https://blog.didierstevens.com/2017/03/20/",
    "https://www.elastic.co/security-labs/elastic-security-labs-steps-through-the-r77-rootkit",
]
version = "1.0.56"

query = '''
sequence with maxspan=5m
 [process where event.action == "start" and
  process.parent.executable != null and
  /* FP - AppInfo */
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "* -k netsvcs*") and

  /* FP - Windows Errors Reporting */
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "*WerSvcGroup*") and

   /* FP - Secondary Logon */
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "*seclogon*") and

   /* FP - Application Brokers */
  not (process.executable : ("*\\Windows\\System32\\RuntimeBroker.exe",
                             "*\\Windows\\ImmersiveControlPanel\\SystemSettings.exe")) and

   /* FP - Third Party Programs except MS Office */
  not (process.executable : ("*\\Program Files (x86)\\*.exe", "*\\Program Files\\*.exe") and
       process.code_signature.trusted == true and
       not process.name in~ ("winword.exe",
                           "excel.exe",
                           "outlook.exe",
                           "powerpnt.exe",
                           "eqnedt32.exe",
                           "fltldr.exe",
                           "mspub.exe",
                           "msaccess.exe")) and 

  not (process.pe.original_file_name in~ ("devenv.exe", "PowerToys.exe") and process.code_signature.trusted == true and 
       process.code_signature.subject_name like "Microsoft*") and 
  not (process.executable : "?:\\Windows\\System32\\dllhost.exe" and process.args : "/Processid:{F544C724-92CF-41D5-85B7-65B02914E52D}" and
       process.parent.executable : "C:\\Windows\\System32\\svchost.exe") and
   /* FP Issue #488 - WerFaultSecure ProtectedCrash  */
  not (
       process.executable : ("*\\Windows\\System32\\WerFaultSecure.exe", "*\\WINDOWS\\SysWOW64\\WerFaultSecure.exe") and
       user.id == "S-1-5-18" and process.parent.command_line != null and
       ((process.parent.executable : "*\\Windows\\System32\\svchost.exe" and process.parent.command_line : "*WerSvcGroup*") or
         process.parent.executable : "*\\Windows\\System32\\dxgiadaptercache.exe")
       ) and

   /* FP Issue #488 - File Picker UI Host is real parent of Authentication Broker AuthHost.exe */
  not (process.executable : "*\\Windows\\System32\\PickerHost.Exe" and process.parent.executable : "*\\Windows\\System32\\svchost.exe") and

   /* FP Issue #488 - Roblox Game Client */
  not (process.pe.original_file_name : "RobloxApp.exe" and
        process.code_signature.subject_name == "Roblox Corporation" and
        (process.code_signature.trusted == true or process.code_signature.status == "errorTimeStamp")) and

   /* FP OpenWith handles unknown file handlers via GUI popup */
  not (process.executable : ("*\\WINDOWS\\system32\\OpenWith.exe", "*\\WINDOWS\\syswow64\\OpenWith.exe") and process.args: "-Embedding" and
       process.parent.executable : "*\\Windows\\System32\\svchost.exe" and process.parent.args : "DcomLaunch") and

  not (process.pe.original_file_name in~ ("notification_helper.exe", "cpptools.exe") and process.code_signature.subject_name == "Microsoft Corporation" and
       process.code_signature.trusted == true) and

  not ((process.pe.original_file_name : "pmlauncher.exe" or process.executable : "C:\\Windows\\System32\\pmlauncher.exe") and 
      process.code_signature.subject_name : ("BeyondTrust Software, Inc", "BeyondTrust Software Inc") and
       process.code_signature.trusted == true) and

  not (process.executable : "*\\Windows\\SystemApps\\Microsoft*.exe" and
       process.parent.executable : "*\\Windows\\system32\\svchost.exe" and process.parent.args : "DcomLaunch") and

  not (process.pe.original_file_name == "MBSetup.exe" and process.code_signature.subject_name in ("Malwarebytes Inc.", "Malwarebytes Inc") and
       process.code_signature.trusted == true) and

  not (process.executable : "*\\Windows\\System32\\backgroundTaskHost.exe" and process.Ext.token.integrity_level_name == "low" and process.parent.name : "svchost.exe") and

  not (process.executable : "*\\Windows\\System32\\SystemSettingsBroker.exe" and process.parent.args : "DcomLaunch" and
       process.parent.executable :  "*\\Windows\\System32\\svchost.exe") and

  not (process.pe.original_file_name == "tailscale-ipn.exe" and
        process.code_signature.subject_name == "Tailscale Inc." and
        (process.code_signature.trusted == true or process.code_signature.status == "errorChaining")) and

  not process.executable : "?:\\Windows\\SoftwareDistribution\\*.exe" and

  not (process.pe.original_file_name == "FileCoAuth.exe" and process.parent.executable : "?:\\Windows\\System32\\svchost.exe" and
       process.code_signature.subject_name == "Microsoft Corporation" and process.code_signature.trusted == true) and

  not (process.name : "cpptools.exe" and process.parent.executable : "?:\\Program Files\\Microsoft VS Code\\Code.exe") and

  not (process.code_signature.trusted == true and process.code_signature.subject_name like "*Michael Maltsev*") and 

  not (process.executable : "?:\\WINDOWS\\Microsoft.NET\\Framework\\*\\RegAsm.exe" and 
       process.args : "?:\\ProgramData\\PlatformInstall\\GideCode\\rtcresofz_Mecrrcpl.dll" and 
       process.parent.executable : "?:\\Windows\\System32\\svchost.exe") and

  not (user.id == "S-1-5-18" and process.executable : "C:\\Windows\\System32\\msiexec.exe" and process.parent.executable : "C:\\Windows\\System32\\msiexec.exe") and
       
  not (process.executable : ("C:\\Windows\\System32\\sihost.exe", "C:\\Windows\\System32\\ShellHost.exe") and process.parent.executable : "C:\\Windows\\System32\\sihost.exe") and

  /* FP - Windows Update MpSigStub spawning children with spoofed PPID */
  not (process.pe.original_file_name == "MpSigStub.exe" and
       process.code_signature.subject_name == "Microsoft Corporation" and
       process.code_signature.trusted == true) and

  /* FP - Modrinth App (Rinth, Inc.) game mod launcher */
  not (process.code_signature.subject_name == "Rinth, Inc." and
       process.code_signature.trusted == true) and

  /* FP - uberAgent SetACL (vast limits GmbH) - mirrored from seq 2 */
  not (process.pe.original_file_name == "SetACL.exe" and
       process.code_signature.subject_name == "vast limits GmbH" and
       process.code_signature.trusted == true)
  ] by process.entity_id
 [process where event.action == "start" and process.parent.Ext.real.pid > 0 and 
  /* FP Issue #488 - Auth Host Broker for WindowsApps */
  not process.executable :  "*\\Windows\\system32\\AuthHost.exe" and
  not (process.parent.executable : "*\\Windows\\System32\\sihost.exe" and
        process.pe.original_file_name in~ ("chrome.exe", "msedge.exe") and process.args_count >= 2 and
        process.code_signature.subject_name : ("Google LLC", "Microsoft Corporation")) and
  not (process.executable : "*\\Windows\\System32\\fsutil.exe" and process.args : "file" and
       process.parent.executable : "*\\Users\\*\\.vscode\\extensions\\ms-vscode.cpptools-*\\bin\\cpptools.exe") and

  /* noisy with variable patterns for the parent and real parent process */
  not (process.executable : "*\\WINDOWS\\system32\\WerFaultSecure.exe" and process.Ext.token.integrity_level_name == "system") and

  /* AM_Delta_Patch Windows Update */
  not (process.executable : ("?:\\Windows\\System32\\MpSigStub.exe", "?:\\Windows\\SysWOW64\\MpSigStub.exe") and
       process.parent.name in~ ("wuauclt.exe", "wuaucltcore.exe")) and

  not process.executable : ("?:\\Windows\\SysWOW64\\WerFault.exe", "?:\\Windows\\system32\\WerFault.exe") and

  not process.hash.sha256 : 
                ("02cfaec8d3f905a7a940dc307fb1c0558eed6a80e663526f73efeb79c1808b87", 
                 "bd7ed99c8a05b3852cc4e44a34e4ba4f7ad4d4074ee60ad6a21a706897eeb714", 
                 "c5b9688aed57d6b6285a210d40c9a4bf43c3672a758d448cd99f40fdc6681415", 
                 "dee8aba745a6cca1b2404f5054dd91d4159d824c3f079fe742c6a25961d7a9f0", 
                 "0a04684ef46dcac1859a195e8c7d4bfdb2dddb7da1d4491e8b7bf794036eba3a", 
                 "217fa613c4e129f20d1b20fd2ce5c7a7efbdf88e1e6121077057d0b14fe15450", 
                 "038d7b257b98421ad371189cf51d67f32ddad2de687c443a59ea74e4027bbf04", 
                 "590f3cc02628dcdb43d3ee00ecf1a86e0bfcefd26cb0ffcb809a67194b22fda6", 
                 "ff7627eaa90ce994207d1d1d1b39ac8852b11f03a6adb86d915f4696401beca0",
                 "a0b1f604c335315b5ba5a598436bf6c8b05ce77742e2f1b102a8c7d11918408d",
                 "f074a65751beb589b99ecffa2d4cefdd9c87c3641487d2baed4c9f85e75ffbc6",
                 "5ea04862fe5e201e47e5aac29c19a1550612f82a048b402cd85435efd9d39d2a",
                 "79f7c942f9b15b857abcb838123991ad756ea3bb846045ed3378e484428f74a3",
                 "97effc20423d404cf3877cdb4af9be840a720962246408b2d7396362a9e5d613",
                 "a4af59c1f044ff1290e47e74484163243591f56b7053c8b8d3e4ae320cecbac3",
                 "941bc9193d9143d71e2c93803b0cbff511ec549f0c4f0093744cab6bedd4140a",
                 "3f9075c30f63d67693f2f876212f702ddfe51834c73289718baf6e8fb2036039",
                 "8157d5ee0336f8c9f968da4d9e0c39f70067406ef73a5b25e5d2ed90dd54985e",
                 "989e5cb0690ec99115f20fea1bc2cfdcf08d910fc468a99bd8416ccdae5b159c",
                 "adeb733bf80927e6b365fc6a03547d401d51539b1b4623e55199992d242c69ba",
                 "34e985694d5fddbe4a27ab986975e2980b0c0a2005c0779435e7ce16004f4fe8",
                 "e37d10eead5f14a3ea9d2be0e95012a2928964928e447ac7c4fac9a547f0a863",
                 "38011e713b4be8577576062754cad03e9899859488932ae4c9c83e5fbb5cb7d2",
                 "6f1be9e26e403a885cc3b1ff0e4dbecbc96c0821119d25990c3e211564f215d5",
                 "eda6b433006b571d1675c6c19f8c7fd786ac5926c063aabea947ea2db636066e") and

  not (process.args : "$execWrapper" and process.name : "powershell.exe" and process.parent.name : "cmd.exe") and

  not (process.code_signature.subject_name in ("Malwarebytes Inc.", "Malwarebytes Inc", "Proton AG", "Elaborate Bytes AG", "vast limits GmbH", "Read AI", "wespond UG (Haftungsbeschränkt)", "Reference Health") and process.code_signature.trusted == true) and

  not process.executable : ("\\Device\\HarddiskVolume?\\Windows\\System32\\*.exe", "\\Device\\HarddiskVolume?\\Windows\\SysWOW64\\*.exe") and

  not (process.parent.executable : "C:\\Windows\\explorer.exe" and process.parent.thread.Ext.call_stack_summary == "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|nsis_tauri_utils.dll") and
  not (process.executable like "C:\\Program Files\\WindowsApps\\*.exe" and process.parent.executable : "C:\\Windows\\System32\\sihost.exe") and

  /* FP - PowerToys KeyboardManager engine (Microsoft signed) */
  not (process.pe.original_file_name == "PowerToys.KeyboardManagerEngine.exe" and
       process.code_signature.subject_name like "Microsoft*" and
       process.code_signature.trusted == true) and

  /* FP - Modrinth App (Rinth, Inc.) Minecraft mod launcher */
  not (process.code_signature.subject_name == "Rinth, Inc." and
       process.code_signature.trusted == true)
  ] by process.parent.Ext.real.entity_id
'''

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

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

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

[[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.004"
name = "Parent PID Spoofing"
reference = "https://attack.mitre.org/techniques/T1134/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

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

Stage 1: process

[process where event.action == "start" and
  process.parent.executable != null and
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "* -k netsvcs*") and
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "*WerSvcGroup*") and
  not (process.executable : "*\\windows\\system32\\svchost.exe" and
       user.id == "S-1-5-18" and process.command_line : "*seclogon*") and
  not (process.executable : ("*\\Windows\\System32\\RuntimeBroker.exe",
                             "*\\Windows\\ImmersiveControlPanel\\SystemSettings.exe")) and
  not (process.executable : ("*\\Program Files (x86)\\*.exe", "*\\Program Files\\*.exe") and
       process.code_signature.trusted == true and
       not process.name in~ ("winword.exe",
                           "excel.exe",
                           "outlook.exe",
                           "powerpnt.exe",
                           "eqnedt32.exe",
                           "fltldr.exe",
                           "mspub.exe",
                           "msaccess.exe")) and
  not (process.pe.original_file_name in~ ("devenv.exe", "PowerToys.exe") and process.code_signature.trusted == true and
       process.code_signature.subject_name like "Microsoft*") and
  not (process.executable : "?:\\Windows\\System32\\dllhost.exe" and process.args : "/Processid:{F544C724-92CF-41D5-85B7-65B02914E52D}" and
       process.parent.executable : "C:\\Windows\\System32\\svchost.exe") and
  not (
       process.executable : ("*\\Windows\\System32\\WerFaultSecure.exe", "*\\WINDOWS\\SysWOW64\\WerFaultSecure.exe") and
       user.id == "S-1-5-18" and process.parent.command_line != null and
       ((process.parent.executable : "*\\Windows\\System32\\svchost.exe" and process.parent.command_line : "*WerSvcGroup*") or
         process.parent.executable : "*\\Windows\\System32\\dxgiadaptercache.exe")
       ) and
  not (process.executable : "*\\Windows\\System32\\PickerHost.Exe" and process.parent.executable : "*\\Windows\\System32\\svchost.exe") and
  not (process.pe.original_file_name : "RobloxApp.exe" and
        process.code_signature.subject_name == "Roblox Corporation" and
        (process.code_signature.trusted == true or process.code_signature.status == "errorTimeStamp")) and
  not (process.executable : ("*\\WINDOWS\\system32\\OpenWith.exe", "*\\WINDOWS\\syswow64\\OpenWith.exe") and process.args: "-Embedding" and
       process.parent.executable : "*\\Windows\\System32\\svchost.exe" and process.parent.args : "DcomLaunch") and
  not (process.pe.original_file_name in~ ("notification_helper.exe", "cpptools.exe") and process.code_signature.subject_name == "Microsoft Corporation" and
       process.code_signature.trusted == true) and
  not ((process.pe.original_file_name : "pmlauncher.exe" or process.executable : "C:\\Windows\\System32\\pmlauncher.exe") and
      process.code_signature.subject_name : ("BeyondTrust Software, Inc", "BeyondTrust Software Inc") and
       process.code_signature.trusted == true) and
  not (process.executable : "*\\Windows\\SystemApps\\Microsoft*.exe" and
       process.parent.executable : "*\\Windows\\system32\\svchost.exe" and process.parent.args : "DcomLaunch") and
  not (process.pe.original_file_name == "MBSetup.exe" and process.code_signature.subject_name in ("Malwarebytes Inc.", "Malwarebytes Inc") and
       process.code_signature.trusted == true) and
  not (process.executable : "*\\Windows\\System32\\backgroundTaskHost.exe" and process.Ext.token.integrity_level_name == "low" and process.parent.name : "svchost.exe") and
  not (process.executable : "*\\Windows\\System32\\SystemSettingsBroker.exe" and process.parent.args : "DcomLaunch" and
       process.parent.executable :  "*\\Windows\\System32\\svchost.exe") and
  not (process.pe.original_file_name == "tailscale-ipn.exe" and
        process.code_signature.subject_name == "Tailscale Inc." and
        (process.code_signature.trusted == true or process.code_signature.status == "errorChaining")) and
  not process.executable : "?:\\Windows\\SoftwareDistribution\\*.exe" and
  not (process.pe.original_file_name == "FileCoAuth.exe" and process.parent.executable : "?:\\Windows\\System32\\svchost.exe" and
       process.code_signature.subject_name == "Microsoft Corporation" and process.code_signature.trusted == true) and
  not (process.name : "cpptools.exe" and process.parent.executable : "?:\\Program Files\\Microsoft VS Code\\Code.exe") and
  not (process.code_signature.trusted == true and process.code_signature.subject_name like "*Michael Maltsev*") and
  not (process.executable : "?:\\WINDOWS\\Microsoft.NET\\Framework\\*\\RegAsm.exe" and
       process.args : "?:\\ProgramData\\PlatformInstall\\GideCode\\rtcresofz_Mecrrcpl.dll" and
       process.parent.executable : "?:\\Windows\\System32\\svchost.exe") and
  not (user.id == "S-1-5-18" and process.executable : "C:\\Windows\\System32\\msiexec.exe" and process.parent.executable : "C:\\Windows\\System32\\msiexec.exe") and
  not (process.executable : ("C:\\Windows\\System32\\sihost.exe", "C:\\Windows\\System32\\ShellHost.exe") and process.parent.executable : "C:\\Windows\\System32\\sihost.exe") and
  not (process.pe.original_file_name == "MpSigStub.exe" and
       process.code_signature.subject_name == "Microsoft Corporation" and
       process.code_signature.trusted == true) and
  not (process.code_signature.subject_name == "Rinth, Inc." and
       process.code_signature.trusted == true) and
  not (process.pe.original_file_name == "SetACL.exe" and
       process.code_signature.subject_name == "vast limits GmbH" and
       process.code_signature.trusted == true)
  ] by process.entity_id

Stage 2: process

[process where event.action == "start" and process.parent.Ext.real.pid > 0 and
  not process.executable :  "*\\Windows\\system32\\AuthHost.exe" and
  not (process.parent.executable : "*\\Windows\\System32\\sihost.exe" and
        process.pe.original_file_name in~ ("chrome.exe", "msedge.exe") and process.args_count >= 2 and
        process.code_signature.subject_name : ("Google LLC", "Microsoft Corporation")) and
  not (process.executable : "*\\Windows\\System32\\fsutil.exe" and process.args : "file" and
       process.parent.executable : "*\\Users\\*\\.vscode\\extensions\\ms-vscode.cpptools-*\\bin\\cpptools.exe") and
  not (process.executable : "*\\WINDOWS\\system32\\WerFaultSecure.exe" and process.Ext.token.integrity_level_name == "system") and
  not (process.executable : ("?:\\Windows\\System32\\MpSigStub.exe", "?:\\Windows\\SysWOW64\\MpSigStub.exe") and
       process.parent.name in~ ("wuauclt.exe", "wuaucltcore.exe")) and
  not process.executable : ("?:\\Windows\\SysWOW64\\WerFault.exe", "?:\\Windows\\system32\\WerFault.exe") and
  not process.hash.sha256 :
                ("02cfaec8d3f905a7a940dc307fb1c0558eed6a80e663526f73efeb79c1808b87",
                 "bd7ed99c8a05b3852cc4e44a34e4ba4f7ad4d4074ee60ad6a21a706897eeb714",
                 "c5b9688aed57d6b6285a210d40c9a4bf43c3672a758d448cd99f40fdc6681415",
                 "dee8aba745a6cca1b2404f5054dd91d4159d824c3f079fe742c6a25961d7a9f0",
                 "0a04684ef46dcac1859a195e8c7d4bfdb2dddb7da1d4491e8b7bf794036eba3a",
                 "217fa613c4e129f20d1b20fd2ce5c7a7efbdf88e1e6121077057d0b14fe15450",
                 "038d7b257b98421ad371189cf51d67f32ddad2de687c443a59ea74e4027bbf04",
                 "590f3cc02628dcdb43d3ee00ecf1a86e0bfcefd26cb0ffcb809a67194b22fda6",
                 "ff7627eaa90ce994207d1d1d1b39ac8852b11f03a6adb86d915f4696401beca0",
                 "a0b1f604c335315b5ba5a598436bf6c8b05ce77742e2f1b102a8c7d11918408d",
                 "f074a65751beb589b99ecffa2d4cefdd9c87c3641487d2baed4c9f85e75ffbc6",
                 "5ea04862fe5e201e47e5aac29c19a1550612f82a048b402cd85435efd9d39d2a",
                 "79f7c942f9b15b857abcb838123991ad756ea3bb846045ed3378e484428f74a3",
                 "97effc20423d404cf3877cdb4af9be840a720962246408b2d7396362a9e5d613",
                 "a4af59c1f044ff1290e47e74484163243591f56b7053c8b8d3e4ae320cecbac3",
                 "941bc9193d9143d71e2c93803b0cbff511ec549f0c4f0093744cab6bedd4140a",
                 "3f9075c30f63d67693f2f876212f702ddfe51834c73289718baf6e8fb2036039",
                 "8157d5ee0336f8c9f968da4d9e0c39f70067406ef73a5b25e5d2ed90dd54985e",
                 "989e5cb0690ec99115f20fea1bc2cfdcf08d910fc468a99bd8416ccdae5b159c",
                 "adeb733bf80927e6b365fc6a03547d401d51539b1b4623e55199992d242c69ba",
                 "34e985694d5fddbe4a27ab986975e2980b0c0a2005c0779435e7ce16004f4fe8",
                 "e37d10eead5f14a3ea9d2be0e95012a2928964928e447ac7c4fac9a547f0a863",
                 "38011e713b4be8577576062754cad03e9899859488932ae4c9c83e5fbb5cb7d2",
                 "6f1be9e26e403a885cc3b1ff0e4dbecbc96c0821119d25990c3e211564f215d5",
                 "eda6b433006b571d1675c6c19f8c7fd786ac5926c063aabea947ea2db636066e") and
  not (process.args : "$execWrapper" and process.name : "powershell.exe" and process.parent.name : "cmd.exe") and
  not (process.code_signature.subject_name in ("Malwarebytes Inc.", "Malwarebytes Inc", "Proton AG", "Elaborate Bytes AG", "vast limits GmbH", "Read AI", "wespond UG (Haftungsbeschränkt)", "Reference Health") and process.code_signature.trusted == true) and
  not process.executable : ("\\Device\\HarddiskVolume?\\Windows\\System32\\*.exe", "\\Device\\HarddiskVolume?\\Windows\\SysWOW64\\*.exe") and
  not (process.parent.executable : "C:\\Windows\\explorer.exe" and process.parent.thread.Ext.call_stack_summary == "ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|nsis_tauri_utils.dll") and
  not (process.executable like "C:\\Program Files\\WindowsApps\\*.exe" and process.parent.executable : "C:\\Windows\\System32\\sihost.exe") and
  not (process.pe.original_file_name == "PowerToys.KeyboardManagerEngine.exe" and
       process.code_signature.subject_name like "Microsoft*" and
       process.code_signature.trusted == true) and
  not (process.code_signature.subject_name == "Rinth, Inc." and
       process.code_signature.trusted == true)
  ] by process.parent.Ext.real.entity_id

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.parent.command_linematchWerSvcGroupexcludes:process.parent.command_line field:"process.parent.command_line" value:"WerSvcGroup"
process.parent.executableends_with\Windows\System32\svchost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"\Windows\System32\svchost.exe"
process.parent.executableends_with\Windows\System32\dxgiadaptercache.exeexcludes:process.parent.executable field:"process.parent.executable" value:"\Windows\System32\dxgiadaptercache.exe"
process.executableends_with\Windows\System32\WerFaultSecure.exe, \WINDOWS\SysWOW64\WerFaultSecure.exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\WerFaultSecure.exe" field:"process.executable" value:"\WINDOWS\SysWOW64\WerFaultSecure.exe"
process.parent.command_lineis_not_null(no value, null check)excludes:process.parent.command_line
user.ideqS-1-5-18excludes:user.id field:"user.id" value:"S-1-5-18"
process.code_signature.statuseqerrorChainingexcludes:process.code_signature.status field:"process.code_signature.status" value:"errorChaining"
process.code_signature.trustedeqtrueexcludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true"
process.code_signature.subject_nameeqTailscale Inc.excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Tailscale Inc."
process.pe.original_file_nameeqtailscale-ipn.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"tailscale-ipn.exe"
process.code_signature.statuseqerrorTimeStampexcludes:process.code_signature.status field:"process.code_signature.status" value:"errorTimeStamp"
process.code_signature.subject_nameeqRoblox Corporationexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Roblox Corporation"
process.pe.original_file_nameeqRobloxApp.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"RobloxApp.exe"
process.executableeqC:\Windows\System32\pmlauncher.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\pmlauncher.exe"
process.pe.original_file_nameeqpmlauncher.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"pmlauncher.exe"
process.code_signature.subject_nameeqBeyondTrust Software, Inc, BeyondTrust Software Incexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"BeyondTrust Software, Inc" field:"process.code_signature.subject_name" value:"BeyondTrust Software Inc"
process.nameineqnedt32.exe, excel.exe, fltldr.exe, msaccess.exe, mspub.exe, outlook.exe, powerpnt.exe, winword.exeexcludes:process.name
process.executablewildcard*\Program Files (x86)\*.exe, *\Program Files\*.exeexcludes:process.executable field:"process.executable" value:"*\Program Files (x86)\*.exe" field:"process.executable" value:"*\Program Files\*.exe"
process.Ext.token.integrity_level_nameeqlowexcludes:process.Ext.token.integrity_level_name field:"process.Ext.token.integrity_level_name" value:"low"
process.executableends_with\Windows\System32\backgroundTaskHost.exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\backgroundTaskHost.exe"
process.parent.nameeqsvchost.exeexcludes:process.parent.name field:"process.parent.name" value:"svchost.exe"
process.argseq-Embeddingexcludes:process.args field:"process.args" value:"-Embedding"
process.executableends_with\WINDOWS\system32\OpenWith.exe, \WINDOWS\syswow64\OpenWith.exeexcludes:process.executable field:"process.executable" value:"\WINDOWS\system32\OpenWith.exe" field:"process.executable" value:"\WINDOWS\syswow64\OpenWith.exe"
process.parent.argseqDcomLaunchexcludes:process.parent.args field:"process.parent.args" value:"DcomLaunch"
process.argseq/Processid:{F544C724-92CF-41D5-85B7-65B02914E52D}excludes:process.args field:"process.args" value:"/Processid:{F544C724-92CF-41D5-85B7-65B02914E52D}"
process.executableeq?:\Windows\System32\dllhost.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\System32\dllhost.exe"
process.parent.executableeqC:\Windows\System32\svchost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\svchost.exe"
process.argseq?:\ProgramData\PlatformInstall\GideCode\rtcresofz_Mecrrcpl.dllexcludes:process.args field:"process.args" value:"?:\ProgramData\PlatformInstall\GideCode\rtcresofz_Mecrrcpl.dll"
process.executablewildcard?:\WINDOWS\Microsoft.NET\Framework\*\RegAsm.exeexcludes:process.executable field:"process.executable" value:"?:\WINDOWS\Microsoft.NET\Framework\*\RegAsm.exe"
process.parent.executableeq?:\Windows\System32\svchost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\svchost.exe"
process.code_signature.subject_nameeqMicrosoft Corporationexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Microsoft Corporation"
process.pe.original_file_nameeqFileCoAuth.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"FileCoAuth.exe"
process.pe.original_file_nameeqMpSigStub.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"MpSigStub.exe"
process.pe.original_file_nameincpptools.exe, notification_helper.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"cpptools.exe" field:"process.pe.original_file_name" value:"notification_helper.exe"
process.code_signature.subject_nameeqRinth, Inc.excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Rinth, Inc."
process.code_signature.subject_nameeqvast limits GmbHexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"vast limits GmbH"
process.pe.original_file_nameeqSetACL.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"SetACL.exe"
process.code_signature.subject_nameinMalwarebytes Inc, Malwarebytes Inc.excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Malwarebytes Inc" field:"process.code_signature.subject_name" value:"Malwarebytes Inc."
process.pe.original_file_nameeqMBSetup.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"MBSetup.exe"
process.code_signature.subject_namematchMichael Maltsevexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Michael Maltsev"
process.code_signature.subject_namestarts_withMicrosoftexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Microsoft"
process.pe.original_file_nameinPowerToys.exe, devenv.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"PowerToys.exe" field:"process.pe.original_file_name" value:"devenv.exe"
process.command_linematch -k netsvcsexcludes:process.command_line field:"process.command_line" value:" -k netsvcs"
process.executableends_with\windows\system32\svchost.exeexcludes:process.executable field:"process.executable" value:"\windows\system32\svchost.exe"
process.command_linematchWerSvcGroupexcludes:process.command_line field:"process.command_line" value:"WerSvcGroup"
process.command_linematchseclogonexcludes:process.command_line field:"process.command_line" value:"seclogon"
process.executableends_with\Windows\System32\PickerHost.Exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\PickerHost.Exe"
process.executableends_with\Windows\System32\SystemSettingsBroker.exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\SystemSettingsBroker.exe"
process.executableeqC:\Windows\System32\msiexec.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\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\sihost.exe, C:\Windows\System32\ShellHost.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\sihost.exe" field:"process.executable" value:"C:\Windows\System32\ShellHost.exe"
process.parent.executableeqC:\Windows\System32\sihost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\System32\sihost.exe"
process.executablewildcard*\Windows\SystemApps\Microsoft*.exeexcludes:process.executable field:"process.executable" value:"*\Windows\SystemApps\Microsoft*.exe"
process.parent.executableends_with\Windows\system32\svchost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"\Windows\system32\svchost.exe"
process.nameeqcpptools.exeexcludes:process.name field:"process.name" value:"cpptools.exe"
process.parent.executableeq?:\Program Files\Microsoft VS Code\Code.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\Microsoft VS Code\Code.exe"
process.executableends_with\Windows\System32\RuntimeBroker.exe, \Windows\ImmersiveControlPanel\SystemSettings.exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\RuntimeBroker.exe" field:"process.executable" value:"\Windows\ImmersiveControlPanel\SystemSettings.exe"
process.executablewildcard?:\Windows\SoftwareDistribution\*.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\SoftwareDistribution\*.exe"
process.Ext.token.integrity_level_nameeqsystemexcludes:process.Ext.token.integrity_level_name field:"process.Ext.token.integrity_level_name" value:"system"
process.executableends_with\WINDOWS\system32\WerFaultSecure.exeexcludes:process.executable field:"process.executable" value:"\WINDOWS\system32\WerFaultSecure.exe"
process.argseq$execWrapperexcludes:process.args field:"process.args" value:"$execWrapper"
process.nameeqpowershell.exeexcludes:process.name field:"process.name" value:"powershell.exe"
process.parent.nameeqcmd.exeexcludes:process.parent.name field:"process.parent.name" value:"cmd.exe"
process.argseqfileexcludes:process.args field:"process.args" value:"file"
process.executableends_with\Windows\System32\fsutil.exeexcludes:process.executable field:"process.executable" value:"\Windows\System32\fsutil.exe"
process.parent.executablewildcard*\Users\*\.vscode\extensions\ms-vscode.cpptools-*\bin\cpptools.exeexcludes:process.parent.executable field:"process.parent.executable" value:"*\Users\*\.vscode\extensions\ms-vscode.cpptools-*\bin\cpptools.exe"
process.args_countge2excludes:process.args_count field:"process.args_count" value:"2"
process.code_signature.subject_nameeqGoogle LLC, Microsoft Corporationexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Google LLC" field:"process.code_signature.subject_name" value:"Microsoft Corporation"
process.parent.executableends_with\Windows\System32\sihost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"\Windows\System32\sihost.exe"
process.pe.original_file_nameinchrome.exe, msedge.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"chrome.exe" field:"process.pe.original_file_name" value:"msedge.exe"
process.code_signature.subject_nameinElaborate Bytes AG, Malwarebytes Inc, Malwarebytes Inc., Proton AG, Read AI, Reference Health, vast limits GmbH, wespond UG (Haftungsbeschränkt)excludes:process.code_signature.subject_name
process.pe.original_file_nameeqPowerToys.KeyboardManagerEngine.exeexcludes:process.pe.original_file_name field:"process.pe.original_file_name" value:"PowerToys.KeyboardManagerEngine.exe"
process.executableeq?:\Windows\System32\MpSigStub.exe, ?:\Windows\SysWOW64\MpSigStub.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\System32\MpSigStub.exe" field:"process.executable" value:"?:\Windows\SysWOW64\MpSigStub.exe"
process.parent.nameinwuauclt.exe, wuaucltcore.exeexcludes:process.parent.name field:"process.parent.name" value:"wuauclt.exe" field:"process.parent.name" value:"wuaucltcore.exe"
process.executablewildcardC:\Program Files\WindowsApps\*.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files\WindowsApps\*.exe"
process.parent.executableeqC:\Windows\explorer.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\explorer.exe"
process.parent.thread.Ext.call_stack_summaryeqntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|nsis_tauri_utils.dllexcludes:process.parent.thread.Ext.call_stack_summary field:"process.parent.thread.Ext.call_stack_summary" value:"ntdll.dll|wow64.dll|wow64cpu.dll|wow64.dll|ntdll.dll|kernelbase.dll|nsis_tauri_utils.dll"
process.executableends_with\Windows\system32\AuthHost.exeexcludes:process.executable field:"process.executable" value:"\Windows\system32\AuthHost.exe"
process.executableeq?:\Windows\SysWOW64\WerFault.exe, ?:\Windows\system32\WerFault.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\SysWOW64\WerFault.exe" field:"process.executable" value:"?:\Windows\system32\WerFault.exe"
process.executablewildcard\Device\HarddiskVolume?\Windows\System32\*.exe, \Device\HarddiskVolume?\Windows\SysWOW64\*.exeexcludes:process.executable field:"process.executable" value:"\Device\HarddiskVolume?\Windows\System32\*.exe" field:"process.executable" value:"\Device\HarddiskVolume?\Windows\SysWOW64\*.exe"
process.hash.sha256eq02cfaec8d3f905a7a940dc307fb1c0558eed6a80e663526f73efeb79c1808b87, bd7ed99c8a05b3852cc4e44a34e4ba4f7ad4d4074ee60ad6a21a706897eeb714, c5b9688aed57d6b6285a210d40c9a4bf43c3672a758d448cd99f40fdc6681415, dee8aba745a6cca1b2404f5054dd91d4159d824c3f079fe742c6a25961d7a9f0, 0a04684ef46dcac1859a195e8c7d4bfdb2dddb7da1d4491e8b7bf794036eba3a, 217fa613c4e129f20d1b20fd2ce5c7a7efbdf88e1e6121077057d0b14fe15450, 038d7b257b98421ad371189cf51d67f32ddad2de687c443a59ea74e4027bbf04, 590f3cc02628dcdb43d3ee00ecf1a86e0bfcefd26cb0ffcb809a67194b22fda6, ff7627eaa90ce994207d1d1d1b39ac8852b11f03a6adb86d915f4696401beca0, a0b1f604c335315b5ba5a598436bf6c8b05ce77742e2f1b102a8c7d11918408d, f074a65751beb589b99ecffa2d4cefdd9c87c3641487d2baed4c9f85e75ffbc6, 5ea04862fe5e201e47e5aac29c19a1550612f82a048b402cd85435efd9d39d2a, 79f7c942f9b15b857abcb838123991ad756ea3bb846045ed3378e484428f74a3, 97effc20423d404cf3877cdb4af9be840a720962246408b2d7396362a9e5d613, a4af59c1f044ff1290e47e74484163243591f56b7053c8b8d3e4ae320cecbac3, 941bc9193d9143d71e2c93803b0cbff511ec549f0c4f0093744cab6bedd4140a, 3f9075c30f63d67693f2f876212f702ddfe51834c73289718baf6e8fb2036039, 8157d5ee0336f8c9f968da4d9e0c39f70067406ef73a5b25e5d2ed90dd54985e, 989e5cb0690ec99115f20fea1bc2cfdcf08d910fc468a99bd8416ccdae5b159c, adeb733bf80927e6b365fc6a03547d401d51539b1b4623e55199992d242c69ba, 34e985694d5fddbe4a27ab986975e2980b0c0a2005c0779435e7ce16004f4fe8, e37d10eead5f14a3ea9d2be0e95012a2928964928e447ac7c4fac9a547f0a863, 38011e713b4be8577576062754cad03e9899859488932ae4c9c83e5fbb5cb7d2, 6f1be9e26e403a885cc3b1ff0e4dbecbc96c0821119d25990c3e211564f215d5, eda6b433006b571d1675c6c19f8c7fd786ac5926c063aabea947ea2db636066eexcludes: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.namein
  • eqnedt32.exe corpus 8 (elastic 8)
  • excel.exe corpus 34 (elastic 34)
  • fltldr.exe corpus 8 (elastic 8)
  • msaccess.exe corpus 19 (elastic 19)
  • mspub.exe corpus 15 (elastic 15)
  • outlook.exe corpus 9 (elastic 7, splunk 2)
  • powerpnt.exe corpus 31 (elastic 31)
  • winword.exe corpus 35 (elastic 35)
field:"process_name" kind:in
process.parent.Ext.real.pidgt
  • 0 transforms: number corpus 11 (elastic 11)
field:"process.parent.Ext.real.pid" kind:gt value:"0"
process.parent.executableis_not_null
  • (no value, null check)
field:"ParentImage" kind:is_not_null