Skip to content

Commit 552fc76

Browse files
authored
Fix for #134 (#173)
1 parent f0df2b1 commit 552fc76

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

AppInspector/rules/default/os/dynamic_execution.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,37 @@
239239
"confidence": "high"
240240
}
241241
]
242+
},
243+
{
244+
"name": "OS: Dynamic Execution",
245+
"id": "AI035510",
246+
"description": "OS: Dynamic Execution",
247+
"tags": [
248+
"OS.Process.DynamicExecution"
249+
],
250+
"severity": "moderate",
251+
"patterns": [
252+
{
253+
"pattern": "powershell|cmd|rundll32|regedit|wscript|javaw|csc|regsvr32|certutil|bitsadmin|schtasks|wmic|eqnedt32|msiexec|cmstp|mshta|curl|installutil|regsvcs|regasm|msbuild|cscript|msxsl|runonce",
254+
"type": "regex-word",
255+
"scopes": [ "code" ],
256+
"modifiers": [ "i" ],
257+
"confidence": "high"
258+
},
259+
{
260+
"pattern": "sc (config|query|start|stop)",
261+
"type": "regex-word",
262+
"scopes": [ "code" ],
263+
"modifiers": [ "i" ],
264+
"confidence": "high"
265+
},
266+
{
267+
"pattern": "reg (add|copy|delete|import|export|restore|save|unload|compare)",
268+
"type": "regex-word",
269+
"scopes": [ "code" ],
270+
"modifiers": [ "i" ],
271+
"confidence": "high"
272+
}
273+
]
242274
}
243275
]

0 commit comments

Comments
 (0)