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: sigmahq-sigma-1228c958-e64e-4e71-92ad-7d429f4138ba
name: Script Interpreter Execution From Suspicious Folder
description: 'Detects suspicious script execution from suspicious directories or folders
accessible by environment variables that may indicate malware activity.
Script interpreters (cscript, wscript, mshta, powershell) executing from folders
like Temp, Public, or user profile directories may suggest attempts to evade detection
or execute malicious scripts.'
severity: high
enabled: false
tags:
mitre:
- T1059
categories:
- endpoint
references:
- https://www.virustotal.com/gui/file/91ba814a86ddedc7a9d546e26f912c541205b47a853d227756ab1334ade92c3f
- https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/shuckworm-russia-ukraine-military
- https://learn.microsoft.com/en-us/windows/win32/shell/csidl
logsource:
category: process_creation
product: windows
detection:
selection_proc_image:
Image|endswith:
- \cscript.exe
- \mshta.exe
- \wscript.exe
selection_proc_flags:
CommandLine|contains:
- ' -ep bypass '
- ' -ExecutionPolicy bypass '
- ' -w hidden '
- '/e:javascript '
- '/e:Jscript '
- '/e:vbscript '
selection_proc_original:
OriginalFileName:
- cscript.exe
- mshta.exe
- wscript.exe
selection_folders_1:
CommandLine|contains:
- :\Perflogs\
- :\Users\Public\
- \%Public%
- \AppData\Local\Temp
- \AppData\Roaming\Temp
- \Temporary Internet
- \Windows\Temp
- \Start Menu\Programs\Startup\
- '%TEMP%'
- '%TMP%'
- '%LocalAppData%\Temp'
selection_folders_2:
- CommandLine|contains|all:
- :\Users\
- \Favorites\
- CommandLine|contains|all:
- :\Users\
- \Favourites\
- CommandLine|contains|all:
- :\Users\
- \Contacts\
- CommandLine|contains|all:
- :\Users\
- \Documents\
- CommandLine|contains|all:
- :\Users\
- \Music\
- CommandLine|contains|all:
- :\Users\
- \Pictures\
- CommandLine|contains|all:
- :\Users\
- \Videos\
filter_optional_chocolatey_installer:
ParentImage:
- C:\Windows\System32\Msiexec.exe
- C:\Windows\SysWOW64\Msiexec.exe
Image|endswith: \powershell.exe
CommandLine|contains|all:
- -NoProfile -ExecutionPolicy Bypass -Command
- AppData\Local\Temp\
- Install-Chocolatey.ps1
condition: 1 of selection_proc_* and 1 of selection_folders_* and not 1 of filter_optional_*
provenance:
source: SigmaHQ/sigma
source_id: 1228c958-e64e-4e71-92ad-7d429f4138ba
source_commit: df5c6a6
license: DRL-1.1
license_url: https://github.com/SigmaHQ/Detection-Rule-License
imported_at: '2026-05-04'
imported_by: sigma_importer
upstream_path: rules/windows/process_creation/proc_creation_win_susp_script_exec_from_env_folder.yml
falsepositives:
- Various legitimate software have been observed to use similar techniques for installation
or update purposes;thus, it is recommended to review and tune filters for your environment
to reduce false positives before deploying to production.
notes:
quarantine_reason: 'upstream status: test'