|
2 | 2 | creation_date = "2020/11/17" |
3 | 3 | integration = ["endpoint"] |
4 | 4 | maturity = "production" |
5 | | -updated_date = "2024/09/23" |
| 5 | +updated_date = "2025/09/18" |
6 | 6 |
|
7 | 7 | [rule] |
8 | 8 | author = ["Elastic"] |
@@ -74,23 +74,42 @@ timestamp_override = "event.ingested" |
74 | 74 | type = "new_terms" |
75 | 75 |
|
76 | 76 | query = ''' |
77 | | -host.os.type:windows and event.category:library and |
78 | | - dll.name:("System.Management.Automation.dll" or "System.Management.Automation.ni.dll") and |
| 77 | +host.os.type:windows and event.category:library and |
| 78 | + dll.name:("System.Management.Automation.dll" or "System.Management.Automation.ni.dll") and |
79 | 79 | not ( |
80 | | - process.code_signature.subject_name:("Microsoft Corporation" or "Microsoft Dynamic Code Publisher" or "Microsoft Windows") and process.code_signature.trusted:true and not process.name.caseless:("regsvr32.exe" or "rundll32.exe") |
81 | | - ) and |
| 80 | + process.code_signature.subject_name:( |
| 81 | + "Microsoft Corporation" or |
| 82 | + "Microsoft Dynamic Code Publisher" or |
| 83 | + "Microsoft Windows" |
| 84 | + ) and process.code_signature.trusted:true and not process.name.caseless:"regsvr32.exe" |
| 85 | + ) and |
82 | 86 | not ( |
83 | | - process.executable.caseless:(C\:\\Program*Files*\(x86\)\\*.exe or C\:\\Program*Files\\*.exe) and |
| 87 | + process.executable:(C\:\\Program*Files*\(x86\)\\*.exe or C\:\\Program*Files\\*.exe) and |
84 | 88 | process.code_signature.trusted:true |
85 | | - ) and |
| 89 | + ) and |
86 | 90 | not ( |
87 | | - process.executable.caseless: C\:\\Windows\\Lenovo\\*.exe and process.code_signature.subject_name:"Lenovo" and |
| 91 | + process.executable: C\:\\Windows\\Lenovo\\*.exe and process.code_signature.subject_name:"Lenovo" and |
88 | 92 | process.code_signature.trusted:true |
89 | | - ) and |
| 93 | + ) and |
90 | 94 | not ( |
91 | | - process.executable.caseless: "C:\\ProgramData\\chocolatey\\choco.exe" and |
92 | | - process.code_signature.subject_name:"Chocolatey Software, Inc." and process.code_signature.trusted:true |
93 | | - ) and not process.executable.caseless : "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" |
| 95 | + process.executable: C\:\\Windows\\AdminArsenal\\PDQInventory-Scanner\\service-*\\exec\\PDQInventoryScanner.exe and |
| 96 | + process.code_signature.subject_name:"PDQ.com Corporation" and |
| 97 | + process.code_signature.trusted:true |
| 98 | + ) and |
| 99 | + not ( |
| 100 | + process.executable: C\:\\Windows\\Temp\\\{*\}\\_is*.exe and |
| 101 | + process.code_signature.subject_name:("Dell Technologies Inc." or "Dell Inc" or "Dell Inc.") and |
| 102 | + process.code_signature.trusted:true |
| 103 | + ) and |
| 104 | + not ( |
| 105 | + process.executable: C\:\\ProgramData\\chocolatey\\* and |
| 106 | + process.code_signature.subject_name:("Chocolatey Software, Inc." or "Chocolatey Software, Inc") and |
| 107 | + process.code_signature.trusted:true |
| 108 | + ) and |
| 109 | + not process.executable : ( |
| 110 | + "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" or |
| 111 | + "C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe" |
| 112 | + ) |
94 | 113 | ''' |
95 | 114 |
|
96 | 115 |
|
|
0 commit comments