WEBVTT
Kind: captions
Language: en

00:00:00.400 --> 00:00:06.080 align:start position:19%
What's up everybody? This is Matt Brown
with another IoT hacking video. Today

00:00:03.840 --> 00:00:12.559 align:start position:19%
we're looking at the Super Box. This is
an Android settop box that promises free

00:00:09.760 --> 00:00:19.119 align:start position:19%
TV shows and movies. All you have to do
is download and install the custom

00:00:16.000 --> 00:00:22.320 align:start position:19%
Chinese app store and you get your
content. Does that sound too good to be

00:00:20.720 --> 00:00:26.240 align:start position:19%
true? Well, we're going to find out
today what happens to this device. I

00:00:24.720 --> 00:00:30.720 align:start position:19%
have no clue what's going to happen in
this video. We are going to connect it

00:00:28.320 --> 00:00:35.600 align:start position:19%
for the first time to the internet. I
have before in previous videos taken

00:00:32.960 --> 00:00:39.280 align:start position:19%
this apart on the desk, gotten root
access to the device, but that was all

00:00:37.440 --> 00:00:43.840 align:start position:19%
with it disconnected from the network.
Today, we're going to connect it to the

00:00:41.120 --> 00:00:48.320 align:start position:19%
internet and see what it does, see what
it calls out to, see if it makes any

00:00:46.000 --> 00:00:54.000 align:start position:19%
changes on the system itself. But before
we jump into that, my name is Matt Brown

00:00:50.399 --> 00:00:58.800 align:start position:19%
and I like to provide free educational
content like this. And also, if you're a

00:00:56.559 --> 00:01:04.159 align:start position:19%
company looking to test your IoT
equipment for uh malicious software or

00:01:02.079 --> 00:01:08.400 align:start position:19%
security vulnerabilities, feel free to
hit me up and I'd love to help you out

00:01:05.920 --> 00:01:11.840 align:start position:19%
with that. So, let's jump over to the
workbench to remind ourselves. This is

00:01:10.320 --> 00:01:17.360 align:start position:19%
actually the third video we've done on
this device. The first video we got root

00:01:14.880 --> 00:01:23.200 align:start position:19%
access via the UR interface right down
here. And so, we do uh have that shell

00:01:20.960 --> 00:01:28.960 align:start position:19%
and we're going to use that today. And
then last time we talked a little bit

00:01:25.600 --> 00:01:35.520 align:start position:19%
about this set of instructions that I
received uh that instructs us to install

00:01:32.560 --> 00:01:39.600 align:start position:19%
a custom app store uh potentially it
will automatically install once we are

00:01:37.680 --> 00:01:43.840 align:start position:19%
connected to the internet. Last time as
I mentioned I did not have this Ethernet

00:01:41.680 --> 00:01:47.920 align:start position:19%
cord connected and so it had no internet
access and so it was not able to uh to

00:01:46.000 --> 00:01:51.520 align:start position:19%
install that app store but we're going
to attempt to do that today. And then

00:01:50.000 --> 00:01:56.159 align:start position:19%
there's some manual instructions and a
URL that I've censored out here. And uh

00:01:54.320 --> 00:02:02.159 align:start position:19%
if I really have to today, I'll rip that
off and we'll we'll actually enter that

00:01:57.759 --> 00:02:07.119 align:start position:19%
in. So uh let's go ahead and talk about
our setup just a little bit. So if

00:02:05.360 --> 00:02:12.160 align:start position:19%
you've watched some of my videos before,
you'll know that I have this free tool

00:02:09.280 --> 00:02:18.080 align:start position:19%
called Man-in-the-middle Router. This is
a kind of uh duct taping together of a

00:02:15.520 --> 00:02:23.120 align:start position:19%
couple different common Linux utilities
to create a testing network. So I've

00:02:21.280 --> 00:02:28.160 align:start position:19%
made some updates to that locally. I
haven't pushed those to my repository,

00:02:24.720 --> 00:02:33.120 align:start position:19%
but today I am going to be using this
system with a slight change. Uh because

00:02:31.120 --> 00:02:36.959 align:start position:19%
of the sketchy nature of these
operations, I've added some firewall

00:02:35.200 --> 00:02:41.120 align:start position:19%
rules to make sure that the traffic can
only go out to the internet and it's not

00:02:38.720 --> 00:02:46.640 align:start position:19%
going to go out to my internet. Uh what
I've done locally again is I've changed

00:02:43.920 --> 00:02:52.560 align:start position:19%
this WAN interface to a tunnel interface
that is connected to a VPN again. So all

00:02:50.480 --> 00:02:57.519 align:start position:19%
of the weird sketchy traffic is going to
be traced back to a VPN server and not

00:02:55.040 --> 00:03:02.159 align:start position:19%
to me and it's just going to be one
extra layer of protection. Not

00:02:59.440 --> 00:03:06.879 align:start position:19%
bulletproof, but uh we've got other
measures in place to protect us. So, uh,

00:03:05.760 --> 00:03:09.840 align:start position:19%
and then we're going to, yeah, we're
just going to we're just going to power

00:03:08.319 --> 00:03:15.040 align:start position:19%
this on and we're going to we're going
to be over here in Wireshark. So, we are

00:03:11.760 --> 00:03:20.959 align:start position:19%
running Wireshark on that BR0 interface,
the the common interface that my tool

00:03:17.280 --> 00:03:29.040 align:start position:19%
uses to sniff traffic. And I've already
set up uh a firewall rule to try to

00:03:24.560 --> 00:03:34.000 align:start position:19%
intercept uh TLS traffic because here it
is right here. So, we're running

00:03:31.440 --> 00:03:38.560 align:start position:19%
maninthe-mill proxy uh not to be
confused with my tool man-in-the-middle

00:03:35.680 --> 00:03:43.280 align:start position:19%
router. Man-in-the-middle proxy is a an
intercepting proxy, also known as a

00:03:40.400 --> 00:03:48.799 align:start position:19%
transparent proxy that if traffic is
routed to it, uh it will attempt to

