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-503d17cb-9eab-4cf8-a20e-01d5c6987ae3
name: Batch File Write to System32
description: The following analytic detects the creation of a batch file (.bat) within
the Windows system directory tree, specifically in the System32 or SysWOW64 folders.
It leverages data from the Endpoint datamodel, focusing on process and filesystem
events to identify this behavior. This activity is significant because writing batch
files to system directories can be indicative of malicious intent, such as persistence
mechanisms or system manipulation. If confirmed malicious, this could allow an attacker
to execute arbitrary commands with elevated privileges, potentially compromising
the entire system.
severity: medium
enabled: false
tags:
mitre:
- T1204.002
categories:
- endpoint
references: []
logsource:
product: splunk
detection:
splunk_spl: '| tstats `security_content_summariesonly` count min(_time) as firstTime
max(_time) as lastTime FROM datamodel=Endpoint.Filesystem where Filesystem.file_path
IN ("*\\system32\\*","*\\syswow64\\*") Filesystem.file_name="*.bat" by Filesystem.action
Filesystem.dest Filesystem.file_access_time Filesystem.file_create_time Filesystem.file_hash
Filesystem.file_modify_time Filesystem.file_name Filesystem.file_path Filesystem.file_acl
Filesystem.file_size Filesystem.process_guid Filesystem.process_id Filesystem.user
Filesystem.vendor_product | `drop_dm_object_name(Filesystem)` | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` | `batch_file_write_to_system32_filter`'
provenance:
source: splunk/security_content
source_id: 503d17cb-9eab-4cf8-a20e-01d5c6987ae3
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/batch_file_write_to_system32.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema