caldera (4.1.1)

Published 2 years ago by janderson

Installation

docker pull git.int.prosoc-portal.com/public/caldera:4.1.1
sha256:d35ab27a7cc4dbf62daff5a0e496bfbe4561aa5ecfd7453d6447d5d70072b771

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:0ad2ee2cfb186802f49c9bf4148674d1c6fc201f83478ec01ffaa7086d491323 in /
CMD ["/bin/bash"]
SHELL [/bin/bash -c]
ARG TZ=UTC
RUN |1 TZ=UTC /bin/bash -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
WORKDIR /usr/src/app
ADD . . # buildkit
RUN |1 TZ=UTC /bin/bash -c if [ -z "$(ls plugins/stockpile)" ]; then echo "stockpile plugin not downloaded - please ensure you recursively cloned the caldera git repository and try again."; exit 1; fi # buildkit
RUN |1 TZ=UTC /bin/bash -c apt-get update && apt-get -y install python3 python3-pip git curl # buildkit
ARG WIN_BUILD=false
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c if [ "$WIN_BUILD" = "true" ] ; then apt-get -y install mingw-w64; fi # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c pip3 install --no-cache-dir -r requirements.txt # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c grep -v "\- atomic" conf/default.yml > conf/local.yml # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c curl -L https://go.dev/dl/go1.17.6.linux-amd64.tar.gz -o go1.17.6.linux-amd64.tar.gz # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz; # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c go version; # buildkit
WORKDIR /usr/src/app/plugins/sandcat
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c if [ "$WIN_BUILD" = "true" ] ; then cp ./update-agents.sh ./update-agents-copy.sh; fi # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c if [ "$WIN_BUILD" = "true" ] ; then tr -d '\15\32' < ./update-agents-copy.sh > ./update-agents.sh; fi # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c if [ "$WIN_BUILD" = "true" ] ; then rm ./update-agents-copy.sh; fi # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c ./update-agents.sh # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c mkdir /tmp/gocatextensionstest # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c cp -R ./gocat /tmp/gocatextensionstest/gocat # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c cp -R ./gocat-extensions/* /tmp/gocatextensionstest/gocat/ # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c cp ./update-agents.sh /tmp/gocatextensionstest/update-agents.sh # buildkit
WORKDIR /tmp/gocatextensionstest
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c mkdir /tmp/gocatextensionstest/payloads # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c ./update-agents.sh # buildkit
RUN |2 TZ=UTC WIN_BUILD=true /bin/bash -c if [ ! -d "/usr/src/app/plugins/atomic/data/atomic-red-team" ]; then git clone --depth 1 https://github.com/redcanaryco/atomic-red-team.git /usr/src/app/plugins/atomic/data/atomic-red-team; fi # buildkit
WORKDIR /usr/src/app
EXPOSE map[8888/tcp:{}]
EXPOSE map[8443/tcp:{}]
EXPOSE map[7010/tcp:{}]
EXPOSE map[7011/udp:{}]
EXPOSE map[7012/tcp:{}]
EXPOSE map[8853/tcp:{}]
EXPOSE map[8022/tcp:{}]
EXPOSE map[2222/tcp:{}]
ENTRYPOINT ["python3" "server.py"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2 years ago
1
OCI / Docker
linux/amd64
1.2 GiB
Versions (4) View all
4.2.0 on 2023-06-26
4.1.2 on 2023-06-26
4.1.1 on 2023-06-20
4.1.0 on 2023-06-14