Threat Hunting: PowerShell - Windows PowerShell Connections to Web Port
Where in the Cyber Kill Chain?
|
IDENTIFYING |
PowerShell connections to web ports |
|
COMPONENT |
Remarks |
|
TACTIC |
PowerShell connections to web ports |
|
TECHNIQUE |
Identify network connections to ports 80 or 443 initiated by PowerShell. Can detect attempts to remotely download and execute script code via the PS interpreter. Should be atypical in most environments. |
|
PROCEDURE |
Aside from Exchange Server administration, PowerShell rarely communicates to port 443 during legitimate usage.
When findings come back you can drill down or change the original question to allow stackable results. Note: Microsoft has an additional, newer powershell binary, pwsh.exe. You should ask another question with this in your process path. For example, |
Technique effective against the following adversary TTPs:
-
PowerShell Attacks