PowerShell is a Windows administration shell and scripting language built for automation, system management, and remote administration. It can run commands interactively or execute scripts that control files, processes, services, network connections, and remote systems.
In cyber security, PowerShell matters because it is native to Windows and widely trusted by administrators, which makes it attractive for attackers. Malware often uses PowerShell for staged execution: one small launcher starts a script that downloads the next payload, unpacks it in memory, or opens a remote-control channel. Defenders watch for unusual process chains, encoded or hidden commands, child processes launched by Office or browser apps, and PowerShell activity that leads to new tools or outbound connections. Logging, script-block monitoring, and restricting administrative use help separate legitimate automation from intrusion activity.