00:03:45.920 --> 00:03:53.920 align:start position:19%
terminate SSL and uh kind of do a
man-in-the-middle attack and reach

00:03:50.080 --> 00:03:59.040 align:start position:19%
inside and see the HTTP contents. So if
there's any calls going back to China

00:03:56.400 --> 00:04:05.360 align:start position:19%
and uh it's not doing certificate
verification on the server certificate

00:04:01.680 --> 00:04:10.959 align:start position:19%
then we will be able to reach inside of
the of the traffic contents in this

00:04:08.000 --> 00:04:16.000 align:start position:19%
screen. But we're going to start with
Wireshark and we're going to go ahead

00:04:14.159 --> 00:04:22.400 align:start position:19%
and we're going to we're going to power
on this device. And uh oh, we'll

00:04:19.359 --> 00:04:27.840 align:start position:19%
actually go over here because here we
have that UR interface. Again, we're

00:04:24.000 --> 00:04:33.600 align:start position:19%
we're physically connected onto the
circuit board on the transmit and the

00:04:30.320 --> 00:04:37.280 align:start position:19%
receive pins of the UAR connector. And
uh it's it's going to scroll on us for a

00:04:35.440 --> 00:04:40.800 align:start position:19%
while, but you can see uh as we
discovered in our first video on this

00:04:38.800 --> 00:04:45.600 align:start position:19%
device, we do just have a shell. And
right now it's the unprivileged user,

00:04:43.280 --> 00:04:51.919 align:start position:19%
but this is a rooted device out of the
box. And so we can just run su uh switch

00:04:48.720 --> 00:04:55.840 align:start position:19%
user to elevate ourselves up to the root
user. And I'm going to do that once this

00:04:54.000 --> 00:05:01.440 align:start position:19%
stops scrolling. But I want to go and
look at all of our web traffic. Okay,

00:04:58.320 --> 00:05:06.000 align:start position:19%
it's already doing stuff. It's already
Okay, there's a there's a ton of traffic

00:05:03.759 --> 00:05:11.600 align:start position:19%
already. This is hilarious. All right,
let's uh zoom this in for y'all. And

00:05:10.000 --> 00:05:17.680 align:start position:19%
let's just put in the HTTP filter.
That's always a good filter. And we have

00:05:14.000 --> 00:05:22.400 align:start position:19%
requests to the API. Uh if you this in
the second video, we did some reverse

00:05:19.840 --> 00:05:27.600 align:start position:19%
engineering of this API. And here's all
that encrypted data. So, uh, we talked

00:05:24.960 --> 00:05:32.720 align:start position:19%
about how, uh, like I did a little bit
of reversing and also claw did a little

00:05:29.520 --> 00:05:38.000 align:start position:19%
bit of reversing on this API server. So,
uh, if I go HTTP and then I'm also going

00:05:34.800 --> 00:05:44.600 align:start position:19%
to put in DNS. Yeah. So, we see a Well,
that's not

00:05:40.320 --> 00:05:44.600 align:start position:19%
a standard query for dubdub.dub.google.

00:05:44.639 --> 00:05:52.160 align:start position:19%
Interesting. Okay. But anyway, uh
there's this in like like like the the

00:05:49.440 --> 00:05:57.919 align:start position:19%
the requests and and responses are all
encrypted, which is just wild, right?

00:05:54.560 --> 00:06:04.400 align:start position:19%
So, uh here. Oh, wait. Uncompressed. Oh,
okay. The response is not the response

00:06:00.639 --> 00:06:09.120 align:start position:19%
is not encrypted. That's interesting. Um
I mean, this isn't just like B64

00:06:06.319 --> 00:06:14.240 align:start position:19%
encoded, is it?
That'd be really hilarious if that were

00:06:11.759 --> 00:06:21.600 align:start position:19%
the case. All right, we'll investigate
that later. Uh oh, here we go. We got a

00:06:18.160 --> 00:06:26.960 align:start position:19%
big request to get superbox
this JSON object. Let's go ahead and

00:06:24.720 --> 00:06:33.680 align:start position:19%
let's look at that. Okay, whatever. But
some some little file,

00:06:31.360 --> 00:06:39.360 align:start position:19%
some authentication. Again, it's using
this like weird payload. Uh some of this

00:06:36.960 --> 00:06:45.440 align:start position:19%
is behind my face. I'm sorry for that,
but uh it's it's just a bunch of, you

00:06:41.840 --> 00:06:49.759 align:start position:19%
know, data. All right, let's go and see.
Okay, we are man in the middle league

00:06:47.199 --> 00:06:56.880 align:start position:19%
stuff. Oh, that's so cool. Okay, so far
some of this is not not that big a deal.

00:06:52.560 --> 00:07:02.800 align:start position:19%
Um, we have a request to to IP info. So,
they're trying to get my IP address and

00:07:00.080 --> 00:07:07.199 align:start position:19%
I'm in I'm in LA, guys, as I've always
said on this channel. So, this is

00:07:04.319 --> 00:07:13.919 align:start position:19%
obviously my legit IP. Definitely not
the VPN server. All right. Um,

00:07:10.960 --> 00:07:17.599 align:start position:19%
so there we go. That's cool. But that's
okay. That's kind of like a lame. Okay,

00:07:15.919 --> 00:07:22.720 align:start position:19%
these are kind of like lame requests for
us to be maning all but all the all the

00:07:20.639 --> 00:07:28.880 align:start position:19%
like all the meaty stuff is not even
using TLS. It's just using clear text

00:07:25.520 --> 00:07:33.199 align:start position:19%
HTTP to to communicate all this stuff.
So that is pretty hilarious. Okay, I'm

00:07:31.280 --> 00:07:38.759 align:start position:19%
going to like zoom this out one little
layer here, guys.

00:07:35.759 --> 00:07:38.759 align:start position:19%
And

00:07:38.800 --> 00:07:47.039 align:start position:19%
all right. So yeah, all of this stuff is
happening here. And now I want to show

