Welcome to DEF CON, everybody. It's finally here. We're finally doing it. We did not cancel it this year. I feel like maybe we should have. It's kind of hot, right? My name is Adware and this talk is the depths that marketers will plummet to. So I'm also doing this talk on behalf of crypto and privacy village. And crypto stands for cryptography, not crypto coin. Exactly. So my background is as community organizer. I help run an amazing community in Chicago called VerbSec. We are a monthly meetup. Seven monthly meetups in fact now in just the Chicagoland area. One in Galway. One starting out in Las Vegas. So if you're local, check it out. We have 1,300 people in our Discord and they are the people that have inspired me to speak. They are the people that have inspired me to grow in my careers and skill. We do not have any dues. We are people that show up to be there for the community and it is incredible. I really recommend everyone be involved in their local cybersecurity community. In my career, before my current role, I worked for a marketing firm. And while there at the largest digital marketing firm in North America, I saw lots of shit. They did, yes, they did lots of mergers and acquisitions. I got to see and review how all of the technology was made and is it secure and it's not secure. But this talk isn't actually about the security of marketing. It is about what they do with that data. So how does marketing work? Well, a lot of the statistics that they gather, a lot of the data that they need is from cookies. Right? We're all familiar with cookies. We all see the banners all the fucking time. Do you accept them? Do you not accept them? Well, maybe it doesn't really even matter because of GDPR and all these other incredible things. But I'll get to that in a second. So what is a cookie? Cookies are pretty much a string of encrypted text with a couple of flags on them. There are things called first party cookies. First party cookies are cookies that were issued by the site that you are on. Third party cookies are issued elsewhere and then the sites that you visit ingest metrics from those cookies. Yes, of course. Will do. 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. So once you have the cookies, does it actually matter? 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. So they decided to create something that they called Privacy Sandbox. That sounds nice, doesn't it? Privacy Sandbox? And while doing that, they were pushing Google Analytics 4 as well. So basically with Privacy Sandbox, they decided that they would eliminate all third party cookies. So yay, no more banners, it would be so simple, it would be so amazing. Privacy advocates were like, um, but first party cookies from you, Google, this sounds like monopolization. This doesn't actually help privacy in any form or fashion. So yeah, that's basically what that was. That was what privacy advocates said, then marketing firms were like, this is fucking bad. Most marketing firm revenue is generated through third party analytics. Where do they get those analytics that they're analyzing? Third party cookies. So all those secondary services they sell which make up 70% of the revenue were going to go away essentially. So with all of that going away, they were quite panicked. Then there's also other interests you might call them. 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, 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. So all of those other actors were doing all of that as well. So what did they do when all this metrics and all this data was going around and going to be deleted? They created a new technology that they call server to server. Server to server is essentially API connections directly into their partnered websites. 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. Because if it is a first party partnership, that means there's no third party data transfer, right? That's if you call the contract that thing, then it's definitely that thing . So they form these partnerships to then exempt themselves from third party data transfers within GDPR. Some amazing creativity right there. With these exemptions and all this data they are now ingesting, they are able to get significantly more information than they would before. Because Google, Facebook all acted as basically gatekeepers to all the data. And they were semi-responsible gatekeepers. 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. Not for any good purposes. Don't worry, it's not for any good purposes. They did that because that's a liability . 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. 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. Marketing firms using SQS are not very aware of everything that they're doing. 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. So they built it in a hurry and they're like, ooh, look at all this data we can get. 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. 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. Well, everyone on the same SSID probably has some form of relationship with that person. What is the type of relationship that they have? Is it a house that they're regularly at? Okay. Household relationships. Is it a workplace? Are they going there 9 to 5 on that SSID all that time? Well, that's probably everyone else are their coworkers. Do they go and go to a bowling alley once a month? Okay. That's probably their social group. 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. 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? That's how they correlate that. Yeah, it is so much fun. 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. And they're just, they're seeing monetization and that is what is pushing them further and further into this. 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. 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. We think that a regulator will most likely just say that we should stop doing that. And this is all of the revenue that we can generate in that time period. So definitely worth it to invest into. So that is just a handful of my massive concerns about that. 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, because a lot of marketing is around really, really quick turnarounds. And building these data lakes and tuning them requires a lot of effort. 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. 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. So there was slippage, though. Marketing firms were angry about it. They weren't able to do click-through tracking as well as they were before. So marketing firms were talking in the industry, they were talking at ad conferences about this just doesn't seem right by Google. What Google is doing seems monopolist. They were even starting to use that word, saying that Google was being greedy. Google reacted to that really, really poorly. 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? It is needed. Well, after delaying it in, they were going to implement it in January 2020. They delayed it until December of 2020. Then they delayed it again until June of 2021. 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. And they got rid of the entire idea, despite voicing so many concerns about it before. They just completely said, no, don't worry about it, don't worry about it, we've changed our mind, it's fine. 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. Who here has heard of Recaptcha? Fun fact, Recaptcha is owned by Google. 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. 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. Doesn't that sound fun? Yes, we all love to be tracked. We all love to be tracked about so many different things. These things are quite concerning because there are so many risks that are present with it. We have issues where last year alone Russia spent $14.9 billion they budgeted for in their annual budget. They put $14.9 billion in the budget for advertising. $1.8 billion was domestic, which means all of the rest of that was spent outside the country. I wonder where. On top of that, we had an election last year, 2024. It was not the funnest year. $1.9 billion last year was spent in advertising that no one can figure out where it went. It is dark money. $1.9 billion of advertising. Not like subtle bots and things like that. Just direct ad spend of legitimate ad places that you see. And this, I find this quite concerning. 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. They are harboring that in these data lakes. And they are correlating it. And what happens when they receive a warrant? They are going to turn it over because they don't care as long as they keep making revenue off of what they do. So you might all be thinking, as am I, this is not a very fun talk. So yes, I agree, this is not a very fun talk. But there are a couple things that we can do about it. So advocacy is legitimately a really amazing thing that we can do. 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. None of this would have happened if it was not for GDPR, right? If people are spending billions of dollars creating all these extra technologies, it's not because GDPR is useless. They had to spend a lot of money to keep doing the thing they were doing. So obviously it has an effect. But that is a first step. We need regulators to step in. We need them to tackle some broad language issues in the bills. We need them to say, okay, no, this is what this actually means. This is what that actually means. There are terms in the bills that are utilized for... information can be utilized if it is for legitimate interests. They meant to define legitimate interests as interests of the states, interests of the governments. It is necessary that we track data because we need to tell if there is an outbreak of a disease or something like that. Okay, that is a legitimate interest. 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. As such, we are exempt. I had a lot of thoughts when I read that. And that software company is exploding. My coworkers are really convinced that we really want to use that platform. 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. Again, EU, DPO, data protection officer, privacy officer. It is amazing to have a DPO that I can send things to and people will value his opinion. Why do they value his opinion? Isn't it interesting that GDPR uses revenue-based fines? I wonder if the reaction wouldn't have been so strong if it wasn't for all those revenue-based fines. 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. If you do live there, fucking awesome. Tell your legislators. Tell them anyway, because fuck them. 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. So, multi-account containers is a really interesting browser extension which essentially isolates all of your accounts. Isolating your accounts in unique browser profiles allows them to be segmented and makes it much harder for them to track. You can also use a VPN. While VPN metadata is not encrypted, VPNs are not a perfect solution. They can help anonymize your SSID. They can help change your geolocation and different items like that. You can also use a privacy-focused browser. I do not recommend Brave. Brave was founded by someone fired from Firefox for being homophobic. The first backer of Brave is Peter Thiel. If the founder of Palantir is funding your browser, that does not sound very private to me. Yes, it does. Among that, you can also isolate your IOT. I also strongly recommend using open source IOT. It is not 10 years ago. 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. Thank you, everybody. That is my talk.