1 00:00:00,000 --> 00:00:05,820 Welcome everyone to our first talk for tonight. It's called Won't Somebody Think of the Children? 2 00:00:06,040 --> 00:00:10,960 Examining COPPA Compliance at Scale. The speakers have asked to introduce themselves. Welcome. 3 00:00:15,280 --> 00:00:21,980 Hi everybody. How are you doing this morning? We are really excited to kick off this amazing village. 4 00:00:22,860 --> 00:00:28,740 As you can see, this research is an interdisciplinary research with people from a variety of universities. 5 00:00:28,740 --> 00:00:36,980 We are from ICSI at UC Berkeley. And let me start with a direct question, because I am Israeli, as you hear from my accent. 6 00:00:37,580 --> 00:00:42,960 Who here brought a burner to DEF CON? Not their personal phone. Great. 7 00:00:43,260 --> 00:00:48,380 Who here is not using Android because of security issues? Okay, we have a number of people. 8 00:00:48,660 --> 00:00:53,760 Well, the issue is our phones are, of course, they have very sensitive information. 9 00:00:54,300 --> 00:00:58,260 Apps are collecting that information. Through those permissions, 10 00:00:58,380 --> 00:00:58,720 we can use the information that we have. And we can use the information that we have. 11 00:00:58,740 --> 00:01:04,540 We often see at the Play Store and the Android system, we only know what they may request and may collect. 12 00:01:04,880 --> 00:01:13,640 We don't actually know what is happening in reality, what information is being collected, and more importantly, who is getting that information. 13 00:01:14,140 --> 00:01:19,900 So my colleague here, Primal, will kick us off and explain what we are doing in this privacy audit, 14 00:01:20,160 --> 00:01:24,240 which is a collaboration between a bunch of hackers, security researchers from ICSI, and me. 15 00:01:24,280 --> 00:01:27,260 I'm a doctoral law candidate at Berkeley Law and a CLTC grantee. 16 00:01:28,060 --> 00:01:31,020 Thanks, Amit. I guess everyone can hear me? 17 00:01:31,960 --> 00:01:36,800 So I'm Primal. I'm a postdoc researcher in UC Berkeley and ICSI. 18 00:01:37,620 --> 00:01:44,180 So as Amit kind of set the stage why we need this, 19 00:01:45,480 --> 00:01:50,180 well, the simple question is that once you give permission to an Android application, 20 00:01:50,540 --> 00:01:55,380 that's it. You don't have any idea, you know, how the application is going to exercise that permission. 21 00:01:55,580 --> 00:01:57,140 Or who else is getting that? 22 00:01:57,140 --> 00:02:13,020 So to answer that question, we developed a dynamic analysis platform where we can see how exactly these applications are using those resources and who else is getting these resources as well. 23 00:02:13,140 --> 00:02:19,460 Well, it's no longer a secret that whenever an application accesses your data, it's going to share the data with a gazillion other third-party users. 24 00:02:19,580 --> 00:02:21,780 So we want to understand that ecosystem. 25 00:02:22,160 --> 00:02:26,560 And then the core use case of this platform is actually... 26 00:02:27,140 --> 00:02:33,220 So we want to see how these mobile applications are compliant with the regulations. 27 00:02:34,020 --> 00:02:38,500 COPA, GDPR, the California Consumer Privacy Act, etc. 28 00:02:38,660 --> 00:02:42,380 So how the applications are actually complying with these regulations. 29 00:02:44,040 --> 00:02:48,080 So the instrumentation framework has two major components. 30 00:02:48,380 --> 00:02:52,500 The first one is we actually have a custom built Android 6 31 00:02:52,500 --> 00:02:57,120 where we can monitor whenever an application accesses any sensitive devices. 32 00:02:57,140 --> 00:03:03,520 So we can see who else is getting that resource and also all the surrounding contextual information with that permission request. 33 00:03:03,860 --> 00:03:16,400 We also have a tool called Luma, which is pretty much like a VPN monitor in Android where we can track all the network traffic originating from a given application and its content as well. 34 00:03:16,620 --> 00:03:23,880 So we can see whenever an application accesses a given resource, we can also see who else is getting that resource as well. 35 00:03:24,880 --> 00:03:26,480 So using that platform, 36 00:03:26,480 --> 00:03:28,960 we built an automated pipeline. 37 00:03:30,460 --> 00:03:38,220 We scraped Android Play Store to download all the most popular apps under each different category. 38 00:03:38,620 --> 00:03:46,300 And then we also have an Android exercise monkey who runs this application for 10 minutes. 39 00:03:47,080 --> 00:03:53,360 And then the platform will try to get all the data on the resource access and then the network sharing. 40 00:03:53,740 --> 00:03:54,400 So... 41 00:03:54,400 --> 00:03:56,320 And then right now, 42 00:03:56,480 --> 00:04:00,720 we can actually execute 1,000 applications per day. 43 00:04:01,080 --> 00:04:06,480 And we have already analyzed close to 80,000 so far. 44 00:04:06,880 --> 00:04:09,160 So technically speaking, 45 00:04:09,320 --> 00:04:10,020 we can analyze, 46 00:04:10,180 --> 00:04:14,740 we can see every single sensitive resource in Android. 47 00:04:15,020 --> 00:04:16,680 But for the purpose of this talk, 48 00:04:16,880 --> 00:04:19,020 we are just going to focus on a subset of it. 49 00:04:19,360 --> 00:04:21,680 And then we are going to categorize into two categories. 50 00:04:21,860 --> 00:04:23,700 The one is just personal information, 51 00:04:24,540 --> 00:04:25,960 like your contact details, 52 00:04:25,960 --> 00:04:27,060 your location details, 53 00:04:27,260 --> 00:04:30,120 or even your Wi-Fi property information, 54 00:04:30,460 --> 00:04:33,460 which could also be traced back to you. 55 00:04:33,580 --> 00:04:38,940 And then all the different persistent identifiers that Android provides for third-party applications, 56 00:04:39,220 --> 00:04:40,360 like IMEI, 57 00:04:40,360 --> 00:04:41,100 MAC address, 58 00:04:41,380 --> 00:04:41,980 Android ID, 59 00:04:42,380 --> 00:04:45,260 or even the Google service framework IDs. 60 00:04:45,520 --> 00:04:49,560 So that's like a very high-level overview of the instrumentation. 61 00:04:50,180 --> 00:04:52,680 Let's hear the legal side of it. 62 00:04:54,520 --> 00:04:55,940 So what are we doing? 63 00:04:55,940 --> 00:04:57,940 What are we doing with all of this information? 64 00:04:58,520 --> 00:05:00,420 We started looking at compliance. 65 00:05:00,760 --> 00:05:03,420 Our infrastructure is applicable also to GDPR 66 00:05:03,420 --> 00:05:05,840 and the upcoming privacy regulation in California. 67 00:05:06,080 --> 00:05:06,860 If you heard about it, 68 00:05:06,900 --> 00:05:07,580 it's coming in 2020. 69 00:05:08,440 --> 00:05:10,980 But we basically started with COPPA, 70 00:05:11,020 --> 00:05:13,180 with the Children Online Privacy Protection Act. 71 00:05:13,400 --> 00:05:15,980 And the reason we chose COPPA 72 00:05:15,980 --> 00:05:18,520 is because COPPA has very strange definitions 73 00:05:18,520 --> 00:05:23,060 on what you are allowed to collect from children under 13. 74 00:05:23,920 --> 00:05:25,920 What kind of disclosures, 75 00:05:25,940 --> 00:05:27,500 you need to give to the parents, 76 00:05:27,620 --> 00:05:29,140 what kind of privacy protections. 77 00:05:29,520 --> 00:05:34,020 And COPPA defines personal information very broadly. 78 00:05:34,360 --> 00:05:36,720 So this of course includes contact information 79 00:05:36,720 --> 00:05:39,160 like email and find geolocation, 80 00:05:39,520 --> 00:05:44,060 but it also includes persistent identifiers that are defined broadly. 81 00:05:44,360 --> 00:05:48,920 Basically everything that could be used to create a profile on children. 82 00:05:49,260 --> 00:05:53,600 So because our infrastructure is basically looking at how 83 00:05:54,420 --> 00:05:55,920 SDKs and third-party, 84 00:05:55,920 --> 00:05:59,320 third parties are getting various kinds of persistent identifiers, 85 00:05:59,640 --> 00:06:02,440 we chose COPPA as our first case study, 86 00:06:02,680 --> 00:06:04,400 but we are actually expanding this project. 87 00:06:04,680 --> 00:06:06,500 So what about COPPA? 88 00:06:06,840 --> 00:06:09,540 COPPA is designed to basically regulate 89 00:06:09,540 --> 00:06:12,140 the way online service providers, 90 00:06:12,320 --> 00:06:13,820 including mobile apps, 91 00:06:14,100 --> 00:06:15,800 are collecting, 92 00:06:16,660 --> 00:06:17,040 using, 93 00:06:17,280 --> 00:06:20,400 and disclosing personal information 94 00:06:20,720 --> 00:06:22,580 of children under 13. 95 00:06:23,160 --> 00:06:23,920 Now, 96 00:06:23,920 --> 00:06:27,920 COPPA specifically prohibits behavioral advertising 97 00:06:27,920 --> 00:06:30,760 and collection of persistent identifiers 98 00:06:30,760 --> 00:06:36,600 without a very, very strange type of verifiable parental consent. 99 00:06:36,980 --> 00:06:39,820 And when I speak about a strange regime, 100 00:06:39,960 --> 00:06:42,620 I'm talking about you actually need to verify 101 00:06:42,620 --> 00:06:46,000 that the parent consented to the collection 102 00:06:46,000 --> 00:06:48,040 of the various type of information. 103 00:06:48,380 --> 00:06:50,780 So you need to get the credit card details 104 00:06:50,780 --> 00:06:53,000 from the parent or their address 105 00:06:53,000 --> 00:06:55,500 or call and talk with them on the phone. 106 00:06:55,900 --> 00:06:58,400 We will see in one minute 107 00:06:58,400 --> 00:07:01,340 why this issue of consent matters. 108 00:07:02,100 --> 00:07:02,580 Now, 109 00:07:02,760 --> 00:07:04,480 COPPA also requires 110 00:07:04,660 --> 00:07:07,040 that you will actually have in place 111 00:07:07,040 --> 00:07:09,100 reasonable security measures. 112 00:07:09,540 --> 00:07:10,600 As we will show, 113 00:07:11,760 --> 00:07:13,340 that's not exactly 114 00:07:13,760 --> 00:07:17,280 the reality in practice. 115 00:07:17,480 --> 00:07:21,140 A lot of apps don't have even the basic of basic 116 00:07:21,140 --> 00:07:23,280 reasonable protection security measures. 117 00:07:23,580 --> 00:07:23,900 Okay. 118 00:07:24,740 --> 00:07:26,600 Now, COPPA also has 119 00:07:26,600 --> 00:07:29,020 although it's still not clear 120 00:07:29,020 --> 00:07:30,960 if we have a private right of action, 121 00:07:31,200 --> 00:07:33,840 so whether individual can go to court 122 00:07:33,840 --> 00:07:36,300 and sue a company for violating COPPA, 123 00:07:36,380 --> 00:07:38,700 that is still kind of emerging right now 124 00:07:38,700 --> 00:07:40,200 with a bunch of new class actions, 125 00:07:40,480 --> 00:07:43,420 the FTC can go after companies 126 00:07:43,420 --> 00:07:44,740 for violating COPPA 127 00:07:44,740 --> 00:07:46,600 and state internal journals. 128 00:07:46,880 --> 00:07:48,360 And each violation, 129 00:07:48,740 --> 00:07:49,560 and you will see 130 00:07:49,560 --> 00:07:51,940 the potential violations they'll mount 131 00:07:51,940 --> 00:07:53,860 that we are talking about them here today, 132 00:07:54,060 --> 00:07:56,380 is up to $40,000. 133 00:07:56,680 --> 00:07:57,780 Yes, per violation. 134 00:07:58,200 --> 00:07:59,660 And maybe you remember that 135 00:07:59,660 --> 00:08:01,900 from that episode in Silicon Valley 136 00:08:01,900 --> 00:08:03,620 where Dinesh freaked out. 137 00:08:04,280 --> 00:08:05,000 So, 138 00:08:06,100 --> 00:08:07,720 we actually see how 139 00:08:07,720 --> 00:08:10,860 the FTC is bringing settlements under COPPA. 140 00:08:11,000 --> 00:08:11,800 But remember, 141 00:08:11,900 --> 00:08:14,020 the FTC has limited resources unfortunately. 142 00:08:14,640 --> 00:08:15,200 So, 143 00:08:15,320 --> 00:08:17,580 it's interesting to kind of compare 144 00:08:17,580 --> 00:08:19,500 the different settlements 145 00:08:19,560 --> 00:08:23,340 that were actually brought by the FTC under COPPA 146 00:08:23,340 --> 00:08:25,920 and what is actually happening in reality. 147 00:08:26,620 --> 00:08:27,420 So, 148 00:08:27,580 --> 00:08:29,620 one very important issue 149 00:08:29,620 --> 00:08:32,040 especially for our paper and our talk is 150 00:08:32,040 --> 00:08:35,820 who is actually being enforced under COPPA? 151 00:08:36,000 --> 00:08:37,680 So, we have three main categories. 152 00:08:38,120 --> 00:08:38,700 First, 153 00:08:39,320 --> 00:08:40,020 we have 154 00:08:40,560 --> 00:08:43,380 the actual commercial website 155 00:08:43,380 --> 00:08:46,320 or online services including mobile apps 156 00:08:46,320 --> 00:08:48,340 that are directed to children. 157 00:08:48,340 --> 00:08:50,180 So, if you have an app 158 00:08:50,180 --> 00:08:53,040 and you're teaching 123 or ABC 159 00:08:53,040 --> 00:08:55,840 and according to the total circumstances 160 00:08:55,840 --> 00:08:58,500 this is directed to children under 13 161 00:08:58,500 --> 00:08:59,900 because you have cartoons 162 00:08:59,900 --> 00:09:01,880 or simple language, etc. 163 00:09:02,480 --> 00:09:04,280 COPPA applies on you 164 00:09:04,280 --> 00:09:07,380 whether you're thinking you're directed to children or not. 165 00:09:07,520 --> 00:09:11,100 This is a flexible test that the FTC applies. 166 00:09:12,040 --> 00:09:12,680 Then, 167 00:09:12,920 --> 00:09:15,360 we actually have our operators 168 00:09:16,080 --> 00:09:18,260 of general audience services 169 00:09:18,340 --> 00:09:20,260 so think about something like Yelp. 170 00:09:20,460 --> 00:09:22,300 Yelp is not directed only to children 171 00:09:22,300 --> 00:09:24,620 but if that online service provider 172 00:09:24,620 --> 00:09:26,840 has direct actual knowledge 173 00:09:26,840 --> 00:09:30,200 that there is a child interacting with the service 174 00:09:30,200 --> 00:09:31,920 maybe because theoretically 175 00:09:31,920 --> 00:09:33,760 and unrelated to any settlement 176 00:09:33,760 --> 00:09:35,020 that was reached with Yelp 177 00:09:35,020 --> 00:09:37,440 they collected date births 178 00:09:37,440 --> 00:09:40,160 and they knew the child was under 13 179 00:09:40,160 --> 00:09:41,780 then COPPA would apply 180 00:09:42,340 --> 00:09:45,540 only also with respect to general audience services 181 00:09:45,540 --> 00:09:47,320 and most importantly 182 00:09:47,320 --> 00:09:48,780 for our talk 183 00:09:49,140 --> 00:09:51,580 COPPA also applies for third parties 184 00:09:51,580 --> 00:09:53,060 so our ad networks 185 00:09:53,060 --> 00:09:54,840 and the SDK 186 00:09:54,840 --> 00:09:57,560 and basically everybody that wants to get money 187 00:09:57,560 --> 00:10:00,020 and basically monetize our information 188 00:10:00,020 --> 00:10:02,900 it also applies to those services 189 00:10:02,900 --> 00:10:05,040 if they have actual knowledge 190 00:10:05,040 --> 00:10:07,900 that their service is being used 191 00:10:07,900 --> 00:10:11,340 in a child directed other service. 192 00:10:11,440 --> 00:10:13,560 So think about an SDK or an ad network 193 00:10:14,260 --> 00:10:16,840 implemented in a child directed app. 194 00:10:17,320 --> 00:10:18,200 That is important 195 00:10:18,200 --> 00:10:20,640 because the FTC actually brought action 196 00:10:20,640 --> 00:10:21,660 against Inmobi 197 00:10:21,660 --> 00:10:24,560 which is this kind of ad network 198 00:10:24,560 --> 00:10:25,460 or a third party. 199 00:10:26,620 --> 00:10:29,040 So what are we focusing on? 200 00:10:29,240 --> 00:10:30,880 We are focusing on 201 00:10:30,880 --> 00:10:34,800 almost 6,000 of the most popular apps 202 00:10:34,800 --> 00:10:37,020 on Android designed for families 203 00:10:37,020 --> 00:10:38,200 Google Play Store 204 00:10:38,200 --> 00:10:40,480 and the key issue here 205 00:10:40,480 --> 00:10:41,960 is as you see here 206 00:10:41,960 --> 00:10:43,240 there are apps 207 00:10:44,200 --> 00:10:46,300 every app that is listed 208 00:10:46,300 --> 00:10:47,420 to design for families 209 00:10:47,420 --> 00:10:49,740 in design for families at Google Play Store 210 00:10:50,160 --> 00:10:51,960 actually represented to Google 211 00:10:51,960 --> 00:10:53,540 that their service 212 00:10:53,540 --> 00:10:55,320 their app is child directed. 213 00:10:55,760 --> 00:10:56,500 In fact 214 00:10:56,500 --> 00:10:58,220 if you are not child directed 215 00:10:58,220 --> 00:11:01,080 you have no place on design for families. 216 00:11:01,340 --> 00:11:03,020 They also represented to Google 217 00:11:03,020 --> 00:11:04,680 that they are compliant with COPPA. 218 00:11:05,040 --> 00:11:07,220 Remember that when we get to the results. 219 00:11:08,060 --> 00:11:11,100 So as I told you 220 00:11:11,100 --> 00:11:13,820 almost 6,000 of the most popular apps 221 00:11:13,820 --> 00:11:15,060 on design for families 222 00:11:15,060 --> 00:11:16,540 what did we see? 223 00:11:16,940 --> 00:11:18,880 Not sure that you are going to be surprised 224 00:11:18,880 --> 00:11:22,880 57% in potential violation 225 00:11:22,880 --> 00:11:24,400 more than the majority. 226 00:11:24,780 --> 00:11:25,740 Out of this 227 00:11:25,740 --> 00:11:28,340 4.8 are actually collecting 228 00:11:28,340 --> 00:11:29,600 personal information 229 00:11:29,600 --> 00:11:32,280 so find your location 230 00:11:32,280 --> 00:11:33,220 emails 231 00:11:33,220 --> 00:11:35,000 and the phone number 232 00:11:35,000 --> 00:11:35,540 yes 233 00:11:36,060 --> 00:11:37,900 then we have 39% 234 00:11:38,960 --> 00:11:41,080 collecting non-resetable 235 00:11:41,080 --> 00:11:43,120 persistent identifiers. 236 00:11:44,080 --> 00:11:45,040 19% 237 00:11:45,060 --> 00:11:46,840 potentially non-compliant SDK. 238 00:11:47,100 --> 00:11:48,040 What I mean by that 239 00:11:48,040 --> 00:11:50,380 is 90% of those apps 240 00:11:50,380 --> 00:11:52,420 are actually implementing in their app 241 00:11:52,420 --> 00:11:55,380 a service that in their terms of use 242 00:11:55,380 --> 00:11:57,600 that there shouldn't be a part 243 00:11:57,600 --> 00:11:59,620 of a child directed service. 244 00:12:00,100 --> 00:12:02,280 So the app network said 245 00:12:02,280 --> 00:12:03,260 in their terms of use 246 00:12:03,260 --> 00:12:05,060 you cannot use our service 247 00:12:05,060 --> 00:12:06,040 in child directed services 248 00:12:06,040 --> 00:12:07,180 and yet 249 00:12:07,180 --> 00:12:08,360 in 90% 250 00:12:08,360 --> 00:12:10,280 of our cluster 251 00:12:10,280 --> 00:12:12,200 the app developers 252 00:12:12,200 --> 00:12:14,220 implemented those SDKs. 253 00:12:14,220 --> 00:12:15,380 And then we have 254 00:12:15,380 --> 00:12:17,300 failure to take basic security measures 255 00:12:17,300 --> 00:12:18,300 basic TLS. 256 00:12:18,960 --> 00:12:20,760 So I'm just going to run through it 257 00:12:20,760 --> 00:12:22,200 because we talked about it. 258 00:12:22,340 --> 00:12:23,880 The main idea here is 259 00:12:24,420 --> 00:12:26,600 how do we know that no consent 260 00:12:26,600 --> 00:12:28,140 was obtained from the parent? 261 00:12:28,240 --> 00:12:29,340 Because we have our monkey. 262 00:12:29,520 --> 00:12:30,900 Our monkey just clicks. 263 00:12:31,220 --> 00:12:32,720 It's not a real human being. 264 00:12:32,880 --> 00:12:34,380 If the monkey can bypass 265 00:12:34,380 --> 00:12:35,420 the consent 266 00:12:35,820 --> 00:12:37,500 also a child could do that. 267 00:12:37,640 --> 00:12:38,820 So that's how we know that 268 00:12:38,820 --> 00:12:40,500 no verifiable parental consent 269 00:12:40,500 --> 00:12:41,060 was obtained. 270 00:12:41,520 --> 00:12:43,200 And we talked about the different 271 00:12:43,200 --> 00:12:45,580 violations that we found. 272 00:12:45,840 --> 00:12:46,960 This is just a 273 00:12:46,960 --> 00:12:49,000 showcase of 274 00:12:49,000 --> 00:12:51,880 in which type of app developers 275 00:12:51,880 --> 00:12:52,620 that happened. 276 00:12:52,720 --> 00:12:53,500 So time lab here 277 00:12:53,500 --> 00:12:56,020 they're a real big compliant. 278 00:12:56,720 --> 00:13:00,020 1.9 collect actual content information. 279 00:13:01,240 --> 00:13:02,820 Another interesting issue 280 00:13:02,820 --> 00:13:05,100 is like Google have this idea 281 00:13:05,100 --> 00:13:07,340 that they created a reset 282 00:13:07,340 --> 00:13:08,800 a resettable Android ID 283 00:13:08,800 --> 00:13:10,300 so you can reset it. 284 00:13:10,440 --> 00:13:11,640 But what we see is 285 00:13:11,640 --> 00:13:12,600 the developers are actually 286 00:13:12,600 --> 00:13:13,180 undermining 287 00:13:13,200 --> 00:13:14,960 that by collecting that information 288 00:13:14,960 --> 00:13:16,960 the Android ID that is supposed to be 289 00:13:16,960 --> 00:13:19,000 resettable with a persistent identifier 290 00:13:19,000 --> 00:13:20,800 that is not resettable. 291 00:13:21,100 --> 00:13:23,100 Thereby undermining the whole idea 292 00:13:23,100 --> 00:13:24,460 of the Android ID. 293 00:13:25,360 --> 00:13:27,000 39% of that 294 00:13:27,000 --> 00:13:28,440 of our cluster. 295 00:13:28,940 --> 00:13:30,760 That's billions of downloads 296 00:13:30,760 --> 00:13:32,480 are doing that. 297 00:13:33,620 --> 00:13:35,560 And let me skip right in 298 00:13:35,560 --> 00:13:37,020 and get to a bit of the crypto. 299 00:13:37,280 --> 00:13:38,280 So Primal. 300 00:13:39,700 --> 00:13:41,320 Yeah before getting into the crypto 301 00:13:41,320 --> 00:13:42,340 I'm just going to skim over 302 00:13:42,340 --> 00:13:44,040 since we mentioned that 303 00:13:44,040 --> 00:13:44,900 not only application 304 00:13:44,900 --> 00:13:46,500 the third party services are also 305 00:13:47,540 --> 00:13:49,180 they are subject to the 306 00:13:49,180 --> 00:13:49,860 as well. 307 00:13:50,120 --> 00:13:52,640 So different third party services 308 00:13:52,640 --> 00:13:53,780 have taken different measures 309 00:13:53,780 --> 00:13:54,540 to make sure that 310 00:13:54,540 --> 00:13:55,400 they are not in the cluster. 311 00:13:55,600 --> 00:13:56,880 So here is an example 312 00:13:56,880 --> 00:14:00,440 if you are a subscriber of Unity 313 00:14:00,440 --> 00:14:02,200 then there is this tick box 314 00:14:02,200 --> 00:14:03,680 that when you register 315 00:14:03,680 --> 00:14:04,500 you say that 316 00:14:05,280 --> 00:14:06,660 I'm actually giving you data 317 00:14:06,660 --> 00:14:08,300 that's likely collected 318 00:14:08,300 --> 00:14:10,940 from a key target's application. 319 00:14:10,940 --> 00:14:12,600 So and then 320 00:14:13,900 --> 00:14:15,840 in the actual network flow 321 00:14:15,840 --> 00:14:18,160 there is also a flag that you can say 322 00:14:18,160 --> 00:14:19,780 that I'm sending data 323 00:14:19,780 --> 00:14:21,040 from a key target's application. 324 00:14:21,120 --> 00:14:22,580 But what we found out is that 325 00:14:22,580 --> 00:14:24,020 84% of the time 326 00:14:24,020 --> 00:14:26,160 applications are not setting it correctly. 327 00:14:27,240 --> 00:14:29,520 So the reason why they have this flag 328 00:14:29,520 --> 00:14:30,880 is like they want to treat 329 00:14:30,880 --> 00:14:32,240 the data that they are getting 330 00:14:32,240 --> 00:14:33,420 from key target's application differently. 331 00:14:33,720 --> 00:14:35,840 Because there are certain restrictions 332 00:14:35,840 --> 00:14:37,900 but if you not set the flag correctly 333 00:14:37,900 --> 00:14:39,960 then they are likely to not 334 00:14:39,960 --> 00:14:41,620 not treat the data properly 335 00:14:41,620 --> 00:14:43,180 so in violation of COPPA. 336 00:14:43,420 --> 00:14:45,080 And then there are other services 337 00:14:45,080 --> 00:14:46,660 that they don't have any flags 338 00:14:46,660 --> 00:14:47,700 they just outright say 339 00:14:47,700 --> 00:14:48,940 do not use this service. 340 00:14:49,200 --> 00:14:51,400 So for an example Crashlytics 341 00:14:51,960 --> 00:14:53,740 is a very popular third party service 342 00:14:53,740 --> 00:14:54,660 among mobile applications 343 00:14:54,660 --> 00:14:56,300 say that if you are a developer 344 00:14:56,300 --> 00:14:57,500 of a key target's application 345 00:14:57,500 --> 00:14:59,140 do not use this service. 346 00:14:59,660 --> 00:15:01,880 But unfortunately 347 00:15:01,880 --> 00:15:03,980 and not so surprisingly 348 00:15:03,980 --> 00:15:06,560 19% of the applications 349 00:15:06,560 --> 00:15:09,740 they shared very sensitive data 350 00:15:09,960 --> 00:15:11,940 with non-COPPA compliant services. 351 00:15:12,680 --> 00:15:14,040 And then if you actually 352 00:15:14,680 --> 00:15:16,600 calculate the number of affected users 353 00:15:16,600 --> 00:15:18,400 against each SDK 354 00:15:18,400 --> 00:15:20,020 it's hundreds of millions of users. 355 00:15:20,340 --> 00:15:21,480 So it's not a significant 356 00:15:21,480 --> 00:15:23,680 it's not a negligible portion. 357 00:15:25,660 --> 00:15:28,180 And then we mentioned that 358 00:15:28,180 --> 00:15:30,140 an important clause in COPPA is that 359 00:15:30,140 --> 00:15:31,740 you have to take proper security measures. 360 00:15:32,100 --> 00:15:33,520 But what we found out is that 361 00:15:33,520 --> 00:15:35,600 40% of all the network flows that we see 362 00:15:35,600 --> 00:15:37,660 didn't even bother using as a TLS. 363 00:15:38,240 --> 00:15:39,480 That's most of the time just 364 00:15:39,960 --> 00:15:40,520 standard library network. 365 00:15:40,820 --> 00:15:41,900 You don't have to do much. 366 00:15:42,400 --> 00:15:44,300 They didn't bother using. 367 00:15:47,140 --> 00:15:50,700 So after actually doing the full analysis 368 00:15:50,700 --> 00:15:51,900 we found that there are 369 00:15:51,900 --> 00:15:53,680 there are a few cases where we see 370 00:15:53,680 --> 00:15:55,480 the application accessing certain resources 371 00:15:55,480 --> 00:15:57,280 like location, IME numbers 372 00:15:57,280 --> 00:15:59,800 but we don't see them sharing over the network. 373 00:16:00,080 --> 00:16:01,540 Well you know 374 00:16:01,540 --> 00:16:03,320 the first intuition might be 375 00:16:03,320 --> 00:16:05,720 we know for once they are actually trying to be privacy conscious. 376 00:16:06,040 --> 00:16:07,560 Well and then you know 377 00:16:07,560 --> 00:16:09,240 after years of trying to analyze applications 378 00:16:09,960 --> 00:16:11,720 we knew that it's not going to be the case. 379 00:16:11,820 --> 00:16:13,280 There's something fishy going on. 380 00:16:13,540 --> 00:16:16,500 So we actually filtered all those applications 381 00:16:16,500 --> 00:16:17,880 and then we started 382 00:16:17,880 --> 00:16:19,200 manually analyzing them. 383 00:16:20,100 --> 00:16:21,900 So we actually came across 384 00:16:22,680 --> 00:16:23,680 quite a few 385 00:16:23,680 --> 00:16:25,620 very interesting use cases. 386 00:16:26,060 --> 00:16:27,880 I just picked three 387 00:16:27,880 --> 00:16:30,080 for under no particular order. 388 00:16:31,480 --> 00:16:33,080 So there is this application 389 00:16:33,080 --> 00:16:36,440 when we started manually going through 390 00:16:36,440 --> 00:16:37,940 the network flows 391 00:16:37,940 --> 00:16:39,700 there is actually a variable called location 392 00:16:40,420 --> 00:16:41,780 and there is a value. 393 00:16:42,360 --> 00:16:43,520 But the value is 394 00:16:43,520 --> 00:16:44,640 not like 395 00:16:44,640 --> 00:16:46,980 fine location data. 396 00:16:47,280 --> 00:16:48,820 Well then we tried with 397 00:16:50,440 --> 00:16:51,640 base64 decoding 398 00:16:51,640 --> 00:16:52,880 nothing came out. 399 00:16:53,080 --> 00:16:54,600 And then we recompiled the code 400 00:16:54,600 --> 00:16:56,300 and then we saw that 401 00:16:56,300 --> 00:16:58,600 they get the original location data 402 00:16:58,600 --> 00:17:01,200 and then they XO twice 403 00:17:02,180 --> 00:17:03,400 with two strings. 404 00:17:03,720 --> 00:17:05,060 So we thought maybe 405 00:17:05,820 --> 00:17:07,420 they have like a one time pad 406 00:17:07,420 --> 00:17:09,660 or they are probably creating 407 00:17:09,960 --> 00:17:10,640 this value of the file. 408 00:17:10,880 --> 00:17:12,300 What we found out is that 409 00:17:13,200 --> 00:17:15,400 they have two hardcoded strings 410 00:17:16,620 --> 00:17:18,380 and then encryption key 411 00:17:18,380 --> 00:17:18,980 encryption key 412 00:17:18,980 --> 00:17:19,500 encryption key 413 00:17:19,500 --> 00:17:21,480 and then it's not enough 414 00:17:21,480 --> 00:17:23,200 startup startup startup 415 00:17:23,200 --> 00:17:25,440 startup is at the actual SDK 416 00:17:25,440 --> 00:17:26,220 that's doing this. 417 00:17:26,460 --> 00:17:29,220 If you search it it's actually quite popular 418 00:17:29,220 --> 00:17:31,080 third party ad service 419 00:17:31,080 --> 00:17:33,600 and then you get the row location. 420 00:17:35,780 --> 00:17:36,980 And some people 421 00:17:36,980 --> 00:17:38,260 were actually encrypting it. 422 00:17:39,960 --> 00:17:40,420 Using AES. 423 00:17:40,560 --> 00:17:43,060 But unfortunately they have the key 424 00:17:43,060 --> 00:17:45,420 and then the IEV both hardcoded 425 00:17:45,420 --> 00:17:46,740 in the code itself. 426 00:17:47,140 --> 00:17:48,560 So it was 427 00:17:48,560 --> 00:17:51,740 one extra step but 428 00:17:52,740 --> 00:17:53,860 we just had to 429 00:17:53,860 --> 00:17:55,520 make sure that we are scanning it. 430 00:17:55,960 --> 00:17:57,360 So the one 431 00:17:57,360 --> 00:17:59,320 the last use case is that 432 00:17:59,320 --> 00:18:01,860 here is a network flow 433 00:18:01,860 --> 00:18:03,220 that we detected on an application. 434 00:18:03,780 --> 00:18:04,020 So 435 00:18:05,980 --> 00:18:07,020 if you can see 436 00:18:07,020 --> 00:18:08,340 this is the IME number 437 00:18:09,960 --> 00:18:10,660 this is the Android ID 438 00:18:10,660 --> 00:18:12,400 that Amit was talking about 439 00:18:12,400 --> 00:18:13,280 like the resetable 440 00:18:13,280 --> 00:18:15,800 and there are a bunch of data 441 00:18:15,800 --> 00:18:18,100 chunk of data in between 442 00:18:18,100 --> 00:18:19,300 and then as you can see 443 00:18:19,960 --> 00:18:21,220 these are repeating 444 00:18:21,220 --> 00:18:23,580 so it's actually three unique values 445 00:18:23,580 --> 00:18:25,680 and then just repeating itself. 446 00:18:26,360 --> 00:18:27,860 What we found out is that 447 00:18:28,560 --> 00:18:29,120 so 448 00:18:31,520 --> 00:18:33,640 they are sending the row IME number 449 00:18:34,380 --> 00:18:35,600 and this is in one 450 00:18:35,600 --> 00:18:36,380 network flow 451 00:18:36,380 --> 00:18:38,860 and then they are also sending 452 00:18:39,960 --> 00:18:40,320 the row of the IME number 453 00:18:41,000 --> 00:18:43,240 and then SHA1 of the IME number 454 00:18:44,100 --> 00:18:44,620 SHA2536 455 00:18:45,540 --> 00:18:47,180 and then these are all 456 00:18:47,180 --> 00:18:48,680 same values, it's repeating. 457 00:18:49,160 --> 00:18:51,140 And they are doing the same thing for 458 00:18:51,920 --> 00:18:52,860 Android ID as well. 459 00:18:53,180 --> 00:18:54,820 But the only difference is that 460 00:18:54,820 --> 00:18:57,340 in the Android ID the values are not repeating. 461 00:18:58,700 --> 00:18:59,740 You have the MD5 462 00:18:59,740 --> 00:19:01,220 and then a different value 463 00:19:01,800 --> 00:19:02,820 SHA1 and a different value. 464 00:19:03,260 --> 00:19:04,940 So what they are doing is that 465 00:19:05,680 --> 00:19:07,820 so they take the MD5 466 00:19:07,820 --> 00:19:08,820 of the original value 467 00:19:09,960 --> 00:19:10,200 and then 468 00:19:10,200 --> 00:19:12,660 convert it to uppercase 469 00:19:12,660 --> 00:19:14,700 and then take the MD5 again. 470 00:19:15,740 --> 00:19:18,060 So if you take the uppercase of a number 471 00:19:18,060 --> 00:19:19,000 it's still same 472 00:19:20,000 --> 00:19:21,560 so that's why you are seeing 473 00:19:21,560 --> 00:19:22,360 the repeating value 474 00:19:22,360 --> 00:19:24,120 but for the Android ID 475 00:19:24,560 --> 00:19:25,980 well if you take the uppercase 476 00:19:25,980 --> 00:19:26,720 it's a different value 477 00:19:26,720 --> 00:19:28,000 so you get a different value. 478 00:19:29,960 --> 00:19:31,680 We've been looking at this for months 479 00:19:31,680 --> 00:19:33,100 we still don't know why they are doing it 480 00:19:33,100 --> 00:19:34,280 so if you have a better idea 481 00:19:34,280 --> 00:19:37,240 we can talk about it after the talk. 482 00:19:39,960 --> 00:19:41,600 And then there are 483 00:19:41,600 --> 00:19:43,120 many more interesting use cases 484 00:19:43,120 --> 00:19:44,280 in our official blog post 485 00:19:44,280 --> 00:19:45,780 we'll talk about it. 486 00:19:46,080 --> 00:19:47,340 Well the bottom line is 487 00:19:47,340 --> 00:19:50,300 57% of the time they are potentially 488 00:19:50,300 --> 00:19:51,840 violating at least one of those clauses. 489 00:19:53,860 --> 00:19:54,500 Great. 490 00:19:54,640 --> 00:19:56,480 So by the way 491 00:19:56,480 --> 00:19:58,980 COPPA has a safe harbor regime 492 00:19:58,980 --> 00:20:00,800 that allows private company 493 00:20:00,800 --> 00:20:03,200 private organization to certify 494 00:20:03,200 --> 00:20:05,900 a service as COPPA compliant 495 00:20:05,900 --> 00:20:07,460 this is supposed to make 496 00:20:07,460 --> 00:20:08,380 enforcement easier. 497 00:20:09,960 --> 00:20:11,160 What we saw is that 498 00:20:11,160 --> 00:20:13,300 the practices in apps that are 499 00:20:13,300 --> 00:20:14,960 certified as COPPA compliant 500 00:20:14,960 --> 00:20:16,160 under the safe harbor regimes 501 00:20:16,160 --> 00:20:19,780 are actually no different than others. 502 00:20:20,100 --> 00:20:22,200 So this is a bigger picture 503 00:20:22,200 --> 00:20:23,460 kind of finding with respect to the 504 00:20:23,460 --> 00:20:24,940 applicability and the effectiveness 505 00:20:24,940 --> 00:20:26,720 of those safe harbor regimes. 506 00:20:27,760 --> 00:20:29,300 And by the way 507 00:20:29,300 --> 00:20:30,260 we got to the news 508 00:20:30,260 --> 00:20:31,560 it was fun 509 00:20:31,560 --> 00:20:34,540 and we are happy to chat about it more. 510 00:20:35,340 --> 00:20:37,260 We do have some more findings 511 00:20:37,260 --> 00:20:38,800 with respect to something 512 00:20:39,960 --> 00:20:40,960 that we are calling mixed audience. 513 00:20:41,280 --> 00:20:43,340 So one of the problems is that 514 00:20:43,720 --> 00:20:44,700 apps like this 515 00:20:44,700 --> 00:20:46,660 are categorized 516 00:20:46,660 --> 00:20:48,480 under Google Play Store 517 00:20:48,480 --> 00:20:50,240 as mixed audience. 518 00:20:50,820 --> 00:20:53,020 Not primarily directed to children. 519 00:20:53,320 --> 00:20:54,700 So some developers 520 00:20:54,700 --> 00:20:56,080 after we were on the news 521 00:20:56,080 --> 00:20:57,560 they claimed like TinyWeb 522 00:20:57,560 --> 00:21:00,020 oh we are not really directed to children 523 00:21:00,020 --> 00:21:03,220 we see teens and adults 524 00:21:03,220 --> 00:21:04,500 using our services. 525 00:21:05,000 --> 00:21:06,080 And as you can see 526 00:21:06,080 --> 00:21:08,340 this is clearly not child directed 527 00:21:09,960 --> 00:21:11,960 and what about other examples? 528 00:21:12,380 --> 00:21:14,120 So overall we found that 529 00:21:14,120 --> 00:21:15,680 more than the majority 530 00:21:15,680 --> 00:21:16,700 of our cluster 531 00:21:16,700 --> 00:21:19,900 51% of the apps in our 532 00:21:19,900 --> 00:21:21,460 the most popular apps 533 00:21:21,460 --> 00:21:22,820 in our research are actually 534 00:21:22,820 --> 00:21:24,260 family friendly 535 00:21:24,260 --> 00:21:27,240 not primarily directed to children. 536 00:21:27,520 --> 00:21:29,380 And this includes this 537 00:21:29,960 --> 00:21:31,640 adult oriented 538 00:21:31,640 --> 00:21:33,720 app and this 539 00:21:33,720 --> 00:21:35,340 and what about 540 00:21:35,770 --> 00:21:36,140 this 541 00:21:36,140 --> 00:21:39,500 clearly not directed to children 542 00:21:39,960 --> 00:21:40,380 app. 543 00:21:40,780 --> 00:21:42,440 So there is also an abuse 544 00:21:42,440 --> 00:21:43,760 of the design for families 545 00:21:43,760 --> 00:21:45,660 mixed audience regime. 546 00:21:46,140 --> 00:21:48,160 And I want to close it 547 00:21:48,160 --> 00:21:50,120 with a bunch of recommendations 548 00:21:50,120 --> 00:21:51,540 and what we are suggesting. 549 00:21:51,640 --> 00:21:53,920 Just some findings from our research 550 00:21:53,920 --> 00:21:55,100 we have a full paper 551 00:21:55,100 --> 00:21:56,460 it was published in PETS 552 00:21:56,460 --> 00:21:58,140 it's online, it's accessible to everybody 553 00:21:58,140 --> 00:21:59,240 we have a blog post 554 00:21:59,240 --> 00:22:01,020 and actually all of the information 555 00:22:01,020 --> 00:22:03,180 is on our blog app sensors 556 00:22:03,180 --> 00:22:05,800 you can look whichever app that you want 557 00:22:09,960 --> 00:22:11,460 so what we are recommending is 558 00:22:11,460 --> 00:22:12,280 in this scenario 559 00:22:13,670 --> 00:22:14,840 don't be Dinesh 560 00:22:16,040 --> 00:22:17,840 developers use compliant 561 00:22:17,840 --> 00:22:19,080 SDKs 562 00:22:19,980 --> 00:22:22,040 COPPA is a big deal 563 00:22:22,040 --> 00:22:23,060 you don't want to have 564 00:22:23,890 --> 00:22:25,740 the FTC knocking at your door 565 00:22:25,740 --> 00:22:27,980 so read the 566 00:22:27,980 --> 00:22:29,100 terms of the SDK 567 00:22:29,960 --> 00:22:31,020 use the flags 568 00:22:33,710 --> 00:22:35,780 SDK providers come on 569 00:22:35,780 --> 00:22:37,140 enforce your terms of use 570 00:22:37,140 --> 00:22:38,600 that is not as hard 571 00:22:39,960 --> 00:22:41,080 platforms, Google 572 00:22:41,840 --> 00:22:43,360 Amazon, Apple 573 00:22:43,760 --> 00:22:45,720 you have a lot to do 574 00:22:45,720 --> 00:22:47,560 here, you have 575 00:22:47,560 --> 00:22:49,320 a role to play here 576 00:22:49,320 --> 00:22:51,680 enforce your own terms of use 577 00:22:51,680 --> 00:22:53,480 and I'm happy to say that we are actually 578 00:22:53,480 --> 00:22:55,500 talking with Google and trying to help 579 00:22:55,500 --> 00:22:56,540 as much as possible 580 00:22:56,540 --> 00:22:59,360 and users of course 581 00:22:59,360 --> 00:23:01,140 privacy awareness, parents 582 00:23:01,780 --> 00:23:03,060 go on app sensors 583 00:23:03,060 --> 00:23:04,860 look at what is being done 584 00:23:04,860 --> 00:23:07,160 and finally for you 585 00:23:07,160 --> 00:23:09,500 everybody here, we need more 586 00:23:09,960 --> 00:23:10,400 privacy auditors 587 00:23:10,400 --> 00:23:11,700 we need your help 588 00:23:11,700 --> 00:23:15,080 join the privacy auditing efforts 589 00:23:15,080 --> 00:23:16,800 this is one just cool research 590 00:23:16,800 --> 00:23:19,600 we would love to see more and more efforts 591 00:23:19,600 --> 00:23:22,040 into at scale dynamic analysis 592 00:23:22,040 --> 00:23:22,940 tools 593 00:23:22,940 --> 00:23:24,720 please help us 594 00:23:24,720 --> 00:23:26,080 help everybody else 595 00:23:26,080 --> 00:23:27,380 here are some links 596 00:23:27,380 --> 00:23:28,660 you can follow up with us 597 00:23:28,660 --> 00:23:32,240 let's open up the question 598 00:23:32,240 --> 00:23:33,660 but just a heads up 599 00:23:33,660 --> 00:23:35,200 if you do end up doing this 600 00:23:35,200 --> 00:23:37,700 you might get letters like we got 601 00:23:39,960 --> 00:23:40,780 don't get too excited 602 00:23:41,300 --> 00:23:42,160 that's part of the deal 603 00:23:42,660 --> 00:23:43,880 when you get a legal flat letter 604 00:23:43,880 --> 00:23:45,420 you know you made it as an academic 605 00:23:49,300 --> 00:23:49,580 ok 606 00:23:50,480 --> 00:23:51,620 let's open it up for questions