00:07:44.080 --> 00:07:52.479 align:start position:19%
us the screen
of the super box. Wrong. Nope, it's a

00:07:50.080 --> 00:07:58.080 align:start position:19%
different view. Here we go. Okay, so
this is this is like the best part of

00:07:55.280 --> 00:08:02.319 align:start position:19%
the beginning of this set top box. We
get a disclaimer disclaimer like the

00:08:00.080 --> 00:08:06.639 align:start position:19%
burden of determining. Okay. Blah blah
blah.

00:08:04.160 --> 00:08:11.759 align:start position:19%
You have to be sure you ha you have to
be sure that the content that they're

00:08:08.800 --> 00:08:16.479 align:start position:19%
providing that that that that that they
have the correct copyright agreements.

00:08:14.000 --> 00:08:20.319 align:start position:19%
Okay? It's on it's on it's it's really
on you or on or on someone else.

00:08:18.319 --> 00:08:25.280 align:start position:19%
Definitely not on the manufacturers of
this box. They can't they can't claim

00:08:22.720 --> 00:08:28.720 align:start position:19%
responsibility for any piracy that's
going on here. All right. So, we're

00:08:26.720 --> 00:08:33.680 align:start position:19%
gonna I like how like there's skip and
agree, and it it actually like takes us

00:08:31.199 --> 00:08:38.719 align:start position:19%
to the same place.
Oh, no, it doesn't. Oh, okay. Okay. I

00:08:36.240 --> 00:08:44.640 align:start position:19%
did I did I I did skip last time. I did
not agree. Okay. I'm setting up my

00:08:41.599 --> 00:08:50.160 align:start position:19%
screen. No, that that did the same exact
thing as last time. Okay. Now, it tells

00:08:47.440 --> 00:08:56.640 align:start position:19%
me I need to go
to the App Store.

00:08:53.200 --> 00:09:03.040 align:start position:19%
Okay. So, here we go. We We've got the
Play Store and we've got App Store and

00:09:00.320 --> 00:09:08.399 align:start position:19%
it looks super legit, right? Okay. So,
let's Oh, yeah. Yeah. Yes. Yes. This is

00:09:05.760 --> 00:09:12.399 align:start position:19%
it. So, this is that APK file that we
talked about last time. So, this is

00:09:10.480 --> 00:09:17.760 align:start position:19%
great. All right. We're gonna We're
going to hit confirm.

00:09:14.320 --> 00:09:23.040 align:start position:19%
Uh let's go and jump over to my screen
here.

00:09:20.560 --> 00:09:30.680 align:start position:19%
Okay. Right there. See? So, so we see
this download happening right here.

00:09:27.279 --> 00:09:30.680 align:start position:19%
That's cool.

00:09:34.000 --> 00:09:43.680 align:start position:19%
All right. That's all right. We're going
to pop back. Hey, now now look, we have

00:09:40.399 --> 00:09:48.240 align:start position:19%
this we have this app store here. All
right. It's not sketchy at all.

00:09:46.560 --> 00:09:51.519 align:start position:19%
Disclaimer,
it's an internet connected program,

00:09:50.399 --> 00:09:56.160 align:start position:19%
guys.
All right. Yeah. Blah blah blah blah

00:09:53.120 --> 00:10:02.839 align:start position:19%
blah. You know, all the things. Oh. Oh,
we have to we just have to count down to

00:09:58.000 --> 00:10:02.839 align:start position:19%
the disclaimer. I see. I see.

00:10:03.920 --> 00:10:11.040 align:start position:19%
Here we go.
Oh, nice. Okay. Look, look at all this.

00:10:08.480 --> 00:10:14.720 align:start position:19%
Look at all this free content, right?
Like, this is this is crazy. All right.

00:10:12.880 --> 00:10:19.440 align:start position:19%
So, let's go back and let's look at the
web traffic that we're getting. Again,

00:10:16.560 --> 00:10:24.959 align:start position:19%
we're getting a ton of web traffic in
the clear. Uh right now these are these

00:10:22.399 --> 00:10:29.839 align:start position:19%
are obviously just all these image files
that are backing this. Let's see if we

00:10:27.279 --> 00:10:36.480 align:start position:19%
got any more. So we are okay. So I I I
am seeing some requests fail uh to be

00:10:33.360 --> 00:10:42.240 align:start position:19%
maninthem here. So what we can do though
is since we have root access to the

00:10:38.560 --> 00:10:46.240 align:start position:19%
device is I can go and try to get my
certificate added as a trusted

00:10:43.839 --> 00:10:51.279 align:start position:19%
certificate but there's pinning and
stuff like that. So it might be a long

00:10:48.880 --> 00:10:54.959 align:start position:19%
uh long hard road to get that working.
Okay. It's just those other domains

00:10:53.279 --> 00:11:00.000 align:start position:19%
that's not that interesting. But like
but we are getting most of this just in

00:10:57.040 --> 00:11:06.680 align:start position:19%
clear text which is just wonderful. All
right. So there's you know some other

00:11:03.680 --> 00:11:06.680 align:start position:19%
stuff.

00:11:07.519 --> 00:11:14.560 align:start position:19%
Okay. So that's like more images and
stuff like that.

00:11:11.600 --> 00:11:19.279 align:start position:19%
Very cool. you know
as one does

00:11:16.800 --> 00:11:25.279 align:start position:19%
and then
okay some device provisioning Google

00:11:22.480 --> 00:11:33.920 align:start position:19%
APIs let's look at let's just look in
general at the types of DNS requests

00:11:28.959 --> 00:11:38.800 align:start position:19%
that we are getting all right
let's go over here okay so Google CN

00:11:37.279 --> 00:11:44.800 align:start position:19%
yeah yeah yeah those are those are kind
of boring

00:11:40.640 --> 00:11:47.839 align:start position:19%
right time on Android.
Okay, I'm going come on. Where are the

00:11:46.160 --> 00:11:50.839 align:start position:19%
Where are the like the really really fun
ones?

