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-4a3f2a7d-6402-4e64-a76a-869588ec3b57
name: PowerShell Script Block With URL Chain
description: The following analytic identifies suspicious PowerShell script execution
via EventCode 4104 that contains multiple URLs within a function or array. It leverages
PowerShell operational logs to detect script blocks with embedded URLs, often indicative
of obfuscated scripts or those attempting to download secondary payloads. This activity
is significant as it may signal an attempt to execute malicious code or download
additional malware. If confirmed malicious, this could lead to code execution, further
system compromise, or data exfiltration. Review parallel processes and the full
script block for additional context and related artifacts.
severity: medium
enabled: false
tags:
mitre:
- T1059.001
- T1105
categories:
- endpoint
references:
- https://www.mandiant.com/resources/blog/tracking-evolution-gootloader-operations
- https://thedfirreport.com/2022/05/09/seo-poisoning-a-gootloader-story/
- https://attack.mitre.org/techniques/T1059/001/
logsource:
product: splunk
detection:
splunk_spl: '`powershell` EventCode=4104 ScriptBlockText IN ("*http:*","*https:*")
| regex ScriptBlockText="(\"?(https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*))\"?(?:,|\))?){2,}"
| rex max_match=20 field=ScriptBlockText "(?<url>https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*))"
| fillnull | stats count min(_time) as firstTime max(_time) as lastTime by dest
signature signature_id user_id vendor_product EventID Guid Opcode Name Path ProcessID
ScriptBlockId ScriptBlockText | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
| `powershell_script_block_with_url_chain_filter`'
provenance:
source: splunk/security_content
source_id: 4a3f2a7d-6402-4e64-a76a-869588ec3b57
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/powershell_script_block_with_url_chain.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema