Potential PowerShell Obfuscation Using Character Join

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects specific techniques often seen used inside of PowerShell scripts to obfscuate Alias creation

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "-Alias" AND SCRIPTEXECUTED contains " -Value (-join(" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED,Action1.DOMAIN,Action1.PATH,Action1.USERNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)