Git Product home page Git Product logo

tweetfeed's Introduction

TweetFeed

Collecting Indicators Of Compromise (IOCs) posted on Twitter in order to search them in your environment.

#BlueTeam ๐Ÿ”ต

Content

Data collected

Feeds
2021-09-20 21:20:35 (UTC)
Today Last 7 days Last 30 days Last 365 days
๐Ÿ“‹ Today (raw) ๐Ÿ“‹ Week (raw) ๐Ÿ“‹ Month (raw) ๐Ÿ“‹ Year (raw)

Output example

Date (UTC) SourceUser Type Value Tags Tweet
2021-08-14 02:26:32 phishunt_io url https://netflix.us2.cards/ #phishing #scam https://twitter.com/phishunt_io/status/1426369619422502917
2021-08-17 12:15:00 TheDFIRReport ip 185.56.76.94 #Trickbot https://twitter.com/TheDFIRReport/status/1427604874053578756

Some statistics

IOCs

IOC Today Week Month Year
๐Ÿ”— URLs 248 2331 9458 12129
๐ŸŒ Domains 36 390 1423 1431
๐Ÿšฉ IPs 181 1563 6486 8161
๐Ÿ”ข SHA256 685 2888 5771 6466
๐Ÿ”ข MD5 10 72 301 381

Tags

Tag Today Week Month Year
#phishing 305 2897 12304 15799
#scam 28 248 1410 1643
#malware 71 498 2320 3362
#ransomware 2 18 92 120
#banker 0 1 5 5
#AgentTesla 60 242 844 966
#Alienbot 0 0 42 72
#BazarLoader 0 13 79 83
#CobaltStrike 70 712 2422 2501
#Dridex 522 1887 2893 2893
#FluBot 0 0 5 5
#Formbook 12 168 278 278
#GootLoader 4 63 63 63
#GuLoader 0 23 27 27
#Hancitor 0 20 25 25
#IceID 0 0 0 0
#Lazarus 0 0 0 0
#Lokibot 23 54 158 182
#ProxyShell 5 9 48 54
#Qakbot 1 2 2 2
#Raccoon 16 76 76 76
#RedLine 20 232 326 326
#Remcos 8 59 67 67
#SquirrelWaffle 11 23 23 23
#Trickbot 2 23 41 49
#Ursnif 5 14 63 82
#XLoader 0 0 0 0

Top reporters (today)

Number User IOCs
#1 RedBeardIOCs 647
#2 secbird1 122
#3 ecarlesi 82
#4 drb_ra 67
#5 HeliosCert 55
#6 KesaGataMe0 18
#7 PhishStats 12
#8 CardanoPhishing 12
#9 phishunt_io 10
#10 yvesago 9

How it works?

Search tweets that contain certain tags or that are posted by certain infosec people.

Tags being searched

(not case sensitive)
- #phishing
- #scam
- #malware
- #ransomware
- #banker
- #AgentTesla
- #Alienbot
- #BazarLoader
- #CobaltStrike
- #Dridex
- #FluBot
- #Formbook
- #GootLoader
- #GuLoader
- #Hancitor
- #IceID
- #Lazarus
- #Lokibot
- #ProxyShell
- #Qakbot
- #Raccoon
- #RedLine
- #Remcos
- #SquirrelWaffle
- #Trickbot
- #Ursnif
- #XLoader

Also search Tweets posted by

(these are trusted folks that sometimes don't use tags)

TweetFeed list

IOCs being collected

- URL
- Domain
- IP address
- SHA256 hash
- MD5 hash

Hunting IOCs via Microsoft Defender

1. Search SHA256 hashes with yearly tweets feed

let MaxAge = ago(30d);
let SHA256_whitelist = pack_array(
'XXX' // Some SHA256 hash you want to whitelist.
);
let TweetFeed = materialize (
    (externaldata(report:string)
    [@"https://raw.githubusercontent.com/0xDanielLopez/TweetFeed/master/year.csv"]
    with (format = "txt"))
    | extend report = parse_csv(report)
    | extend Type = tostring(report[2])
    | where Type == 'sha256'
    | extend SHA256 = tostring(report[3])
    | where SHA256 !in(SHA256_whitelist)
    | extend Tag = tostring(report[4])
    | extend Tweet = tostring(report[5])
    | project SHA256, Tag, Tweet 
);
union (
    TweetFeed
    | join (
        DeviceProcessEvents
        | where Timestamp > MaxAge
    ) on SHA256
), (
    TweetFeed
    | join (
        DeviceFileEvents
        | where Timestamp > MaxAge
    ) on SHA256
), ( 
    TweetFeed
    | join (
        DeviceImageLoadEvents
        | where Timestamp > MaxAge
    ) on SHA256
) | project Timestamp, DeviceName, FileName, FolderPath, SHA256, Tag, Tweet

2. Search IP addresses with monthly tweets feed

let MaxAge = ago(30d);
let IPaddress_whitelist = pack_array(
'XXX' // Some IP address you want to whitelist.
);
let TweetFeed = materialize (
    (externaldata(report:string)
    [@"https://raw.githubusercontent.com/0xDanielLopez/TweetFeed/master/month.csv"]
    with (format = "txt"))
    | extend report = parse_csv(report)
    | extend Type = tostring(report[2])
    | where Type == 'ip'
    | extend RemoteIP = tostring(report[3])
    | where RemoteIP !in(IPaddress_whitelist)
    | extend Tag = tostring(report[4])
    | extend Tweet = tostring(report[5])
    | project RemoteIP, Tag, Tweet 
);
union (
TweetFeed
    | join (
        DeviceNetworkEvents
    | where Timestamp > MaxAge
    ) on RemoteIP
) | project Timestamp, DeviceName, RemoteIP, Tag, Tweet

3. Search urls and domains with weekly tweets feed

let MaxAge = ago(30d);
let domain_whitelist = pack_array(
'XXX' // Some URL/Domain you want to whitelist.
);
let TweetFeed = materialize (
    (externaldata(report:string)
    [@"https://raw.githubusercontent.com/0xDanielLopez/TweetFeed/master/week.csv"]
    with (format = "txt"))
    | extend report = parse_csv(report)
    | extend Type = tostring(report[2])
    | where Type in('url','domain')
    | extend RemoteUrl = tostring(report[3])
    | where RemoteUrl !in(domain_whitelist)
    | extend Tag = tostring(report[4])
    | extend Tweet = tostring(report[5])
    | project RemoteUrl, Tag, Tweet 
);
union (
TweetFeed
    | join (
        DeviceNetworkEvents
    | where Timestamp > MaxAge
    ) on RemoteUrl
) | project Timestamp, DeviceName, RemoteUrl, Tag, Tweet

Author

Disclaimer

Please note that all the data is collected from Twitter and sorted/served here as it is on best effort.

I have tried to tune as much as possible the searches trying to collect only valuable info. However please consider making your own analysis before taking any action related to these IOCs.

Anyway feel free to reach me out regarding any False Positive or to provide any kind of feedback.


By the Community for the Community

tweetfeed's People

Contributors

0xdaniellopez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.