Query: rule covering Detects when the Notepad++ updater (gup.exe) creates files in suspicious or uncommon locations. This could indicate pote
Matching passage: Sigma rule: Detects when the Notepad++ updater (gup.exe) creates files in suspicious or uncommon locations. This could indicate pote. Logsource: windows / file_event. Rule: title: Uncommon File Created by Notepad++ Updater Gup.EXE id: 3b8f4c92-6a51-4d7e-9c3a-8e2d1f5a7b09 status: experimental description: 'Detects when the Notepad++ updater (gup.exe) creates files in suspicious or uncommon locations. This could indicate potential exploitation of the updater component to deliver unwanted malware or unwarranted files. ' references: - https://notepad-plus-plus.org/news/v889-released/ - https://www.heise.de/en/news/Notepad-updater-installed-malware-11109726.html - https://www.rapid7.com/blog/post/tr-chrysalis-backdoor-dive-into-lotus-blossoms-toolkit/ - https://www.validin.com/blog/exploring_notepad_plus_plus_network_indicators/ - https://securelist.com/notepad-supply-chain-attack/118708/ author: Swachchhanda Shrawan Poudel (Nextron Systems) date: 2026-02-03 modified: 2026-03-16 tags: - attack.collection - attack.credential-access - attack.t1195.002 - attack.initial-access - attack.t1557 logsource: category: file_event product: windows detection: selection: Image|endswith: \gup.exe filter_main_legit_paths: TargetFilename|startswith: - C:\Program Files\Notepad++\ - C:\Program Files (x86)\Notepad++\ filter_main_temp_update_installer: TargetFilename|startswith: C:\Users\ TargetFilename|contains|all: - \AppData\Local\Temp\ - npp. - .Installer. - .exe filter_main_temp_generic_zip: TargetFilename|startswith: C:\Users\ TargetFilename|contains|all: - \AppData\Local\Temp\ - .zip filter_main_recycle_bin: TargetFilename|startswith: C:\$Recycle.Bin\S-1-5-21 filter_main_plugins: - TargetFilename|contains: - \plugins\JsonTools\testfiles\ - \Notepad++\plugins\ComparePlugin\ - TargetFilename|contains|all: - npp. - .portable. - \plugins\ condition: selection and not 1 of filter_main_* falsepositives: - Custom or portable Notepad++ installations in non-standard directories. - Legitimate update processes creating temporary files in unexpected locations. level: high
Near-miss passage: Sigma rule: Detects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific ser. Logsource: windows / security. Rule: title: Metasploit Or Impacket Service Installation Via SMB PsExec id: 6fb63b40-e02a-403e-9ffd-3bcc1d749442 related: - id: 1a17ce75-ff0d-4f02-9709-2b7bb5618cf0 type: derived status: test description: Detects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific service installation references: - https://bczyz1.github.io/2021/01/30/psexec.html author: Bartlomiej Czyz, Relativity date: 2021-01-21 modified: 2022-10-05 tags: - attack.lateral-movement - attack.t1021.002 - attack.t1570 - attack.execution - attack.t1569.002 logsource: product: windows service: security definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697 detection: selection: EventID: 4697 ServiceFileName|re: ^%systemroot%\\[a-zA-Z]{8}\.exe$ ServiceName|re: (^[a-zA-Z]{4}$)|(^[a-zA-Z]{8}$)|(^[a-zA-Z]{16}$) ServiceStartType: 3 ServiceType: '0x10' filter: ServiceName: PSEXESVC condition: selection and not filter falsepositives: - Possible, different agents with a 8 character binary and a 4, 8 or 16 character service name level: high