caldera
caldera copied to clipboard
Always "No deployed agents" even when multiple agents appear in Logs & Operations
Describe the bug
I'm able to deploy agents, but the server's /agents page always shows No deployed agents for the blue user even when I can see there are active agents from Both the server's logs, and when running Operations.
I'm running Caldera 5.0.0, and posted about this problem in Slack here.
To Reproduce Steps to reproduce the behavior:
- Do All of the following as the
blueuser - Install Caldera server and run with
python3 server.py --build --log DEBUG - Install Caldera agents (Sandcat and Ragdoll) on 3 VMs
- Check Caldera server logs: Observe Incoming HTTP beacons from agents
- Check server's
/agentspage and see no agents
Expected behavior
After agents are deployed, they should appear on the server's /agents page.
Screenshots If applicable, add screenshots to help explain your problem.
https://github.com/user-attachments/assets/e6a51ed5-63fe-496e-ab92-9958c10e096d
Desktop (please complete the following information):
Here's info about the OS the Caldera server is running on:
$ uname -a
Linux ip-172-26-2-58 6.1.0-22-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/
Louis Hackländer-Jansen was able to replicate this problem. The root of the problem is that No agents deployed Always seems appear for the blue user, even if (as in my case) Everything was done with the blue user, including installing the agents.
What command did you use to run the agents? Are they in the blue group?
@uruwhy I don't recall as this was > 6 months ago, other than I used the commands listed in the Caldera docs. I was logging in as the red user.
At the time I encountered this problem (and maybe still the case), the documentation did not indicate the blue user must be used to view agents.