1 00:00:00,000 --> 00:00:01,600 Welcome to DEF CON, everybody. 2 00:00:01,600 --> 00:00:02,780 It's finally here. 3 00:00:02,780 --> 00:00:04,360 We're finally doing it. 4 00:00:04,700 --> 00:00:06,980 We did not cancel it this year. 5 00:00:07,260 --> 00:00:08,400 I feel like maybe we should have. 6 00:00:08,400 --> 00:00:09,960 It's kind of hot, right? 7 00:00:12,040 --> 00:00:18,640 My name is Adware and this talk is the depths that marketers will plummet to. 8 00:00:19,240 --> 00:00:24,080 So I'm also doing this talk on behalf of crypto and privacy village. 9 00:00:24,080 --> 00:00:29,240 And crypto stands for cryptography, not crypto coin. 10 00:00:33,980 --> 00:00:35,360 Exactly. 11 00:00:35,740 --> 00:00:40,780 So my background is as community organizer. 12 00:00:40,780 --> 00:00:45,080 I help run an amazing community in Chicago called VerbSec. 13 00:00:45,080 --> 00:00:47,560 We are a monthly meetup. 14 00:00:47,560 --> 00:00:51,880 Seven monthly meetups in fact now in just the Chicagoland area. 15 00:00:51,880 --> 00:00:52,780 One in Galway. 16 00:00:52,780 --> 00:00:54,160 One starting out in Las Vegas. 17 00:00:54,160 --> 00:00:55,860 So if you're local, check it out. 18 00:00:56,020 --> 00:01:01,900 We have 1,300 people in our Discord and they are the people that have inspired me to speak. 19 00:01:01,900 --> 00:01:06,220 They are the people that have inspired me to grow in my careers and skill. 20 00:01:06,220 --> 00:01:07,540 We do not have any dues. 21 00:01:07,540 --> 00:01:12,680 We are people that show up to be there for the community and it is incredible. 22 00:01:12,680 --> 00:01:17,420 I really recommend everyone be involved in their local cybersecurity community. 23 00:01:18,620 --> 00:01:25,040 In my career, before my current role, I worked for a marketing firm. 24 00:01:25,040 --> 00:01:32,820 And while there at the largest digital marketing firm in North America, I saw lots of shit. 25 00:01:32,820 --> 00:01:37,340 They did, yes, they did lots of mergers and acquisitions. 26 00:01:37,340 --> 00:01:44,880 I got to see and review how all of the technology was made and is it secure and it's not secure. 27 00:01:45,700 --> 00:01:50,580 But this talk isn't actually about the security of marketing. 28 00:01:50,580 --> 00:01:53,640 It is about what they do with that data. 29 00:01:53,700 --> 00:01:56,180 So how does marketing work? 30 00:01:56,180 --> 00:02:02,440 Well, a lot of the statistics that they gather, a lot of the data that they need is from cookies. 31 00:02:02,440 --> 00:02:02,840 Right? 32 00:02:02,840 --> 00:02:04,060 We're all familiar with cookies. 33 00:02:04,060 --> 00:02:07,020 We all see the banners all the fucking time. 34 00:02:07,020 --> 00:02:10,980 Do you accept them? 35 00:02:10,980 --> 00:02:12,160 Do you not accept them? 36 00:02:12,160 --> 00:02:19,940 Well, maybe it doesn't really even matter because of GDPR and all these other incredible things. 37 00:02:19,940 --> 00:02:22,000 But I'll get to that in a second. 38 00:02:22,000 --> 00:02:23,400 So what is a cookie? 39 00:02:23,400 --> 00:02:29,020 Cookies are pretty much a string of encrypted text with a couple of flags on them. 40 00:02:29,140 --> 00:02:31,740 There are things called first party cookies. 41 00:02:31,740 --> 00:02:37,180 First party cookies are cookies that were issued by the site that you are on. 42 00:02:37,180 --> 00:02:44,280 Third party cookies are issued elsewhere and then the sites that you visit ingest metrics from those cookies. 43 00:02:46,770 --> 00:02:48,830 Yes, of course. 44 00:02:48,830 --> 00:02:49,710 Will do. 45 00:02:50,590 --> 00:03:00,330 So third party cookies not issued by the site you are on but there's an ingester in the website and that is how they then track all of that data. 46 00:03:00,630 --> 00:03:05,250 So once you have the cookies, does it actually matter? 47 00:03:05,250 --> 00:03:15,490 Because Google tried to kill cookies a couple of years ago since they were facing so much pressure from Apple's privacy enhancement as well as GDPR. 48 00:03:15,490 --> 00:03:21,170 So they decided to create something that they called Privacy Sandbox. 49 00:03:21,170 --> 00:03:22,770 That sounds nice, doesn't it? 50 00:03:22,770 --> 00:03:24,730 Privacy Sandbox? 51 00:03:25,190 --> 00:03:29,970 And while doing that, they were pushing Google Analytics 4 as well. 52 00:03:29,970 --> 00:03:38,150 So basically with Privacy Sandbox, they decided that they would eliminate all third party cookies. 53 00:03:38,230 --> 00:03:42,790 So yay, no more banners, it would be so simple, it would be so amazing. 54 00:03:43,330 --> 00:03:51,510 Privacy advocates were like, um, but first party cookies from you, Google, this sounds like monopolization. 55 00:03:51,510 --> 00:03:56,210 This doesn't actually help privacy in any form or fashion. 56 00:03:57,370 --> 00:04:02,150 So yeah, that's basically what that was. 57 00:04:02,150 --> 00:04:11,850 That was what privacy advocates said, then marketing firms were like, this is fucking bad. 58 00:04:11,850 --> 00:04:16,490 Most marketing firm revenue is generated through third party analytics. 59 00:04:16,490 --> 00:04:19,850 Where do they get those analytics that they're analyzing? 60 00:04:20,230 --> 00:04:22,050 Third party cookies. 61 00:04:22,050 --> 00:04:28,870 So all those secondary services they sell which make up 70% of the revenue were going to go away essentially. 62 00:04:32,180 --> 00:04:35,520 So with all of that going away, they were quite panicked. 63 00:04:35,520 --> 00:04:39,540 Then there's also other interests you might call them. 64 00:04:39,540 --> 00:05:09,600 Things like nation state actors or think tanks, super packs, they utilize third party analytics and third party cookies to track information about how information is spread, how people react to information, when information, what words and phrasings and ideas do people latch onto and then they utilize cookies to track how fast it goes, 65 00:05:09,600 --> 00:05:18,560 when it slows, when they need to change and update their analytics or the phrases that they're using in the misinformation that they're spreading. 66 00:05:20,000 --> 00:05:25,800 So all of those other actors were doing all of that as well. 67 00:05:26,820 --> 00:05:35,280 So what did they do when all this metrics and all this data was going around and going to be deleted? 68 00:05:35,320 --> 00:05:39,720 They created a new technology that they call server to server. 69 00:05:39,720 --> 00:05:47,420 Server to server is essentially API connections directly into their partnered websites. 70 00:05:47,620 --> 00:06:18,080 So if you were to be, say, Etsy and you want to ingest all of the data to your marketing firm, instead of using cookies to do that and send it to a third party that would get a share of the revenue and then give that to your marketing firm, they are just using their APIs to directly plug into the marketing firm's data lakes and analytics engines and everything and they're forming what they have decided to call a first party partnership. 71 00:06:18,220 --> 00:06:24,580 Because if it is a first party partnership, that means there's no third party data transfer, right? 72 00:06:24,580 --> 00:06:28,580 That's if you call the contract that thing, then it's definitely that thing . 73 00:06:28,660 --> 00:06:36,740 So they form these partnerships to then exempt themselves from third party data transfers within GDPR. 74 00:06:38,220 --> 00:06:41,280 Some amazing creativity right there. 75 00:06:50,380 --> 00:07:00,640 With these exemptions and all this data they are now ingesting, they are able to get significantly more information than they would before. 76 00:07:00,640 --> 00:07:09,200 Because Google, Facebook all acted as basically gatekeepers to all the data. 77 00:07:09,220 --> 00:07:14,020 And they were semi-responsible gatekeepers. 78 00:07:14,560 --> 00:07:25,860 They did some anonymization, they did groupings of demographics to create groups of people that you could target, but they didn't want to give individual user information out. 79 00:07:26,420 --> 00:07:28,380 Not for any good purposes. 80 00:07:28,420 --> 00:07:30,900 Don't worry, it's not for any good purposes. 81 00:07:30,900 --> 00:07:33,240 They did that because that's a liability . 82 00:07:33,560 --> 00:07:42,340 And they're like, why the fuck would we, one, give you the data that we can make money off of, we're just going to give you demographics and then we'll place the ads for you. 83 00:07:42,340 --> 00:07:51,800 But two, also, they're like, maybe we shouldn't store all that information because that is a massive liability if it were to leak. 84 00:07:52,160 --> 00:07:59,400 Marketing firms using SQS are not very aware of everything that they're doing. 85 00:07:59,400 --> 00:08:10,760 This is technology that was built in quite a hurry because they were only given about a year's long deadline before Privacy Sandbox was going to be implemented. 86 00:08:10,760 --> 00:08:14,500 So they built it in a hurry and they're like, ooh, look at all this data we can get. 87 00:08:14,500 --> 00:08:30,920 We can form all these partnerships with just about every social media company, shopping company, streaming service, Netflix, Google Plus, Hulu, they're all included in sharing of all these datas of all the people. 88 00:08:31,260 --> 00:08:47,760 And some of the data that they're ingesting is fingerprinting devices and creating, using fingerprinting of devices, using SSID tracking, using to see if how many SSIDs does this phone go on to. 89 00:08:47,760 --> 00:08:51,980 Well, everyone on the same SSID probably has some form of relationship with that person. 90 00:08:52,260 --> 00:08:54,360 What is the type of relationship that they have? 91 00:08:54,360 --> 00:08:56,780 Is it a house that they're regularly at? 92 00:08:56,780 --> 00:08:57,440 Okay. 93 00:08:57,440 --> 00:08:58,980 Household relationships. 94 00:08:59,020 --> 00:09:00,400 Is it a workplace? 95 00:09:00,540 --> 00:09:04,940 Are they going there 9 to 5 on that SSID all that time? 96 00:09:04,940 --> 00:09:07,960 Well, that's probably everyone else are their coworkers. 97 00:09:08,080 --> 00:09:11,620 Do they go and go to a bowling alley once a month? 98 00:09:11,620 --> 00:09:12,000 Okay. 99 00:09:12,000 --> 00:09:13,820 That's probably their social group. 100 00:09:13,820 --> 00:09:25,040 They're creating maps of all of our personal networks, like our friends, our family, and then they're using that information to influence people. 101 00:09:25,040 --> 00:09:36,160 Have you ever noticed how you interact with someone and then you start seeing ads for products related to something that person is interested in? 102 00:09:36,160 --> 00:09:38,940 That's how they correlate that. 103 00:09:43,230 --> 00:09:46,010 Yeah, it is so much fun. 104 00:09:48,130 --> 00:10:04,350 Then all that information is being pumped into these massive data lakes with no security, essentially, or minimal amounts of security because they're doing it quite on the fly and they're creating really, really vast arrays of these connections. 105 00:10:04,910 --> 00:10:11,250 And they're just, they're seeing monetization and that is what is pushing them further and further into this. 106 00:10:11,670 --> 00:10:26,270 So they do all that, they take all those steps, and they continue building out these systems and as I was working there, as I was learning what they are doing, it found it fairly disturbing. 107 00:10:26,270 --> 00:10:37,730 I talked to internal legal teams about it and they're like, no, I think we're good and even if we aren't, well, we don't think we're going to get fined for it. 108 00:10:37,730 --> 00:10:42,030 We think that a regulator will most likely just say that we should stop doing that. 109 00:10:42,030 --> 00:10:45,570 And this is all of the revenue that we can generate in that time period. 110 00:10:45,570 --> 00:10:48,270 So definitely worth it to invest into. 111 00:10:53,660 --> 00:11:02,700 So that is just a handful of my massive concerns about that. 112 00:11:02,700 --> 00:11:22,960 But with all of these new systems that they're building, unfortunately, Google, after getting lots of pushback, because while SQS does have all these things, they were still slipping and coordinating some statistics and doing tracking of user behavior, 113 00:11:22,960 --> 00:11:28,540 because a lot of marketing is around really, really quick turnarounds. 114 00:11:28,540 --> 00:11:33,020 And building these data lakes and tuning them requires a lot of effort. 115 00:11:33,020 --> 00:11:45,020 I actually saw a thing on a website talking about SQS, promoting SQS, calling the amount of effort and tuning needed, the finickiness of it, an advantage. 116 00:11:45,020 --> 00:11:54,020 Because marketing firms could then just bill that back to the client and say, oh, to keep that tuning precise, we need continual hours to work on this. 117 00:11:54,480 --> 00:11:56,260 So there was slippage, though. 118 00:11:56,260 --> 00:11:59,000 Marketing firms were angry about it. 119 00:11:59,000 --> 00:12:03,740 They weren't able to do click-through tracking as well as they were before. 120 00:12:03,740 --> 00:12:11,740 So marketing firms were talking in the industry, they were talking at ad conferences about this just doesn't seem right by Google. 121 00:12:11,740 --> 00:12:13,900 What Google is doing seems monopolist. 122 00:12:13,900 --> 00:12:18,500 They were even starting to use that word, saying that Google was being greedy. 123 00:12:19,060 --> 00:12:23,240 Google reacted to that really, really poorly. 124 00:12:23,540 --> 00:12:41,220 Google took out ads in ad page and industry magazines, calling marketing firms selfish, calling them anti-privacy, saying that, oh, they just, they want to stop all of this, they want to do this, they're so selfish, why can't marketers get over themselves and do this for the good of humanity? 125 00:12:41,220 --> 00:12:42,340 It is needed. 126 00:12:42,340 --> 00:12:48,400 Well, after delaying it in, they were going to implement it in January 2020. 127 00:12:48,400 --> 00:12:52,560 They delayed it until December of 2020. 128 00:12:52,560 --> 00:12:57,160 Then they delayed it again until June of 2021. 129 00:12:57,160 --> 00:13:13,700 And they kept doing that over and over every six months until in January of 2024 they announced, actually, third-party cookies are perfectly fine, there's no issue with third-party cookies, they're super safe and private, so we're not going to kill them at all. 130 00:13:13,780 --> 00:13:20,360 And they got rid of the entire idea, despite voicing so many concerns about it before. 131 00:13:20,780 --> 00:13:25,800 They just completely said, no, don't worry about it, don't worry about it, we've changed our mind, it's fine. 132 00:13:26,300 --> 00:13:42,280 So third-party cookies, still very much a thing, Google no longer trying to kill them, and now Google is even creating partnerships with marketing firms to utilize both third-party cookies and S2S in combination. 133 00:13:42,340 --> 00:13:44,920 Who here has heard of Recaptcha? 134 00:13:46,660 --> 00:13:50,860 Fun fact, Recaptcha is owned by Google. 135 00:13:52,260 --> 00:14:05,500 Something that I recently learned about from a friend in the ad industry is Google is running a couple of POCs at the moment for customers where they have integrated S2S into Recaptcha. 136 00:14:05,840 --> 00:14:16,900 So they can utilize it, any website utilizing Recaptcha will be able to send back all these statistics about every person using the website to marketing firms and to Google. 137 00:14:17,120 --> 00:14:19,220 Doesn't that sound fun? 138 00:14:23,660 --> 00:14:26,940 Yes, we all love to be tracked. 139 00:14:26,940 --> 00:14:30,880 We all love to be tracked about so many different things. 140 00:14:31,720 --> 00:14:40,560 These things are quite concerning because there are so many risks that are present with it. 141 00:14:40,560 --> 00:14:51,460 We have issues where last year alone Russia spent $14.9 billion they budgeted for in their annual budget. 142 00:14:51,460 --> 00:14:56,200 They put $14.9 billion in the budget for advertising. 143 00:14:56,200 --> 00:15:03,440 $1.8 billion was domestic, which means all of the rest of that was spent outside the country. 144 00:15:03,440 --> 00:15:05,420 I wonder where. 145 00:15:07,060 --> 00:15:12,640 On top of that, we had an election last year, 2024. 146 00:15:13,100 --> 00:15:15,860 It was not the funnest year. 147 00:15:19,240 --> 00:15:31,040 $1.9 billion last year was spent in advertising that no one can figure out where it went. 148 00:15:31,040 --> 00:15:32,340 It is dark money. 149 00:15:32,340 --> 00:15:34,860 $1.9 billion of advertising. 150 00:15:34,860 --> 00:15:38,440 Not like subtle bots and things like that. 151 00:15:38,440 --> 00:15:44,260 Just direct ad spend of legitimate ad places that you see. 152 00:15:46,930 --> 00:15:50,130 And this, I find this quite concerning. 153 00:15:50,130 --> 00:16:06,570 I also find it quite concerning that they are harboring such large quantities of this data, including searches that maybe talk about medical services that you are wanting to seek in a place that is not where you live because you can't seek them where you live. 154 00:16:07,270 --> 00:16:10,170 They are harboring that in these data lakes. 155 00:16:10,170 --> 00:16:11,510 And they are correlating it. 156 00:16:11,510 --> 00:16:14,070 And what happens when they receive a warrant? 157 00:16:14,230 --> 00:16:22,330 They are going to turn it over because they don't care as long as they keep making revenue off of what they do. 158 00:16:24,150 --> 00:16:31,430 So you might all be thinking, as am I, this is not a very fun talk. 159 00:16:33,800 --> 00:16:37,240 So yes, I agree, this is not a very fun talk. 160 00:16:37,240 --> 00:16:40,360 But there are a couple things that we can do about it. 161 00:16:40,420 --> 00:16:46,900 So advocacy is legitimately a really amazing thing that we can do. 162 00:16:46,900 --> 00:16:59,640 I'm going to give an hour long version of this talk in Stockholm next month to SECTI and I really want to push the message that GDPR is effective. 163 00:16:59,680 --> 00:17:06,240 None of this would have happened if it was not for GDPR, right? 164 00:17:06,680 --> 00:17:15,260 If people are spending billions of dollars creating all these extra technologies, it's not because GDPR is useless. 165 00:17:15,500 --> 00:17:19,200 They had to spend a lot of money to keep doing the thing they were doing. 166 00:17:19,200 --> 00:17:21,180 So obviously it has an effect. 167 00:17:21,240 --> 00:17:22,900 But that is a first step. 168 00:17:22,900 --> 00:17:24,880 We need regulators to step in. 169 00:17:24,880 --> 00:17:29,380 We need them to tackle some broad language issues in the bills. 170 00:17:29,380 --> 00:17:32,780 We need them to say, okay, no, this is what this actually means. 171 00:17:32,820 --> 00:17:35,280 This is what that actually means. 172 00:17:35,300 --> 00:17:45,180 There are terms in the bills that are utilized for... information can be utilized if it is for legitimate interests. 173 00:17:45,580 --> 00:17:52,100 They meant to define legitimate interests as interests of the states, interests of the governments. 174 00:17:52,100 --> 00:17:58,000 It is necessary that we track data because we need to tell if there is an outbreak of a disease or something like that. 175 00:17:58,000 --> 00:18:00,600 Okay, that is a legitimate interest. 176 00:18:01,360 --> 00:18:16,620 I, last week, I was reading through some privacy documentation for some software I was reviewing and in their privacy documentation, they defined legitimate interests as the legitimate interests of my business to continue generating revenue. 177 00:18:16,620 --> 00:18:18,900 As such, we are exempt. 178 00:18:24,580 --> 00:18:29,240 I had a lot of thoughts when I read that. 179 00:18:31,080 --> 00:18:34,440 And that software company is exploding. 180 00:18:34,440 --> 00:18:38,400 My coworkers are really convinced that we really want to use that platform. 181 00:18:38,400 --> 00:18:45,640 And I said, well, we're based in the EU, so I'm going to send that to our DPO and he can tell you now. 182 00:18:46,680 --> 00:18:52,820 Again, EU, DPO, data protection officer, privacy officer. 183 00:18:53,120 --> 00:18:58,780 It is amazing to have a DPO that I can send things to and people will value his opinion. 184 00:18:58,780 --> 00:19:00,740 Why do they value his opinion? 185 00:19:00,740 --> 00:19:07,320 Isn't it interesting that GDPR uses revenue-based fines? 186 00:19:07,760 --> 00:19:13,520 I wonder if the reaction wouldn't have been so strong if it wasn't for all those revenue-based fines. 187 00:19:14,200 --> 00:19:23,940 So, after that, let's get to what we can do as individuals other than telling legislatures in countries that we don't live in. 188 00:19:24,440 --> 00:19:26,960 If you do live there, fucking awesome. 189 00:19:27,740 --> 00:19:29,320 Tell your legislators. 190 00:19:29,320 --> 00:19:31,200 Tell them anyway, because fuck them. 191 00:19:32,040 --> 00:19:39,280 But if you live here or if you just want to protect yourself in general, there are a lot of things that you can do. 192 00:19:39,320 --> 00:19:49,040 So, multi-account containers is a really interesting browser extension which essentially isolates all of your accounts. 193 00:19:49,040 --> 00:19:57,040 Isolating your accounts in unique browser profiles allows them to be segmented and makes it much harder for them to track. 194 00:19:57,040 --> 00:19:58,820 You can also use a VPN. 195 00:19:58,820 --> 00:20:04,240 While VPN metadata is not encrypted, VPNs are not a perfect solution. 196 00:20:04,240 --> 00:20:06,800 They can help anonymize your SSID. 197 00:20:06,800 --> 00:20:11,480 They can help change your geolocation and different items like that. 198 00:20:11,480 --> 00:20:15,120 You can also use a privacy-focused browser. 199 00:20:15,120 --> 00:20:16,820 I do not recommend Brave. 200 00:20:16,820 --> 00:20:21,980 Brave was founded by someone fired from Firefox for being homophobic. 201 00:20:22,060 --> 00:20:26,160 The first backer of Brave is Peter Thiel. 202 00:20:26,160 --> 00:20:32,400 If the founder of Palantir is funding your browser, that does not sound very private to me. 203 00:20:36,650 --> 00:20:39,750 Yes, it does. 204 00:20:40,150 --> 00:20:42,950 Among that, you can also isolate your IOT. 205 00:20:42,950 --> 00:20:47,870 I also strongly recommend using open source IOT. 206 00:20:47,870 --> 00:20:49,370 It is not 10 years ago. 207 00:20:49,370 --> 00:20:59,250 There is fantastic open source IOT that you can learn about and you can probably learn quite a bit about it here at DEF CON. 208 00:21:00,330 --> 00:21:01,570 Thank you, everybody. 209 00:21:01,570 --> 00:21:02,610 That is my talk.