Replies: 5 comments 10 replies
-
hi again! so, if you want to export honeypots data to another destination, such as SIEM, you can use logstash container from tpot instance. I hope this short answer will help somebody with similar situation. Sorry for my english, this is not my mother tongue=) |
Beta Was this translation helpful? Give feedback.
-
so, finally i meet a new trouble with logstash output syslog plugin. It does not work very well. logstash-plugins/logstash-output-syslog#51 (comment) I preffer to use http logstash output plugin, which are already included in TPOTCE logstash instance. |
Beta Was this translation helpful? Give feedback.
-
Can you elaborate your way like how did you achieved this what changes did you made in the logstash configuration?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: vasokolov ***@***.***>
Sent: Monday, August 12, 2024 1:04:04 PM
To: telekom-security/tpotce ***@***.***>
Cc: Sagar Sharma ***@***.***>; Comment ***@***.***>
Subject: Re: [telekom-security/tpotce] Export logs from tpot to SIEM (Discussion #1617)
CAUTION: This email originated from outside of Milliman. Do not click links or open attachments unless you recognize the sender and know the content is safe.
if u want catch only honeypot logs, u can go for my way with using logstash. this is work fine, and this is strucrureg log format (JSON), so it is very nice for parsing events, making a rules and cases for SIEM.
If u want to see a honeypot platform log (OS log) and control system.d services, like tpot.service or docker service or anything else, u should connect it on to SIEM like typical linux OS.
—
Reply to this email directly, view it on GitHub<#1617 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BEK3DEM5KAE333JHMQNUQQ3ZRBQOZAVCNFSM6AAAAABKW4CALSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZRGA4DEMA>.
You are receiving this because you commented.Message ID: ***@***.***>
________________________________
Milliman values and protects your personal information. You can find information on how we use your personal information and how to exercise your rights here<https://us.milliman.com/en/global-privacy-policy>.
|
Beta Was this translation helpful? Give feedback.
-
i have done something similar. i'm not sure its the best approach, but it does work.. its currently more a proof of concept.. but it is effective. Tpot Hive --> ElasticSearch --> OpenCTI --> <Stix/Taxi Feed> --> SIEM I modified my tpot hive http_input.conf to send the data to the Hive install AND a separate elasticsearch instance.. i didn't want to mess with the hive elasticsearch instance.. so I just send the data to another instance while keeping the hive intact. #http_input.conf file:
I use a python script run once an hour that queries ES and pulls the tpot data I want and dumps it into OpenCTI: https://github.com/OpenCTI-Platform/opencti OpenCTI has an option to create a STIX/TAXII feed based on criteria.. so I have a feed.. and this feed is pulled in by various infrastructure. i wish the OpenCTI API was a little more documented.. but there is a good community behind the project, and its a great open source project. its been very effective and works well. i hope this makes sense. |
Beta Was this translation helpful? Give feedback.
-
The Elastic Stack (Logstash) now includes the Syslog Output Plugin, images have been deployed a few minutes ago. Logstash Configuration Customization (recommended only on Hive)The Logstash configurations must be customized using volumes. To do this, stop T-Pot (
In the Logstash service logstash:
container_name: logstash
restart: always
depends_on:
elasticsearch:
condition: service_healthy
networks:
- nginx_local
environment:
- LS_JAVA_OPTS=-Xms1024m -Xmx1024m
- TPOT_TYPE=${TPOT_TYPE:-HIVE}
- TPOT_HIVE_USER=${TPOT_HIVE_USER}
- TPOT_HIVE_IP=${TPOT_HIVE_IP}
- LS_SSL_VERIFICATION=${LS_SSL_VERIFICATION:-full}
ports:
- "127.0.0.1:64305:64305"
mem_limit: 2g
image: ${TPOT_REPO}/logstash:${TPOT_VERSION}
pull_policy: ${TPOT_PULL_POLICY}
volumes:
- ${TPOT_DATA_PATH}:/data
- modified_logstash.conf:/etc/logstash/logstash.conf
- modified_http_input.conf:/etc/logstash/http_input.conf Then start T-Pot ( Monitor the logs with ( Important Notes:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I am a newbee in ELK and docker, so i hope somebody will help me to find the way.
I have been install a tpot in my infrastructure, it was hive installation.
So it looks like everything works fine. But now i want to send events from tpot sensors (i mean honeypots logs) to my SIEM system.
I know that every honeypot save all his logs in ~tpotce/data in his folder.
But, as i see, all of this logs going to logstash, so maybe the simplest way for exporting logs on external siem is reconfiguring logstash with some file? but i have no idea how to do it. Also, i think that i don't want to replace a "target point" for logstash, because it will remove data from kibana, i want to add a second, so can i send data from logstash for 2 ways?
Beta Was this translation helpful? Give feedback.
All reactions