Add import_module dll

This commit is contained in:
frack113
2023-01-22 17:38:59 +01:00
parent 9739cb1c69
commit 75c01db53b
2 changed files with 64 additions and 0 deletions
@@ -0,0 +1,29 @@
title: Powershell Inport-Module Direct Dll - PsScript
id: 9e620995-f2d8-4630-8430-4afd89f77604
related:
- id: 70bc5215-526f-4477-963c-a47a5c9ebd12
type: similar
status: experimental
description: Detects use of Import-Module from a dll
references:
- https://github.com/samratashok/ADModule
- https://twitter.com/cyb3rops/status/1617108657166061568?s=20
author: frack113
date: 2023/01/22
tags:
- attack.reconnaissance
- attack.discovery
- attack.impact
logsource:
product: windows
category: ps_script
definition: Script Block Logging must be enable
detection:
selection:
ScriptBlockText|contains|all:
- 'Import-Module '
- '.dll'
condition: selection
falsepositives:
- Legitimate use of the library for administrative activity
level: high