Query: detect Detects loading of known malicious drivers via their hash. in logs
Matching passage: Sigma rule: Detects loading of known malicious drivers via their hash.. Logsource: windows / driver_load. Rule: title: Malicious Driver Load id: 05296024-fe8a-4baf-8f3d-9a5f5624ceb2 status: test description: Detects loading of known malicious drivers via their hash. references: - https://loldrivers.io/ author: Nasreddine Bencherchali (Nextron Systems) date: 2022-08-18 modified: 2023-12-02 tags: - attack.persistence - attack.privilege-escalation - attack.t1543.003 - attack.t1068 logsource: product: windows category: driver_load detection: selection: Hashes|contains: - MD5=5be61a24f50eb4c94d98b8a82ef58dcf - MD5=d70a80fc73dd43469934a7b1cc623c76 - MD5=3b71eab204a5f7ed77811e41fed73105 - MD5=528ce5ce19eb34f401ef024de7ddf222 - MD5=ae548418b491cd3f31618eb9e5730973 - MD5=72f53f55898548767e0276c472be41e8 - MD5=508faa4647f305a97ed7167abc4d1330 - MD5=ed2b653d55c03f0bffa250372d682b75 - MD5=0d2ba47286f1c68e87622b3a16bf9d92 - MD5=3164bd6c12dd0fe1bdf3b833d56323b9 - MD5=70fd7209ce5c013a1f9e699b5cc86cdc - MD5=c71be7b112059d2dc84c0f952e04e6cc - MD5=acac842a46f3501fe407b1db1b247a0b - MD5=01c2e4d8234258451083d6ce4e8910b7 - MD5=c8541a9cef64589593e999968a0385b9 - MD5=e172a38ade3aa0a2bc1bf9604a54a3b5 - MD5=6fcf56f6ca3210ec397e55f727353c4a - MD5=2b80be31fbb11d4c1ef6d6a80b2e0c16 - MD5=07056573d464b0f5284f7e3acedd4a3f - MD5=c7b7f1edb9bbef174e6506885561d85d - MD5=d5918d735a23f746f0e83f724c4f26e5 - MD5=84763d8ca9fe5c3bff9667b2adf667de - MD5=fb593b1f1f80d20fc7f4b818065c64b6 - MD5=909f3fc221acbe999483c87d9ead024a - MD5=e29f6311ae87542b3d693c1f38e4e3ad - MD5=aeb0801f22d71c7494e884d914446751 - MD5=3f11a94f1ac5efdd19767c6976da9ba4 - MD5=be6318413160e589080df02bb3ca6e6a - MD5=0b311af53d2f4f77d30f1aed709db257 - MD5=d075d56dfce6b9b13484152b1ef40f93 - MD5=27384ec4c634701012a2962c30badad2 - MD5=5eb2c576597dd21a6b44557c237cf896 - MD5=f56db4eba3829c0918413b5c0b42f00f - MD5=e27b2486aa5c256b662812b465b6036c - MD5=db86dfd7aefbb5be6728a63461b0f5f3 - MD5=04a88f5974caa621cee18f34300fc08a - MD5=5129d8fd53d6a4aba81657ab2aa5d243 - MD5=cd2c641788d5d125c316ed739c69bb59 - MD5=7073cd0085fcba1cd7d3568f9e6d652c - MD5=24f0f2b4b3cdae11de1b81c537df41c7 - MD5=88bea56ae9257b40063785cf47546024 - MD5=63060b756377fce2ce4ab9d079ca732f - MD5=50b39072d0ee9af5ef4824eca34be6e3 - MD5=57c18a8f5d1ba6d015e4d5bc698e3624 - MD5=7d26985a5048bad57d9c223362f3d55c - MD5=ba54a0dbe2685e66e21d41b4529b3528 - MD5=4ad8fd9e83d7200bd7f8d0d4a9abfb11 - MD5=b52f51bbe6b49d0b475d943c29c4d4cb - MD5=a837302307dace2a00d07202b661bce2 - MD5=78a122d926ccc371d60c861600c310f3 - MD5=bdb305aa0806f8b38b7ce43c927fe919 - MD5=27053e964667318e1b370150cbca9138 - MD5=6a4fbc
Near-miss passage: Sigma rule: Detects execution of the "mofcomp" utility as a child of a suspicious shell or script running utility or by having a sus. Logsource: windows / process_creation. Rule: title: Potential Suspicious Mofcomp Execution id: 1dd05363-104e-4b4a-b963-196a534b03a1 status: test description: 'Detects execution of the "mofcomp" utility as a child of a suspicious shell or script running utility or by having a suspicious path in the commandline. The "mofcomp" utility parses a file containing MOF statements and adds the classes and class instances defined in the file to the WMI repository. Attackers abuse this utility to install malicious MOF scripts ' references: - https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/ - https://github.com/The-DFIR-Report/Sigma-Rules/blob/75260568a7ffe61b2458ca05f6f25914efb44337/win_mofcomp_execution.yml - https://learn.microsoft.com/en-us/windows/win32/wmisdk/mofcomp author: Nasreddine Bencherchali (Nextron Systems) date: 2022-07-12 modified: 2023-04-11 tags: - attack.stealth - attack.t1218 logsource: category: process_creation product: windows detection: selection_img: - Image|endswith: \mofcomp.exe - OriginalFileName: mofcomp.exe selection_case: - ParentImage|endswith: - \cmd.exe - \powershell.exe - \pwsh.exe - \wsl.exe - \wscript.exe - \cscript.exe - CommandLine|contains: - \AppData\Local\Temp - \Users\Public\ - \WINDOWS\Temp\ - '%temp%' - '%tmp%' - '%appdata%' filter_main_wmiprvse: ParentImage: C:\Windows\System32\wbem\WmiPrvSE.exe CommandLine|contains: C:\Windows\TEMP\ CommandLine|endswith: .mof filter_optional_null_parent: CommandLine|contains: C:\Windows\TEMP\ CommandLine|endswith: .mof condition: all of selection_* and not 1 of filter_main_* and not 1 of filter_optional_* falsepositives: - Unknown level: high