PSAsyncShell - Asynchronous TCP Reverse Shell
Detects the use of PSAsyncShell an Asynchronous TCP Reverse Shell written in powershell
Detection logic
selection
ScriptBlockText|contains: PSAsyncShellCondition
selectionRaw YAML
title: PSAsyncShell - Asynchronous TCP Reverse Shell
id: afd3df04-948d-46f6-ae44-25966c44b97f
status: test
description: Detects the use of PSAsyncShell an Asynchronous TCP Reverse Shell written in powershell
references:
- https://github.com/JoelGMSec/PSAsyncShell
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-04
tags:
- attack.execution
- attack.t1059.001
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection:
ScriptBlockText|contains: 'PSAsyncShell'
condition: selection
falsepositives:
- Unlikely
level: highFalse positives
- Unlikely
References
Similar rules
Change PowerShell Policies to an Insecure Level - PowerShell
mediumwindows · Shares T1059
DSInternals Suspicious PowerShell Cmdlets - ScriptBlock
highwindows · Shares T1059
Import PowerShell Modules From Suspicious Directories
mediumwindows · Shares T1059
Invoke-Obfuscation CLIP+ Launcher - PowerShell
highwindows · Shares T1059