Home

Awesome

vscode-language-aggressor

This is a Visual Studio Code (VSC) extension that aims to provide:

Please note, that everything is based on the documentation provided by Raphael Mudge:

Features

This extensions offers a series of snippets for helping in building a Cobalt Strike Agressor scripts. The extension is based on the Cobalt Strike 4.0 aggresor script feature set. It also provide automatic closing of element tags for the filter fields.

Snippets

NameDescription
heartbeat_1mFired every minute
h3Prints a sub-sub-title heading.
ssh_taskedFired when a task acknowledgement is posted to an SSH console.
openScriptConsoleOpen the Aggressor Script console
listener_deleteStop and remove a listener
sendmail_doneFired when a phishing campaign completes
pref_setSet a value in Cobalt Strike's preferences
event_newsiteFired when a new site message is posted to the event log.
bsetenvAsk Beacon to set an environment variable
listener_describeDescribe a listener.
sitesReturns a list of sites tied to Cobalt Strike's web server.
agServicesPull information from the services model
beacon_command_describeDescribe a Beacon command
openWindowsExecutableStageOpen the dialog to generate a stageless Windows executable
elogPublish a notification to the event log
EXECUTABLE_ARTIFACT_GENERATORControl the EXE and DLL generation for Cobalt Strike
beacon_remote_exec_method_describeDescribe a Beacon remote execute method
prompt_file_saveShow a file save dialog.
agTokensPull information from the phishing tokens model.
bdataGet metadata for a Beacon session
POWERSHELL_COMPRESSA hook used by the resource kit to compress a PowerShell script. The default uses gzip and returns a deflator script.
openBeaconBrowserOpen the beacon browser tab
bcdAsk a Beacon to change it's current working directory
artifact_payloadGenerates a stageless payload artifact (exe, dll) from a Cobalt Strike listener name
binjectAsk Beacon to inject a session into a specific process
beacon_exploit_registerRegister a Beacon privilege escalation exploit with Cobalt Strike. This adds an option to the elevate command
PSEXEC_SERVICESet the service name used by jump psexec, psexec64, psexec_psh and psexec.
-isadminCheck if a session has admin rights
bspawnAsk Beacon to spawn a new session
openWindowsExecutableDialogOpen the dialog to generate a Windows executable
downloadsReturns a list of downloads in Cobalt Strike's data model
bookmarkDefine a bookmark [PDF document only]
agApplicationsPull information from the applications model.
removeTabClose the active tab
bspawntoChange the default program Beacon spawns to inject capabilities into
bscreenshotAsk Beacon to take a screenshot
keystrokesReturns a list of keystrokes from Cobalt Strike's data model
openPayloadHelperOpen a payload chooser dialog.
pPrints a paragraph of text.
beacon_initial_emptyFired when a DNS Beacon calls home for the first time. At this point, no metadata has been exchanged.
openFileBrowserOpen the file browser for a Beacon
brmAsk Beacon to remove a file or folder
berrorPublish an error message to the Beacon transcript
blogonpasswordsAsk Beacon to dump in-memory credentials with mimikatz
bdllspawnSpawn a Reflective DLL as a Beacon post-exploitation job
listener_create_extCreate a new listener
bpwdAsk Beacon to print its current working directory
targetsReturns a list of host information in Cobalt Strike's data model.
web_hitFired when there's a new hit on Cobalt Strike's web server.
openCloneSiteDialogOpen the dialog for the website clone tool
brunuAsk Beacon to run a process under another process.
pivotsReturns a list of SOCKS pivots from Cobalt Strike's data model
openBeaconConsoleOpen the console to interact with a Beacon
bkeyloggerInjects a keystroke logger into a process.
sayPost a public chat message to the event log.
bexecuteAsk Beacon to execute a command [without a shell]. This provides no output to the user
ssh_indicator
openSOCKSSetupopen the SOCKS proxy server setup dialog
bpauseAsk Beacon to pause its execution. This is a one-off sleep.
beacon_initialFired when a Beacon calls home for the first time.
sendmail_postFired after a phish is sent to an email address.
bgetuidAsk Beacon to print the User ID of the current token
p_formattedPrints a paragraph of text with some format preservation.
menubarAdd a top-level item to the menubar
openMakeTokenDialogopen a dialog to help generate an access token
dialog_descriptionAdds a description to a &dialog
bspawnasAsk Beacon to spawn a session as another user
iprangeGenerate an array of IPv4 addresses based on a string description
HTMLAPP_EXEControls the content of the HTML Application User-driven (EXE Output) generated by Cobalt Strike
beacon_idsGet the ID of all Beacons calling back to this Cobalt Strike team server
barchReturns the architecture of your Beacon session (e.g., x86 or x64)
prompt_confirmShow a dialog with Yes/No buttons. If the user presses yes, call the specified function.
bkerberos_ccache_useAsk beacon to inject a UNIX kerberos ccache file into the user's kerberos tray
str_encodeConvert text to byte string with the specified character encoding.
bjumpAsk Beacon to spawn a session on a remote target
openCovertVPNSetupopen the Covert VPN setup dialog
agC2infoPull information from the c2info model.
gunzipDecompress a string (GZIP).
bhashdumpAsk Beacon to dump local account password hashes
POWERSHELL_DOWNLOAD_CRADLEChange the form of the PowerShell download cradle used in Cobalt Strike's post-ex automation. This includes jump winrm,winrm64, [host] -> Access -> One Liner, and powershell-import.
sync_downloadSync a downloaded file (View -> Downloads) to a local path.
binfoGet information from a Beacon session's metadata
drow_textAdds a text field row to a &dialog
binjectshInject shellcode into a process
dbutton_helpAdds a Help button to a &dialog. When this button is pressed, Cobalt Strike will open the user's browser to the specified URL
bppidSet a parent process for Beacon's child processes
-issshCheck if a session is an SSH session or not.
show_errorShows an error message to the user in a dialog box. Use this function to relay error information.
actionPost a public action message to the event log. This is similar to the /me command.
beacon_remote_exploit_archGet the arch info for this Beacon lateral movement option
screenshotsReturns a list of screenshots from Cobalt Strike's data model
bmodeChange the data channel for a DNS Beacon
showVisualizationSwitch Cobalt Strike visualization to a registered visualization.
bsocks_stopStop SOCKS proxy servers associated with the specified Beacon
openPowerShellWebDialogOpen the dialog to setup the PowerShell Web Delivery Attack
describeSet a description for a report.
drow_fileAdds a file chooser row to a &dialog
localipGet the IP address associated with the team server.
if elsifif elsif statement
listenersReturn a list of listener names (with stagers only!) across all team servers this client is connected to
ssh_command_detailGet the help information for an SSH command.
blog2Publishes an output message to the Beacon transcript. This function has an alternate format from &blog
bpowerpickSpawn a process, inject Unmanaged PowerShell, and run the specified command
attack_nameMaps a MITRE ATT&CK tactic ID to its short name.
brportfwd_stopAsk Beacon to stop a reverse port forward
artifact_signSign an EXE or DLL file
pref_getGrabs a string value from Cobalt Strike's preferences
dialogCreate a dialog. Use &dialog_show to show it.
credentialsReturns a list of application credentials in Cobalt Strike's data model
bargue_addThis function adds an option to Beacon's list of commands to spoof arguments for.
bssh_keyAsk Beacon to spawn an SSH session
brunasAsk Beacon to run a command as another user
beacon_elevator_describeDescribe a Beacon command elevator exploit
bremote_execAsk Beacon to run a command on a remote target
tablePrints a table
heartbeat_30sFired every thirty seconds
nobreakGroup report elements together without a line break.
event_privateFired when a private message is posted to the event log.
host_infoGet information about a target
SIGNED_APPLET_MAINCLASSSpecify the MAIN class of the Java Signed Applet Attack.
openHTMLApplicationDialogOpen the HTML Application Dialog.
bsudoAsk Beacon to run a command via sudo (SSH sessions only)
bargue_removeThis function removes an option to Beacon's list of commands to spoof arguments for.
bspawnuAsk Beacon to spawn a session under another process.
stager_bind_pipeReturns a bind_pipe stager for a specific Cobalt Strike listener. This stager is suitable for use in lateral movement actions that benefit from a small named pipe stager. Stage with &beacon_stage_pipe.
insert_componentAdd a javax.swing.JComponent object to the menu tree
bpsexec_commandAsk Beacon to run a command on a remote host. This function creates a service on the remote host, starts it, and cleans it up
beaconsFired when the team server sends over fresh information on all of our Beacons. This occurs about once each second.
bconnectAsk Beacon (or SSH session) to connect to a Beacon peer over a TCP socket
brunAsk Beacon to run a command
sendmail_preFired before a phish is sent to an email address.
add_to_clipboardAdd text to the clipboard, notify the user
heartbeat_15mFired every fifteen minutes
-isactiveCheck if a session is active or not. A session is considered active if (a) it has not acknowledged an exit message AND (b) it is not disconnected from a parent Beacon.
bdesktopStart a VNC session
-is64Check if a session is on an x64 system or not (Beacon only).
SMART_APPLET_MAINCLASSSpecify the MAIN class of the Java Smart Applet Attack.
beacon_exploit_describeDescribe a Beacon exploit
openSiteManagerOpen the site manager
event_quitFired when someone disconnects from the team server.
POWERSHELL_COMMANDChange the form of the powershell comamnd run by Cobalt Strike's automation. This affects jump psexec_psh, powershell, and [host] -> Access -> One-liner.
beacon_command_registerRegister help information for a Beacon command
str_xorWalk a string and XOR it with the provided key.
beacon_removeRemove a Beacon from the display
listener_infoGet information about a listener
format_sizeFormats a number into a size (e.g., 1024 => 1kb)
bpsTask a Beacon to list processes
openServiceBrowserOpen service browser dialog
resetDataReset Cobalt Strike's data model
prompt_textShow a dialog that asks the user for text.
drow_checkboxAdds a checkbox to a &dialog
insert_menuBring menus associated with a popup hook into the current menu tree.
btimestompAsk Beacon to change the file modified/accessed/created times to match another file
openConnectDialogOpen the connect dialog
openBypassUACDialogOpen the dialog for the Bypass UAC feature.
nextTabActivate the tab that is to the right of the current tab
beacon_execute_jobRun a command and report its output to the user
stager_bind_tcpReturns a bind_tcp stager for a specific Cobalt Strike listener. This stager is suitable for use in localhost-only actions that require a small stager. Stage with &beacon_stage_tcp.
beacon_exploitsGet a list of privilege escalation exploits registered with Cobalt Strike
str_chunkChunk a string into multiple parts
heartbeat_60mFired every sixty minutes
bpowershell_import_clearClear the imported PowerShell script from a Beacon session
beacon_elevator_registerRegister a Beacon command elevator with Cobalt Strike. This adds an option to the runasadmin command
onRegister an event handler. This is an alternate to the on keyword
event_actionFired when a user performs an action in the event log. This is similar to an action on IRC (the /me command)
openPreferencesDialogOpen the preferences dialog
bdcsyncUse mimikatz's dcsync command to pull a user's password hash from a domain controller
event_nouserFired when the current Cobalt Strike client tries to interact with a user who is not connected to the team server.
bkerberos_ticket_useAsk beacon to inject a mimikatz kirbi file into the user's kerberos tray
beacon_indicatorFired when an indicator of compromise notice is posted to a Beacon's console.
openKeystrokeBrowserOpen the keystroke browser tab
bmimikatzAsk Beacon to run a mimikatz command
servicesReturns a list of services in Cobalt Strike's data model.
belevate_commandAsk Beacon to run a command in a high-integrity context
bdllloadCall LoadLibrary() in a remote process with the specified DLL.
addVisualizationRegister a visualization with Cobalt Strike
drow_mailserverAdds a mail server field to a &dialog.
openAboutDialogOpen the "About Cobalt Strike" dialog
openJumpDialogOpen Cobalt Strike's lateral movement dialog
bdllinjectInject a Reflective DLL into a process
bloginuserAsk Beacon to create a token from the specified credentials. This is the make_token command
beacon_linkThis function links to an SMB or TCP listener. If the specified listener is not an SMB or TCP listener, this function does nothing
openSpawnAsDialogOpen dialog to spawn a payload as another user
event_joinFired when a user connects to the team server
rangeGenerate an array of numbers based on a string description of ranges.
beacon_host_scriptLocally host a PowerShell script within Beacon and return a short script that will download and invoke this script. This function is a way to run large scripts when there are constraints on the length of your PowerShell one-liner
encodeObfuscate a position-independent blob of code with an encoder
drow_krbtgtAdds a krbtgt selection row to a &dialog
drow_beaconAdds a beacon selection row to a &dialog
agSessionsPull information from the sessions model
breg_queryvAsk Beacon to query a value within a registry key
bupload_rawAsk a Beacon to upload a file
pgraphGenerate the pivot graph GUI component
bcancelCancel a file download
callIssue a call to the team server
bsteal_tokenAsk Beacon to steal a token from a process
openSystemInformationDialogOpen the system information dialog.
blinkAsk Beacon to link to a host over a named pipe
drow_text_bigAdds a multi-line text field to a &dialog
beacon_output_psFired when ps output is sent to a Beacon's console.
ssh_command_registerRegister help information for an SSH console command.
attack_tacticsAn array of MITRE ATT&CK tactics known to Cobalt Strike.
transformTransform shellcode into another format.
tstampFormat a time into a date/time value. This value does not include seconds.
bshspawnSpawn shellcode (from a local file) into another process. This function benefits from Beacon's configuration to spawn post-exploitation jobs (e.g., spawnto, ppid, etc.)
drow_listenerAdds a listener selection row to a &dialog. This row only shows listeners with stagers (e.g., windows/beacon_https/reverse_https).
attack_mitigateMaps a MITRE ATT&CK tactic ID to its mitigation strategy
attack_urlMaps a MITRE ATT&CK tactic ID to the URL where you can learn more.
bcpAsk Beacon to copy a file or folder
ssh_command_describeDescribe an SSH command
heartbeat_20mFired every twenty minutes
data_queryQueries Cobalt Strike's data model
applicationsReturns a list of application information in Cobalt Strike's data model. These applications are results from the System Profiler
beacon_infoGet information from a Beacon session's metadata
binputReport a command was run to the Beacon console and logs. Scripts that execute commands for the user (e.g., events, popup menus) should use this function to assure operator attribution of automated actions in Beacon's logs
mynickGet the nickname associated with the current Cobalt Strike client
openJavaSignedAppletDialogOpen the Java Signed Applet dialog
beacon_commandsGet a list of Beacon commands
prompt_file_openShow a file open dialog.
data_keysList the query-able keys from Cobalt Strike's data model
dbutton_actionAdds an action button to a &dialog. When this button is pressed, the dialog closes and its callback is called. You may add multiple buttons to a dialog. Cobalt Strike will line these buttons up in a row and center them at the bottom of the dialog
bnetRun a command from Beacon's net module
gzipGZIP a string
ssh_inputFired when an input message is posted to an SSH console.
aliasCreates an alias command in the Beacon console
bsleepAsk Beacon to change its beaconing interval and jitter factor
bgetsystemAsk Beacon to attempt to get the SYSTEM token.
keylogger_hitFired when there are new results reported to the web server via the cloned site keystroke logger.
beacon_remote_exec_methodsGet a list of remote execute methods registered with Cobalt Strike
beacon_errorFired when an error is posted to a Beacon's console.
dialog_showShows a &dialog.
heartbeat_5mFired every five minutes
agTargetsPull information from the targets model.
beacon_remote_exploitsGet a list of lateral movement options registered with Cobalt Strike
listener_restartRestart a listener
heartbeat_15sFired every fifteen seconds
drow_comboboxAdds a combobox to a &dialog
beacon_stage_pipeThis function handles the staging process for a bind pipe stager. This is an optional stager for lateral movement. You can stage any x86 payload/listener through this stager. Use &stager_bind_pipe to generate this stager
bmvAsk Beacon to move a file or folder
bnoteAssign a note to the specified Beacon
listeners_stagelessReturn a list of listener names across all team servers this client is connected to. External C2 listeners are filtered (as they're not actionable via staging or exporting as a Reflective DLL).
openBrowserPivotSetupopen the browser pivot setup dialog
colorPanelGenerate a Java component to set accent colors within Cobalt Strike's data model
agCredentialsPull information from the credentials model
openScriptManagerOpen the tab for the script manager.
drow_interfaceAdds a VPN interface selection row to a &dialog
if elseif else statement
openGoldenTicketDialogopen a dialog to help generate a golden ticket
ssh_errorFired when an error is posted to an SSH console.
credential_addAdd a credential to the data model
drow_exploitsAdds a privilege escalation exploit selection row to a &dialog
openElevateDialogOpen the dialog to launch a privilege escalation exploit
SIGNED_APPLET_RESOURCESpecify a Java Applet file to use for the Java Signed Applet Attack.
hostsReturns a list of IP addresses from Cobalt Strike's target model
listeners_localReturn a list of listener names. This function limits itself to the current team server only. External C2 listener names are omitted
brPrint a line-break.
beacon_dataGet metadata for a Beacon session
bblockdllsLaunch child processes with binary signature policy that blocks non-Microsoft DLLs from loading in the process space
bcovertvpnAsk Beacon to deploy a Covert VPN client
beacon_stage_tcpThis function handles the staging process for a bind TCP stager. This is the preferred stager for localhost-only staging. You can stage any payload/listener through this stager. Use &stager_bind_tcp to generate this stager
drow_siteAdds a site/URL field to a &dialog.
openSystemProfilerDialogOpen the dialog to setup the system profiler.
ssh_outputFired when output is posted to an SSH console.
bpsinjectInject Unmanaged PowerShell into a specific process and run the specified cmdlet
fireEventFire an event
profiler_hitFired when there are new results reported to the System Profiler.
bbrowserpivot_stopStop a Browser Pivot
event_beacon_initialFired when an initial beacon message is posted to the event log.
openCredentialManagerOpen the credential manager tab
ssh_commandsGet a list of SSH commands.
pref_set_listStores a list value into Cobalt Strike's preferences.
stagerReturns the stager for a specific Cobalt Strike listener
attack_describeMaps a MITRE ATT&CK tactic ID to its longer description.
beacon_outputFired when output is posted to a Beacon's console.
bgetprivsAttempts to enable the specified privilege in your Beacon session
beacon_host_imported_scriptLocally host a previously imported PowerShell script within Beacon and return a short script that will download and invoke this script
vpn_tap_deleteDestroy a Covert VPN interface
heartbeat_5sFired every five seconds
openListenerManagerOpen the listener manager
bpassthehashAsk Beacon to create a token that passes the specified hash. This is the pth command in Beacon. It uses mimikatz
event_publicFired when a public message is posted to the event log.
PYTHON_COMPRESSCompress a Python script generated by Cobalt Strike.
fireAliasRuns a user-defined alias
beacon_output_lsFired when ls output is sent to a Beacon's console.
beacon_checkinFired when a Beacon checkin acknowledgement is posted to a Beacon's console
outputPrint elements against a grey backdrop. Line-breaks are preserved.
beacon_remote_exploit_describeDescribe a Beacon lateral movement option
licenseKeyGet the license key for this instance of Cobalt Strike
bbrowserpivotStart a Browser Pivot
tbrowserGenerate the target browser GUI component.
openPivotListenerSetupopen the pivot listener setup dialog
prompt_directory_openShow a directory open dialog.
h1Prints a title heading.
breg_queryAsk Beacon to query a key within the registry
bmkdirAsk Beacon to make a directory
str_decodeConvert a string of bytes to text with the specified encoding.
previousTabActivate the tab that is to the left of the current tab.
bpowershellAsk Beacon to run a PowerShell cmdlet
kvtablePrints a table with key/value pairs.
-isbeaconCheck if a session is a Beacon or not.
beacon_output_altFired when (alternate) output is posted to a Beacon's console. What makes for alternate output? It's just different presentation from normal output.
bdrivesAsk Beacon to list the drives on the compromised system
bportscanAsk Beacon to run its port scanner
blsTask a Beacon to list files
openApplicationManagerOpen the application manager (system profiler results) tab
brev2selfAsk Beacon to drop its current token. This calls the RevertToSelf() Win32 API
list_unorderedPrints an unordered list
bjobkillAsk Beacon to kill a running post-exploitation job
heartbeat_10mFired every ten minutes
belevateAsk Beacon to spawn an elevated session with a registered technique
tokenToEmailCovert a phishing token to an email address.
getAggressorClientReturns the aggressor.AggressorClient Java object. This can reach anything internal within the current Cobalt Strike client context
layoutPrints a table with no borders and no column headers.
separatorInsert a separator into the current menu tree.
host_updateAdd or update a host in the targets model
script_resourceReturns the full path to a resource that is stored relative to this script file.
bdownloadAsk a Beacon to download a file
openOfficeMacroOpen the office macro export dialog
buploadAsk a Beacon to upload a file
openSpearPhishDialogOpen the dialog for the spear phishing tool.
powershell_compressCompresses a PowerShell script and wraps it in a script to decompress and execute it.
beacon_output_jobsFired when jobs output is sent to a Beacon's console.
openScreenshotBrowserOpen the screenshot browser tab
openJavaSmartAppletDialogOpen the Java Smart Applet dialog
openOrActivateIf a Beacon console exists, make it active. If a Beacon console does not exist, open it.
dispatch_eventCall a function in Java Swing's Event Dispatch Thread. Java's Swing Library is not thread safe. All changes to the user interface should happen from the Event Dispatch Thread
tsPrints a time/date stamp in italics.
usersReturns a list of users connected to this team server.
h4Prints a sub-sub-sub-title heading.
disconnectFired when this Cobalt Strike becomes disconnected from the team server.
vpn_interface_infoGet information about a VPN interface.
beacon_remote_exec_method_registerRegister a Beacon remote execute method with Cobalt Strike. This adds an option for use with the remote-exec command
dstampFormat a time into a date/time value. This value includes seconds.
beacon_command_detailGet the help information for a Beacon command
base64_decodeUnwrap a base64-encoded string
bcheckinAsk a Beacon to checkin. This is basically a no-op for Beacon
site_hostHost content on Cobalt Strike's web server
btaskReport a task acknowledgement for a Beacon. This task acknowledgement will also contribute to the narrative in Cobalt Strike's Activity Report and Sessions Report
pref_get_listGrabs a list value from Cobalt Strike's preferences.
host_deleteDelete a host from the targets model
closeClientClose the current Cobalt Strike team server connection
HTMLAPP_POWERSHELLControls the content of the HTML Application User-driven (PowerShell Output) generated by Cobalt Strike
sendmail_startFired when a new phishing campaign kicks off.
event_notifyFired when a message from the team server is posted to the event log.
bipconfigTask a Beacon to list network interfaces
bunlinkAsk Beacon to delink a Beacon its connected to over a TCP socket or named pipe
RESOURCE_GENERATOR_VBSControls the content of the HTML Application User-driven (EXE Output) generated by Cobalt Strike.
heartbeat_1sFired every second
openOneLinerDialogOpen the dialog to generate a PowerShell one-liner for this specific Beacon session
openScriptedWebDialogOpen the dialog to setup a Scripted Web Delivery Attack
archivesReturns a massive list of archived information about your activity from Cobalt Strike's data model. This information is leaned on heavily to reconstruct your activity timeline in Cobalt Strike's reports.
openHostFileDialogOpen the host file dialog
url_openOpen a URL in the default browser.
bexitAsk a Beacon to exit
bkerberos_ticket_purgeAsk beacon to purge tickets from the user's kerberos tray
bexecute_assemblySpawns a local .NET executable assembly as a Beacon post-exploitation job
ssh_checkinFired when an SSH client checkin acknowledgement is posted to an SSH console.
bshellAsk Beacon to run a command with cmd.exe
SMART_APPLET_RESOURCESpecify a Java Applet file to use for the Java Smart Applet Attack
ssh_initialFired when an SSH session is seen for the first time.
h2Prints a sub-title heading.
bpsexecAsk Beacon to spawn a payload on a remote host. This function generates an Artifact Kit executable, copies it to the target, and creates a service to run it. Clean up is included too
RESOURCE_GENERATORControl the format of the VBS template used in Cobalt Strike.
show_messageShows a message to the user in a dialog box. Use this function to relay information.
artifact_generalGenerates a payload artifact from arbitrary shellcode
beacon_elevatorsGet a list of command elevator exploits registered with Cobalt Strike
bkillAsk Beacon to kill a process
openPortScannerLocalOpen the port scanner dialog with options to target a Beacon's local network
addTabCreate a tab to display a GUI object
attack_detectMaps a MITRE ATT&CK tactic ID to its detection strategy
brportfwdAsk Beacon to setup a reverse port forward
base64_encodeBase64 encode a string
heartbeat_30mFired every thirty minutes
beacon_taskedFired when a task acknowledgement is posted to a Beacon's console.
try catchTry Catch statement
openDownloadBrowserOpen the download browser tab
openProcessBrowserOpen a process browser for one or more Beacons
ifif statement
openEventLogOpen the event log
bbrowserGenerate the beacon browser GUI component. Shows only Beacons.
heartbeat_10sFired every ten seconds
transform_vbsTransform shellcode into a VBS expression that results in a string
beacon_modeFired when a mode change acknowledgement is posted to a Beacon's console.
openSOCKSBrowserOpen the tab to list SOCKS proxy servers
openPayloadGeneratorDialogOpen the Payload Generator dialog.
bclearThis is the "oops" command. It clears the queued tasks for the specified beacon
APPLET_SHELLCODE_FORMATFormat shellcode before it's placed on the HTML page generated to serve the Signed or Smart Applet Attacks.
blogPost a message to WordPress.com (just kidding). Publishes an output message to the Beacon transcript
bjobsAsk Beacon to list running post-exploitation jobs
landscapeChanges the orientation of this document to landscape.
artifact_stagerGenerates a stager artifact (exe, dll) from a Cobalt Strike listener
bargue_listList the commands + fake arguments Beacon will spoof arguments for
openWebLogOpen the web log tab.
openInterfaceManagerOpen the tab to manage Covert VPN interfaces
privmsgPost a private message to a user in the event log
bpowershell_importImport a PowerShell script into a Beacon
bshinjectInject shellcode (from a local file) into a specific process
listener_pivot_createCreate a new pivot listener
ssh_output_altFired when (alternate) output is posted to an SSH console. What makes for alternate output? It's just different presentation from normal output.
alias_clearRemoves an alias command (and restores default functionality if it existed)
vpn_tap_createCreate a Covert VPN interface on the team server system.
drow_listener_stageAdds a listener selection row to a &dialog. This row shows all Beacon and Foreign listener payloads.
bsshAsk Beacon to spawn an SSH session
powershell_commandReturns a one-liner to run a PowerShell expression (e.g., powershell.exe -nop -w hidden -encodedcommand MgAgACsAIAAyAA==)
highlightInsert an accent (color highlight) into Cobalt Strike's data model
bsocksStart a SOCKS proxy server associated with a beacon
beacon_inputFired when an input message is posted to a Beacon's console.
vpn_interfacesReturn a list of VPN interface names
site_killRemove a site from Cobalt Strike's web server
beacon_remote_exploit_registerRegister a Beacon lateral movement option with Cobalt Strike. This function extends the jump command
readyFired when this Cobalt Strike client is connected to the team server and ready to act.
popup_clearRemove all popup menus associated with the current menu. This is a way to override Cobalt Strike's default popup menu definitions
payloadExports a raw payload for a specific Cobalt Strike listener
sbrowserGenerate the session browser GUI component. Shows Beacon AND SSH sessions.
brunasadminAsk Beacon to run a command in a high-integrity context (bypasses UAC).
openTargetBrowserOpen the targets browser
openPortScannerOpen the port scanner dialog

Release Notes

1.0.0

Initial release.

Questions, issues, feature requests, and contributions