Sentinel and T-Pot #1704
Replies: 1 comment
|
@Jeroenvdbroek 1. Installing the Microsoft Sentinel Logstash output pluginYour approach is conceptually correct—you need a custom Logstash image if you want to install additional plugins. However, if A few things to verify:
The plugin itself is installed using: bin/logstash-plugin install microsoft-sentinel-log-analytics-logstash-output-pluginwhich is the documented installation method. :contentReference[oaicite:1]{index=1} 2. Can T-Pot simply write logs outside the container?Yes, and this is probably the simpler solution. T-Pot already persists honeypot logs on the host through Docker bind mounts. From there you can use the Azure Monitor Agent (AMA) or another collector to ingest them into Microsoft Sentinel, without modifying the Logstash container. Depending on the honeypot, you'll find JSON logs under directories such as: For example: These files are continuously updated by the containers and are intended to persist outside the container lifecycle. If your goal is simply:
then collecting these JSON log files with AMA (or another supported agent) is considerably simpler than replacing T-Pot's Logstash output pipeline. Which approach would I recommend?Unless you specifically want Logstash → Sentinel as your only output, I'd recommend leaving the T-Pot ELK pipeline intact and letting Azure Monitor collect either:
This keeps your T-Pot installation closer to the supported deployment model while still getting the events into Microsoft Sentinel. One question that would help determine the best solution:
If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Hello all.
I found a old manual how to make sentinel and t-pot work together. https://swiftsolves.substack.com/p/how-to-wire-t-pot-events-to-microsoft
But that one is not relevant anymore since the latest version of t-pot. I managed to convert and do most config work. But what i can not get to work is the installment of the of the sentinel log stash output plugin.
I added it to the Docker file of logstash so in: tpotce/docker/elk/logstash/Dockerfile
i added: bin/logstash-plugin install microsoft-sentinel-log-analytics-logstash-output-plugin
And in the tpotce/docker-compose.yml
I added under ##logstash service
build:
context: /home/azureuser/tpotce/docker/elk/logstash
dockerfile: ./Dockerfile
But this seems not to work. The t-pot service will also not start.
If this is all to difficult or not possible i have a other questrion.
Can t-pot just log the attacks (just that there is a attack is already enough info) outside the container so i can pick it up there with azure monitor?
All reactions