Query: alert when Detects whether the image specified in a process creation event doesn't refer to an ".exe" (or other known executable ex
Matching passage: Sigma rule: Detects whether the image specified in a process creation event doesn't refer to an ".exe" (or other known executable ex. Logsource: windows / process_creation. Rule: title: Execution of Suspicious File Type Extension id: c09dad97-1c78-4f71-b127-7edb2b8e491a status: test description: 'Detects whether the image specified in a process creation event doesn''t refer to an ".exe" (or other known executable extension) file. This can be caused by process ghosting or other unorthodox methods to start a process. This rule might require some initial baselining to align with some third party tooling in the user environment. ' references: - https://pentestlaboratories.com/2021/12/08/process-ghosting/ author: Max Altgelt (Nextron Systems) date: 2021-12-09 modified: 2023-11-23 tags: - attack.stealth logsource: category: process_creation product: windows detection: known_image_extension: Image|endswith: - .bin - .cgi - .com - .exe - .scr - .tmp filter_main_image: Image: - System - Registry - MemCompression - vmmem filter_main_msi_installers: Image|contains: :\Windows\Installer\MSI filter_main_driver_store: Image|contains: :\Windows\System32\DriverStore\FileRepository\ filter_main_msi_rollbackfiles: Image|contains: :\Config.Msi\ Image|endswith: - .rbf - .rbs filter_main_windows_temp: - ParentImage|contains: :\Windows\Temp\ - Image|contains: :\Windows\Temp\ filter_main_deleted: Image|contains: :\$Extend\$Deleted\ filter_main_empty: Image: - '-' - '' filter_main_null: Image: null filter_optional_avira: ParentImage|contains: :\ProgramData\Avira\ filter_optional_nvidia: Image|contains: NVIDIA\NvBackend\ Image|endswith: .dat filter_optional_winpakpro: Image|contains: - :\Program Files (x86)\WINPAKPRO\ - :\Program Files\WINPAKPRO\ Image|endswith: .ngn filter_optional_myq_server: Image|endswith: - :\Program Files (x86)\MyQ\Server\pcltool.dll - :\Program Files\MyQ\Server\pcltool.dll filter_optional_wsl: Image|contains|all: - \AppData\Local\Packages\ - \LocalState\rootfs\ filter_optional_lzma_exe: Image|endswith: \LZMA_EXE filter_optional_firefox: Image|contains: :\Program Files\Mozilla Firefox\ filter_optional_docker: ParentImage: C:\Windows\System32\services.exe Image|endswith: com.docker.service condition: not known_image_extension and not 1 of filter_main_* and not 1 of filter_optional_* falsepositives: - Unknown level: medium
Near-miss passage: Sigma rule: Detects modification of autostart extensibility point (ASEP) in registry.. Logsource: windows / registry_set. Rule: title: Internet Explorer Autorun Keys Modification id: a80f662f-022f-4429-9b8c-b1a41aaa6688 related: - id: 17f878b8-9968-4578-b814-c4217fc5768c type: obsolete status: test description: Detects modification of autostart extensibility point (ASEP) in registry. references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1547.001/T1547.001.md - https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns - https://gist.github.com/GlebSukhodolskiy/0fc5fa5f482903064b448890db1eaf9d author: Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split) date: 2019-10-25 modified: 2023-08-17 tags: - attack.privilege-escalation - attack.persistence - attack.t1547.001 logsource: category: registry_set product: windows detection: ie: TargetObject|contains: - \Software\Wow6432Node\Microsoft\Internet Explorer - \Software\Microsoft\Internet Explorer ie_details: TargetObject|contains: - \Toolbar - \Extensions - \Explorer Bars filter_empty: Details: (Empty) filter_extensions: TargetObject|contains: - \Extensions\{2670000A-7350-4f3c-8081-5663EE0C6C49} - \Extensions\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA} - \Extensions\{789FE86F-6FC4-46A1-9849-EDE0DB0C95CA} - \Extensions\{A95fe080-8f5d-11d2-a20b-00aa003c157a} filter_toolbar: TargetObject|endswith: - \Toolbar\ShellBrowser\ITBar7Layout - \Toolbar\ShowDiscussionButton - \Toolbar\Locked condition: ie and ie_details and not 1 of filter_* falsepositives: - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason - Legitimate administrator sets up autorun keys for legitimate reason level: medium