nDPI icon indicating copy to clipboard operation
nDPI copied to clipboard

Some popular applications seem to be missing

Open ChrisNelson-CyberReef opened this issue 2 years ago • 5 comments

The protocol list includes things like Disney+ and Amazon Video but other mainstream streaming applications like HBO and Showtime seem to be missing. I know those brands and others have changed hands so it's possible they are part of another protocol I don't recognize (like Ookla and SpeedTest). I'm interested in Apple TV+, DirecTV, I Heart Radio, HBO, Showtime. Are any of those there "in disguise"?

ChrisNelson-CyberReef avatar Aug 26 '22 18:08 ChrisNelson-CyberReef

If you can provide a pcap file for every application you're interested in, I'll investigate and may be able to find some detection patterns.

utoni avatar Aug 27 '22 00:08 utoni

I don't have any captures right now. I may gather them as I continue to work on it. I wonder, though, if the domains (like those in src/lib/ndpi_content_match.c.inc) is enough. That seems to be the only place in the source that Disney+ is mentioned.

ChrisNelson-CyberReef avatar Aug 28 '22 20:08 ChrisNelson-CyberReef

Traces will be extremely useful; some (most?) of these services are behind some kind of subscription and some of them are even unavailable in my country. Generally speaking, most of the streaming services are usually identified via domain name or via ip matching

IvanNardi avatar Aug 30 '22 10:08 IvanNardi

I was going to start with https://www.netify.ai/resources/applications and see what I can add. Would you like a PR for my additions? Or is there a file like src/lib/ndpi_content_match.c.inc for user-defined protocols?

ChrisNelson-CyberReef avatar Aug 30 '22 12:08 ChrisNelson-CyberReef

A PR will be very welcomed! You simply need to:

  • extend protocol list in src/include/ndpi_protocol_ids.h
  • extend rules at the end of host_match in src/lib/ndpi_content_match.c.inc: domain, protocol, a suitable category (likely NDPI_PROTOCOL_CATEGORY_MEDIA) and breed (likely NDPI_PROTOCOL_FUN)

IvanNardi avatar Aug 30 '22 12:08 IvanNardi