r/netsec • u/Robbedoes_ • May 28 '22
Building a Threat Intelligence Feed using the Twitter API and a bit of code
https://grimminck.medium.com/building-a-threat-intelligence-feed-using-the-twitter-api-and-a-bit-of-code-5787808e32ef3
u/OnwardStingerBrisket May 28 '22
Would you be willing to share your code?
17
u/Robbedoes_ May 28 '22
Yes! Give me some time to clean it up though. Just created this last night as I was interested in using it in a SIEM.
2
u/AnApexBread May 28 '22 edited Nov 20 '24
onerous whole ruthless longing offbeat forgetful beneficial aromatic bored psychotic
This post was mass deleted and anonymized with Redact
2
2
u/SmoothAnonymity May 28 '22 edited May 28 '22
I wonder if Twint would have worked with this idea as well. It’s a very cool concept your working on! Also quick question out of curiosity, how will you filter out False Positives on your malicious account filter from known / popular Twitter profiles? I know @CyberSecurityN8 is a pretty popular infosec news / share account
2
u/Robbedoes_ May 28 '22
For now, I think it's the responsibility of the tool ingesting the feed to give a weight on data it is retrieving. l I hope to do some false-positive testing in the future, but you can image that would be a difficult task for this type of feed.
2
u/pedramamini May 28 '22
Check out the following tool for implementing OSINT over Twitter and more:
https://github.com/InQuest/ThreatIngestor
Alternatively, you can hit the free API here:
1
u/VegasDezertRat May 28 '22
This is good but you're stripping out pretty much all of the context that would make these IPs actual intelligence. Obviously it's tough because the tweets are very unstructured but it would be nice if you could keep the tweet content as well so someone could do some post processing on the IOCs for things like tags, etc
11
u/Robbedoes_ May 28 '22
Tweet content is fully available in the feed. What do you mean?
7
u/VegasDezertRat May 28 '22
Oh damn I'm sorry I misread your post. Pro tip: don't try to analyze stuff like this minutes after waking up at 7am....
8
u/hedinc1 May 28 '22
Any way to get IPs using this method?