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.

2.9 KB
Raw Blame
id: splunk-security-content-23587b6a-c479-11eb-b671-acde48001122
name: Excessive distinct processes from Windows Temp
description: The following analytic identifies an excessive number of distinct processes
  executing from the Windows\Temp directory. It leverages data from Endpoint Detection
  and Response (EDR) agents, focusing on process paths and counts within a 20-minute
  window. This behavior is significant as it often indicates the presence of post-exploit
  frameworks like Koadic and Meterpreter, which use this technique to execute malicious
  actions. If confirmed malicious, this activity could allow attackers to execute
  arbitrary code, escalate privileges, and maintain persistence within the environment,
  posing a severe threat to system integrity and security.
severity: medium
enabled: false
tags:
  mitre:
  - T1059
  categories:
  - endpoint
references:
- https://www.offensive-security.com/metasploit-unleashed/about-meterpreter/
logsource:
  product: splunk
detection:
  splunk_spl: '| tstats `security_content_summariesonly` distinct_count(Processes.process)
    as distinct_process_count min(_time) as firstTime max(_time) as lastTime 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.process_name) as process_name values(Processes.process_path)
    as process_path values(Processes.user_id) as user_id values(Processes.vendor_product)
    as vendor_product from datamodel=Endpoint.Processes where Processes.process_path
    = "*\\Windows\\Temp\\*" by Processes.dest Processes.user _time span=20m |  where
    distinct_process_count > 37 | `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)`
    | `security_content_ctime(lastTime)` | `excessive_distinct_processes_from_windows_temp_filter`'
provenance:
  source: splunk/security_content
  source_id: 23587b6a-c479-11eb-b671-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_distinct_processes_from_windows_temp.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema