Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

4.1 KB
Raw Blame
id: splunk-security-content-f443dac2-c7cf-11eb-ab51-acde48001122
name: Excessive number of taskhost processes
description: The following analytic identifies an excessive number of taskhost.exe
  and taskhostex.exe processes running within a short time frame. It leverages data
  from Endpoint Detection and Response (EDR) agents, focusing on process names and
  their counts. This behavior is significant as it is commonly associated with post-exploitation
  tools like Meterpreter and Koadic, which use multiple instances of these processes
  for actions such as discovery and lateral movement. If confirmed malicious, this
  activity could indicate an ongoing attack, allowing attackers to execute code, escalate
  privileges, or move laterally within the network.
severity: medium
enabled: false
tags:
  mitre:
  - T1059
  categories:
  - endpoint
references:
- https://attack.mitre.org/software/S0250/
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly` values(Processes.action)\
    \ as action values(Processes.original_file_name) as original_file_name values(Processes.parent_process)\
    \ as parent_process values(Processes.parent_process_exec) as parent_process_exec\
    \ values(Processes.parent_process_guid) as parent_process_guid values(Processes.parent_process_id)\
    \ as parent_process_id values(Processes.parent_process_name) as parent_process_name\
    \ values(Processes.parent_process_path) as parent_process_path values(Processes.process)\
    \ as process values(Processes.process_exec) as process_exec values(Processes.process_guid)\
    \ as process_guid values(Processes.process_hash) as process_hash values(Processes.process_id)\
    \ as process_id values(Processes.process_integrity_level) as process_integrity_level\
    \ values(Processes.user) as user values(Processes.process_path) as process_path\
    \ values(Processes.user_id) as user_id values(Processes.vendor_product) as vendor_product\
    \ min(_time) as firstTime max(_time) as lastTime FROM datamodel=Endpoint.Processes\n\
    \  WHERE Processes.process_name = \"taskhost.exe\"\n    OR\n    Processes.process_name\
    \ = \"taskhostex.exe\"\n  BY Processes.dest Processes.process_name _time\n   \
    \  span=1h\n| `drop_dm_object_name(Processes)`\n| eval pid_count=mvcount(process_id)\n\
    | eval taskhost_count_=if(process_name == \"taskhost.exe\", pid_count, 0)\n| eval\
    \ taskhostex_count_=if(process_name == \"taskhostex.exe\", pid_count, 0)\n| stats\
    \ sum(taskhost_count_) as taskhost_count, sum(taskhostex_count_) as taskhostex_count\
    \ values(action) as action values(original_file_name) as original_file_name values(parent_process)\
    \ as parent_process values(parent_process_exec) as parent_process_exec values(parent_process_guid)\
    \ as parent_process_guid values(parent_process_id) as parent_process_id values(parent_process_name)\
    \ as parent_process_name values(parent_process_path) as parent_process_path values(process)\
    \ as process values(process_exec) as process_exec values(process_guid) as process_guid\
    \ values(process_hash) as process_hash values(process_id) as process_id values(process_integrity_level)\
    \ as process_integrity_level values(user) as user values(process_path) as process_path\
    \ values(user_id) as user_id values(vendor_product) as vendor_product values(process_name)\
    \ as process_name\n  BY _time, dest, firstTime,\n     lastTime\n| where taskhost_count\
    \ > 10 or taskhostex_count > 10\n| `security_content_ctime(firstTime)`\n| `security_content_ctime(lastTime)`\n\
    | `excessive_number_of_taskhost_processes_filter`"
provenance:
  source: splunk/security_content
  source_id: f443dac2-c7cf-11eb-ab51-acde48001122
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/excessive_number_of_taskhost_processes.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema