Skip to content

Commit a90f135

Browse files
authored
Merge pull request #690 from telekom-security/ghcr
Move to GitHub Container Registry, Cleanup, Bump ELK stack to 7.9.1
2 parents 9a7f55b + adee659 commit a90f135

File tree

87 files changed

+336
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+336
-306
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 20200904
4+
- **Release T-Pot 20.06.1**
5+
- Github offers a free Docker Container Registry for public packages. For our Open Source projects we want to make sure to have everything in one place and thus moving from Docker Hub to the GitHub Container Registry.
6+
- **Bump Elastic Stack**
7+
- Update the Elastic Stack to 7.9.1.
8+
- **Rebuild Images**
9+
- All docker images were rebuilt based on the latest (and stable running) versions of the tools and honeypots and have been pinned to specific Alpine / Debian versions and git commits so rebuilds will less likely fail.
10+
- **Cleaning up**
11+
- Clean up old references and links.
12+
313
## 20200630
414
- **Release T-Pot 20.06**
515
- After 4 months of public testing with the NextGen edition T-Pot 20.06 can finally be released.
@@ -51,7 +61,7 @@
5161
- **Update ISO image to fix upstream bug of missing kernel modules**
5262
- **Include dashboards for CitrixHoneypot**
5363
- Please run `/opt/tpot/update.sh` for the necessary modifications, omit the reboot and run `/opt/tpot/bin/tped.sh` to (re-)select the NextGen installation type.
54-
- This update requires the latest Kibana objects as well. Download the latest from https://raw.githubusercontent.com/dtag-dev-sec/tpotce/master/etc/objects/kibana_export.json.zip, unzip and import the objects within Kibana WebUI > Management > Saved Objects > Export / Import". All objects will be overwritten upon import, make sure to run an export first.
64+
- This update requires the latest Kibana objects as well. Download the latest from https://raw.githubusercontent.com/telekom-security/tpotce/master/etc/objects/kibana_export.json.zip, unzip and import the objects within Kibana WebUI > Management > Saved Objects > Export / Import". All objects will be overwritten upon import, make sure to run an export first.
5565

5666
## 20200115
5767
- **Prepare integration of CitrixHoneypot**

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Furthermore T-Pot includes the following tools
4040

