Skip to content
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

Plugin won't load: error installing counterfit #2

Open
lilyjw opened this issue May 4, 2023 · 0 comments
Open

Plugin won't load: error installing counterfit #2

lilyjw opened this issue May 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lilyjw
Copy link
Contributor

lilyjw commented May 4, 2023

Describe the bug
Arsenal plugin errors on installing counterfit

To Reproduce
Steps to reproduce the behavior:

Set up caldera-atlas:

  1. git clone --recursive https://github.com/mitre-atlas/caldera-atlas
    If one has SSH keys uploaded, this should check out all submodules.
    Otherwise, there may be failures because some submodules have SSH URLs. To resolve:
    a. git checkout https to get the branch with HTTPS URLs
    b. git submodule sync --recursive && git submodule update --init

  2. docker-compose build
    If one gets an error about python3-venv not being found, add python3-venv to the list of packages installed by CALDERA itself - edit the RUN apt-get ... step in the caldera/Dockerfile, then re-run docker-compose build

The services stay up, but upon visiting localhost:8888, Arsenal is not in the list of plugins and there is an error in the service start:

From the Docker container log of CALDERA (the caldera-atlas service):

ERROR (c_plugin.py:70 enable) Error enabling plugin=arsenal, Command '['/root/venv/cf_venv/bin/python3', '-m', 'pip', 'install', 'counterfit[dev] @ git+https://github.com/Azure/counterfit.git@main']' returned non-zero exit status 1.

Expected behavior
Arsenal plugin loads without error and appears in the CALDERA sidebar.

Desktop (please complete the following information):
Ubuntu 22.04 but running CALDERA as a container using its own Dockerfile, which uses ubuntu:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant