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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-ddf82fcb-e9ee-40e3-8712-a50b5bf323fc
name: Windows PowerShell ScheduleTask
description: The following analytic detects potential malicious activities involving
PowerShell's task scheduling cmdlets. It leverages PowerShell Script Block Logging
(EventCode 4104) to identify unusual or suspicious use of cmdlets like 'New-ScheduledTask'
and 'Set-ScheduledTask'. This activity is significant as attackers often use these
cmdlets for persistence and remote execution of malicious code. If confirmed malicious,
this could allow attackers to maintain access, deliver additional payloads, or execute
ransomware, leading to data theft or other severe impacts. Immediate investigation
and mitigation are crucial to prevent further compromise.
severity: medium
enabled: false
tags:
mitre:
- T1053.005
- T1059.001
categories:
- endpoint
references:
- https://learn.microsoft.com/en-us/powershell/module/scheduledtasks/?view=windowsserver2022-ps
- https://thedfirreport.com/2023/06/12/a-truly-graceful-wipe-out/
logsource:
product: splunk
detection:
splunk_spl: "`powershell` EventCode=4104 ScriptBlockText IN (\"*New-ScheduledTask*\"\
, \"*New-ScheduledTaskAction*\", \"*New-ScheduledTaskSettingsSet*\", \"*New-ScheduledTaskTrigger*\"\
, \"*Register-ClusteredScheduledTask*\", \"*Register-ScheduledTask*\", \"*Set-ClusteredScheduledTask*\"\
, \"*Set-ScheduledTask*\", \"*Start-ScheduledTask*\", \"*Enable-ScheduledTask*\"\
)\n | fillnull\n | stats count min(_time) as firstTime max(_time) as lastTime\n\
\ BY dest signature signature_id\n user_id vendor_product EventID\n \
\ Guid Opcode Name\n Path ProcessID ScriptBlockId\n ScriptBlockText\n\
\ | `security_content_ctime(firstTime)`\n | `security_content_ctime(lastTime)`\n\
\ | `windows_powershell_scheduletask_filter`"
provenance:
source: splunk/security_content
source_id: ddf82fcb-e9ee-40e3-8712-a50b5bf323fc
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/windows_powershell_scheduletask.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema