-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Errors via Docker #3137
Comments
I made following patch to correct the error. --- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,7 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
# Install pip requirements
+RUN pip3 install setuptools
RUN pip3 install --no-cache-dir -r requirements.txt
# Set up config file and disable atomic by default |
@shiracamus thank you for your instant reply few errors look resolve after your recommendation however, still the web server gives 401 when I try to login additionally, some payload files are not found and there is a regex error PS E:\caldera> docker run -p 8888:8888 caldera:latest
2025-02-24 12:25:29 INFO Using main config from conf/local.yml server.py:235
2025-02-24 12:25:30 INFO Invalid Github Gist personal API contact_gist.py:70
token provided. Gist C2 contact
will not be started.
INFO Generating temporary SSH private tunnel_ssh.py:26
key. Was unable to use provided
SSH private key
INFO Enabled plugin: training app_svc.py:131
INFO Enabled plugin: access app_svc.py:131
INFO Enabled plugin: sandcat app_svc.py:131
INFO Enabled plugin: stockpile app_svc.py:131
INFO Enabled plugin: magma app_svc.py:131
ERROR Error importing plugin=builder, No c_plugin.py:91
module named 'docker'
ERROR Error loading plugin=builder, c_plugin.py:59
'NoneType' object has no attribute
'description'
INFO Enabled plugin: manx app_svc.py:131
INFO Enabled plugin: compass app_svc.py:131
INFO Enabled plugin: fieldmanual app_svc.py:131
INFO Enabled plugin: response app_svc.py:131
WARNING /usr/src/app/plugins/debrief/app/de warnings.py:110
brief_gui.py:159: SyntaxWarning:
invalid escape sequence '\s'
safe_id =
re.sub('[^A-Za-z0-9-_:.]', '',
re.sub('\s+', '-', module_obj.id))
INFO Enabled plugin: debrief app_svc.py:131
2025-02-24 12:25:31 INFO Creating SSH listener on 0.0.0.0, logging.py:92
port 8022
INFO serving on 0.0.0.0:2222 server.py:741
WARNING Unable to properly load .donut for data_svc.py:436
payload
plugins.stockpile.app.donut.donut_h
andler due to failed import
2025-02-24 12:25:32 WARNING Payload referenced in data_svc.py:469
e99cce5c-cb7e-4a6e-8a09-1609a221b90
a but not found: Akagi64.exe
WARNING Payload referenced in data_svc.py:469
b7344901-0b02-4ead-baf6-e3f629ed545
f but not found: Akagi64.exe
WARNING Payload referenced in data_svc.py:469
e3db134c-4aed-4c5a-9607-c50183c9ef9
e but not found: Bypass-UAC.ps1
WARNING Payload referenced in data_svc.py:469
95ad5d69-563e-477b-802b-4855bfb3be0
9 but not found: Akagi64.exe
WARNING Payload referenced in data_svc.py:469
95ad5d69-563e-477b-802b-4855bfb3be0
9 but not found: Akagi64.exe
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
df94858e92a23d274ac1d70133d9150f
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
06d6ac81dae5c0f49dd3d5641eb2c81e
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
5b93df032e230056c21a3e57334f77d1
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
20277ce46ffe7d08083f8b5ca524b317
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
0424ccb447bfa66b94162266f55ecd52
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
2f32a5c66db68b291469a3ab49be9261
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
f1222384fe40cc71e7dea9d182014eaf
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
d9c1b1283c1ad6fdda27be021c4737d3
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
9d2e91b9241ae43b517be2be98bddfd9
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
dedfa0a54c9c13ce5714a0dc2e1f5d1a
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
18348573c1f989a6cca9e9bf10809700
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
a9c0234156994cab384418b43da52da4
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
d5ac8f5ec45224dc36453a9490845f23
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
80e752c5fc69a56ccb86bc90efc5eff6
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
8478297ebb155b34c412a0fde335eccd
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
683115a2ceeb045e6ffbf4487322b220
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
8a60db80ab6f4a6b1db758c95bacfafa
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
0aaebed766f7120873d5ad90c23355f8
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
854e480af3b5e2946bb3ae44916e951a
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
2929fac2296bf1041ba33c86d42d9a5a
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
c8e46a29cac614806da56b0be6b0e454
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
6401e9fc7007569199a38703f0aa0f0f
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
8e7c28877a9c7826fece190f185b534c
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
23dafb943f2f1a3e21e8204826c7b271
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
379509c4b83f252bc779446f0512e936
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
80be956df11e4a384333150807c3ccd9
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
d38cba2905e62b4c1a7e5c88137ce485
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
326a9797b0d59b8f6d5a3c384c564b9f
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
5ffa5b3b330848d39dc1728365dad61c
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
db8c6ba84f796a2f1fa1497b8dc1aae2
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
4d4b29abb6b1e580e33c0035c1fc37ad
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
93127a8c6cdb05fd84f871a5faa9d7c7
2025-02-24 12:25:33 INFO All systems ready. server.py:104
██████╗ █████╗ ██╗ ██████╗ ███████╗██████╗ █████╗
██╔════╝██╔══██╗██║ ██╔══██╗██╔════╝██╔══██╗██╔══██╗
██║ ███████║██║ ██║ ██║█████╗ ██████╔╝███████║
██║ ██╔══██║██║ ██║ ██║██╔══╝ ██╔══██╗██╔══██║
╚██████╗██║ ██║███████╗██████╔╝███████╗██║ ██║██║ ██║
╚═════╝╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
2025-02-24 12:25:43 INFO Docs built successfully with the hook.py:56
following warnings
/usr/src/app/plugins/fieldmanual/sphinx-
docs/The-REST-API.md:3: WARNING: 'myst'
cross-reference target not found:
'/api/docs' is your caldera instance working perfectly? what steps did you follow? |
See #3080 (comment) I run caldera 5.0.0 on Ubuntu 24.04 and kali linux. |
Thank you. I am able to now login perfectly - I can see in your screenshot the same warnings @shiracamus - WARNING Payload referenced in data_svc.py:469
e99cce5c-cb7e-4a6e-8a09-1609a221b90
a but not found: Akagi64.exe
WARNING Ability referenced in adversary c_adversary.py:90
ef4d997c-a0d1-4067-9efa-87c58682d
b71 but not found:
93127a8c6cdb05fd84f871a5faa9d7c7 how do you solve these? if payload files are missing, aren't they a problem while executing attacks? |
The payload is the equivalent of malware. |
The second warning seems to be a problem with the format of plugins/stockpile/data/adversaries/ef4d997c-a0d1-4067-9efa-87c58682db71.yml. |
I deleted that yml file and ran docker build and run again, the warnings disappeared. |
Describe the bug
Facing the following system and API errors while installing via docker.
To Reproduce
Steps to reproduce the behavior:
docker build . --build-arg WIN_BUILD=true -t caldera:latest
docker run -p 8888:8888 caldera:latest
Expected behavior
Tool should run correctly.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: