prepare for new ewsposter release

This commit is contained in:
t3chn0m4g3 2025-03-03 17:34:29 +01:00
parent bdea4e2932
commit b659d5a036
3 changed files with 123 additions and 101 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.19 FROM alpine:3.21
# #
# Include dist # Include dist
COPY dist/ /root/dist/ COPY dist/ /root/dist/
@ -22,7 +22,8 @@ RUN apk --no-cache -U upgrade && \
py3-requests \ py3-requests \
py3-pip \ py3-pip \
py3-setuptools \ py3-setuptools \
py3-wheel && \ py3-wheel \
py3-xmltodict && \
pip3 install --break-system-packages --upgrade pip && \ pip3 install --break-system-packages --upgrade pip && \
pip3 install --break-system-packages --no-cache-dir \ pip3 install --break-system-packages --no-cache-dir \
configparser \ configparser \
@ -32,7 +33,8 @@ RUN apk --no-cache -U upgrade && \
xmljson && \ xmljson && \
# #
# Setup ewsposter # Setup ewsposter
git clone https://github.com/telekom-security/ewsposter -b v1.25.0 /opt/ewsposter && \ # git clone https://github.com/telekom-security/ewsposter -b V1.30.0 /opt/ewsposter && \
git clone https://github.com/telekom-security/ewsposter /opt/ewsposter && \
mkdir -p /opt/ewsposter/spool /opt/ewsposter/log && \ mkdir -p /opt/ewsposter/spool /opt/ewsposter/log && \
# #
# Setup user and groups # Setup user and groups

View file