00:11:50.880 --> 00:11:53.880 align:start position:19%
Um,

00:11:54.079 --> 00:12:01.519 align:start position:19%
interesting. I wonder if it's like doing
some kind of like very very like

00:11:59.760 --> 00:12:05.920 align:start position:19%
hardcoded
lookups for servers

00:12:04.320 --> 00:12:13.399 align:start position:19%
actually. Yeah, actually that that makes
sense. I think like those config files,

00:12:07.920 --> 00:12:13.399 align:start position:19%
right? I think some of that

00:12:13.519 --> 00:12:21.920 align:start position:19%
was hardcode charge. Okay, let's try to
go

00:12:18.959 --> 00:12:30.000 align:start position:19%
and find the data directory for this
application, right? Oh gosh. Uh sue.

00:12:25.360 --> 00:12:36.000 align:start position:19%
Okay. Data. Oh, stop doing that. Data.
Data. This is why it's console is

00:12:32.399 --> 00:12:44.240 align:start position:19%
annoying. Okay. Um Oh, yeah. Wasn't it
like Okay, let's ls. It's like my TV. Is

00:12:39.920 --> 00:12:48.680 align:start position:19%
that the app? No. Okay. I forget like
what the name of the app was.

00:12:49.600 --> 00:12:54.959 align:start position:19%
All right. Yeah. Yeah. The Android ones
are not it.

00:12:53.440 --> 00:12:59.600 align:start position:19%
Comk
store.

00:12:56.480 --> 00:13:06.959 align:start position:19%
Okay. I bet I bet that's it.
I bet that's Let's go. Let's go. Let's

00:13:01.519 --> 00:13:11.200 align:start position:19%
go look in this directory here so we can
look. Oh, yeah. Yeah, this is definitely

00:13:08.399 --> 00:13:18.639 align:start position:19%
it. So, it's got app Bugly. So, Bugly is
like the kind of the bug logging service

00:13:15.839 --> 00:13:23.760 align:start position:19%
for ch it's it's the Tencent. It's it's
some Chinese uh equivalent of

00:13:22.160 --> 00:13:28.560 align:start position:19%
I forget the one that's always in use
based apps. Not an Android person. All

00:13:25.920 --> 00:13:32.720 align:start position:19%
right. Uh databases.
I want to see database. Okay. There's

00:13:30.639 --> 00:13:38.440 align:start position:19%
database.
What's this? We got anything cool in

00:13:35.440 --> 00:13:38.440 align:start position:19%
here?

00:13:39.120 --> 00:13:46.399 align:start position:19%
Um,
select all from download. What do we

00:13:43.839 --> 00:13:50.240 align:start position:19%
got? What we got in the downloads? Whoa.
Okay,

00:13:47.920 --> 00:13:56.240 align:start position:19%
we're downloading
a bunch of a bunch of stuff. Um, oh, I

00:13:54.240 --> 00:14:01.440 align:start position:19%
love I love the I love these domains, by
the way. http google dot somerandom

00:13:59.839 --> 00:14:06.279 align:start position:19%
number.cc
not, you know, not sketchy at all here,

00:14:03.279 --> 00:14:06.279 align:start position:19%
guys.

00:14:06.560 --> 00:14:13.920 align:start position:19%
Oh man.
Yeah. OTAA update center. Yeah, these

00:14:11.760 --> 00:14:19.839 align:start position:19%
are all this is all like high quality
high quality APKs right here. Okay. Like

00:14:17.519 --> 00:14:28.880 align:start position:19%
let's just go let's just go grab one of
these for the for the heck of it. Um,

00:14:25.680 --> 00:14:33.760 align:start position:19%
I assume this is where the URL cuts off,
but we could be wrong. Actually, let's

00:14:31.040 --> 00:14:38.560 align:start position:19%
let's grab this. That's super
interesting.

00:14:35.760 --> 00:14:42.040 align:start position:19%
Uh,
more apps.

00:14:42.160 --> 00:14:53.920 align:start position:19%
Is it download? Yes. Okay, cool.
Okay, that's actually the APK. Um,

00:14:49.920 --> 00:14:56.920 align:start position:19%
APK signing block. Okay. Okay, I want to
like

00:15:01.120 --> 00:15:07.399 align:start position:19%
research.
Oh my goodness.

00:15:07.440 --> 00:15:11.320 align:start position:19%
Where is it? Super.

00:15:11.680 --> 00:15:23.040 align:start position:19%
Oh, sort by that way. More apps.
Let's see. See what fires total. Thanks.

00:15:20.480 --> 00:15:27.600 align:start position:19%
All right, cool. We have Android. Okay.
Risware. All right.

00:15:25.839 --> 00:15:34.639 align:start position:19%
Okay. Okay. One thing I got flagged by
like two two. What's the other one?

00:15:32.240 --> 00:15:39.360 align:start position:19%
All right. All right. All right. So, I
got like flagged like a little bit.

00:15:37.279 --> 00:15:43.279 align:start position:19%
That's That's interesting. Definitely.
So, definitely something to look out

00:15:40.320 --> 00:15:46.959 align:start position:19%
for. Uh and all these apps actually. Oh,
yeah. Yeah. Yeah. Okay. So, look at

00:15:44.560 --> 00:15:49.959 align:start position:19%
this. Like Prime
Loops.

00:15:50.000 --> 00:15:58.959 align:start position:19%
Like is that like the Amazon Prime like
thing

00:15:54.880 --> 00:16:03.360 align:start position:19%
that it like wants you to download?
That's fascinating. Yeah. Yeah. So, we

00:16:01.199 --> 00:16:08.240 align:start position:19%
could we could definitely like grab all
of these APKs, which this is that's so

00:16:06.320 --> 00:16:12.880 align:start position:19%
interesting. That's all Wait. Okay.
That's all just from this like database.

00:16:10.639 --> 00:16:15.880 align:start position:19%
What else is in here? Uh what is it
uploading?

