notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2024Q2
caldera Automated Adversary Emulation Platform
5.0.0_7 security on this many watch lists=0 search for ports that depend on this port This port version is marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.0.0_7Version of this port present on the latest quarterly branch.
Maintainer: acm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-15 08:39:30
Last Update: 2024-06-15 09:57:50
Commit Hash: aa2919f
Also Listed In: python
License: APACHE20
WWW:
https://github.com/mitre/caldera
Description:
CALDERA a cyber security platform designed to easily automate adversary emulation, assist manual red-teams, and automate incident response. It is built on the MITRE ATT&CK framework and is an active research project at MITRE. The framework consists of two components: - The core system. This is the framework code, consisting of what is available in this repository. Included is an asynchronous command-and-control (C2) server with a REST API and a web interface. - Plugins. These repositories expand the core framework capabilities and providing additional functionality. Examples include agents, reporting, collections of TTPs and more.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/caldera-5.0.0_7/catalog.mk
  2. /usr/local/share/licenses/caldera-5.0.0_7/LICENSE
  3. /usr/local/share/licenses/caldera-5.0.0_7/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • caldera>0:security/caldera
Conflicts:
CONFLICTS:
  • caldera4
To install the port:
cd /usr/ports/security/caldera/ && make install clean
To add the package, run one of these commands:
  • pkg install security/caldera
  • pkg install caldera
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: caldera
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1708127632 SHA256 (caldera-cache-5.0.0.tar.gz) = c0f160ec5431b0096a9ce8e2adde062de97be96e66e9e8756b4646e4d8c2a9a9 SIZE (caldera-cache-5.0.0.tar.gz) = 41756498

Expand this list (36 items)

Collapse this list.

SHA256 (caldera-freebsd-logos.tar.gz) = 66ad2558c34ef06875cfb479a34ca5053b25bad2c36ce06d532d6857b9dda4a2 SIZE (caldera-freebsd-logos.tar.gz) = 2516 SHA256 (mitre-caldera-5.0.0_GH0.tar.gz) = a4e122f6862ea3cb7e856889a4a2b68ce297f74189fd845b0a51c02e1fa8c716 SIZE (mitre-caldera-5.0.0_GH0.tar.gz) = 3820616 SHA256 (mitre-access-775181b_GH0.tar.gz) = 2ae6e4cbd9e6c143cc76b65c0be3dd332228ab59161422291050eb6f4c4b1d17 SIZE (mitre-access-775181b_GH0.tar.gz) = 11646 SHA256 (mitre-atomic-4f489bb_GH0.tar.gz) = 340c7931fbee16ce1bf788044018fcf75fe403bf641665bb4aec53d3b1479b2d SIZE (mitre-atomic-4f489bb_GH0.tar.gz) = 15041 SHA256 (mitre-builder-de24b68_GH0.tar.gz) = bca2a28b23d72cf987878aa519d0f108b2153156391821bfb137c79ac5c5bcc2 SIZE (mitre-builder-de24b68_GH0.tar.gz) = 8349 SHA256 (mitre-compass-85e2ebf_GH0.tar.gz) = 4760171cf05a7fccfd4300815f358d9d42affb2c741e6e555515f07eb50c9f34 SIZE (mitre-compass-85e2ebf_GH0.tar.gz) = 7055 SHA256 (mitre-debrief-eba44d5_GH0.tar.gz) = 62cbfd77cbf3573675bc79426171f136628f26a1ee3f931c02f36d53bda8012e SIZE (mitre-debrief-eba44d5_GH0.tar.gz) = 1006448 SHA256 (mitre-emu-7215768_GH0.tar.gz) = 13dedefc0c3e9a443221886d2030effdc5b741a62a5a4ebd830ca613d183025f SIZE (mitre-emu-7215768_GH0.tar.gz) = 19410 SHA256 (mitre-fieldmanual-cb53f2b_GH0.tar.gz) = 8dbac757e4d70bb415c38684997969ceda3a886ddf6aa3028ee8720d7a44e01a SIZE (mitre-fieldmanual-cb53f2b_GH0.tar.gz) = 9659796 SHA256 (mitre-gameboard-dacb6ce_GH0.tar.gz) = 55e521c4dfc6acc9b8ed37b7622d1c20248cd1fe43a9410e339b8c24729d22ac SIZE (mitre-gameboard-dacb6ce_GH0.tar.gz) = 20333 SHA256 (mitre-human-0e344ea_GH0.tar.gz) = 83ae25ee09a9a7c463cc94e673cb572bef78fdd91b7b019fd845f73e18d5e610 SIZE (mitre-human-0e344ea_GH0.tar.gz) = 25937 SHA256 (mitre-magma-99f0056_GH0.tar.gz) = a1ab40360288d4818abfb3e73cf7361686f6e7072de9dd8a7633da3f55a18558 SIZE (mitre-magma-99f0056_GH0.tar.gz) = 10138171 SHA256 (mitre-manx-a7e83a6_GH0.tar.gz) = ec144af8d794c11e68c7bacb6da4b84e81c3278fd90045e8f5660408652799c7 SIZE (mitre-manx-a7e83a6_GH0.tar.gz) = 7359477 SHA256 (mitre-response-8ea6ab5_GH0.tar.gz) = f2275a11ebb631b84da2921e370bf5e5957c304265621c78d27f212269fdc9b5 SIZE (mitre-response-8ea6ab5_GH0.tar.gz) = 25334 SHA256 (mitre-sandcat-b408f3f_GH0.tar.gz) = 15bee4622b0ce40ad66b99804ee87e7eb4074ec564fc719b72c397e74a63f0f5 SIZE (mitre-sandcat-b408f3f_GH0.tar.gz) = 8294185 SHA256 (mitre-ssl-1ae8431_GH0.tar.gz) = 608596a05a3c833ac10c230cf4bf0863f0e31540414a66b382ff159f97d7629f SIZE (mitre-ssl-1ae8431_GH0.tar.gz) = 6806 SHA256 (mitre-stockpile-fe0c5b7_GH0.tar.gz) = dea568de5067cc20cc54ca57d270d01ef092b329dad61c2e53369fd1524512a3 SIZE (mitre-stockpile-fe0c5b7_GH0.tar.gz) = 4780570 SHA256 (mitre-training-37f998f_GH0.tar.gz) = 41fe37233c02d77435e747e6d34017eeba6c592805382176afaf6f2d1f8f6a46 SIZE (mitre-training-37f998f_GH0.tar.gz) = 496302

