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.

2.7 KB
Raw Blame
id: sigmahq-sigma-81325ce1-be01-4250-944f-b4789644556f
name: Schedule Task Creation From Env Variable Or Potentially Suspicious Path Via
  Schtasks.EXE
description: Detects Schtask creations that point to a suspicious folder or an environment
  variable often used by malware
severity: medium
enabled: false
tags:
  mitre:
  - T1053.005
  categories:
  - endpoint
references:
- https://www.welivesecurity.com/2022/01/18/donot-go-do-not-respawn/
- https://www.joesandbox.com/analysis/514608/0/html#324415FF7D8324231381BAD48A052F85DF04
- https://blog.talosintelligence.com/gophish-powerrat-dcrat/
logsource:
  product: windows
  category: process_creation
detection:
  selection_1_create:
    Image|endswith: \schtasks.exe
    CommandLine|contains|windash: ' /create '
  selection_1_all_folders:
    CommandLine|contains:
    - :\Perflogs
    - :\Users\All Users\
    - :\Users\Default\
    - :\Users\Public
    - :\Windows\Temp
    - \AppData\Local\
    - \AppData\Roaming\
    - '%AppData%'
    - '%Public%'
  selection_2_parent:
    ParentCommandLine|endswith: \svchost.exe -k netsvcs -p -s Schedule
  selection_2_some_folders:
    CommandLine|contains:
    - :\Perflogs
    - :\Windows\Temp
    - \Users\Public
    - '%Public%'
  filter_optional_other:
  - ParentCommandLine|contains: unattended.ini
  - CommandLine|contains: update_task.xml
  filter_optional_team_viewer:
    CommandLine|contains: /Create /TN TVInstallRestore /TR
  filter_optional_avira_install:
    CommandLine|contains|all:
    - '/Create /Xml '
    - \Temp\.CR.
    - \Avira_Security_Installation.xml
  filter_optional_avira_other:
    CommandLine|contains|all:
    - /Create /F /TN
    - '/Xml '
    - \Temp\
    - Avira_
    CommandLine|contains:
    - .tmp\UpdateFallbackTask.xml
    - .tmp\WatchdogServiceControlManagerTimeout.xml
    - .tmp\SystrayAutostart.xml
    - .tmp\MaintenanceTask.xml
  filter_optional_klite_codec:
    CommandLine|contains|all:
    - \Temp\
    - '/Create /TN "klcp_update" /XML '
    - \klcp_update_task.xml
  condition: ( all of selection_1_* or all of selection_2_* ) and not 1 of filter_optional_*
provenance:
  source: SigmaHQ/sigma
  source_id: 81325ce1-be01-4250-944f-b4789644556f
  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_schtasks_env_folder.yml
falsepositives:
- Benign scheduled tasks creations or executions that happen often during software
  installations
- Software that uses the AppData folder and scheduled tasks to update the software
  in the AppData folders
notes:
  quarantine_reason: 'upstream status: test'