Skip to content

Commit 8b39230

Browse files
swachchhanda000nasbenchphantinuss
committed
Merge PR SigmaHQ#5246 from @swachchhanda000 - add more extensions that could be suspicious for startup folder
update: Suspicious Startup Folder Persistence: add more suspicious extensions --------- Co-authored-by: nasbench <nasbench@users.noreply.github.com> Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
1 parent 6ce1535 commit 8b39230

1 file changed

Lines changed: 22 additions & 8 deletions

File tree

rules/windows/file/file_event/file_event_win_susp_startup_folder_persistence.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@ related:
44
- id: 2aa0a6b4-a865-495b-ab51-c28249537b75
55
type: similar
66
status: test
7-
description: Detects when a file with a suspicious extension is created in the startup folder
7+
description: |
8+
Detects the creation of potentially malicious script and executable files in Windows startup folders, which is a common persistence technique used by threat actors.
9+
These files (.ps1, .vbs, .js, .bat, etc.) are automatically executed when a user logs in, making the Startup folder an attractive target for attackers.
10+
This technique is frequently observed in malvertising campaigns and malware distribution where attackers attempt to maintain long-term access to compromised systems.
811
references:
912
- https://github.com/last-byte/PersistenceSniper
10-
author: Nasreddine Bencherchali (Nextron Systems)
13+
- https://www.microsoft.com/en-us/security/blog/2025/03/06/malvertising-campaign-leads-to-info-stealers-hosted-on-github/
14+
- https://github.com/redcanaryco/atomic-red-team/blob/5ede8f21e42ebe37e0a6eff757dba60bcfa85859/atomics/T1547.001/T1547.001.md
15+
author: Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
1116
date: 2022-08-10
12-
modified: 2023-01-06
17+
modified: 2025-10-12
1318
tags:
19+
- attack.execution
20+
- attack.t1204.002
1421
- attack.persistence
1522
- attack.t1547.001
1623
logsource:
@@ -21,16 +28,23 @@ detection:
2128
TargetFilename|contains: '\Windows\Start Menu\Programs\Startup\'
2229
TargetFilename|endswith:
2330
# Add or remove suspicious extensions according to your env needs
24-
- '.vbs'
25-
- '.vbe'
2631
- '.bat'
27-
- '.ps1'
28-
- '.hta'
32+
- '.cmd'
2933
- '.dll'
34+
- '.hta'
3035
- '.jar'
36+
- '.js'
37+
- '.jse'
3138
- '.msi'
39+
- '.ps1'
40+
- '.psd1'
41+
- '.psm1'
3242
- '.scr'
33-
- '.cmd'
43+
- '.url'
44+
- '.vba'
45+
- '.vbe'
46+
- '.vbs'
47+
- '.wsf'
3448
condition: selection
3549
falsepositives:
3650
- Rare legitimate usage of some of the extensions mentioned in the rule

0 commit comments

Comments
 (0)