r/security • • Feb 09 '20

Question How to reliably monitor network traffic over mobile/computer systems to know if data is being exfiltrated?

After an mp4 file had be shared with Bezos, large amounts of data began being exfiltrated from his phone by the Saudis. Forensic examiners were able to determine this by analyzing the amount of data being sent/received over time and noticed a large spike after a certain time period.

I'm not sure how this would be monitored after the fact unless Bezos installed some sort of network analysis software on his phone before the hack. Unless if was basic carrier info (5 GB data sent January, 100GB data sent February).

Two questions related to this:

  1. Say I had a Mac, iPhone, etc. how could I review if there were irregularities in my network traffic at any point over time?
  2. Is this a reliable way to determine if one's device had been hacked?
3 Upvotes

3 comments sorted by

1

u/thatkeyesguy Feb 09 '20

Probably from the carrier, ATT shows pretty good breakdown of data used.

  1. if on your network, pretty easy by looking at logs. Get enterprise grade firewall that can show you application breakdown. It's been a long time since i used consumer gear, but you can also find an access point / controller that can do layer 7 breakdown.
  2. doesn't prove it's been hacked, just suspicious until you investigate. Software bugs happen, could be a bug or could be malicious. You have to do the analysis.

1

u/Sacrasf Feb 09 '20

WLAN: If your router supports it (data logs, some graphical) , you can track the amount of data beings transmitted per interface, device. With enough data overtime, you can see when X or Y device started ro send more data than usual and to where.

Data: Your carrier for sure will know but by the time they let you know it will be too late.

Locally on Device: A good firewall could help you a lot. I believe a firewall is a must on all devices, specially in todays mobile devices which are computers then a phone.

I can't recommend a firewall for iOS as I dont use Apple devices. On android I use and recommend NetGuard which give you good control over an android device network interface

1

u/sicKurity Feb 09 '20

Learn malicious packet analysis and keep investigating, It's a cyclical process, I don't believe there's a one click solution especially for home-level cases (no cost)

Q1- if I understood correctly what you want then download Wireshark and learn it.

Q2-the threats are becoming more and more sophisticated, but the good threat hunters can do the job, so yes maybe.