Skip to content

Commit

Permalink
Merge pull request #12 from honeynet/sync-with-tpot
Browse files Browse the repository at this point in the history
Sync with tpot
  • Loading branch information
dpisano authored Jan 19, 2024
2 parents 3fc0fc5 + 053cad4 commit c0c7cac
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ Use this variable to specify what version of filebeat you would like to use. The
roles:
- ansible-role-tpotce
```
## Special Thanks

<p>This project is supported by:</p>
<p>
<a href="https://www.digitalocean.com/">
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">
</a>
</p>

## License

Expand Down
6 changes: 6 additions & 0 deletions templates/logrotate/logrotate.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,35 @@
/data/cowrie/log/cowrie.json
/data/cowrie/log/cowrie-textlog.log
/data/cowrie/log/lastlog.txt
/data/ddospot/log/*.log
/data/dicompot/log/dicompot.log
/data/dionaea/log/dionaea.json
/data/dionaea/log/dionaea.sqlite
/data/dionaea/dionaea-errors.log
/data/elasticpot/log/elasticpot.log
/data/elasticpot/log/elasticpot.json
/data/elk/log/*.log
/data/endlessh/log/*.log
/data/fatt/log/fatt.log
/data/glutton/log/*.log
/data/glutton/log/*.err
/data/hellpot/log/*.log
/data/heralding/log/*.log
/data/heralding/log/*.csv
/data/heralding/log/*.json
/data/honeypots/log/*.log
/data/honeypy/log/*.log
/data/honeysap/log/*.log
/data/honeytrap/log/*.log
/data/honeytrap/log/*.json
/data/ipphoney/log/*.json
/data/log4pot/log/*.log
/data/mailoney/log/*.log
/data/medpot/log/*.log
/data/nginx/log/*.log
/data/p0f/log/p0f.json
/data/rdpy/log/rdpy.log
/data/redishoneypot/log/*.log
/data/suricata/log/*.log
/data/suricata/log/*.json
/data/tanner/log/*.json
Expand Down
22 changes: 22 additions & 0 deletions templates/tpot/tpot.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ networks:
{% if "tanner" in honeypot_list %}
tanner_local:
{% endif %}
{% if "log4pot" in honeypot_list %}
log4pot_local:
{% endif %}
{% if "ewsposter" in honeypot_list %}
ewsposter_local:
{% endif %}
Expand Down Expand Up @@ -558,6 +561,25 @@ services:
- tanner
{% endif %}

{% if "log4pot" in honeypot_list %}
# Log4pot service
log4pot:
container_name: log4pot
restart: always
networks:
- log4pot_local
ports:
- "80:8080"
- "443:8080"
- "8080:8080"
- "9200:8080"
image: "dtagdevsec/log4pot:2006"
read_only: true
volumes:
- /data/log4pot/log:/var/log/log4pot/log
- /data/log4pot/payloads:/var/log/log4pot/payloads
{% endif %}

##################
#### NSM
##################
Expand Down
10 changes: 10 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ DIRECTORYLIST:
- /data/cowrie/keys/
- /data/cowrie/misc/
- /data/cowrie/log/tty/
- /data/ddospot/bl
- /data/ddospot/db
- /data/ddospot/log
- /data/dicompot/images
- /data/dicompot/log
- /data/dionaea/log
- /data/dionaea/bistreams
Expand All @@ -112,22 +116,28 @@ DIRECTORYLIST:
- /data/elasticpot/log
- /data/elk/data
- /data/elk/log
- /data/endlessh/log
- /data/fatt/log
- /data/honeytrap/log/
- /data/honeytrap/attacks/
- /data/honeytrap/downloads/
- /data/glutton/log
- /data/hellpot/log
- /data/heralding/log
- /data/honeypots/log
- /data/honeypy/log
- /data/honeysap/log
- /data/ipphoney/log
- /data/log4pot/log
- /data/log4pot/payloads
- /data/mailoney/log
- /data/medpot/log
- /data/nginx/log
- /data/nginx/heimdall
- /data/emobility/log
- /data/ews/conf
- /data/rdpy/log
- /data/redishoneypot/log
- /data/spiderfoot
- /data/suricata/log
- /data/tanner/log
Expand Down

0 comments on commit c0c7cac

Please sign in to comment.