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.

1.8 KB
Raw Blame
id: splunk-security-content-9d22a780-5165-11ec-ad4f-3e22fbd008af
name: Randomly Generated Scheduled Task Name
description: The following analytic detects the creation of a Scheduled Task with
  a high entropy, randomly generated name, leveraging Event ID 4698. It uses the `ut_shannon`
  function from the URL ToolBox Splunk application to measure the entropy of the Task
  Name. This activity is significant as adversaries often use randomly named Scheduled
  Tasks for lateral movement and remote code execution, employing tools like Impacket
  or CrackMapExec. If confirmed malicious, this could allow attackers to execute arbitrary
  code remotely, potentially leading to further compromise and persistence within
  the network.
severity: medium
enabled: false
tags:
  mitre:
  - T1053.005
  categories:
  - endpoint
references:
- https://attack.mitre.org/techniques/T1053/005/
- https://splunkbase.splunk.com/app/2734/
- https://en.wikipedia.org/wiki/Entropy_(information_theory)
logsource:
  product: splunk
detection:
  splunk_spl: "`wineventlog_security` EventCode=4698\n  | xmlkv Message\n  | lookup\
    \ ut_shannon_lookup word as Task_Name\n  | where ut_shannon > 3\n  | table  _time,\
    \ dest, Task_Name, ut_shannon, Command, Author, Enabled, Hidden\n  | `randomly_generated_scheduled_task_name_filter`"
provenance:
  source: splunk/security_content
  source_id: 9d22a780-5165-11ec-ad4f-3e22fbd008af
  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/randomly_generated_scheduled_task_name.yml
notes:
  splunk_status: experimental
  splunk_data_source: []
  quarantine_reason: 'upstream status: experimental'