Hunts & Detections

Source dated

Original query

Splunk · SPL · Apache-2.0

Flags unusual browser native-messaging registry activity.

Telemetry Windows Sysmon Event ID 13 with Splunk’s field mappings and macros.

Upstream author Onur Mustafa Erdogan, Splunk

Copyright 2026 Splunk Inc.

SPL
`sysmon` EventCode=13
registry_path IN (
    "*\\Chrome\\NativeMessagingHosts\\*",
    "*\\Edge\\NativeMessagingHosts\\*"
)
process_path IN (
    "*:\\PerfLogs\\*",
    "*:\\ProgramData\\*",
    "*:\\Users\\*",
    "*:\\Windows\\*"
)
NOT process_path IN (
    "*:\\Windows\\Installer\\*",
    "*:\\Windows\\System32\\msiexec.exe",
    "*:\\Windows\\System32\\reg.exe",
    "*:\\Windows\\SysWOW64\\msiexec.exe",
    "*:\\Windows\\SysWOW64\\reg.exe"
)
NOT registry_path IN (
    "*\\NativeMessagingHosts\\com.anthropic.claude_browser_extension\\*",
    "*\\NativeMessagingHosts\\com.anthropic.claude_code_browser_extension\\*",
    "*\\NativeMessagingHosts\\com.microsoft.onedrive.nucleus.auth.provider\\*",
    "*\\NativeMessagingHosts\\com.soundresearch.contentclassifier\\*",
    "*\\NativeMessagingHosts\\com.wps.anydocextension\\*",
    "*\\NativeMessagingHosts\\com.wps.pdfextension\\*"
)
NOT user IN ("SYSTEM", "*\\SYSTEM")

| regex process_path!="(?i)[\\\\/]+AppData[\\\\/]+Local[\\\\/]+(?:[^\\\\/]+[\\\\/]+){1,}[^\\\\/]+\\.\\w+$"

| stats count min(_time) as firstTime
              max(_time) as lastTime

 by dest user process_guid process_id process_name process_path
    registry_path registry_value_name registry_value_data
    vendor_product

| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `windows_native_messaging_host_registered_by_user_writable_binary_filter`