title: Powershell Reverse Shell Connection id: edc2f8ae-2412-4dfd-b9d5-0c57727e70be status: experimental description: Detects the Nishang Invoke-PowerShellTcpOneLine reverse shell author: FPT.EagleEye references: - https://www.volexity.com/blog/2021/03/02/active-exploitation-of-microsoft-exchange-zero-day-vulnerabilities/ - https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/ date: 2021/03/03 tags: - attack.execution - attack.t1086 - attack.t1059.005 logsource: category: process_creation product: windows detection: selection: Image: '*\powershell.exe' CommandLine: - '*new-object system.net.sockets.tcpclient*' condition: selection fields: - CommandLine - ParentCommandLine falsepositives: - Administrative might use this function for checking network connectivity level: high