Collapse this list.


Packages (timestamps in pop-ups are UTC):
caldera
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-5.3.0_7---n/an/an/a
FreeBSD:13:quarterly-5.3.0_7---n/an/an/a
FreeBSD:14:latest-5.3.0_8------
FreeBSD:14:quarterly-5.3.0_7------
FreeBSD:15:latest-5.3.0_8n/a-n/an/a--
FreeBSD:15:quarterly-5.3.0_7n/a-n/an/a--
FreeBSD:16:latest-5.3.0_8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. npm-node18>0 : www/npm-node18
  2. go121 : lang/go121
  3. node : www/node18
  4. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-aiohttp>0 : www/py-aiohttp@py39
  2. py39-aiohttp-jinja2>0 : www/py-aiohttp-jinja2@py39
  3. py39-aiohttp-session>0 : www/py-aiohttp-session@py39
  4. py39-aiohttp-security>0 : security/py-aiohttp-security@py39
  5. py39-aiohttp-apispec>0 : devel/py-aiohttp-apispec@py39
  6. py39-Jinja2>0 : devel/py-Jinja2@py39
  7. py39-yaml>0 : devel/py-yaml@py39
  8. py39-websockets>0 : devel/py-websockets@py39
  9. py39-sphinx>0 : textproc/py-sphinx@py39
  10. py39-docutils>0 : textproc/py-docutils@py39
  11. py39-sphinx_rtd_theme>0 : textproc/py-sphinx_rtd_theme@py39
  12. py39-myst-parser>0 : textproc/py-myst-parser@py39
  13. py39-marshmallow>0 : devel/py-marshmallow@py39
  14. py39-dirhash>0 : security/py-dirhash@py39
  15. py39-docker>0 : sysutils/py-docker@py39
  16. py39-donut-shellcode>0 : devel/py-donut-shellcode@py39
  17. py39-marshmallow-enum>0 : devel/py-marshmallow-enum@py39
  18. py39-ldap3>0 : net/py-ldap3@py39
  19. py39-lxml>0 : devel/py-lxml@py39
  20. py39-reportlab>0 : print/py-reportlab@py39
  21. py39-svglib>0 : converters/py-svglib@py39
  22. py39-markdown>0 : textproc/py-markdown@py39
  23. py39-dnspython>0 : dns/py-dnspython@py39
  24. py39-asyncssh>0 : security/py-asyncssh@py39
  25. py39-aioftp>0 : ftp/py-aioftp@py39
  26. py39-packaging>0 : devel/py-packaging@py39
  27. py39-pyautogui>0 : x11/py-pyautogui@py39
  28. py39-selenium>0 : www/py-selenium@py39
  29. py39-webdriver_manager>0 : www/py-webdriver_manager@py39
  30. py39-beautifulsoup>0 : www/py-beautifulsoup@py39
  31. py39-networkx>0 : math/py-networkx@py39
  32. py39-numpy>0 : math/py-numpy@py39
  33. upx>0 : archivers/upx
  34. base64>0 : converters/base64
  35. git>0 : devel/git
  36. bash>0 : shells/bash
  37. haproxy24>0 : net/haproxy24
  38. go121 : lang/go121
  39. py39-cryptography>=42.0.5,1 : security/py-cryptography@py39
  40. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for caldera-5.0.0_7: HAPROXY=on: Support for HTTPS ===> Use 'make config' to modify these settings