@ -44,23 +44,109 @@ token = <your token for influx 2.0>
bucket = <your bucket/database for 2.0/1.8> bucket = <your bucket/database for 2.0/1.8>
org = <your org for influx 2.0> org = <your org for influx 2.0>
[GLASTOPFV3] [ADBHONEY]
glastopfv3 = false adbhoney = true
nodeid = glastopfv3-community-01 nodeid = adbhoney-community-01
sqlitedb = /data/glastopf/db/glastopf.db logfile = /data/adbhoney/log/adbhoney.json
malwaredir = /data/glastopf/data/files/ malwaredir = /data/adbhoney/downloads
[BEELZEBUB]
beelzebub = false
nodeid = beelzebub-community-01
logfile = /data/beelzebub/log/beelzebub.json
[CISCOASA]
ciscoasa = true
nodeid = ciscoasa-community-01
logfile = /data/ciscoasa/log/ciscoasa.log
[CITRIX]
citrix = true
nodeid = citrix-community-01
logfile = /data/citrixhoneypot/logs/server.log
[CONPOT]
conpot = true
nodeid = conpot-community-01
logdir = /data/conpot/log
[COWRIE] [COWRIE]
cowrie = true cowrie = true
nodeid = cowrie-community-01 nodeid = cowrie-community-01
logfile = /data/cowrie/log/cowrie.json logfile = /data/cowrie/log/cowrie.json
[DDOSPOT]
ddospot = true
nodeid = ddospot-community-01
logdir = /data/ddospot/log
[DICOMPOT]
dicompot = true
nodeid = dicompot-community-01
logfile = /data/dicompot/log/dicompot.log
[DIONAEA] [DIONAEA]
dionaea = true dionaea = true
nodeid = dionaea-community-01 nodeid = dionaea-community-01
malwaredir = /data/dionaea/binaries/ malwaredir = /data/dionaea/binaries/
sqlitedb = /data/dionaea/log/dionaea.sqlite sqlitedb = /data/dionaea/log/dionaea.sqlite
[ELASTICPOT]
elasticpot = true
nodeid = elasticpot-community-01
logfile = /data/elasticpot/log/elasticpot.json
[ENDLESSH]
endlessh = true
nodeid = endlessh-community-01
logfile = /data/endlessh/log/endlessh.log
[FATT]
fatt = false
nodeid = fatt-community-01
logfile = /data/fatt/log/fatt.log
[GALAH]
galah = true
nodeid = galah-community-01
logfile = /data/galah/log/galah.json
[GLUTTON]
glutton = true
nodeid = glutton-community-01
logfile = /data/glutton/log/glutton.log
[GOPOT]
gopot = true
nodeid = gopot-community-01
logfile = /data/go-pot/log/go-pot.json
[H0NEYTR4P]
h0neytr4p = false
nodeid = h0neytr4p-community-01
logfile = /data/h0neytr4p/log/log.json
payloaddir = /data/h04neytr4p/payload
[HELLPOT]
hellpot = true
nodeid = hellpot-community-01
logfile = /data/hellpot/log/hellpot.log
[HERALDING]
heralding = true
nodeid = heralding-community-01
logfile = /data/heralding/log/auth.csv
[HONEYAML]
honeyaml = true
nodeid = honeyaml-community-01
logfile = /data/honeyaml/log/honeyaml.log
[HONEYPOTS]
honeypots = true
nodeid = honeypots-community-01
logdir = /data/honeypots/log
[HONEYTRAP] [HONEYTRAP]
honeytrap = true honeytrap = true
nodeid = honeytrap-community-01 nodeid = honeytrap-community-01
@ -68,118 +154,52 @@ newversion = true
payloaddir = /data/honeytrap/attacks/ payloaddir = /data/honeytrap/attacks/
attackerfile = /data/honeytrap/log/attacker.log attackerfile = /data/honeytrap/log/attacker.log
[EMOBILITY] [IPPHONEY]
eMobility = false ipphoney = true
nodeid = emobility-community-01 nodeid = ipphoney-community-01
logfile = /data/emobility/log/centralsystemEWS.log logfile = /data/ipphoney/log/ipphoney.json
[CONPOT] [LOG4POT]
conpot = true log4pot = true
nodeid = conpot-community-01 nodeid = log4pot-community-01
logfile = /data/conpot/log/conpot*.json logfile = /data/log4pot/log/log4pot.log
[ELASTICPOT]
elasticpot = true
nodeid = elasticpot-community-01
logfile = /data/elasticpot/log/elasticpot.json
[SURICATA]
suricata = false
nodeid = suricata-community-01
logfile = /data/suricata/log/eve.json
[MAILONEY] [MAILONEY]
mailoney = true mailoney = true
nodeid = mailoney-community-01 nodeid = mailoney-community-01
logfile = /data/mailoney/log/commands.log logfile = /data/mailoney/log/commands.log
[RDPY]
rdpy = false
nodeid = rdpy-community-01
logfile = /data/rdpy/log/rdpy.log
[VNCLOWPOT]
vnclowpot = false
nodeid = vnclowpot-community-01
logfile = /data/vnclowpot/log/vnclowpot.log
[HERALDING]
heralding = true
nodeid = heralding-community-01
logfile = /data/heralding/log/auth.csv
[CISCOASA]
ciscoasa = true
nodeid = ciscoasa-community-01
logfile = /data/ciscoasa/log/ciscoasa.log
[TANNER]
tanner = true
nodeid = tanner-community-01
logfile = /data/tanner/log/tanner_report.json
[GLUTTON]
glutton = true
nodeid = glutton-community-01
logfile = /data/glutton/log/glutton.log
[HONEYSAP]
honeysap = false
nodeid = honeysap-community-01
logfile = /data/honeysap/log/honeysap-external.log
[ADBHONEY]
adbhoney = true
nodeid = adbhoney-community-01
logfile = /data/adbhoney/log/adbhoney.json
malwaredir = /data/adbhoney/downloads
[FATT]
fatt = false
nodeid = fatt-community-01
logfile = /data/fatt/log/fatt.log
[IPPHONEY]
ipphoney = true
nodeid = ipphoney-community-01
logfile = /data/ipphoney/log/ipphoney.json
[DICOMPOT]
dicompot = true
nodeid = dicompot-community-01
logfile = /data/dicompot/log/dicompot.log
[MEDPOT] [MEDPOT]
medpot = true medpot = true
nodeid = medpot-community-01 nodeid = medpot-community-01
logfile = /data/medpot/log/medpot.log logfile = /data/medpot/log/medpot.log
[HONEYPY] [MINIPRINT]
honeypy = false miniprint = true
nodeid = honeypy-community-01 nodeid = miniprint-community-01
logfile = /data/honeypy/log/json.log logfile = /data/miniprint/log/miniprint.json
[CITRIX]
citrix = true
nodeid = citrix-community-01
logfile = /data/citrixhoneypot/logs/server.log
[REDISHONEYPOT] [REDISHONEYPOT]
redishoneypot = true redishoneypot = true
nodeid = redishoneypot-community-01 nodeid = redishoneypot-community-01
logfile = /data/redishoneypot/log/redishoneypot.log logfile = /data/redishoneypot/log/redishoneypot.log
[ENDLESSH]
endlessh = true
nodeid = endlessh-community-01
logfile = /data/endlessh/log/endlessh.log
[SENTRYPEER] [SENTRYPEER]
sentrypeer = true sentrypeer = true
nodeid = sentrypeer-community-01 nodeid = sentrypeer-community-01
logfile = /data/sentrypeer/log/sentrypeer.json logfile = /data/sentrypeer/log/sentrypeer.json
[LOG4POT] [SURICATA]
log4pot = true suricata = false
nodeid = log4pot-community-01 nodeid = suricata-community-01
logfile = /data/log4pot/log/log4pot.log logfile = /data/suricata/log/eve.json
[TANNER]
tanner = true
nodeid = tanner-community-01
logfile = /data/tanner/log/tanner_report.json
[WORDPOT]
wordpot = true
nodeid = wordpot-community-01
logfile = /data/wordpot/log/wordpot.log

View file

@ -21,7 +21,7 @@ services:
- EWS_HPFEEDS_SECRET=secret - EWS_HPFEEDS_SECRET=secret
- EWS_HPFEEDS_TLSCERT=false - EWS_HPFEEDS_TLSCERT=false
- EWS_HPFEEDS_FORMAT=json - EWS_HPFEEDS_FORMAT=json
image: "dtagdevsec/ewsposter:24.04" image: "ghcr.io/telekom-security/ewsposter:24.04.1"
volumes: volumes:
- $HOME/tpotce/data:/data - $HOME/tpotce/data:/data
- $HOME/tpotce/data/ews/conf/ews.ip:/opt/ewsposter/ews.ip - $HOME/tpotce/data/ews/conf/ews.ip:/opt/ewsposter/ews.ip