00:16:16.639 --> 00:16:25.279 align:start position:19%
Oh, nothing. Lame. Okay. Uh I don't
really care about any other stuff. All

00:16:22.320 --> 00:16:30.600 align:start position:19%
right. Let's see.
So, what else? Yeah. What else? Oh,

00:16:26.959 --> 00:16:30.600 align:start position:19%
files. Yeah.

00:16:30.639 --> 00:16:38.639 align:start position:19%
Okay. Bugly stuff. So, yeah, again,
we're like this is like the main app

00:16:34.720 --> 00:16:41.519 align:start position:19%
store application here.
Lib. Okay. That those are those two

00:16:40.399 --> 00:16:44.399 align:start position:19%
libraries that we saw in the
application. This is definitely that

00:16:42.880 --> 00:16:48.240 align:start position:19%
application that we reversed in the last
video. Um but now we're this is like the

00:16:46.800 --> 00:16:52.240 align:start position:19%
whole data directory, right? Okay, so we
could see the live database.

00:16:50.720 --> 00:16:57.279 align:start position:19%
Um,
yeah, I mean that's not really Is there

00:16:54.480 --> 00:17:01.320 align:start position:19%
anything interesting in shared prefs
bugly common values?

00:17:02.079 --> 00:17:07.720 align:start position:19%
Okay, that's my my device ID, I guess,

00:17:08.000 --> 00:17:15.360 align:start position:19%
of the disclaimer.
All right, cool. Um, yeah. Yeah, yeah.

00:17:13.199 --> 00:17:21.439 align:start position:19%
So, that's that's really interesting.
Let's let's keep

00:17:17.839 --> 00:17:28.120 align:start position:19%
the the ball rolling here. Let's see if
we get any

00:17:23.839 --> 00:17:28.120 align:start position:19%
more interesting stuff here.

00:17:28.480 --> 00:17:36.080 align:start position:19%
Yeah, I'm guessing I'm guessing like
so so so the app can the app store can

00:17:34.480 --> 00:17:39.440 align:start position:19%
obviously has the permissions to like
install in the background. So, it could

00:17:37.840 --> 00:17:43.360 align:start position:19%
install any of those apps, but I don't
know if it has yet because I don't see

00:17:41.200 --> 00:17:50.880 align:start position:19%
the request to download any of those
other apps that we saw in that database.

00:17:48.320 --> 00:17:55.200 align:start position:19%
So, like in Yeah. Yeah. So, I would have
to like click on the download for one of

00:17:53.039 --> 00:17:59.919 align:start position:19%
these. Okay. These are We're obviously
getting into like some pretty uh you

00:17:57.520 --> 00:18:05.440 align:start position:19%
know, bad
Oh my gosh, the Netflix application. I

00:18:04.000 --> 00:18:10.640 align:start position:19%
like how there's two I like how there's
Netflix TV.

00:18:08.400 --> 00:18:15.039 align:start position:19%
This is hilarious.
All right. All right. We're gonna we're

00:18:12.720 --> 00:18:21.919 align:start position:19%
going to for science, we're going to
download this.

00:18:18.080 --> 00:18:27.120 align:start position:19%
All right. Let's uh let's go over here
and watch it. All right. There it is.

00:18:24.799 --> 00:18:30.440 align:start position:19%
All right. So, we're grabbing that APK.
That's sweet.

00:18:31.840 --> 00:18:43.480 align:start position:19%
All right. So what we can do is like we
can just download this ourselves locally

00:18:37.760 --> 00:18:43.480 align:start position:19%
by going somewhere here. Oop.

00:18:44.000 --> 00:18:57.080 align:start position:19%
Pretty sure there's like a way. Yeah.
Yeah. This like go copy the URL.

00:18:51.440 --> 00:18:57.080 align:start position:19%
Let's do it here. So, we get that

00:18:57.360 --> 00:19:01.640 align:start position:19%
fun times Netflix.

00:19:01.919 --> 00:19:06.679 align:start position:19%
Let's Let's upload that Netflix.

00:19:10.480 --> 00:19:18.320 align:start position:19%
Okay. Okay. Okay. Okay. Netflix is
clean. Really?

00:19:15.520 --> 00:19:23.919 align:start position:19%
How? How legit? Okay. We have the
Netflix app now.

00:19:20.799 --> 00:19:30.720 align:start position:19%
What's it do, guys?
Oh my gosh.

00:19:26.400 --> 00:19:34.400 align:start position:19%
Oh, it's not working. We cannot detect a
network connection on this device. Oh,

00:19:33.120 --> 00:19:38.720 align:start position:19%
wait, wait, wait, wait, wait. Is that
because I'm like because of the man in

00:19:36.000 --> 00:19:40.559 align:start position:19%
the middle? I bet. I bet. I bet it's
because of the man in the middle. Okay.

00:19:39.679 --> 00:19:44.520 align:start position:19%
So, what I'm going to do is I'm going to
quit out of this. Um,

00:19:45.039 --> 00:19:54.960 align:start position:19%
and I'm going to reset up
this

00:19:52.080 --> 00:19:59.039 align:start position:19%
And I'm going to not I'm going to stop
man in the middle for now. Again, we can

00:19:56.960 --> 00:20:04.480 align:start position:19%
we can put my cert in the trust store a
little bit later. Refresh. That should

00:20:02.480 --> 00:20:10.320 align:start position:19%
that should do what I want it to do. All
right. Because it won't interrupt this.

00:20:07.600 --> 00:20:15.200 align:start position:19%
Perfect. All right.
Let's go back. Let's go back. Let's go

00:20:12.320 --> 00:20:20.679 align:start position:19%
back. Okay.
Come on. Come on. Fake Netflix.

00:20:21.440 --> 00:20:24.440 align:start position:19%
Netflix

00:20:26.480 --> 00:20:33.640 align:start position:19%
new version of application. Okay. Yeah,
this is wild. Like it's like okay,

00:20:34.320 --> 00:20:40.880 align:start position:19%
nothing wrong here.
Ah, it just redirects you. It just says

