Sigma rule: Potential Persistence Via Notepad++ Plugins
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f59fca14fd60, updated 2025-09-01T00:00:00.000Z.
Rule
- Title
- Potential Persistence Via Notepad++ Plugins
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-06-10
- Modified
- 2025-09-01
- File
- rules/windows/file/file_event/file_event_win_notepad_plus_plus_persistence.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects creation of new ".dll" files inside the plugins directory of a notepad++ installation by a process other than "gup.exe". Which could indicates possible persistence
Log source
- product
- windows
- category
- file_event
Detection
selection:
TargetFilename|contains: '\Notepad++\plugins\'
TargetFilename|endswith: '.dll'
filter_gup:
Image|endswith: '\Notepad++\updater\gup.exe'
filter_install:
# This filter is for Sigma dataset you could remove it or change when using the rule in your own env
Image|startswith: 'C:\Users\'
Image|contains: '\AppData\Local\Temp\'
Image|endswith:
- '\target.exe'
- 'Installer.x64.exe'
filter_main_installer:
Image|contains: '\npp.'
Image|endswith: '.exe'
TargetFilename:
- 'C:\Program Files\Notepad++\plugins\NppExport\NppExport.dll'
- 'C:\Program Files\Notepad++\plugins\mimeTools\mimeTools.dll'
- 'C:\Program Files\Notepad++\plugins\NppConverter\NppConverter.dll'
- 'C:\Program Files\Notepad++\plugins\Config\nppPluginList.dll'
condition: selection and not 1 of filter_*False positives (as the rule lists them)
- Possible FPs during first installation of Notepad++
- Legitimate use of custom plugins by users in order to enhance notepad++ functionalities
Tags
- attack.persistence
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_notepad_plus_plus_persistence.yml
Sources and licences
SigmaHQ
"Potential Persistence Via Notepad++ Plugins" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_notepad_plus_plus_persistence.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential Persistence Via Notepad++ Plugins",
entity page, dataset version ref-f59fca14fd60, updated 2025-09-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/54127bd4-f541-4ac3-afdb-ea073f63f692 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 54127bd4-f541-4ac3-afdb-ea073f63f692, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.