Threat Hunting: PowerShell - Suspicious PowerShell Command Line Arguments
Where in the Cyber Kill Chain?
|
IDENTIFYING |
Suspicious PowerShell Command-line Arguments |
|
COMPONENT |
Remarks |
|
TACTIC |
Windows PowerShell suspicious command line arguments |
|
TECHNIQUE |
Identify the execution of the PowerShell script interpreter with arguments commonly used by attackers: encoded command (enc and encodedcommand), invoke expression (iex), and reference to the .NET web client to download additional content over the Internet. This question deliberately omits the arguments used for execution policy bypass, hidden window, and no profile loading, due to the potential for their legitimate usage. |
|
PROCEDURE |
Trace Executed Processes
When findings come back you can drill down or change the original question to allow stackable results. |
Technique effective against the following adversary TTPs:
-
PowerShell Attacks