00:20:39.200 --> 00:20:49.320 align:start position:19%
like, yeah, go to the go to the go to
the app store. What a what a bunch of

00:20:44.400 --> 00:20:49.320 align:start position:19%
what a bunch of crap. Um,

00:20:50.880 --> 00:20:58.480 align:start position:19%
oh gosh.
Okay. I mean, I mean, hey, at least

00:20:55.679 --> 00:21:04.480 align:start position:19%
they, you know, give you some some some
practical software here, you know.

00:21:01.440 --> 00:21:09.360 align:start position:19%
Nothing wrong with that. Oh gosh, I'm
sure this is like Okay, this is this has

00:21:06.559 --> 00:21:16.200 align:start position:19%
got to be highly sketch. All right, so
we have the we got the app download

00:21:11.039 --> 00:21:16.200 align:start position:19%
here. Let me grab that URL.

00:21:16.559 --> 00:21:20.200 align:start position:19%
Let's do the same

00:21:21.440 --> 00:21:24.679 align:start position:19%
for science.

00:21:25.039 --> 00:21:31.200 align:start position:19%
All right. What do we got?
Sport.

00:21:29.200 --> 00:21:34.840 align:start position:19%
Okay. Okay. Okay. These are coming up
clean. All right.

00:21:35.520 --> 00:21:41.200 align:start position:19%
We're gonna have to do a long soak.
We're gonna have to do a long soak on

00:21:38.640 --> 00:21:46.559 align:start position:19%
all the network traffic. And we're going
to have to get my C in here. But this is

00:21:44.720 --> 00:21:52.080 align:start position:19%
this is this is fascinating stuff. And
obviously there's like tons of traffic.

00:21:49.520 --> 00:21:58.720 align:start position:19%
Okay. Is there any like interesting
weird UDP traffic? No. Okay.

00:21:56.080 --> 00:22:05.039 align:start position:19%
No. No. No. No. Not that I can not that
I can see. Okay. Is there any fun TCP

00:22:02.960 --> 00:22:09.039 align:start position:19%
traffic
that is

00:22:06.880 --> 00:22:16.400 align:start position:19%
not
equal to 80?

00:22:13.120 --> 00:22:20.360 align:start position:19%
Oh, and like 443
and not TLS.

00:22:20.880 --> 00:22:23.880 align:start position:19%
Interesting.

00:22:24.880 --> 00:22:31.000 align:start position:19%
What is this?
Uh,

00:22:31.760 --> 00:22:39.240 align:start position:19%
that should be categorized as TLS. Okay.
And not TCP.org.

00:22:41.440 --> 00:22:45.799 align:start position:19%
Okay. That's just like secure DNS

00:22:46.240 --> 00:22:53.480 align:start position:19%
like 8081 traffic.
What's this follow?

00:22:54.640 --> 00:22:59.039 align:start position:19%
All right. Nothing nothing super
interesting. I think I think all the

00:22:57.520 --> 00:23:04.640 align:start position:19%
interesting stuff is going to be clear
to HTTP and we definitely want to be

00:23:01.440 --> 00:23:10.159 align:start position:19%
able to get in like man in the middle um
all that TLS traffic actually like let's

00:23:07.120 --> 00:23:14.400 align:start position:19%
look at what kind of uh domains are
being connected to over TLS. Okay, you

00:23:12.400 --> 00:23:20.880 align:start position:19%
never know. I never remember the wire
shark filter. So I have to go in here

00:23:17.039 --> 00:23:26.559 align:start position:19%
and be like okay transport layer
and I want to

00:23:23.440 --> 00:23:31.200 align:start position:19%
just look at client hellos right click
apply filter selected there we oh tcp

00:23:28.880 --> 00:23:37.280 align:start position:19%
handshake type equals equal one so this
this is just uh an easy way to get me

00:23:33.840 --> 00:23:41.679 align:start position:19%
this screen which will show me just the
the the client hellos and show me the

00:23:39.440 --> 00:23:45.280 align:start position:19%
sni the the the like the host name for
all these servers which is helpful

00:23:43.679 --> 00:23:49.760 align:start position:19%
because I then I could scroll through
and see. Okay, these are all the TLS

00:23:47.679 --> 00:23:56.720 align:start position:19%
connections that are being made to all
these places.

00:23:52.240 --> 00:24:00.679 align:start position:19%
Fun times. Okay, that's just a bunch of
super interested about that.

00:24:01.440 --> 00:24:05.240 align:start position:19%
Is there anything fun

00:24:05.360 --> 00:24:11.039 align:start position:19%
sketch?
All right, I don't think Oh, that's

00:24:09.520 --> 00:24:14.240 align:start position:19%
really fascinating. This is This is
reaching out to like a real Okay, so

00:24:12.799 --> 00:24:19.520 align:start position:19%
that might have been the real Netflix
account, which is pretty interesting

00:24:17.279 --> 00:24:25.200 align:start position:19%
that that application was maybe
potentially like actually Netflix.

00:24:23.679 --> 00:24:31.240 align:start position:19%
So is this one. This is like a real
Netflix.com domain.

00:24:28.240 --> 00:24:31.240 align:start position:19%
Huh.

00:24:32.799 --> 00:24:40.520 align:start position:19%
Yeah, I mean the qq.com
thing. I already knew about that. Huh.

00:24:40.880 --> 00:24:45.240 align:start position:19%
This is really interesting. Um,

00:24:46.000 --> 00:24:55.159 align:start position:19%
yeah. No, all all all the all the all
the fun stuff is happening over clear

00:24:51.279 --> 00:24:55.159 align:start position:19%
over clear text here,

00:24:56.320 --> 00:25:02.320 align:start position:19%
which is great.
There's that APK download. All right,

00:25:00.720 --> 00:25:05.360 align:start position:19%
let's let's try to let's try to find
like one more sketchy application. Come

00:25:03.679 --> 00:25:13.840 align:start position:19%
on, there's got to be something here.
Um, oh man, the TV ROM updater.

