Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / PERSISTENCE

Startup Folder Abuse

This note documents detection patterns related to Startup Folder Abuse within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Sysmon11File createCriticalDetects payload dropped into Startup folders.
Sysmon1Process creationCriticalPayload launched after logon.
Security4688Process creationCriticalUser logon execution chain.
Security4624Successful logonHighStartup payload usually follows interactive logon.
Sysmon23File deleteMediumCleanup or replacement of startup payload.
Sysmon13Registry value setMediumSometimes paired with Run keys.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Executable/script in Startup pathEXE, LNK, BAT, VBSCriticalCore persistence footprint.
Startup file created shortly before logonTiming correlationCriticalStrong attacker pattern.
LNK points to unusual pathTemp/AppData payloadCriticalCommon stealth technique.
User profile startup abusePer-user persistenceHighLess visible than all-users path.
Hidden file attributesConcealed startup payloadHighStealth clue.
Office/script payload in StartupNon-standard contentHighStrong anomaly.

Common Tools

ToolUsage
explorer.exeStartup trigger after login
cmd.exeDrop startup payload
PowerShellCopy persistence payload
shortcut files (.lnk)Indirect startup execution

Relevant Artifacts

  • Sysmon Event IDs 11, 1, 23, 13
  • Security Event IDs 4688, 4624
  • Startup paths:
    • %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
    • %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
  • LNK files
  • Prefetch for payload
  • MFT / USN timeline
  • Amcache / ShimCache

MITRE ATT&CK References

  • T1547.001 Registry Run Keys / Startup Folder

Decision Tree

  1. Which startup folder?

    • User
    • All users
  2. File type?

    • EXE
    • LNK
    • Script
  3. Created when?

    • Before logon
    • During intrusion
  4. Trigger confirmed?

    • Post-logon execution
    • Child processes
  5. Expand:

    • Adjacent persistence
    • Payload source
    • User context
  6. Scope:

    • Single profile
    • Multiple users
    • Campaign deployment

Example Detection Templates

KQL

Sysmon
| where EventID == 11
| where TargetFilename has "Startup"
| project TimeGenerated, Computer, TargetFilename
SecurityEvent
| where EventID == 4688
| where ParentProcessName endswith "explorer.exe"
| project TimeGenerated, Computer, NewProcessName, CommandLine

EQL

file where file.path like "*\\Startup\\*"
sequence by host.name with maxspan=10m
  [ file where file.path like "*\\Startup\\*" ]
  [ process where process.parent.name == "explorer.exe" ]

Sigma

title: Startup Folder Abuse Detection
id: 5b3d2f17-startup-folder
status: experimental
description: Detects files placed into Windows Startup folders
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: sysmon
detection:
  selection:
    EventID: 11
  keywords:
    TargetFilename|contains: 'Startup'
  condition: selection and keywords
fields:
  - TargetFilename
falsepositives:
  - Legitimate startup entries
level: high
tags:
  - attack.persistence

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
File creation monitoringAlert on Startup writesCriticalStrong signal
Baseline startup entriesLow false positivesHighEasy review
LNK inspectionResolve shortcut targetsCriticalCommon attacker trick
Logon correlationWatch immediate executionHighConfirms trigger
Restrict user write pathsReduce persistence surfaceHighPrevent abuse