1 00:00:00,000 --> 00:00:03,380 Alright, are we audible at the back? 2 00:00:03,380 --> 00:00:05,160 Is everyone able to hear me out? 3 00:00:05,960 --> 00:00:13,460 Okay, so we've hit a little roadblock with the speakers that DEF CON was supposed to provide, but they haven't provided the speakers. 4 00:00:13,460 --> 00:00:18,060 So we've got our own speakers and we've tried to run the show, keep the show continued. 5 00:00:18,220 --> 00:00:21,340 And, yep, let's hope the speakers come soon from DEF CON. 6 00:00:23,780 --> 00:00:28,740 So, we had an amazing talk, the keynote talk from Muslim, which was amazing. 7 00:00:28,740 --> 00:00:34,220 Now, up next, we have another talk that is Discord OSINT. 8 00:00:34,380 --> 00:00:39,680 An Empathetic Banana and a Data Scapper Walk into a Search Bar. 9 00:00:39,740 --> 00:00:43,440 This talk is going to be given by Zak Malinach. 10 00:00:43,620 --> 00:00:50,140 Zak is a PSU alum, works within Offensive Security and he holds various certifications. 11 00:00:50,180 --> 00:00:54,860 And in his talk, he's going to talk about Open Source Intelligence in Discord. 12 00:00:54,860 --> 00:01:06,060 And we can go about saying what could go wrong and how Open Source can help in getting a specific vulnerability out. 13 00:01:06,060 --> 00:01:12,820 He'll go and cover the capabilities of OPSEC failures from some of the data scrappers in the past year. 14 00:01:12,820 --> 00:01:16,600 And most importantly, overprotections at the user and the server level. 15 00:01:16,660 --> 00:01:20,180 So please welcome Zak on the stage. 16 00:01:54,300 --> 00:01:58,660 Hello everyone, thanks for coming to my talk on Discord OSINT. 17 00:02:00,500 --> 00:02:03,220 So, as just said, my name is Zak. 18 00:02:03,220 --> 00:02:05,420 I go by UberZakAttackOnline. 19 00:02:05,680 --> 00:02:09,460 I'm a Penn State alum and I work in Offensive Security. 20 00:02:13,060 --> 00:02:16,260 So, general overview of the talk. 21 00:02:16,260 --> 00:02:18,080 I'm going to give a preface. 22 00:02:18,080 --> 00:02:21,520 A general overview of OSINT and Discord. 23 00:02:21,540 --> 00:02:24,940 I'll be going over some case studies. 24 00:02:25,120 --> 00:02:28,000 And then real-world examples with lessons learned. 25 00:02:28,000 --> 00:02:31,680 And then at the very end, going over protections that everyone can take. 26 00:02:31,680 --> 00:02:33,380 And then some key takeaways. 27 00:02:34,720 --> 00:02:43,440 So to begin, in my opinion, Discord is underutilized in OSINT and it has potential. 28 00:02:43,440 --> 00:02:49,940 However, the only downside is that significant investment is needed to do it effectively. 29 00:02:49,940 --> 00:02:52,200 And there's a lot of consequences involved. 30 00:02:52,540 --> 00:02:57,340 The latter half, this won't be clear until later on in the presentation. 31 00:02:58,580 --> 00:03:00,580 So, overview. 32 00:03:00,600 --> 00:03:12,020 When it comes to using OSINT on people of interest, you can search Discord for personal info, interests and their occupations, accounts tied to their real name. 33 00:03:12,760 --> 00:03:17,780 Where they could possibly live as well, and then information that might be used against them. 34 00:03:19,580 --> 00:03:21,380 So, current methods. 35 00:03:21,380 --> 00:03:28,040 This was pretty much the first article that came out on the subject on Discord OSINT from OSINT Curious. 36 00:03:28,680 --> 00:03:35,380 The main overview of the article kind of showcased ways that you could search for Discord servers. 37 00:03:35,540 --> 00:03:40,960 So, for example, in the picture, searching for servers through Google Search. 38 00:03:40,960 --> 00:03:45,200 There's also the additional explore feature within Discord. 39 00:03:45,200 --> 00:03:51,260 And then there's a lot of third-party websites like Discord Bee and Discord. 40 00:03:52,320 --> 00:03:56,500 And then it kind of highlighted within the article finding users of importance. 41 00:03:57,240 --> 00:04:00,840 Such as the owners, administrators and moderators. 42 00:04:02,160 --> 00:04:08,320 So, some of the methods that I want to focus on will be chat history and the search function. 43 00:04:08,320 --> 00:04:11,920 Linked accounts and then server nicknames. 44 00:04:11,920 --> 00:04:15,200 And one that's pretty important is mutual servers. 45 00:04:16,440 --> 00:04:20,540 So, the first one, using the Discord search function. 46 00:04:20,540 --> 00:04:23,280 This is very similar to Google Dorking. 47 00:04:23,280 --> 00:04:25,180 It has operators. 48 00:04:25,800 --> 00:04:29,440 It can narrow down your searches really well. 49 00:04:29,720 --> 00:04:33,120 An example here is searching for a specific username. 50 00:04:33,340 --> 00:04:37,820 And looking for a specific link in a certain channel, as shown. 51 00:04:39,920 --> 00:04:42,660 So, a review of these operators. 52 00:04:42,660 --> 00:04:45,320 The most important ones, I would say, are from. 53 00:04:45,340 --> 00:04:48,200 So, you can narrow down which user you're looking for. 54 00:04:48,580 --> 00:04:54,120 Has, to look for any important information regarding links, files, stuff like that. 55 00:04:54,220 --> 00:05:00,500 And in, in case the server that you're looking in has a ton of channels and you need to narrow down the search further. 56 00:05:01,660 --> 00:05:03,820 There's other ones like mentions. 57 00:05:04,860 --> 00:05:08,220 Before and during and after, like date specific. 58 00:05:08,220 --> 00:05:11,480 If you're trying to look through a time window and then pinned. 59 00:05:12,860 --> 00:05:15,740 And with these searches as well, you can use keywords. 60 00:05:16,080 --> 00:05:21,260 So, for example, you could look for password and every instance of password will show up. 61 00:05:21,560 --> 00:05:25,780 And there's the chance that you might get an Easter egg, such as empathy banana here. 62 00:05:27,800 --> 00:05:32,840 So, notable examples that I found looking through and researching for this. 63 00:05:33,820 --> 00:05:37,920 First one was a picture that someone posted from their graduation. 64 00:05:38,900 --> 00:05:44,220 It was their full face and also the name of the university that they attended to. 65 00:05:45,700 --> 00:05:52,960 On the right here, looking for, searching for a specific user and just seeing the results. 66 00:05:52,960 --> 00:05:56,620 There's over 10,000 instances that the person messaged. 67 00:05:56,620 --> 00:06:02,120 So , that's where using operators would definitely help on narrowing down what you're looking for. 68 00:06:03,080 --> 00:06:12,060 And the message below, that's in reference to someone posting a picture of their desk setup, but left their company badge in the picture. 69 00:06:12,320 --> 00:06:13,920 So, it wasn't good. 70 00:06:15,940 --> 00:06:19,180 So, the second one I want to focus on are linked accounts. 71 00:06:20,360 --> 00:06:27,220 Essentially, it just ties external accounts and displays them in your Discord profile. 72 00:06:27,660 --> 00:06:29,760 And this could be extremely useful. 73 00:06:29,760 --> 00:06:32,860 So, for example, here with this person. 74 00:06:33,440 --> 00:06:38,580 We pretty much have three different online handles that we can look through. 75 00:06:38,680 --> 00:06:43,420 And then real names tied to their GitHub and Spotify account. 76 00:06:44,380 --> 00:06:49,340 So, we can see their original username tied to their Discord handle. 77 00:06:49,340 --> 00:06:51,880 That's also tied to their Instagram. 78 00:06:52,400 --> 00:06:58,540 They have a second username for like different gaming accounts and then a third one for PlayStation and Epic as well. 79 00:06:58,540 --> 00:07:03,420 Also note, going forward, some of these pictures are the old UI. 80 00:07:04,480 --> 00:07:10,700 Try to get new screenshots with the new one, but I decide the old one looks better within the slides. 81 00:07:12,520 --> 00:07:15,500 So, the next one I want to focus on are server nicknames. 82 00:07:16,160 --> 00:07:21,000 This is kind of similar to linked accounts, but it's not as like direct. 83 00:07:21,280 --> 00:07:26,780 You have to kind of dig through and kind of understand what might be tied to that. 84 00:07:26,780 --> 00:07:30,300 So, common use case here is gaming servers. 85 00:07:30,480 --> 00:07:35,620 So, let's say you have a Discord account, but you have a different username on like Xbox or PlayStation. 86 00:07:36,180 --> 00:07:42,140 You would join a server tied to PlayStation or Xbox and then change your nickname so it's a lot easier for people to add you. 87 00:07:43,380 --> 00:07:53,440 However, there's also cases where you can find someone's real name as well as their server nickname within the mutual service tab. 88 00:07:56,040 --> 00:08:00,240 Which brings me to a quick lesson that I want to share on student hubs. 89 00:08:00,540 --> 00:08:10,500 This is kind of a feature that not a lot of people know about, but essentially it allows university students to connect with each other through servers tied to their university. 90 00:08:12,000 --> 00:08:15,820 Initial rollouts for this feature were in fall of 2021. 91 00:08:16,340 --> 00:08:22,400 I personally added my own cybersecurity club to it, so I've had a lot of experience with it. 92 00:08:23,260 --> 00:08:28,420 For those unfamiliar, this is a general overview of what it looks like. 93 00:08:28,520 --> 00:08:36,040 This is specific to Penn State, so as you can see, near the top it has the newest servers added to the student hub. 94 00:08:36,440 --> 00:08:44,740 These are mainly location-based or super niche communities, such as branch campuses and smaller clubs. 95 00:08:45,480 --> 00:08:58,860 On the very right-hand side, there's a lot of personal names being used, like people's full names being used, since they didn't realize that other people would see it if they're in the student hub. 96 00:09:00,140 --> 00:09:04,380 Below, with all servers, that's pretty much the most populated ones. 97 00:09:05,000 --> 00:09:11,380 A note here is that the top three here, they have no Penn State affiliation. 98 00:09:12,800 --> 00:09:18,600 The only way that you could add a server to a student hub is if you have an EDU email. 99 00:09:19,760 --> 00:09:27,600 In this case, one of the admins or mods is either a Penn State student or a faculty member, and I added these servers. 100 00:09:30,750 --> 00:09:37,910 The important thing is that with the student hub, this allowed me to have a link view with the mutual servers. 101 00:09:37,910 --> 00:09:44,530 Since I could join the student hub, I could pick servers based on that community, such as Penn State. 102 00:09:46,350 --> 00:09:52,790 And once I joined, I could go through and look through different things like class subject, clubs, stuff like that. 103 00:09:54,550 --> 00:09:57,710 So this spawned an idea of what if. 104 00:09:59,030 --> 00:10:04,530 What if I replaced what I saw in student hubs with cybersecurity at large? 105 00:10:06,900 --> 00:10:10,060 So, there's obvious differences here. 106 00:10:10,460 --> 00:10:16,200 So, for example, with student hubs, you have class majors, clubs, social hangouts. 107 00:10:16,780 --> 00:10:20,220 And then with cybersecurity, you have specific fields and subjects. 108 00:10:20,460 --> 00:10:25,120 You have certain platforms and then servers owned by celebs and companies. 109 00:10:25,260 --> 00:10:32,480 What stays the same is looking for key personalities, such as moderators, very active people. 110 00:10:32,820 --> 00:10:34,900 Looking for the goals of the server. 111 00:10:34,900 --> 00:10:39,000 And what its target audience and community is. 112 00:10:40,980 --> 00:10:46,840 So, if we wanted to do this, initially it might look like this. 113 00:10:46,840 --> 00:10:50,800 So, obvious example of a hacking server to join is Defcon. 114 00:10:53,340 --> 00:10:59,580 But once you go through everything, then you kind of collect a pool of all these different cybersecurity servers. 115 00:11:02,220 --> 00:11:07,800 And once you join these, it's important to analyze each server that you're in. 116 00:11:07,820 --> 00:11:08,940 Who owns it? 117 00:11:09,040 --> 00:11:10,540 Why was it made? 118 00:11:10,980 --> 00:11:13,920 What the goals are, like I previously said. 119 00:11:16,540 --> 00:11:19,720 To keep it simple, it's pretty much the five W's. 120 00:11:20,820 --> 00:11:24,740 So, this is what it looks like in action with two case studies. 121 00:11:25,700 --> 00:11:27,880 So, case study number one. 122 00:11:28,440 --> 00:11:34,760 There's about seven mutual servers, but there's a few that have a common theme between them. 123 00:11:36,060 --> 00:11:39,740 The ones that I picked up were CyberWalks Academy. 124 00:11:40,440 --> 00:11:46,980 Which is mostly geared towards like beginners interested in SOC and cloud engineering and security. 125 00:11:47,360 --> 00:11:50,460 And this is assumed to be beginners and intermediates. 126 00:11:50,640 --> 00:11:54,840 Then we have Security Blue Team and Blue Team Labs Online. 127 00:11:55,320 --> 00:12:00,160 This is pretty much hacked box, but more like defensive stuff. 128 00:12:00,560 --> 00:12:03,760 This is also assumed to be beginners and intermediates. 129 00:12:04,760 --> 00:12:10,020 Then with TrackMe and HackTheBox, they're very large training platforms. 130 00:12:10,160 --> 00:12:14,780 The people that use them can range from beginners all the way to advanced professionals. 131 00:12:17,360 --> 00:12:22,920 And looking at it all together, there's a heavy emphasis on training. 132 00:12:22,920 --> 00:12:28,820 That's generally aimed towards beginners and intermediates with a heavy bias with defensive security. 133 00:12:29,480 --> 00:12:34,740 And at the specific person of interest, they're most likely a beginner and intermediate. 134 00:12:34,760 --> 00:12:38,560 And they're most likely interested in defensive security and certifications. 135 00:12:39,560 --> 00:12:41,580 So case study number two. 136 00:12:41,580 --> 00:12:43,160 Anyone have any guesses? 137 00:12:46,160 --> 00:12:47,280 No? 138 00:12:48,360 --> 00:12:51,940 So for this one, the three that popped out here. 139 00:12:52,820 --> 00:12:54,240 JAddicts Discord. 140 00:12:54,700 --> 00:12:56,900 It's very big in bug bounty hunting. 141 00:12:56,900 --> 00:13:06,960 He also provides training, so this is assumed to be intermediate to professional people within web app security. 142 00:13:07,240 --> 00:13:09,520 There's also Pentester Labs. 143 00:13:10,280 --> 00:13:13,920 This is like a web app pentesting training platform. 144 00:13:13,920 --> 00:13:17,380 Not as well known as the others, but still fairly large. 145 00:13:17,380 --> 00:13:21,080 This is also assumed to be beginners and professionals. 146 00:13:21,280 --> 00:13:23,960 And then the last one that caught my eye was Kaido. 147 00:13:24,720 --> 00:13:27,860 A very niche security tool. 148 00:13:28,120 --> 00:13:30,300 Essentially a burp suite built in Rust. 149 00:13:31,300 --> 00:13:37,180 So when we look at all these together, there's an obvious emphasis on web applications. 150 00:13:37,180 --> 00:13:42,620 And the training that's tied to these servers is aimed towards intermediates and professionals. 151 00:13:42,980 --> 00:13:51,240 So when looking at the specific person, they're most likely at the professional level and have a heavy interest in web app security. 152 00:13:53,080 --> 00:14:00,320 Though it's important to confirm these confirmations, the inferences and assumptions based on the mutual servers. 153 00:14:00,800 --> 00:14:04,480 Don't really prove anything until you have valid confirmation. 154 00:14:04,480 --> 00:14:15,460 So this is where you would go through chat history, linked accounts, try to search for any valid confirmation on the assumptions made. 155 00:14:15,460 --> 00:14:22,040 And the other key thing here is this can be applied to locations as well. 156 00:14:22,280 --> 00:14:24,920 So for example, B-Sides conferences. 157 00:14:25,520 --> 00:14:32,780 They might not be the best example since people travel in to go to them, but they can still prove very effective. 158 00:14:35,100 --> 00:14:41,080 However, if you want more manual confirmation, there is a de-anonymization attack. 159 00:14:42,480 --> 00:14:47,840 The person that researched this is HackmonDev on GitHub. 160 00:14:48,480 --> 00:14:51,880 He has the full breakdown on this. 161 00:14:52,460 --> 00:15:01,140 And essentially, TLDR is Cloudflare CDN caching can show the location of the person. 162 00:15:01,340 --> 00:15:05,300 It's not as accurate, but it does give you a general idea of where someone is. 163 00:15:07,800 --> 00:15:11,060 So, notable examples for mutual servers. 164 00:15:11,950 --> 00:15:18,840 The key thing here is looking for niche-specific servers that also have requirements. 165 00:15:18,840 --> 00:15:22,960 Since this will help with making stronger assumptions and inferences. 166 00:15:23,180 --> 00:15:26,440 So, key examples here are BreakDevRed. 167 00:15:26,440 --> 00:15:33,300 This is like an application-slash-invite-based server for off-site professionals. 168 00:15:34,180 --> 00:15:37,980 The other two, Evil Jinx Mastery and Meldev Academy. 169 00:15:37,980 --> 00:15:44,240 These are the only ones that I know of that once you buy access to their course, then you can join their server. 170 00:15:45,220 --> 00:15:49,080 Kaido, as I mentioned, is a very niche web tool. 171 00:15:49,080 --> 00:15:52,080 So , I'm not expecting a lot of people to know about it. 172 00:15:52,980 --> 00:15:57,220 And then, with Student Hubs, it pretty much fits all three requirements. 173 00:15:57,220 --> 00:16:04,060 Since you're required to have an EDU email, and it's specific to that university that you're a part of. 174 00:16:04,560 --> 00:16:12,080 And, once you join the Student Hub, then you can pick specific niche clubs and course subjects. 175 00:16:13,780 --> 00:16:18,640 So, it's easy to imagine that we can expand this outside of cybersecurity. 176 00:16:20,000 --> 00:16:22,600 Though, there's one big problem with this. 177 00:16:22,840 --> 00:16:25,400 If we want to scale it, we have to deal with the server cap. 178 00:16:27,000 --> 00:16:31,800 So, as a user, you have about a limit of 100 servers. 179 00:16:31,800 --> 00:16:34,880 As a free user, 200 as a Nitro user. 180 00:16:35,780 --> 00:16:40,360 We cannot use Discord bots like Me6 and build our own. 181 00:16:40,380 --> 00:16:45,020 Since these have to be manually added by the admins of the server that you're looking for. 182 00:16:45,700 --> 00:16:49,860 So, we need to use actual accounts, which is also known as self-bots. 183 00:16:49,860 --> 00:16:54,760 And this is essentially a game of visibility. 184 00:16:54,760 --> 00:17:00,500 But, there's a lot of other issues too, such as self-bots are against Discord to US. 185 00:17:00,760 --> 00:17:03,540 There's some math involved, which is the worst. 186 00:17:03,540 --> 00:17:06,480 And then the methods and techniques are manually intensive. 187 00:17:08,020 --> 00:17:11,180 However, SpyPet entered the picture. 188 00:17:24,760 --> 00:17:28,060 It made headlines back in April last year. 189 00:17:29,680 --> 00:17:36,780 And within one of the articles, it mentioned how it was designed for people to use it at $0.04. 190 00:17:38,020 --> 00:17:41,040 So, as soon as I saw that, I decided to join it. 191 00:17:42,780 --> 00:17:48,740 The only way you could join was to buy tokens and get access. 192 00:17:48,840 --> 00:17:54,980 And pro-tip, if you try to buy Solana multiple times in like five minutes, your bank will be very mad at you. 193 00:17:56,800 --> 00:18:09,200 So, at its peak, the stats it had were 14,000 servers being tracked, 600,000 users being tracked, and about 4 billion messages logged. 194 00:18:11,830 --> 00:18:20,430 Some features of note, going through the platform, it would show server info with emojis as shown below. 195 00:18:20,430 --> 00:18:25,390 It would also show server member count, and then it would also track server and user bands. 196 00:18:27,610 --> 00:18:31,150 However, the most important part of this was user info. 197 00:18:31,410 --> 00:18:42,530 So, as you can see here on myself, it would show someone's bio, their usernames and nicknames, and all the servers that they are a part of, and also linked accounts. 198 00:18:44,950 --> 00:18:54,570 It was also able to keep track of when different usernames were used, and then if you did use a specific server nickname, which server that was a part of. 199 00:18:57,310 --> 00:19:01,950 Another cool feature was that it also showed which servers someone left. 200 00:19:06,710 --> 00:19:10,150 And the main selling point was the chat history. 201 00:19:11,770 --> 00:19:17,270 The biggest thing that it advertised was capturing messages before they were deleted. 202 00:19:19,630 --> 00:19:34,990 So, as shown here, I got a CVS file of a chat channel from a fairly large server, and I was able to do a CTRL-F and find where these messages were sent. 203 00:19:36,990 --> 00:19:49,930 So, as for myself, the messages in green I'll get to soon, but the message in red I actually sent to the wrong channel. 204 00:19:49,930 --> 00:19:57,070 So , within like 5 or 10 seconds of sending that message, I actually deleted it and sent it to a private channel. 205 00:19:57,070 --> 00:20:00,350 So, it wasn't lying when it said it could capture deleted messages. 206 00:20:02,510 --> 00:20:07,370 As for the green messages, it actually tracked when I double-joined a server. 207 00:20:07,670 --> 00:20:13,270 Though it didn't really note that as someone joining, but it was something it was able to capture. 208 00:20:15,270 --> 00:20:19,250 However, Discord got wind of it and shut it down. 209 00:20:21,890 --> 00:20:29,730 So, ending the story here, the site went down, site owner went into oblivion, and Discord had the last laugh. 210 00:20:30,870 --> 00:20:34,170 So, from this, what can we learn? 211 00:20:34,950 --> 00:20:37,350 So, the main one was OBSEC. 212 00:20:38,250 --> 00:20:44,770 People online were upset about the platform, so they went out and performed OSINT on this individual. 213 00:20:45,530 --> 00:20:52,910 And pretty much were able to find a GitHub account, Mastodon, and a Discord account as well. 214 00:20:53,550 --> 00:21:00,330 The main lesson here was that he kept on posting the same cat images over and over, so it was very easy to tie the accounts together. 215 00:21:02,690 --> 00:21:05,090 Lesson two was publicity. 216 00:21:06,330 --> 00:21:09,190 It didn't get taken down until April. 217 00:21:09,690 --> 00:21:15,170 And on one of the pages, it said that it started on October 30th, 2023. 218 00:21:15,330 --> 00:21:22,090 So, this platform was up for about five months, and it only took nine days for it to get shut down. 219 00:21:24,610 --> 00:21:28,230 Third lesson here was GDPR violations. 220 00:21:28,230 --> 00:21:33,430 So, not only did the platform violate Discord's EOS, but also GDPR. 221 00:21:34,010 --> 00:21:41,350 But they added a bonus of potentially storing miners' chat history without knowledge. 222 00:21:44,700 --> 00:21:48,580 And the other lesson was the intentions. 223 00:21:49,580 --> 00:21:56,640 So, if you don't know what Kiwi Farms is, that's a good thing, since it's really evil. 224 00:21:58,460 --> 00:22:14,880 Essentially, when it first started, SpyPet's main aim was to harass trans people and people with different political views, and then using deleted messages against them for harassment. 225 00:22:15,020 --> 00:22:25,540 So, there was a point in time where the owner decided that he could make more money and changed certain pages and started advertising it. 226 00:22:28,360 --> 00:22:31,880 So, with all that, what did it do technically right? 227 00:22:32,620 --> 00:22:37,200 It was able to track what servers people were in, even when they left. 228 00:22:37,580 --> 00:22:41,280 The infrastructure seemed to work well until it came crashing down. 229 00:22:41,660 --> 00:22:44,580 And it was able to view Discord user information. 230 00:22:46,680 --> 00:22:49,000 So, hypothetical approach. 231 00:22:49,820 --> 00:22:54,640 We would have to plan an approach of what servers to join, and how many accounts to use. 232 00:22:55,220 --> 00:22:58,360 Build better infrastructure that won't get detected. 233 00:22:58,860 --> 00:23:00,560 And obviously, OPSEC. 234 00:23:02,180 --> 00:23:04,100 So, finished project. 235 00:23:04,120 --> 00:23:06,580 Pretty much built out SC2 and BotNet. 236 00:23:07,220 --> 00:23:09,120 Built SpyPet, but better. 237 00:23:09,140 --> 00:23:13,960 I could get into the details of how to make this better, but something else popped up. 238 00:23:14,580 --> 00:23:16,880 This gets worse. 239 00:23:17,640 --> 00:23:21,520 This year, on May 21st, 2025. 240 00:23:24,180 --> 00:23:30,410 There's about 2 billion Discord messages that researchers in Brazil scraped. 241 00:23:31,400 --> 00:23:33,320 And used. 242 00:23:35,770 --> 00:23:38,970 The actual research is called Discord Unveiled. 243 00:23:38,970 --> 00:23:40,820 PDF can be found here. 244 00:23:43,320 --> 00:23:45,800 And as you can see, they kind of... 245 00:23:45,800 --> 00:23:49,820 They didn't go into technical specifics on how they did it, but... 246 00:23:51,240 --> 00:23:54,780 You can kind of surmise what they did do. 247 00:23:55,180 --> 00:23:57,100 And then, their stats. 248 00:23:57,100 --> 00:23:59,640 They're in 3,000 servers. 249 00:23:59,880 --> 00:24:01,420 2 billion messages. 250 00:24:01,500 --> 00:24:06,600 They're tracking 4 million unique users, about 5 million. 251 00:24:06,840 --> 00:24:10,120 And also about 400,000 bot messages. 252 00:24:11,340 --> 00:24:17,340 They did post the dataset online, and they anonymized it in their words. 253 00:24:17,340 --> 00:24:20,760 But Discord did a good job of taking it off the internet. 254 00:24:20,760 --> 00:24:23,760 But you might be able to find it online somewhere. 255 00:24:25,280 --> 00:24:32,820 However, the key thing in the article was that it made only one mention of this other platform, called Searchport. 256 00:24:36,070 --> 00:24:41,410 So with this one, this was a lot larger in scale than SpyPet. 257 00:24:43,590 --> 00:24:46,970 63... close to 64 billion messages. 258 00:24:47,830 --> 00:24:51,430 285 terabytes of attachments and files. 259 00:24:51,430 --> 00:24:54,750 And about 95,000 servers being tracked. 260 00:24:55,270 --> 00:25:04,670 So for comparison, SpyPet had about 13 times less messages and 5 times less servers. 261 00:25:07,250 --> 00:25:12,970 So with Searchport, it wasn't the same as SpyPet with its goal of making money. 262 00:25:13,010 --> 00:25:20,390 The whole point of making Searchport was kind of to replace forums and AI content taken over the internet. 263 00:25:20,990 --> 00:25:27,670 So the main idea was that it would kind of go through messages in public servers in Discord. 264 00:25:27,850 --> 00:25:34,210 And make that accessible to the internet, instead of having to make an account in Discord and then join them manually. 265 00:25:36,670 --> 00:25:42,610 An interesting lesson here, the person posted this tech stack of what they used to build this out. 266 00:25:44,490 --> 00:25:50,450 One idea I had was going through and checking version history to see if there were any vulnerabilities. 267 00:25:50,450 --> 00:25:53,970 But I don't think that guy had the insight to that. 268 00:25:55,330 --> 00:25:57,590 Some other issues popped up with this. 269 00:25:58,210 --> 00:26:05,450 If someone wanted to opt out of this, from having your own server that you own, being on Searchport. 270 00:26:05,450 --> 00:26:15,810 The owner pretty much said that they thought it was unfair for an owner to dictate that everyone's messages in their own server would be visible or not. 271 00:26:18,170 --> 00:26:25,670 So with how it works, Searchport was very similar with how it performed data scraping. 272 00:26:26,030 --> 00:26:28,510 With what the researchers did. 273 00:26:28,730 --> 00:26:36,330 So essentially what it does is it scrapes through discoverable servers within Discord's discovery feature. 274 00:26:37,110 --> 00:26:42,270 And since you don't have to join the server manually, you enter a preview mode. 275 00:26:42,270 --> 00:26:46,510 So all the public channels that you can see, they scrape through all those messages. 276 00:26:48,850 --> 00:26:54,930 Another cool thing was it had a lot of stats and graphs with how much data they had. 277 00:26:55,890 --> 00:27:01,470 Big note here was the oldest message that was collected was from 2015. 278 00:27:01,590 --> 00:27:05,030 So pretty much near the inception of when Discord was created. 279 00:27:06,030 --> 00:27:17,410 Within the screenshot here it had about 2 billion images, 200 million videos, and 500 random other files collected as well. 280 00:27:17,530 --> 00:27:21,870 And it also tracked the active days of when the users were on. 281 00:27:23,710 --> 00:27:34,370 One of the creepiest things was that since it was able to enter the preview mode, it could pretty much replicate what the Discord server could look like on their website. 282 00:27:37,190 --> 00:27:41,450 So whenever you did look at a specific server, it did have a ton of stats. 283 00:27:41,450 --> 00:27:55,710 So amount of members, channels, all the messages sent, active users, active channels, and also file extensions sent, and names of the files sent as well. 284 00:27:58,570 --> 00:28:04,990 And then when it came to its search functionality, I'm just using this simple example of firmware. 285 00:28:05,850 --> 00:28:14,410 So if you search the term firmware, all servers, all messages, everything that had the keyword firmware would pop up. 286 00:28:16,510 --> 00:28:20,250 So we see here some chats about firmware. 287 00:28:21,150 --> 00:28:26,770 And to give you an idea of how big it was, there's about 400 pages of results for this. 288 00:28:28,950 --> 00:28:40,490 So one thing that popped out to me was that it did make it so that you couldn't just search a user specifically, you had to search a user within a server. 289 00:28:40,490 --> 00:28:45,030 So you couldn't look through all their mutual servers and tie certain connections together. 290 00:28:47,650 --> 00:28:53,890 I was thinking of performing some bypasses, but by the time I got to that, it shut down. 291 00:28:56,850 --> 00:29:00,250 So different timeline compared to SpyPet. 292 00:29:00,250 --> 00:29:04,590 It went fully operational on the 20th of May. 293 00:29:05,310 --> 00:29:13,730 Darticle came out on SearchCord, kind of tied to the researchers on the 21st, and then it got shut down on the 23rd. 294 00:29:15,750 --> 00:29:26,410 However, one thing that stuck out was that the owner stated, or I should start with looking through WebArchive Wayback Machine. 295 00:29:26,610 --> 00:29:33,690 The domain kind of went live back in March, but the owner stated that he started it all the way back in 2022 and 2023. 296 00:29:34,110 --> 00:29:37,730 So there's about two or three years of buildup before it came out. 297 00:29:40,390 --> 00:29:51,050 So at the very end, the owner of SearchCord came out with their own research and made a whole post about his experience with it. 298 00:29:51,570 --> 00:29:56,190 So to summarize, he made it without a lot of programming knowledge. 299 00:29:56,490 --> 00:30:04,110 A lot of privacy issues arose from the publicity, such as people adding servers back that were deleted from SearchCord. 300 00:30:04,110 --> 00:30:07,770 How to shut down the project due to popularity. 301 00:30:08,850 --> 00:30:15,090 Talks about the tech use, kind of as what I've shown earlier, and then what tech issues arose. 302 00:30:15,810 --> 00:30:19,170 All this can be read at searchcord.io. 303 00:30:19,170 --> 00:30:21,050 The site is still up today. 304 00:30:22,370 --> 00:30:28,450 However, there was another important video drop that happened tied to SearchCord. 305 00:30:29,050 --> 00:30:36,210 Within this video that covered SearchCord, the creator brought up how other data scrapers exist. 306 00:30:36,650 --> 00:30:39,910 How private data sets are not being advertised. 307 00:30:39,930 --> 00:30:42,710 There's just people out there that are just scraping messages. 308 00:30:43,490 --> 00:30:49,770 And the biggest thing was that there are data scrapers being advertised due to cybercrime groups. 309 00:30:49,970 --> 00:30:54,710 So the example that he gave was that there was a focus on mental health servers. 310 00:30:55,150 --> 00:31:01,550 With the idea that if someone's having a mental health crisis, then they can target them for extortion. 311 00:31:01,790 --> 00:31:04,910 Which could also potentially involve minors as well. 312 00:31:06,110 --> 00:31:12,630 I tried to verify this on my end, to see if this was true, but I was unsuccessful, so I reached out to the creator. 313 00:31:13,650 --> 00:31:17,390 He obviously didn't want to give me specifics, since I'm a random person on the internet. 314 00:31:17,390 --> 00:31:23,190 But ultimately, he didn't want to bring more attention to it, or make it more popular. 315 00:31:23,790 --> 00:31:26,670 Or make the situation worse, which I respect. 316 00:31:26,810 --> 00:31:32,650 But with my conversation with the creator, he did point me in a certain direction. 317 00:31:32,870 --> 00:31:35,050 Which brings me to this. 318 00:31:35,650 --> 00:31:40,150 As of right now, there's another data scraper out there that I found that's not public. 319 00:31:40,470 --> 00:31:43,030 There are no articles, no videos on it. 320 00:31:43,030 --> 00:31:50,330 This one, very different from SpyPet and SearchCord with its goals. 321 00:31:50,330 --> 00:31:56,110 But it's very similar to how SpyPet operated with a botnet. 322 00:31:56,830 --> 00:32:00,710 This one, it focuses more on specific online game servers. 323 00:32:00,710 --> 00:32:06,930 But it kind of leaned more into collecting Discord messages in the past month or so. 324 00:32:07,070 --> 00:32:09,010 And this one's based in Europe. 325 00:32:10,390 --> 00:32:13,630 So, some other details about the one that I found. 326 00:32:13,630 --> 00:32:15,630 People have been doxxed. 327 00:32:16,410 --> 00:32:20,230 There's been about three people that have been doxxed. 328 00:32:20,310 --> 00:32:27,110 The one person, if the claims are true, he did things extremely nefarious. 329 00:32:27,670 --> 00:32:36,970 As for the other two people, it's more so rumors, so to say. 330 00:32:38,230 --> 00:32:43,970 So one of them, the claims were that he also performed nefarious actions. 331 00:32:45,350 --> 00:32:48,070 But they didn't really have solid proof. 332 00:32:48,610 --> 00:32:53,270 And as for the other one, they made it out to seem that he was a bad person. 333 00:32:53,270 --> 00:32:57,410 But the picture that they used was actually from a charity event that he did. 334 00:32:58,110 --> 00:33:01,950 And both of those were taken down within a day of them going out. 335 00:33:02,870 --> 00:33:08,310 One of the things that I found with this one was that they do advertise on YouTube. 336 00:33:08,830 --> 00:33:11,590 And they're currently in Discord Discovery as well. 337 00:33:12,390 --> 00:33:16,530 And one key thing was that they were operating on Cloudflare. 338 00:33:16,530 --> 00:33:20,090 But they got so many reports that they switched to DDoS Guard. 339 00:33:20,090 --> 00:33:25,490 Which, for people that don't know, Brian Krebs did an investigation on it. 340 00:33:25,490 --> 00:33:29,630 And most of the sites that are hosted there are phishing sites or tied to cybercrime. 341 00:33:29,630 --> 00:33:37,130 And one of the people that did get doxed was because he did report the site to Cloudflare. 342 00:33:37,590 --> 00:33:42,650 But the email included his personal information, so they kind of extorted him. 343 00:33:42,650 --> 00:33:44,650 Or used it as posturing. 344 00:33:45,670 --> 00:33:53,530 So with their stats, they're fairly new, but I've been keeping a close eye on them since July. 345 00:33:53,770 --> 00:33:57,950 They started out with about 800,000 messages, 5,000 servers. 346 00:33:57,950 --> 00:34:04,270 About 15,000,000 individual files and about 20 terabytes stored. 347 00:34:04,790 --> 00:34:12,270 And just yesterday I checked again with their stats and it's updated to 1,500,000 messages. 348 00:34:12,510 --> 00:34:15,030 6,000 servers being tracked. 349 00:34:15,030 --> 00:34:21,430 About 41,000,000 individual files being collected and 42 terabytes stored. 350 00:34:22,610 --> 00:34:25,290 So the most important part. 351 00:34:25,290 --> 00:34:31,070 In case you're paranoid now, here are some protections that you can take. 352 00:34:31,830 --> 00:34:39,950 So for example, at the user level, the biggest thing is removing any linked accounts that you have on your Discord profile. 353 00:34:39,990 --> 00:34:42,050 Which can be found in Connections. 354 00:34:43,070 --> 00:34:46,290 And the biggest thing, just be mindful of what you post in Discord. 355 00:34:46,290 --> 00:34:47,910 It should be obvious, it's the internet. 356 00:34:47,910 --> 00:34:50,010 Don't post everything on the internet. 357 00:34:50,010 --> 00:34:56,850 And for any server admins or mods, the biggest thing is setting the verification level for users to join at the highest. 358 00:34:56,850 --> 00:34:58,910 So they need a phone number to join. 359 00:34:59,790 --> 00:35:02,650 And do not have your server discoverable. 360 00:35:02,730 --> 00:35:04,430 And have it in discovery. 361 00:35:04,790 --> 00:35:09,630 Or a data script will most likely go through all the public channels and get your data. 362 00:35:11,050 --> 00:35:17,670 So some optional ones too are tied to direct messages and message requests. 363 00:35:17,670 --> 00:35:21,890 Disabling is optional, but if you're extra paranoid, it's required. 364 00:35:22,790 --> 00:35:29,770 In the case that if someone does know your actual Discord username, but can't find any chat logs. 365 00:35:30,070 --> 00:35:37,270 They can potentially add you as a friend without sending... or not add you as a friend, send a message directly to you. 366 00:35:37,830 --> 00:35:41,990 Without you knowing, and then see what mutual servers you're a part of. 367 00:35:41,990 --> 00:35:45,250 Once the message box pops up. 368 00:35:46,890 --> 00:35:48,790 So final takeaways. 369 00:35:50,410 --> 00:35:53,910 So overall, OSINT and Discord is feasible. 370 00:35:53,910 --> 00:35:58,650 If you focus on chat history, linked accounts, server nicknames, and mutual servers. 371 00:35:59,010 --> 00:36:02,850 However, to scale it, it requires a lot of preparation and involvement. 372 00:36:03,290 --> 00:36:05,670 You might get caught, and it's definitely illegal. 373 00:36:05,670 --> 00:36:07,150 So I don't recommend it. 374 00:36:08,550 --> 00:36:12,970 As for the data scrapers, there's like two forms of collection. 375 00:36:12,970 --> 00:36:19,570 A classic botnet, and then scraping public servers or servers within Discord Discovery. 376 00:36:19,790 --> 00:36:25,270 This will stay persistent, since this is essentially just abusing functionality. 377 00:36:25,970 --> 00:36:30,410 Discord is not as private as you think, and your data might be somewhere. 378 00:36:30,810 --> 00:36:35,710 Though, I need to emphasize the data that might be getting collected is only from public channels. 379 00:36:35,710 --> 00:36:41,670 So any messages that you sent in private channels, private group chats, or private servers, those are fine. 380 00:36:41,670 --> 00:36:47,810 But any messages sent in a public community and a public channel, those might be getting harvested. 381 00:36:49,670 --> 00:36:55,990 And final note, SpyPet was not the first one that came out to perform this type of capability. 382 00:36:56,770 --> 00:37:00,150 Discord was similar, and that appeared back in 2020. 383 00:37:00,870 --> 00:37:06,130 And as stated before, it's very possible for other undiscovered data scrapers to exist. 384 00:37:06,130 --> 00:37:16,630 When it comes to datasets that people are collecting without advertising it online to make money, or ones that are not known publicly yet. 385 00:37:17,550 --> 00:37:22,750 And another note I want to add is that you might see this capability on alternate platforms. 386 00:37:22,750 --> 00:37:26,430 The main one being Guilded, which is like a Discord competitor. 387 00:37:28,570 --> 00:37:31,110 So, with that, that was everything. 388 00:37:31,210 --> 00:37:35,310 I need to shout out Brendan, NoTextToSpeech, and Anthony G. 389 00:37:35,310 --> 00:37:39,010 This presentation wouldn't be what it is without them. 390 00:37:39,410 --> 00:37:42,010 And everything can be found at my site. 391 00:37:42,290 --> 00:37:43,910 Thanks for coming to my talk.