Example of using Sleep
, and Java
bindings to create better named pipes.
As evidenced by modern threat hunting efforts and security products, named pipes and their parent processes are more heavily scrutinized.
- Provide a "framework" for adding known named pipe nomenclature easily and reliably
- Provide an example of using
Sleep
and its bindings toJava
to provide a "batteries included" reference - Supersede the necessity of
Malleable C2
definitions for named pipe nomenclature masks - Automate, where possible, the ability to create named pipe listeners within
Cobalt Strike
, in a native fashion - Prevent the possibility of name collision
- Remove the ability of operator-introduced errors
- Load the
pipename.cna
file into theCobalt Strike
Script Manager
- From the context of any selected
Beacon
:- Right click, selecting
Generate SMB Pipe Listener
- Select the desired
Pipe Type
from the dropdown menu:chrome_mojo
chrome_sync
crashpad
dotnet
powershell
powershell_ise
- Select
Generate
- Your respective and appropriately-named
SMB
pipe listener will be found in theListeners
menu within theCobalt Strike
UI
- Right click, selecting