[Analyzer] Twitter [paid API key required]
Name
Link
https://developer.twitter.com/en/docs/twitter-api
Type of analyzer
the idea is to leverage Twitter API v2 to look for tweets that cite the observable/file researched.
Why should we use it
This is a good way to extract OSINT information about the threat
Possible implementation
Analyzer that supports every type of observable + another one for files only where it is possible to check not only the related hashes (md5,sha256) but the filename too, at least
yo @mlodic is this more of scraping, creating our own database and querying it whenever the analyzer runs?
also it looks like the free plan here limits our ability to do so:
maybe this is the ideal plan here:
Also, just one more question, how would this analyzer be any different from tweetfeed that we implemented a while ago?
tweetfeed does not retrieve the data from twitter itself but from a separate service which does its own scraping.
The idea would be to do our own scraping on request.
About the plans, I understand that there are limitations and that's not ideal.
for your project, an idea could be to swap this issue with this one: https://github.com/intelowlproject/IntelOwl/issues/2248. What do you think?
Fine by me!
Hi, Do you by any chance need help in this topic? :)
Sure! We are an open source Community and we appreciate help from developers. Have you got some approach to handle this issue?
Maybe some basic beautiful soup scraping from x site. I have to try a few approaches.
Does this idea leverage the Twitter API as mentioned in the possible approach?
Sure, I will do my best :😀
So to make sure....
I need to search for filename and hashes of observable on the twitter ( now x ) .
To do it I need to add script to observable_analyzers that will take API key in configuration and will implement abstract class of ObservableAnalyzer. I can use other scripts like shodan.py to help myself write this code.
If the API wont be enough i can create my own scraping bot that will try to find required information (e.g. using dorking or smth) on demand ?
Yes! @mlodic anything to add/suggest?
as @g4ze said, APIs should not allow that kind of interaction without a paid API key so the cost-less option would be to create our own scraping with could most probably conflict with X's ToS. I don't think it's a good idea to add such kind of option.
@jankoksik if you are willing to try playing with IntelOwl, there are a lot of other tasks too. you are welcome to the project :)
Thanks so firstly I will search for some low hanging fruits than :)
This issue has been marked as stale because it has had no activity for 10 days. If you are still working on this, please provide some updates.