tweaking
updating .env, env.example and compose files regarding sentrypeer ENVs
make glutton image aware of payloads feature
bump glutton to latest master, alpine 3.19, multi-stage build
bump ipphoney to alpine 3.19
bump mailoney to alpine 3.19, adjust for py3
revert medpot to previous master, use multi stage build and alpine 3.19
bump cyberchef to latest master
bump ngninx to alpine 3.19
bump p0f to alpine 3.19, use multi stage build
bump redishoneypot to alpine 3.19, use multi stage build
bump sentrypeer to latest master, fix bug for open ports in compose files, now all tcp/5060, udp/5060 traffic will be seen
bump spiderfoot to latest master
bump spiderfoot to alpine 3.19
bump suricata to 7.0.2, fix performance issue with capture-filter-bpf by reducing the rules
update clean.sh to include glutton payloads folder
2024-03-09 11:11:14 +00:00
|
|
|
FROM alpine:3.19
|
2020-08-24 15:55:50 +00:00
|
|
|
#
|
|
|
|
# Include dist
|
2022-03-08 23:36:03 +00:00
|
|
|
COPY dist/ /root/dist/
|
2020-08-24 15:55:50 +00:00
|
|
|
#
|
|
|
|
# Install packages
|
2022-03-08 23:36:03 +00:00
|
|
|
RUN apk -U --no-cache add \
|
tweaking
updating .env, env.example and compose files regarding sentrypeer ENVs
make glutton image aware of payloads feature
bump glutton to latest master, alpine 3.19, multi-stage build
bump ipphoney to alpine 3.19
bump mailoney to alpine 3.19, adjust for py3
revert medpot to previous master, use multi stage build and alpine 3.19
bump cyberchef to latest master
bump ngninx to alpine 3.19
bump p0f to alpine 3.19, use multi stage build
bump redishoneypot to alpine 3.19, use multi stage build
bump sentrypeer to latest master, fix bug for open ports in compose files, now all tcp/5060, udp/5060 traffic will be seen
bump spiderfoot to latest master
bump spiderfoot to alpine 3.19
bump suricata to 7.0.2, fix performance issue with capture-filter-bpf by reducing the rules
update clean.sh to include glutton payloads folder
2024-03-09 11:11:14 +00:00
|
|
|
build-base \
|
|
|
|
ca-certificates \
|
|
|
|
git \
|
|
|
|
libcap \
|
|
|
|
libffi-dev \
|
|
|
|
openssl \
|
|
|
|
openssl-dev \
|
|
|
|
postgresql-dev \
|
|
|
|
py3-cryptography \
|
|
|
|
py3-elasticsearch \
|
|
|
|
py3-geoip2 \
|
|
|
|
py3-maxminddb \
|
|
|
|
py3-mysqlclient \
|
|
|
|
py3-requests \
|
|
|
|
py3-packaging \
|
|
|
|
py3-pip \
|
|
|
|
py3-psycopg2 \
|
|
|
|
py3-redis \
|
|
|
|
py3-requests \
|
|
|
|
py3-service_identity \
|
|
|
|
py3-setuptools \
|
|
|
|
py3-twisted \
|
|
|
|
py3-wheel \
|
|
|
|
python3 \
|
|
|
|
python3-dev && \
|
2020-08-24 15:55:50 +00:00
|
|
|
mkdir -p /opt && \
|
|
|
|
cd /opt/ && \
|
2020-09-04 12:37:28 +00:00
|
|
|
git clone https://gitlab.com/bontchev/ipphoney.git/ && \
|
2020-08-24 15:55:50 +00:00
|
|
|
cd ipphoney && \
|
2020-10-28 17:34:28 +00:00
|
|
|
git checkout 7ab1cac437baba17cb2cd25d5bb1400327e1bb79 && \
|
2022-03-13 10:19:08 +00:00
|
|
|
cp /root/dist/requirements.txt . && \
|
tweaking
updating .env, env.example and compose files regarding sentrypeer ENVs
make glutton image aware of payloads feature
bump glutton to latest master, alpine 3.19, multi-stage build
bump ipphoney to alpine 3.19
bump mailoney to alpine 3.19, adjust for py3
revert medpot to previous master, use multi stage build and alpine 3.19
bump cyberchef to latest master
bump ngninx to alpine 3.19
bump p0f to alpine 3.19, use multi stage build
bump redishoneypot to alpine 3.19, use multi stage build
bump sentrypeer to latest master, fix bug for open ports in compose files, now all tcp/5060, udp/5060 traffic will be seen
bump spiderfoot to latest master
bump spiderfoot to alpine 3.19
bump suricata to 7.0.2, fix performance issue with capture-filter-bpf by reducing the rules
update clean.sh to include glutton payloads folder
2024-03-09 11:11:14 +00:00
|
|
|
pip3 install --break-system-packages -r requirements.txt && \
|
|
|
|
setcap cap_net_bind_service=+ep $(readlink -f $(type -P python3)) && \
|
2020-08-24 15:55:50 +00:00
|
|
|
#
|
|
|
|
# Setup user, groups and configs
|
|
|
|
addgroup -g 2000 ipphoney && \
|
|
|
|
adduser -S -H -s /bin/ash -u 2000 -D -g 2000 ipphoney && \
|
|
|
|
mv /root/dist/honeypot.cfg /opt/ipphoney/etc/ && \
|
|
|
|
#
|
|
|
|
# Clean up
|
|
|
|
apk del --purge build-base \
|
|
|
|
git \
|
|
|
|
libffi-dev \
|
|
|
|
openssl-dev \
|
|
|
|
postgresql-dev \
|
|
|
|
python3-dev && \
|
2022-03-08 23:36:03 +00:00
|
|
|
rm -rf /root/* /var/cache/apk/* /opt/ipphoney/.git
|
2020-08-24 15:55:50 +00:00
|
|
|
#
|
|
|
|
# Start ipphoney
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
USER ipphoney:ipphoney
|
|
|
|
WORKDIR /opt/ipphoney/
|
|
|
|
CMD ["/usr/bin/python3","ipphoney.py"]
|