LoFP LoFP / the same functionality can be implemented by admin scripts, correlate with name and creator

Techniques

Sample rules

PowerShell Script With File Hostname Resolving Capabilities

Description

Detects PowerShell scripts that have capabilities to read files, loop through them and resolve DNS host entries.

Detection logic

condition: selection
selection:
  ScriptBlockText|contains|all:
  - 'Get-content '
  - foreach
  - '[System.Net.Dns]::GetHostEntry'
  - Out-File