update for new honeypots

This commit is contained in:
Marco Ochse 2021-11-18 21:32:48 +01:00
parent e76a643296
commit 6fb2fa783a
4 changed files with 18 additions and 6 deletions

View file

@ -197,6 +197,14 @@ fuHERALDING () {
chown tpot:tpot /data/heralding -R chown tpot:tpot /data/heralding -R
} }
# Let's create a function to clean up and prepare honeypots data
fuHONEYPOTS () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypots/*; fi
mkdir -p /data/honeypots/log
chmod 770 /data/honeypots -R
chown tpot:tpot /data/honeypots -R
}
# Let's create a function to clean up and prepare honeypy data # Let's create a function to clean up and prepare honeypy data
fuHONEYPY () { fuHONEYPY () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypy/*; fi if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypy/*; fi
@ -339,6 +347,7 @@ if [ "$myPERSISTENCE" = "on" ];
fuHERALDING fuHERALDING
fuHELLPOT fuHELLPOT
fuHONEYSAP fuHONEYSAP
fuHONEYPOTS
fuHONEYPY fuHONEYPY
fuHONEYTRAP fuHONEYTRAP
fuIPPHONEY fuIPPHONEY

View file

@ -23,6 +23,7 @@
/data/heralding/log/*.log /data/heralding/log/*.log
/data/heralding/log/*.csv /data/heralding/log/*.csv
/data/heralding/log/*.json /data/heralding/log/*.json
/data/honeypots/log/*.log
/data/honeypy/log/*.log /data/honeypy/log/*.log
/data/honeysap/log/*.log /data/honeysap/log/*.log
/data/honeytrap/log/*.log /data/honeytrap/log/*.log

View file

@ -802,27 +802,28 @@ mkdir -vp /data/adbhoney/{downloads,log} \
/data/conpot/log \ /data/conpot/log \
/data/citrixhoneypot/logs \ /data/citrixhoneypot/logs \
/data/cowrie/{downloads,keys,misc,log,log/tty} \ /data/cowrie/{downloads,keys,misc,log,log/tty} \
/data/ddospot/{bl,db,log} \ /data/ddospot/{bl,db,log} \
/data/dicompot/{images,log} \ /data/dicompot/{images,log} \
/data/dionaea/{log,bistreams,binaries,rtp,roots,roots/ftp,roots/tftp,roots/www,roots/upnp} \ /data/dionaea/{log,bistreams,binaries,rtp,roots,roots/ftp,roots/tftp,roots/www,roots/upnp} \
/data/elasticpot/log \ /data/elasticpot/log \
/data/elk/{data,log} \ /data/elk/{data,log} \
/data/endlessh/log \ /data/endlessh/log \
/data/fatt/log \ /data/fatt/log \
/data/honeytrap/{log,attacks,downloads} \ /data/honeytrap/{log,attacks,downloads} \
/data/glutton/log \ /data/glutton/log \
/data/hellpot/log \ /data/hellpot/log \
/data/heralding/log \ /data/heralding/log \
/data/honeypots/log \
/data/honeypy/log \ /data/honeypy/log \
/data/honeysap/log \ /data/honeysap/log \
/data/ipphoney/log \ /data/ipphoney/log \
/data/mailoney/log \ /data/mailoney/log \
/data/medpot/log \ /data/medpot/log \
/data/nginx/{log,heimdall} \ /data/nginx/{log,heimdall} \
/data/emobility/log \ /data/emobility/log \
/data/ews/conf \ /data/ews/conf \
/data/rdpy/log \ /data/rdpy/log \
/data/redishoneypot/log \ /data/redishoneypot/log \
/data/spiderfoot \ /data/spiderfoot \
/data/suricata/log \ /data/suricata/log \
/data/tanner/{log,files} \ /data/tanner/{log,files} \

View file

@ -239,6 +239,7 @@ mkdir -vp /data/adbhoney/{downloads,log} \
/data/glutton/log \ /data/glutton/log \
/data/hellpot/log \ /data/hellpot/log \
/data/heralding/log \ /data/heralding/log \
/data/honeypots/log \
/data/honeypy/log \ /data/honeypy/log \
/data/honeysap/log \ /data/honeysap/log \
/data/ipphoney/log \ /data/ipphoney/log \