Skip to content

Commit 3c0d351

Browse files
Merge PR #6204 from @swachchhanda000 - Fix Potentially Suspicious Mofcomp Execution
fix: Potentially Suspicious Mofcomp Execution - add fp filter for installutil
1 parent c99a967 commit 3c0d351

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

rules/windows/process_creation/proc_creation_win_mofcomp_execution.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Potential Suspicious Mofcomp Execution
1+
title: Potentially Suspicious Mofcomp Execution
22
id: 1dd05363-104e-4b4a-b963-196a534b03a1
33
status: test
44
description: |
@@ -11,7 +11,7 @@ references:
1111
- https://learn.microsoft.com/en-us/windows/win32/wmisdk/mofcomp
1212
author: Nasreddine Bencherchali (Nextron Systems)
1313
date: 2022-07-12
14-
modified: 2023-04-11
14+
modified: 2026-08-06
1515
tags:
1616
- attack.stealth
1717
- attack.t1218
@@ -32,19 +32,29 @@ detection:
3232
- '\cscript.exe'
3333
- CommandLine|contains:
3434
- '\AppData\Local\Temp'
35+
- '\Contacts\'
36+
- '\Favorites\'
37+
- '\Favourites\'
38+
- '\Music\'
39+
- '\Pictures\'
3540
- '\Users\Public\'
41+
- '\Videos\'
3642
- '\WINDOWS\Temp\'
43+
- '%appdata%'
3744
- '%temp%'
3845
- '%tmp%'
39-
- '%appdata%'
4046
filter_main_wmiprvse:
4147
ParentImage: 'C:\Windows\System32\wbem\WmiPrvSE.exe'
4248
CommandLine|contains: 'C:\Windows\TEMP\'
4349
CommandLine|endswith: '.mof'
50+
filter_main_installutil:
51+
ParentCommandLine|endswith: '\InstallUtil.exe /Uninstall C:\Windows\CCM\Microsoft.ConfigurationManager.SVProvider.dll'
52+
ParentImage|endswith: '\InstallUtil.exe'
53+
CommandLine|contains|all:
54+
- 'C:\Windows\TEMP'
55+
- '.tmp'
4456
filter_optional_null_parent:
45-
# Sometimes the parent information isn't available from the Microsoft-Windows-Security-Auditing provider.
46-
CommandLine|contains: 'C:\Windows\TEMP\'
47-
CommandLine|endswith: '.mof'
57+
ParentCommandLine: null
4858
condition: all of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*
4959
falsepositives:
5060
- Unknown

0 commit comments

Comments
 (0)