Options name:
security_caldera
USES:
dos2unix go:run nodejs:18,build python
pkg-message:
For install:
Caldera 5 port was installed 1) Take on mind it is a modifying version of Caldera for include FreeBSD as supported OS and you could found some issues. Problem reports are welcome. 2) Add the following lines to /etc/rc.conf # sysrc caldera_enable="YES" or enable it from service command # service caldera enable 3) Before of start Caldera you must run some scripts for generate/update payload files # su -m caldera -c 'cd /usr/local/www/caldera/plugins/manx && \ setenv GOCACHE /tmp/caldera/.cache; setenv GOMODCACHE /tmp/caldera/.vendor; \ sh update-shells.sh' # su -m caldera -c 'cd /usr/local/www/caldera/plugins/sandcat && \ setenv GOCACHE /tmp/caldera/.cache; setenv GOMODCACHE /tmp/caldera/.vendor; \ sh update-agents.sh' 4) Do not forget modify configuration files before of run Caldera. For default it runs in insecure mode (http). Caldera configuration files are located at /usr/local/www/caldera/conf 5) You can change default user passwords modifying default.yml file into /usr/local/www/caldera/conf folder. By default Caldera uses admin/admin, blue/admin or red/admin like user/password. # sed -i "" -e "s|admin: admin|admin: `openssl rand -base64 32`|g" default.yml # sed -i "" -e "s|blue: admin|blue: `openssl rand -base64 32`|g" default.yml # sed -i "" -e "s|red: admin|red: `openssl rand -base64 32`|g" default.yml 6) If you want run it in secure mode (https) take a look in ssl plugin section: https://caldera.readthedocs.io/en/latest/Plugin-library.html#ssl You will need add an empty caldera_flags to /etc/rc.conf for enable it # sysrc caldera_flags= 7) Start Caldera service # service caldera start 8) When Caldera is starting, atomic plugin will use git to download files from the following link: https://github.com/redcanaryco/atomic-red-team Currently, the project does not include FreeBSD like a supported platform. For this reason, Atomic plugin was patched for download atomic-red-team files from the following repository until my pull request will be merge into redcanaryco/atomic-red-team: https://github.com/alonsobsd/atomic-red-team Those files are necessary for generate yml files used by Caldera abilities 9) Caldera web listens on port localhost:8888 by default http://localhost:8888 If you want to MITRE Caldera works wth non-localhost settings, you can do the following: # sed -i "" -e 's|http://localhost|http://ip_or_hostname_here|g' /usr/local/www/caldera/plugins/magma/dist/index*.js If you are using ssl plugin: # sed -i "" -e 's|http://localhost:8888|https://ip_or_hostname_here:8443|g' /usr/local/www/caldera/plugins/magma/dist/assets/index*.js Take on mind port number must be changed depending of your settings I prefer change the ip/hostname:port of this way because it is more quick instead of re-build plugins/magma each time we define/change VITE_CALDERA_URL into .env file. Also it drop dependency of node_modules files and nodejs app. 10) Log file is located at /var/log/caldera.log 11) For more configure information you can look at the following link: https://caldera.readthedocs.io/en/latest/ 12) Enjoy it
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/mitre/caldera/tar.gz/5.0.0?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.0_7
15 Jun 2024 09:57:50
commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit 746fa696a12ef1ca798e36baf087f579375b8cd1)
5.0.0_6
13 May 2024 18:28:41
commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit fce0cc32720e61042bc675152b116f9e61532e92)
5.0.0_5
15 Apr 2024 08:31:41
commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit 32b284679a1954ef1e0c0d52c4741d00e36dc6e0)

Number of commits found: 3