4141
# TL;DR
4242
1. Meet the [system requirements](#requirements). The T-Pot installation needs at least 8 GB RAM and 128 GB free disk space as well as a working (outgoing non-filtered) internet connection.
43-
2. Download the T-Pot ISO from [GitHub](https://github.com/dtag-dev-sec/tpotce/releases) or [create it yourself](#createiso).
43+
2. Download the T-Pot ISO from [GitHub](https://github.com/telekom-security/tpotce/releases) or [create it yourself](#createiso).
4444
3. Install the system in a [VM](#vm) or on [physical hardware](#hw) with [internet access](#placement).
4545
4. Enjoy your favorite beverage - [watch](https://sicherheitstacho.eu) and [analyze](#kibana).
4646

@@ -132,7 +132,7 @@ The T-Pot project provides all the tools and documentation necessary to build yo
132132

133133
The source code and configuration files are fully stored in the T-Pot GitHub repository. The docker images are preconfigured for the T-Pot environment. If you want to run the docker images separately, make sure you study the docker-compose configuration (`/opt/tpot/etc/tpot.yml`) and the T-Pot systemd script (`/etc/systemd/system/tpot.service`), as they provide a good starting point for implementing changes.
134134

135-
The individual docker configurations are located in the [docker folder](https://github.com/dtag-dev-sec/tpotce/tree/master/docker).
135+
The individual docker configurations are located in the [docker folder](https://github.com/telekom-security/tpotce/tree/master/docker).
136136

137137
<a name="requirements"></a>
138138
# System Requirements
@@ -183,18 +183,18 @@ There are prebuilt installation types available each focussing on different aspe
183183
# Installation
184184
The installation of T-Pot is straight forward and heavily depends on a working, transparent and non-proxied up and running internet connection. Otherwise the installation **will fail!**
185185

186-
Firstly, decide if you want to download the prebuilt installation ISO image from [GitHub](https://github.com/dtag-dev-sec/tpotce/releases), [create it yourself](#createiso) ***or*** [post-install on an existing Debian 10 (Buster)](#postinstall).
186+
Firstly, decide if you want to download the prebuilt installation ISO image from [GitHub](https://github.com/telekom-security/tpotce/releases), [create it yourself](#createiso) ***or*** [post-install on an existing Debian 10 (Buster)](#postinstall).
187187

188188
Secondly, decide where you the system to run: [real hardware](#hardware) or in a [virtual machine](#vm)?
189189

190190
<a name="prebuilt"></a>
191191
## Prebuilt ISO Image
192-
An installation ISO image is available for download (~50MB), which is created by the [ISO Creator](https://github.com/dtag-dev-sec/tpotce) you can use yourself in order to create your own image. It will basically just save you some time downloading components and creating the ISO image.
193-
You can download the prebuilt installation ISO from [GitHub](https://github.com/dtag-dev-sec/tpotce/releases) and jump to the [installation](#vm) section.
192+
An installation ISO image is available for download (~50MB), which is created by the [ISO Creator](https://github.com/telekom-security/tpotce) you can use yourself in order to create your own image. It will basically just save you some time downloading components and creating the ISO image.
193+
You can download the prebuilt installation ISO from [GitHub](https://github.com/telekom-security/tpotce/releases) and jump to the [installation](#vm) section.
194194

195195
<a name="createiso"></a>
196196
## Create your own ISO Image
197-
For transparency reasons and to give you the ability to customize your install you use the [ISO Creator](https://github.com/dtag-dev-sec/tpotce) that enables you to create your own ISO installation image.
197+
For transparency reasons and to give you the ability to customize your install you use the [ISO Creator](https://github.com/telekom-security/tpotce) that enables you to create your own ISO installation image.
198198

199199
**Requirements to create the ISO image:**
200200
- Debian 10 as host system (others *may* work, but *remain* untested)
@@ -206,7 +206,7 @@ For transparency reasons and to give you the ability to customize your install y
206206

207207
1. Clone the repository and enter it.
208208
```
209-
git clone https://github.com/dtag-dev-sec/tpotce
209+
git clone https://github.com/telekom-security/tpotce
210210
cd tpotce
211211
```
212212
2. Run the `makeiso.sh` script to build the ISO image.
@@ -237,7 +237,7 @@ You can now jump [here](#firstrun).
237237
If you decide to run T-Pot on dedicated hardware, just follow these steps:
238238

239239
1. Burn a CD from the ISO image or make a bootable USB stick using the image. <br>
240-
Whereas most CD burning tools allow you to burn from ISO images, the procedure to create a bootable USB stick from an ISO image depends on your system. There are various Windows GUI tools available, e.g. [this tip](http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows) might help you.<br> On [Linux](http://askubuntu.com/questions/59551/how-to-burn-a-iso-to-a-usb-device) or [MacOS](http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx) you can use the tool *dd* or create the USB stick with T-Pot's [ISO Creator](https://github.com/dtag-dev-sec).
240+
Whereas most CD burning tools allow you to burn from ISO images, the procedure to create a bootable USB stick from an ISO image depends on your system. There are various Windows GUI tools available, e.g. [this tip](http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows) might help you.<br> On [Linux](http://askubuntu.com/questions/59551/how-to-burn-a-iso-to-a-usb-device) or [MacOS](http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx) you can use the tool *dd* or create the USB stick with T-Pot's [ISO Creator](https://github.com/telekom-security).
241241
2. Boot from the USB stick and install.
242242

243243
*Please note*: Limited tests are performed for the Intel NUC platform other hardware platforms **remain untested**. There is no hardware support provided of any kind.
@@ -255,7 +255,7 @@ The T-Pot Universal Installer will upgrade the system and install all required T
255255
Just follow these steps:
256256

257257
```
258-
git clone https://github.com/dtag-dev-sec/tpotce
258+
git clone https://github.com/telekom-security/tpotce
259259
cd tpotce/iso/installer/
260260
./install.sh --type=user
261261
```
@@ -269,7 +269,7 @@ You can also let the installer run automatically if you provide your own `tpot.c
269269
Just follow these steps while adjusting `tpot.conf` to your needs:
270270

271271
```
272-
git clone https://github.com/dtag-dev-sec/tpotce
272+
git clone https://github.com/telekom-security/tpotce
273273
cd tpotce/iso/installer/
274274
cp tpot.conf.dist tpot.conf
275275
./install.sh --type=auto --conf=tpot.conf
@@ -436,7 +436,7 @@ You may opt out of the submission by removing the `# Ewsposter service` from `/o
436436
restart: always
437437
networks:
438438
- ewsposter_local
439-
image: "dtagdevsec/ewsposter:2006"
439+
image: "ghcr.io/telekom-security/ewsposter:2006"
440440
volumes:
441441
- /data:/data
442442
- /data/ews/conf/ews.ip:/opt/ewsposter/ews.ip
@@ -466,7 +466,7 @@ As with every development there is always room for improvements ...
466466

467467
Some features may be provided with updated docker images, others may require some hands on from your side.
468468

469-
You are always invited to participate in development on our [GitHub](https://github.com/dtag-dev-sec/tpotce) page.
469+
You are always invited to participate in development on our [GitHub](https://github.com/telekom-security/tpotce) page.
470470

471471
<a name="disclaimer"></a>
472472
# Disclaimer
@@ -478,18 +478,18 @@ You are always invited to participate in development on our [GitHub](https://git
478478

479479
<a name="faq"></a>
480480
# FAQ
481-
Please report any issues or questions on our [GitHub issue list](https://github.com/dtag-dev-sec/tpotce/issues), so the community can participate.
481+
Please report any issues or questions on our [GitHub issue list](https://github.com/telekom-security/tpotce/issues), so the community can participate.
482482

483483
<a name="contact"></a>
484484
# Contact
485485
The software is provided **as is** in a Community Edition format. T-Pot is designed to run out of the box and with zero maintenance involved. <br>
486-
We hope you understand that we cannot provide support on an individual basis. We will try to address questions, bugs and problems on our [GitHub issue list](https://github.com/dtag-dev-sec/tpotce/issues).
486+
We hope you understand that we cannot provide support on an individual basis. We will try to address questions, bugs and problems on our [GitHub issue list](https://github.com/telekom-security/tpotce/issues).
487487

488488
<a name="licenses"></a>
489489
# Licenses
490490
The software that T-Pot is built on uses the following licenses.
491491
<br>GPLv2: [conpot](https://github.com/mushorg/conpot/blob/master/LICENSE.txt), [dionaea](https://github.com/DinoTools/dionaea/blob/master/LICENSE), [honeysap](https://github.com/SecureAuthCorp/HoneySAP/blob/master/COPYING), [honeypy](https://github.com/foospidy/HoneyPy/blob/master/LICENSE), [honeytrap](https://github.com/armedpot/honeytrap/blob/master/LICENSE), [suricata](http://suricata-ids.org/about/open-source/)
492-
<br>GPLv3: [adbhoney](https://github.com/huuck/ADBHoney), [elasticpot](https://gitlab.com/bontchev/elasticpot/-/blob/master/LICENSE), [ewsposter](https://github.com/dtag-dev-sec/ews/), [fatt](https://github.com/0x4D31/fatt/blob/master/LICENSE), [rdpy](https://github.com/citronneur/rdpy/blob/master/LICENSE), [heralding](https://github.com/johnnykv/heralding/blob/master/LICENSE.txt), [ipphoney](https://gitlab.com/bontchev/ipphoney/-/blob/master/LICENSE), [snare](https://github.com/mushorg/snare/blob/master/LICENSE), [tanner](https://github.com/mushorg/snare/blob/master/LICENSE)
492+
<br>GPLv3: [adbhoney](https://github.com/huuck/ADBHoney), [elasticpot](https://gitlab.com/bontchev/elasticpot/-/blob/master/LICENSE), [ewsposter](https://github.com/telekom-security/ews/), [fatt](https://github.com/0x4D31/fatt/blob/master/LICENSE), [rdpy](https://github.com/citronneur/rdpy/blob/master/LICENSE), [heralding](https://github.com/johnnykv/heralding/blob/master/LICENSE.txt), [ipphoney](https://gitlab.com/bontchev/ipphoney/-/blob/master/LICENSE), [snare](https://github.com/mushorg/snare/blob/master/LICENSE), [tanner](https://github.com/mushorg/snare/blob/master/LICENSE)
493493
<br>Apache 2 License: [cyberchef](https://github.com/gchq/CyberChef/blob/master/LICENSE), [dicompot](https://github.com/nsmfoo/dicompot/blob/master/LICENSE), [elasticsearch](https://github.com/elasticsearch/elasticsearch/blob/master/LICENSE.txt), [logstash](https://github.com/elasticsearch/logstash/blob/master/LICENSE), [kibana](https://github.com/elasticsearch/kibana/blob/master/LICENSE.md), [docker](https://github.com/docker/docker/blob/master/LICENSE), [elasticsearch-head](https://github.com/mobz/elasticsearch-head/blob/master/LICENCE)
494494
<br>MIT license: [ciscoasa](https://github.com/Cymmetria/ciscoasa_honeypot/blob/master/LICENSE), [glutton](https://github.com/mushorg/glutton/blob/master/LICENSE)
495495
<br> Other: [citrixhoneypot](https://github.com/MalwareTech/CitrixHoneypot#licencing-agreement-malwaretech-public-licence), [cowrie](https://github.com/micheloosterhof/cowrie/blob/master/LICENSE.md), [mailoney](https://github.com/awhitehatter/mailoney), [Debian licensing](https://www.debian.org/legal/licenses/)

bin/change_ews_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fi
6060
echo ""
6161
echo "[+] Creating config file with API UserID '$apiUser' and API Token '$apiToken'."
6262
echo "[+] Fetching config file from github. Outgoing https requests must be enabled!"
63-
wget -q https://raw.githubusercontent.com/dtag-dev-sec/tpotce/master/docker/ews/dist/ews.cfg -O ews.cfg.dist
63+
wget -q https://raw.githubusercontent.com/telekom-security/tpotce/master/docker/ews/dist/ews.cfg -O ews.cfg.dist
6464
if [[ -f "ews.cfg.dist" ]]; then
6565
echo "[+] Successfully downloaded ews.cfg from github."
6666
else

cloud/ansible/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Import your SSH public key.
9696
<a name="clone-git"></a>
9797
# Clone Git Repository
9898
Clone the `tpotce` repository to your Ansible Master:
99-
`git clone https://github.com/dtag-dev-sec/tpotce.git`
99+
`git clone https://github.com/telekom-security/tpotce.git`
100100
All Ansible related files are located in the [`cloud/ansible/openstack`](openstack) folder.
101101
102102
<a name="settings"></a>
@@ -226,7 +226,7 @@ If you are running on a machine which asks for a sudo password, you can use:
226226
The Playbook will first install required packages on the Ansible Master and then deploy a new server instance.
227227
After that, T-Pot gets installed and configured on the newly created host, optionally custom configs are applied and finally it reboots.
228228
229-
Once this is done, you can proceed with connecting/logging in to the T-Pot according to the [documentation](https://github.com/dtag-dev-sec/tpotce#ssh-and-web-access).
229+
Once this is done, you can proceed with connecting/logging in to the T-Pot according to the [documentation](https://github.com/telekom-security/tpotce#ssh-and-web-access).
230230
231231
<a name="documentation"></a>
232232
# Further documentation

cloud/ansible/openstack/roles/install/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- name: Cloning T-Pot install directory
88
git:
9-
repo: "https://github.com/dtag-dev-sec/tpotce.git"
9+
repo: "https://github.com/telekom-security/tpotce.git"
1010
dest: /root/tpot
1111

1212
- name: Prepare to set user password

cloud/terraform/cloud-init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ packages:
55
- git
66

77
runcmd:
8-
- git clone https://github.com/dtag-dev-sec/tpotce /root/tpot
8+
- git clone https://github.com/telekom-security/tpotce /root/tpot
99
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
1010
- rm /root/tpot.conf
1111
- /sbin/shutdown -r now

doc/architecture.png

-96.3 KB
Loading

docker/adbhoney/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:latest
1+
FROM alpine:3.12
22
#
33
# Include dist
44
ADD dist/ /root/dist/
@@ -13,7 +13,9 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
1313
python3-dev && \
1414
#
1515
# Install adbhoney from git
16-
git clone --depth=1 https://github.com/huuck/ADBHoney /opt/adbhoney && \
16+
git clone https://github.com/huuck/ADBHoney /opt/adbhoney && \
17+
cd /opt/adbhoney && \
18+
git checkout ad7c17e78d01f6860d58ba826a4b6a4e4f83acbd && \
1719
cp /root/dist/adbhoney.cfg /opt/adbhoney && \
1820
sed -i 's/dst_ip/dest_ip/' /opt/adbhoney/adbhoney/core.py && \
1921
sed -i 's/dst_port/dest_port/' /opt/adbhoney/adbhoney/core.py && \

docker/adbhoney/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- adbhoney_local
1515
ports:
1616
- "5555:5555"
17-
image: "dtagdevsec/adbhoney:2006"
17+
image: "ghcr.io/telekom-security/adbhoney:2006"
1818
read_only: true
1919
volumes:
2020
- /data/adbhoney/log:/opt/adbhoney/log

docker/ciscoasa/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:latest
1+
FROM alpine:3.12
22
#
33
# Include dist
44
ADD dist/ /root/dist/
@@ -23,8 +23,9 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
2323
# Get and install packages
2424
mkdir -p /opt/ && \
2525
cd /opt/ && \
26-
git clone --depth=1 https://github.com/cymmetria/ciscoasa_honeypot && \
26+
git clone https://github.com/cymmetria/ciscoasa_honeypot && \
2727
cd ciscoasa_honeypot && \
28+
git checkout d6e91f1aab7fe6fc01fabf2046e76b68dd6dc9e2 && \
2829
pip3 install --no-cache-dir -r requirements.txt && \
2930
cp /root/dist/asa_server.py /opt/ciscoasa_honeypot && \
3031
chown -R ciscoasa:ciscoasa /opt/ciscoasa_honeypot && \

0 commit comments

Comments
 (0)