00:25:10.880 --> 00:25:18.360 align:start position:19%
Know how badly I want to mess this thing
up right now.

00:25:27.120 --> 00:25:30.840 align:start position:19%
So, it's prime loops.

00:25:37.279 --> 00:25:42.360 align:start position:19%
We'll we'll get this one as well.

00:25:46.400 --> 00:25:54.159 align:start position:19%
Copy value
here.

00:25:51.120 --> 00:25:58.039 align:start position:19%
What we got? Oh, you have to download
it, Matt.

00:25:59.919 --> 00:26:03.880 align:start position:19%
This one's taking a while.

00:26:04.159 --> 00:26:12.159 align:start position:19%
See how it's going over here. All right,
it's almost almost there.

00:26:10.240 --> 00:26:17.919 align:start position:19%
What?
Install failed

00:26:14.720 --> 00:26:22.640 align:start position:19%
for your security. Your your phone isn't
allowed to install unknown apps. Oh, I

00:26:21.039 --> 00:26:30.000 align:start position:19%
Well, well, we definitely want to allow
that. We definitely want the app store

00:26:26.159 --> 00:26:34.159 align:start position:19%
to be allowed. All right.
Clearly, clearly we would love it love

00:26:32.240 --> 00:26:38.960 align:start position:19%
to give it that permission. I mean, the
paper even said you need to give the

00:26:36.159 --> 00:26:43.279 align:start position:19%
apps all the permission.
Let's let's see. Let's see what we got

00:26:40.799 --> 00:26:47.520 align:start position:19%
here. Prime loops.
All right. I want to see

00:26:45.840 --> 00:26:50.520 align:start position:19%
I want to see what kind of traffic we're
getting.

00:26:51.039 --> 00:26:54.760 align:start position:19%
That's the same junk.

00:26:55.679 --> 00:27:01.760 align:start position:19%
All right. So, now I downloaded that
app. Let's Let's see what Virus Total

00:26:59.679 --> 00:27:10.840 align:start position:19%
thinks.
No, it's too big. Ah, whatever. Virus

00:27:04.480 --> 00:27:10.840 align:start position:19%
Total, that's fine. That's fine.

00:27:11.440 --> 00:27:19.600 align:start position:19%
Let's
go back to that TLS

00:27:16.799 --> 00:27:25.279 align:start position:19%
handshake thing.
Did it go out to any new new fun stuff?

00:27:22.240 --> 00:27:28.799 align:start position:19%
Let me open that app. No. Okay, let's go
back. What? Like I have to do another

00:27:27.279 --> 00:27:34.320 align:start position:19%
download.
Oh, this is so funny. Yeah, sure. Let's

00:27:31.840 --> 00:27:39.640 align:start position:19%
download. Let's see. Let's see. What do
we got?

00:27:36.640 --> 00:27:39.640 align:start position:19%
DNS.

00:27:39.679 --> 00:27:43.559 align:start position:19%
What do we got?

00:27:44.640 --> 00:27:48.840 align:start position:19%
Really? You don't seem to be
downloading.

00:27:49.600 --> 00:27:53.640 align:start position:19%
Okay. Um,

00:27:55.120 --> 00:27:58.520 align:start position:19%
the radio.

00:28:07.760 --> 00:28:12.440 align:start position:19%
Oh, yeah. What we got here

00:28:14.320 --> 00:28:18.440 align:start position:19%
now? Get me out of the

00:28:20.240 --> 00:28:24.120 align:start position:19%
go back. Ha.

00:28:25.039 --> 00:28:29.720 align:start position:19%
All right. What are we What are we
watching today?

00:28:34.799 --> 00:28:41.880 align:start position:19%
Where's this content coming from?
Let's see.

00:28:42.640 --> 00:28:46.840 align:start position:19%
Okay. Okay. Not over there.

00:28:47.200 --> 00:28:52.120 align:start position:19%
Okay. There's there's there's something
happening here.

00:28:53.520 --> 00:28:59.720 align:start position:19%
Ah, we got to go back to our our little
handshake filter.

00:29:00.720 --> 00:29:07.880 align:start position:19%
Okay. All right.
Clean shorts. Not today.

00:29:10.159 --> 00:29:15.360 align:start position:19%
All right. Hey, here here's some here's
some here's some top here's some quality

00:29:13.520 --> 00:29:21.120 align:start position:19%
domains. Okay, this is this is what
we're looking for. All right, clean

00:29:18.480 --> 00:29:27.360 align:start position:19%
short stuff today.
Nice. Um,

00:29:24.880 --> 00:29:33.279 align:start position:19%
where is
Hey, there we go.

00:29:30.000 --> 00:29:41.279 align:start position:19%
Let's copy that value.
What's virus total think of that?

00:29:36.320 --> 00:29:47.039 align:start position:19%
What do you think? Oh, really? Come on.
It's funny. All right, we're I want I

00:29:44.399 --> 00:29:52.159 align:start position:19%
want to turn my man in the middle back
on

00:29:48.799 --> 00:29:56.399 align:start position:19%
and see if we get we get any stuff. This
is obviously just like a first take, a

00:29:54.080 --> 00:30:01.279 align:start position:19%
first look at the sketchiness of this
box. But, uh, we're going to let it do a

00:29:58.960 --> 00:30:08.000 align:start position:19%
long soak also where I let it run for
like a couple days and we do all the

00:30:05.520 --> 00:30:14.799 align:start position:19%
network traffic and we can analyze all
of the things and that will be fun.

00:30:11.760 --> 00:30:20.399 align:start position:19%
So, all right, we're back up. Got the
tool. All right, I'm going to run manin

00:30:16.480 --> 00:30:25.120 align:start position:19%
in the middle proxy dump
instead because what it will do is it

00:30:22.880 --> 00:30:30.080 align:start position:19%
will like print out like the errors like
that. So, I can see, okay, that's that

