Detection rules › Sigma
Potential Persistence Via Notepad++ Plugins
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
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 11 | FileCreate |
Stages and Predicates
Stage 1: selection
TargetFilename|endswith: .dll
TargetFilename|contains: '\Notepad++\plugins\'
Stage 2: not 1 of filter_*
or:
or:
Image|endswith: Installer.x64.exe
Image|endswith: '\target.exe'
Image|contains: '\AppData\Local\Temp\'
Image|startswith: 'C:\Users\'
TargetFilename: ['C:\Program Files\Notepad++\plugins\Config\nppPluginList.dll', 'C:\Program Files\Notepad++\plugins\NppConverter\NppConverter.dll', 'C:\Program Files\Notepad++\plugins\NppExport\NppExport.dll', 'C:\Program Files\Notepad++\plugins\mimeTools\mimeTools.dll']
Image|endswith: .exe
Image|contains: '\npp.'
Image|endswith: '\Notepad++\updater\gup.exe'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | ends_with |
|
Image | match |
|
Image | starts_with |
|
TargetFilename | ends_with |
|
TargetFilename | eq |
|
TargetFilename | match |
|