[00:00.000 --> 00:07.760] I'm going to introduce myself. I am speaking for the XR Village. My name is Whitney Phillips. [00:07.760 --> 00:17.000] I'm going to be presenting on augmented reality and the implications on mobile security. A [00:17.000 --> 00:23.800] little bit about myself. So I've been in InfoSec and IT for about 12 years. I started off at [00:23.800 --> 00:32.780] helpdesk. I was a system administrator after that. Shortly after doing system administration, [00:32.780 --> 00:43.600] I became a security operations, I guess, analyst. I would do anything between running [00:43.600 --> 00:52.200] antivirus or putting encryption on PCs. Anything that could break my way into security. After [00:52.200 --> 01:00.000] that, I switched over to a purple team where I did code review and I know zero code coding. So [01:00.660 --> 01:06.660] that was quite an interesting one year and I quickly got out of it and that's where I turned [01:06.660 --> 01:14.200] to mobile application pen testing. Um, I started that about 5 years ago and have enjoyed it [01:14.200 --> 01:20.660] ever since and that's what kind of broke me into my job here at TrustedSec right now. So I [01:20.660 --> 01:26.000] primarily do mobile app pen testing and then I go and do gray box when they need help for [01:26.000 --> 01:34.280] that. So that's a little bit about me. Um, I was, had no plan on coming to DEF CON today. Um, [01:34.280 --> 01:43.040] about 3 weeks ago, the XR village needed an extra person to fill in so I created my talk and [01:43.420 --> 01:54.100] here I am and we'll give this a go. Yay! Woo! Alright. So, why are we here? I am going to talk [01:54.100 --> 02:02.800] to you about augmented reality and the security and privacy issues it has around mobile security. [02:02.880 --> 02:10.820] So, um, a little bit about augmented reality and I'm not going to lie, like I'm more of a mobile [02:10.820 --> 02:16.800] expert. Um, augmented reality is a little bit like outside of my realm so I felt like big bird [02:16.800 --> 02:22.240] trying to research something completely new and I'm like I don't know what I'm doing. What, you [02:22.240 --> 02:28.100] know, why, you know, why, why am I researching something that's out of my realm? But it's not [02:28.100 --> 02:36.760] because we live in augmented reality every single day. So, augmented reality, it's technology [02:36.760 --> 02:43.620] that is digital. It integrates into a user's physical environment in real time. So, anything [02:43.620 --> 02:54.920] from QR codes to snapchat to even those fun little things that you can put out in your house [02:54.920 --> 03:00.600] like little 3D images, that's all augmented reality. But what we don't really think about is [03:00.600 --> 03:13.460] it collects a wealth of our information, um, in our everyday life. Some, that's my break slide. [03:13.660 --> 03:18.280] So, when I was doing research for augmented reality, I, it was kind of hard. There was a lot [03:18.280 --> 03:26.920] of different information out there. So, this is kind of the information that I've gathered. Um, [03:26.920 --> 03:32.500] there's two different main types of augmented reality. There's marker based. And that's like [03:32.500 --> 03:39.160] your snapchat, your face filtering, um, logos, posters, QR codes. There's augmented reality. I [03:39.160 --> 03:46.240] wouldn't even have thought of that. It's so crazy. Um, then there is without markers. So, [03:46.240 --> 03:54.880] location based. That's GPS. Projection based. That's your 3D images that you, maybe you get an [03:54.880 --> 04:01.140] app from, uh, target. And you're like, this dresser looks really cute in my house. That's the 3D [04:01.140 --> 04:08.780] image. Or Pokemon Go. And then the overlay of screen for the super, um, in position. It's like, [04:09.260 --> 04:19.260] the best I can explain it is like, um, like flying a drone app. That's how, how I take that [04:19.260 --> 04:25.760] specific augmented reality. So, with all those, like, I kind of broke them down a little bit [04:25.760 --> 04:33.720] more into not so marker, markerless, projection. I wanted to like talk about it and how I [04:33.720 --> 04:39.500] understood it. Um, so, a lot of augmented reality, there's a lot of biometrics that are [04:39.500 --> 04:46.780] involved. Especially, uh, with face changing ones or makeup apps. You've got like facial [04:46.780 --> 04:51.580] recognition software. They're tracking your eyes. Heart rate monitors is considered an [04:51.580 --> 04:56.980] augmented reality. Those fun makeup apps where you want to put eye shadow on your face to see [04:56.980 --> 05:04.520] if it looks really cute. Not that I, that everybody does that. Here. Um, yeah, face filtering [05:04.520 --> 05:08.280] and even those clothing apps. There's clothing apps right now that you can take a picture of [05:08.280 --> 05:13.760] yourself and see how that fits on you. But at the meantime, you're still scanning your whole [05:13.760 --> 05:20.560] body and you're scanning everything about you and you're placing it in this app. Um, and then [05:20.560 --> 05:27.220] location based and projection. Like, so, I keep going on about like apps that you can see how [05:27.220 --> 05:32.720] products will fit in your house. Um, architecture uses augmented reality. Navigation is [05:32.720 --> 05:40.140] augmented reality. Manufacturing games like the Pokemon Go. And even our military uses [05:40.140 --> 05:49.260] augmented reality for this. One more man? I don't know if anybody... I didn't have to have [05:49.260 --> 05:54.280] those break slides, so. Alright, so here's some examples of what I found when I was doing [05:54.280 --> 06:00.560] research of what is considered augmented reality. Uh, Shopify has an integration into apps [06:00.560 --> 06:07.280] that will basically do the same thing as the Target and IKEA app. Like, I want to see how this [06:07.280 --> 06:14.340] fits in my home. Um, okay, well now you're taking your GPS location, you're taking everything in [06:14.340 --> 06:25.240] your home and you're now giving it to that app. Um, the Uke makeup cam. Is it gif or jif? Um, [06:25.240 --> 06:32.580] world. Roar, you're putting dinosaurs in your house. Like, this is, you're giving your [06:32.580 --> 06:40.840] information up for dinosaurs. So, other, other app examples. Pokemon Go. I know we have some [06:40.840 --> 06:47.780] Pokemon Go people in here, for sure. Um, I didn't take that soldier's location out. It's supposed [06:47.780 --> 06:53.800] to go into a separate part, but ignore that. That's, that's later on. QR codes and again [06:53.800 --> 06:59.680] Snapchat. We all know we like our Snapchat filters, right? We all know we like our Snapchat [06:59.680 --> 07:08.800] filters. Again, I'm a sucker to it. Don't I look really pretty as an elf? And I have no friends. So, [07:09.540 --> 07:18.480] yeah, we have friends right here. Alright, so, with apps, there's also devices too. So, Apple's [07:18.480 --> 07:26.000] coming out with a new device. Google Glass has had devices out. Uh, Bose, didn't even know they [07:26.000 --> 07:33.860] have frames. Ray-Bans have frames. Did not know that. Amazon and even our U.S. Army, they have a [07:34.580 --> 07:46.000] tactical augmented reality. That's my, it looks like this. So, I know, I know the army gets picked [07:46.100 --> 07:51.680] on a lot and I just, I see something like that and it makes me a little uncomfortable because I [07:51.680 --> 07:59.640] hope that maybe they're the ones sitting, uh, behind the scenes and not doing the actual military [07:59.640 --> 08:07.240] work but like shooting and stuff but this might be our future right here. Um, and especially with [08:07.240 --> 08:15.420] these devices. So, where am I going with this? You have these devices. You have these apps. Let's [08:15.420 --> 08:20.400] talk about the physical, like, let's talk about security concerns and privacy concerns around [08:20.400 --> 08:27.260] these. So, with the physical devices, imagine you're wearing your Google Glasses and you're [08:27.260 --> 08:32.880] trying to go into somewhere where you're not supposed to take pictures. Um, how are we [08:32.880 --> 08:38.120] supposed to know if you're recording or not? Um, I'm pretty sure plenty of people in here don't [08:38.120 --> 08:45.220] want their picture taken. If I had glasses on right now, you know, would you want to be in my, [08:45.960 --> 08:53.080] um, would you want to be in my Google thing and have your information being sent out? Uh, [08:53.080 --> 08:59.420] there was also earlier reports of people being assaulted for wearing Google, like, those types [08:59.420 --> 09:07.860] of virtual reality, augmented reality glasses just because it's, uh, you're kind of drawing a [09:07.860 --> 09:15.200] fine line in people's privacy. So, that's kind of where I'm going with the physical devices. Um, [09:15.220 --> 09:24.440] and with the apps, there's also just general app security concerns. So, attackers can gain [09:24.440 --> 09:33.060] device, or access to your device. Um, I know when you're building out an app and there's such a [09:33.060 --> 09:41.420] rush to get things out, you have, um, developers creating apps that are maybe not as up to [09:41.420 --> 09:46.640] par. And then, like, where are your data stored? And then what third parties get it? And I'm [09:46.640 --> 09:56.880] going to kind of go over those now. So, um, attackers gaining access, it's basically, you [09:56.880 --> 10:06.040] know, they could potentially capture your images if it's not stored properly on your device. Um, [10:06.800 --> 10:12.600] that's another way if they can get a secure backup, or a backup from your phone, they can pull [10:12.600 --> 10:23.530] that information off, um, depending on how the app is storing it. Ransomware, um, on your [10:23.530 --> 10:31.670] device is another security issue. So, I don't see it as much on my end because I'm doing more of [10:31.670 --> 10:38.830] the red teaming and, um, mobile pen testing, but higher profile people, you know, are [10:38.850 --> 10:46.490] could be susceptible to ransomware, um, because they have more information that's needed or is [10:46.490 --> 10:53.790] desired. And then this is a little bit more, um, in my realm, man in the middle of attacks trying [10:53.790 --> 11:02.890] to intercept traffic. We don't know, and this is more where I'm coming in from the mobile [11:02.890 --> 11:08.970] perspective, I see a lot of applications that they rush through and get the app done just to get [11:08.970 --> 11:16.830] it out there, and then they have no concern over how their app is done, or if it's done [11:16.830 --> 11:25.670] securely. They want to be the front runner of being in the augmented reality space. Um, [11:25.670 --> 11:31.450] especially because this is, it's newer, but if you look back, there still is research that is [11:31.450 --> 11:38.490] going back like several years, um, I will say the information out on augmented reality reminds me [11:38.490 --> 11:47.650] of how like mobile security was five years ago when I started doing this. So, so proper app [11:48.390 --> 11:53.510] development, I don't know, mobile app development life cycle is something needed, um, and I don't [11:53.510 --> 12:02.710] see that happening very quickly. Uh, data storage on your device, that's another privacy and [12:02.710 --> 12:10.370] security concern. I do get a lot of apps, um, not augmented reality, but example, chat, and a [12:10.370 --> 12:19.710] chat app that I had stores, um, stores every photo that you take into the cache of the phone, and [12:19.710 --> 12:25.870] if you have backups enabled on that app, well, now you have all your phone's pictures that you [12:25.870 --> 12:32.690] took in that app, so whether, so data storage on the device, if you don't have a lock screen, [12:32.710 --> 12:43.630] on your device, is an issue. So, um, we're lost and damaged, I mean, it's still a privacy [12:43.630 --> 12:52.730] concern. And then these apps also store stuff up in the cloud and we have, a lot of times we do [12:52.730 --> 12:59.710] not know, I, I know going and doing my gray box testing and my mobile testing, when I first [12:59.710 --> 13:05.330] started working there, I was like, wait a minute, why is all this information heading, like, to [13:05.330 --> 13:11.610] all these different, uh, companies? Like, why is that a thing? Because I was so, uh, focused on [13:12.710 --> 13:19.570] data leaving the device and you just, you don't realize how much goes to third parties. But it's [13:19.670 --> 13:27.430] a huge risk because if the third party vendor potentially gets breached, then your data is out [13:27.430 --> 13:34.150] there and I know that's a general concern of everybody in security. So, that's a little bit, [13:34.150 --> 13:42.190] like, on my take on augmented reality, on the app portion of it. So, we have these apps, how are [13:42.190 --> 13:51.990] we going to maybe look at them from a technical's perspective? So, I actually did these, a [13:51.990 --> 13:59.450] couple of these slides just a couple of days ago, so, um, I'm kind of going to go over, um, [13:59.470 --> 14:06.330] something you can do as a user and you don't even have to have, um, you don't even have to have a [14:06.330 --> 14:15.310] jailbroken phone, um, just these two, um, pieces of information. So, there's a site called APK [14:15.530 --> 14:23.490] Pure. This is where you can pull down Android installation files. And from there, um, let me [14:23.490 --> 14:29.450] go over my IPA. Uh, iPhone cake, same idea. I did that, I pulled my APK file out of my [14:29.470 --> 14:36.150] phone, I pulled down APK, uh, if you're not familiar, it's the Android installation file, uh, [14:36.150 --> 14:42.490] IPA is the iOS installation file. So, I took those and I stuck it in a static analysis tool [14:42.490 --> 14:48.770] called MobSF. Um, this is so great, like, if you're just wanting, like, a high level overview [14:48.770 --> 14:57.830] of what's going on in your app. Um, so, I took Snapchat, for instance. Um, look at all these [14:57.830 --> 15:04.730] security, like, issues with danger all over here. Read your phone number, um, your phone [15:04.730 --> 15:11.510] state, external storage. I mean, I guess maybe it stores something there. Read your call [15:11.510 --> 15:17.930] logs. Isn't that a little scary? So, um, and this is something I do, like, as a mobile pen [15:17.930 --> 15:26.370] tester. I'm, this is my first step. I'm looking at how this app is functioning. So, we've got [15:26.370 --> 15:32.330] vulnerabilities, Janice vulnerabilities, and you can install it on a really old version of [15:32.330 --> 15:45.110] Android. So, is your data going to be secured? No. It also allows clear text traffic. So, [15:45.110 --> 15:51.550] yeah, it's, and I was a little bit surprised. So, I thought maybe Snapchat would have had a [15:51.550 --> 15:57.210] lot of trackers to it. It doesn't. Just Mapbox and, you know, your general Firebase [15:58.250 --> 16:04.030] analytics. So, that was really impressive. I was, I was kind of hoping to see a list of [16:04.650 --> 16:12.610] trackers, but I did not. Back to that Roar app. I just, I like it for some reason. I'm, I kind [16:12.610 --> 16:17.590] of want to install it after I'm done with this talk and give them all my data. Um, they [16:17.590 --> 16:24.350] actually have like less permission settings, uh, that I would have expected. Still the read [16:24.350 --> 16:30.150] external storage, um, fine location, but they need that. And that's kind of as a mobile [16:30.150 --> 16:36.670] tester, you have to look and see and look at the app. Like, why, what does the app do? Does [16:36.670 --> 16:46.130] it absolutely need to do this? That, alright. What else do they got? Oh, minimum version [16:46.130 --> 16:54.310] again and clear text. So, clear text allowed on this app. But look at all these trackers. So, [16:54.310 --> 17:01.790] that's the dinosaur app. So, you're purchasing this app to put 3D images in your house of [17:01.790 --> 17:09.170] dinosaurs. And it's tracking all your information. And I know, I hate to pick on the [17:09.170 --> 17:14.290] military, but I like picking on them a little bit. Just because our guys are using these [17:14.290 --> 17:20.170] apps. And this is a civilian version, so I shouldn't get in trouble for this. But our boots [17:20.170 --> 17:26.250] on the ground are using these apps. And it's just as, we want to make sure that they're [17:26.250 --> 17:39.230] secure. Um, but then it still needs a lot of permissions to have that app run. And still [17:39.230 --> 17:47.470] clear text. And another vulnerability. But why do we have servers over in different countries [17:47.470 --> 17:59.130] if it's a US app? So, I know. It's, all this, all this I just wanted to like kind of show from a [17:59.130 --> 18:05.670] mobile, um, you know, a mobile pen testers perspective. How I would securely look at these [18:05.670 --> 18:14.050] devices. I'm going to go in just a little bit more on my mobile. Um, say you want to take it a [18:14.050 --> 18:21.590] step further. Uh, you need a jailbroken or rooted device. I use Magisk personally for my [18:21.590 --> 18:32.130] Android. I use Uncover for my, uh, IOS. And then these are my steps that I would take to look at [18:32.130 --> 18:41.570] like local data storage. I would have my rooted or jailbroken phone. And then, uh, if I was [18:41.570 --> 18:47.310] wanting to, um, not get, like get the app from the actual app store, I would just create a fake [18:47.310 --> 18:54.490] account. Um, and do it that way. But, the, if you're just going to do static analysis and you [18:54.490 --> 19:01.830] don't need a phone, um, APK Pure and MobSF is like the best way to go. So, this is my little [19:01.830 --> 19:09.910] bit more technical part of my talk. Um, I use ADB for Android. And that, um, is my tool kit [19:10.250 --> 19:20.260] that I use a lot to do more internal investigation of the device and the application. Burp [19:20.260 --> 19:30.800] Suite I use, uh, to do that traffic to see what the application, um, how it functions, which, [19:34.780 --> 19:45.180] um, Frida is another app that I use. Um, this app, if it, you have to, like, be in a wrong state [19:45.180 --> 19:59.140] of mind to learn, learn how this app functions. So, I use FreeDump a lot to dump the memory of a [19:59.140 --> 20:05.860] device. So, sometimes applications will dump information in run time. Um, this is a great [20:05.860 --> 20:12.340] tool. So, if they don't reboot their phone and you're looking for maybe potential security [20:12.340 --> 20:21.780] flaws or application issues, um, I would use this tool right here. This one I have just left [20:21.780 --> 20:27.420] over. I was, you pull, like, your unencrypted IPA file and that's another way you can, like, [20:27.420 --> 20:38.160] statically, uh, analysis an IPA for iOS and that's, uh, FreeDump. Tied to Frida, let me take a [20:38.160 --> 20:48.510] break here. Tied to Frida is Objection and that's another tool that I use in and out. And if I [20:48.510 --> 20:56.490] were to be taking these augmented reality, um, apps, I would go through and kind of inspect [20:56.490 --> 21:07.490] them a little bit deeper. So, Objection, you can do, um, file system, exploration, you can [21:07.490 --> 21:13.030] bypass certificate pinning, dump keychains, so if they're not, um, storing things or if [21:13.030 --> 21:18.530] they're storing, uh, stuff in the keychain properly or maybe they're not storing it [21:18.530 --> 21:26.470] properly, you can get that information. Memory leak issues, you can manipulate objects. Um, [21:27.090 --> 21:31.550] this is a starting command for Objection. You didn't think this was going to be a mobile talk [21:31.550 --> 21:38.670] now, did you? It is. Um, so these are the kind of commands that you can run with Objection. [21:39.210 --> 21:46.510] Basically, these are my go to when I'm, like, searching through an app. Uh, if it's got SSL, [21:46.510 --> 21:52.070] like a cert pinning so I can't use burp suite, I'll use the bypass. If it detects root [21:52.070 --> 21:59.970] detection, I will bypass that with the root disable. Key store, um, looking for classes, I [21:59.970 --> 22:07.450] like to take the classes and try to launch them in the app, um, without being logged in to see [22:07.450 --> 22:13.970] if I can get some sort of different information. Um, and that's not so much with these apps [22:13.970 --> 22:19.750] that I was talking about before, but a lot of times, like maybe a banking app, can I launch [22:19.750 --> 22:30.630] that activity? Will it drop me into the banking software? So, iOS, um, NS user defaults, [22:30.630 --> 22:38.550] sometimes a lot of information gets stored in that and you'd be surprised, um, yeah, you'd be [22:38.550 --> 22:45.530] surprised. I've seen passwords in there, so it's definitely a good thing to look at. Uh, [22:45.530 --> 22:51.650] credentials, I'll have you on, I have the defaults twice, I never fix that, whoops. Uh, key [22:51.650 --> 22:57.490] chain dump, and then cookies, again, we need to see if the app is storing things properly in [22:57.490 --> 23:07.350] the key chain. So, um, I know I kind of touched on, oopsie, a little crazy on the slides, I [23:07.350 --> 23:13.490] know I kind of touched on iOS a little bit, but I use jadex too for decompiling my android [23:13.490 --> 23:21.350] apps, um, that's a good app to have a nice, if you're a gooey person like I am, uh, you can [23:21.350 --> 23:27.430] take that, uh, APK, you don't even have to do anything with it, it just, you stick it in the [23:27.430 --> 23:34.050] app and it shows you all your classes and it's an easier way to be able to look at that [23:34.050 --> 23:43.470] information and see what, um, what the app has. So you have your mobile apps, what am I looking [23:43.490 --> 23:52.950] for? Secrets, keys, credentials, URLs, IP addresses, email addresses, um, and then again [23:52.950 --> 23:57.590] with the augmented reality, if I was given that like as an assignment, I would probably look to [23:57.590 --> 24:06.770] see what kind of URLs that aren't tied to that company, you know, how, why are they going to [24:06.770 --> 24:11.550] that, is it necessary, because there is a lot of information that gets stored in apps that you [24:11.550 --> 24:25.680] don't normally think you would want to see. So, after all this, um, circling back around with [24:25.680 --> 24:33.360] our augmented reality and our mobile apps, like, how, what should we do as humans to like keep, [24:33.360 --> 24:40.180] keep ourselves secure? So, avoiding giving out too much information. A lot of times it's easy [24:40.180 --> 24:47.960] to just put your name down and just let it auto fill in the app and then hope for the best. So, [24:47.960 --> 24:55.080] um, give, give half information if it's an app that does not need your information, you do not [24:55.080 --> 25:02.740] need to give your app, that app your information. So, have a Jane Doe or whatever name and then [25:02.740 --> 25:08.020] Paul won't be able to user enumerate you. So, do you want to come finish the rest of your [25:08.020 --> 25:15.960] talk? No. Anyways, um, VPN, that's another one. I've been told I should use it. I probably [25:15.960 --> 25:23.300] will, eventually. Um, and then going back to like the, the physical devices. So, firmware. [25:23.860 --> 25:28.620] Firmware is huge when you have your physical devices, like your glasses, keeping those up to [25:28.620 --> 25:36.020] date. I know when I worked, um, in my previous job, I did a lot of drone stuff and keeping [25:36.020 --> 25:45.160] firmware up to date on your drones is a necessary, necessary evil. So, um, I know it can be a [25:45.160 --> 25:50.540] pain in the butt and it probably sometimes might make your drone act funny. I might, may or [25:50.540 --> 25:55.920] may not have had that happen in my life before. Maybe it will just fly up in your house for no [25:55.920 --> 26:02.360] reason. But firmware updates are needed. Um, and then locking your device. I know it's [26:02.360 --> 26:07.380] something really simple to say, but I feel like people still don't do that. And two factor [26:07.380 --> 26:14.260] authentication is I feel like the best way to make sure that your information doesn't get put [26:14.260 --> 26:20.900] out there. And like I said, to push that first bullet point is don't put your information out [26:20.900 --> 26:26.220] there if it doesn't need to be. Um, that's like the best information that I could give for [26:27.460 --> 26:32.300] keeping yourself secure in these kind of apps. Because they are going to start pushing more [26:32.300 --> 26:40.800] tracking information and they are going to start getting more of our data and sending it out so [26:40.800 --> 26:45.860] then they can use, uh, use it for other things. You know, like when you think about buying a [26:45.860 --> 26:53.640] pair of shoes and it shows up in your, um, shows up in your ads. Right? So, I might have went [26:53.640 --> 27:01.520] too fast. But, uh, some training material that I often like to suggest. Shameless post of my [27:01.520 --> 27:08.020] job. The blog. Or you can hear me on a podcast. But, um, when I first started doing mobile [27:08.020 --> 27:14.020] security, like this was my bread and butter. Uh, the OWASP mobile security testing guide. It's [27:14.020 --> 27:21.100] my, it's my thing. Like I, I liked it. It has good information. Um, and there's also a website [27:21.880 --> 27:28.720] hack tricks that I have referenced quite often now. Um, but I did not have that on that slide. [27:28.720 --> 27:36.700] So, with that, I think, I think that's 30 minutes. That's a solid 30 minutes. If anybody has any [27:36.700 --> 27:42.440] questions, we can answer them down, we, there's a royal we. I can answer them down there and [27:42.440 --> 27:49.360] here's my information if you want to just message me, that's fine too. Um, but yeah, that's, [27:49.360 --> 27:51.760] that's my first DEF CON talk. Woo!