00:30:28.080 --> 00:30:36.159 align:start position:19%
makes sense for Google APIs that it's
going to fail. Um, that that's totally

00:30:32.559 --> 00:30:40.200 align:start position:19%
expected. Um, but now we're like, oh my
gosh, it's like a TV show.

00:30:40.320 --> 00:30:45.159 align:start position:19%
Oh, whoa. You have like Netflix stuff.

00:30:48.640 --> 00:30:55.640 align:start position:19%
Look at this. Look at this.
Come on.

00:31:02.559 --> 00:31:09.520 align:start position:19%
Huh?
I'm looking over here. I'm not seeing

00:31:05.600 --> 00:31:16.159 align:start position:19%
any more HTTP traffic. It's all like
just All right. Come on.

00:31:13.200 --> 00:31:25.480 align:start position:19%
This is so funny. That's like All right.
Let's I'll bring you back over here.

00:31:19.679 --> 00:31:25.480 align:start position:19%
Uh DNS. Go back to my DNS. anything?

00:31:25.919 --> 00:31:36.080 align:start position:19%
No. I mean, I think it's still that like
same connection.

00:31:30.880 --> 00:31:43.600 align:start position:19%
Oh. Oh, sick. Okay, we just Okay, so we
were able to man in the middle the the

00:31:40.000 --> 00:31:49.600 align:start position:19%
site for uh for this like this thing
here. Okay, that's pretty sick. All

00:31:46.720 --> 00:31:55.360 align:start position:19%
right, so let's Okay, let's let's go
back to man proxy the guey. Um, and oh,

00:31:53.840 --> 00:32:02.960 align:start position:19%
we're getting stuff already. There we
go. Okay, request response.

00:31:58.080 --> 00:32:07.039 align:start position:19%
Okay, what content is about?
That's funny.

00:32:04.720 --> 00:32:16.679 align:start position:19%
All right, let's
It's like exit the app, go home.

00:32:11.120 --> 00:32:16.679 align:start position:19%
All right, back to the to the app store.

00:32:21.440 --> 00:32:24.679 align:start position:19%
Come on.

00:32:25.760 --> 00:32:33.640 align:start position:19%
Actually, yeah, let's like try this
other one. Oh, or is this the one?

00:32:30.640 --> 00:32:33.640 align:start position:19%
Okay.

00:32:45.120 --> 00:32:54.919 align:start position:19%
Oh, I'm getting I'm getting fails.
All right, let's go back to whatever

00:32:50.480 --> 00:32:54.919 align:start position:19%
that other sketch app was.

00:32:55.440 --> 00:33:02.799 align:start position:19%
I'm trying to get a successful like more
data man in the middle. All right, we

00:33:01.279 --> 00:33:07.039 align:start position:19%
Oh, yeah. It was this one. It was this
one.

00:33:04.559 --> 00:33:13.480 align:start position:19%
Okay.
Like movies.

00:33:10.480 --> 00:33:13.480 align:start position:19%
All right.

00:33:14.240 --> 00:33:20.480 align:start position:19%
Adam Sandler.
All right. All right. All right. Yeah.

00:33:18.480 --> 00:33:26.880 align:start position:19%
Yeah. So, here here we can see we're
definitely getting these URLs that we're

00:33:24.320 --> 00:33:31.679 align:start position:19%
able to content missing. Oh, this is
like this is these are just like the

00:33:28.480 --> 00:33:37.039 align:start position:19%
video files. Yeah.
That are on this server. Uh, okay. All

00:33:35.200 --> 00:33:43.519 align:start position:19%
right. Well, there you go. Um, there's
some of the content obviously that's

00:33:39.120 --> 00:33:50.640 align:start position:19%
being downloaded by this box. Um, we're
definitely going to explore uh some of

00:33:47.279 --> 00:33:55.760 align:start position:19%
these apps in greater detail as well as
the app store because uh yeah, like like

00:33:54.559 --> 00:34:02.640 align:start position:19%
we talked about in that Brian Krebs
article. Um there's a bunch of known

00:33:59.679 --> 00:34:08.240 align:start position:19%
very sketchy behavior that are going on
on boxes like these. Uh so we're gonna

00:34:06.640 --> 00:34:17.280 align:start position:19%
we're going to kind of do a long soak.
We're going to wait and see if we get

00:34:12.000 --> 00:34:21.679 align:start position:19%
more traffic that is uh looking like
yeah looking like it's not really coming

00:34:20.320 --> 00:34:26.800 align:start position:19%
from my box like it's coming from
elsewhere uh like if it's a residential

00:34:24.159 --> 00:34:29.919 align:start position:19%
VPN situation uh like they talk about in
the Brighton Krebs article. So, uh,

00:34:28.639 --> 00:34:33.760 align:start position:19%
we're going to do that, but we're also
going to definitely try to do more

00:34:32.000 --> 00:34:38.879 align:start position:19%
maninmiddling of the of the traffic
because we were able to, you know, man

00:34:36.560 --> 00:34:43.520 align:start position:19%
these requests. Who knows what other
apps uh allow that as well. And we can

00:34:42.079 --> 00:34:48.159 align:start position:19%
also since we have read access to
device, we can we can throw in our own

00:34:45.520 --> 00:34:53.359 align:start position:19%
and maybe try to get access to more of
the data inside those TLS streams. So,

00:34:51.359 --> 00:34:59.119 align:start position:19%
this was obviously a different video
than usual. This was my first take. I

00:34:56.960 --> 00:35:03.520 align:start position:19%
have never powered this device on before
or installed any of those apps or even

00:35:01.119 --> 00:35:07.760 align:start position:19%
connected it to the internet. So, uh
yeah. So, this was a a kind of like a

00:35:05.760 --> 00:35:11.680 align:start position:19%
one take. And if you like this kind of
video, let me know. And uh we'll

00:35:09.760 --> 00:35:18.960 align:start position:19%
probably come out with uh another video
soon of some more long-term analysis on

00:35:14.720 --> 00:35:18.960 align:start position:19%
this device. Thank you and have a good

