1 00:00:00,000 --> 00:00:09,080 Okay, so the next speaker is Saifullah, who is going to be speaking about mastering open source intelligence, advanced techniques in the realm of big data. 2 00:00:09,080 --> 00:00:11,860 Oh, I'm reading, you can see on the screen already. 3 00:00:12,720 --> 00:00:24,340 About him, he's a founder for SwordSec, identify vulnerabilities in Apple, Twitter, so on, has delivered many talks in universities, teachers at conferences and whatnot. 4 00:00:24,340 --> 00:00:28,740 He's one of the most amazing person I know, so I would give him the stage. 5 00:00:28,740 --> 00:00:30,760 And let's give him a round of applause. 6 00:00:30,760 --> 00:00:34,360 I know you are... let's give it. 7 00:00:41,440 --> 00:00:43,240 Thank you. 8 00:00:44,300 --> 00:00:45,760 Hello again. 9 00:00:46,260 --> 00:00:53,700 Our topic is OSINT, you know, and I will show something advancing techniques in the big data. 10 00:00:55,280 --> 00:01:07,960 Our agenda is, I will talk about advanced techniques in OSINT, and big data, and its importance in open source intelligence. 11 00:01:07,960 --> 00:01:16,120 Google BigQuery for OSINT, Common Crowd, and advanced techniques case studies today. 12 00:01:20,400 --> 00:01:22,740 My name is Saifullah. 13 00:01:22,740 --> 00:01:26,420 I am software engineers who love cybersecurity. 14 00:01:26,420 --> 00:01:30,460 I have been researching cybersecurity since 2007. 15 00:01:30,460 --> 00:01:50,100 Found security problems, big companies like Google, Apple, Twitter, and my name is on the Google Hall of Fame page 10 years ago, and found a big issue that crashed on Apple iPhones from afar, and wrote about cryptocurrencies, mining devices, vulnerability, 16 00:01:50,100 --> 00:02:01,420 and science education talk about my article, and set up cybersecurity and intelligence talks at more than 20 universities and conferences in the world. 17 00:02:01,420 --> 00:02:06,400 Yes, we will talk about first the OSINT. 18 00:02:06,920 --> 00:02:13,940 Open source intelligence is the art of collecting information from publicly available source. 19 00:02:13,940 --> 00:02:24,180 This purpose spans both offensive strategies like identifying vulnerabilities, and defensive ones, such as secret assets, digital assets. 20 00:02:24,180 --> 00:02:28,460 It also goes beyond mere gathering. 21 00:02:28,460 --> 00:02:33,920 It involves analyzing data to understand potential threats or attacker patterns. 22 00:02:33,920 --> 00:02:42,840 In today's digital age, where information is abundant, mastering OSINT is crucial for a proactive approach to cybersecurity. 23 00:02:44,640 --> 00:02:46,080 Big data. 24 00:02:46,680 --> 00:02:52,340 Big data is also all about managing large amounts of information. 25 00:02:52,340 --> 00:02:59,180 It is marked by variety, velocity, volume, verification, and value. 26 00:02:59,440 --> 00:03:06,380 This means variety of different types of data, and velocity, speed, at which data comes in. 27 00:03:06,380 --> 00:03:10,040 Volume, amount of data, not pricing. 28 00:03:10,360 --> 00:03:18,860 Verification, making sure data is correct, and value is the usefulness of the data. 29 00:03:18,860 --> 00:03:23,960 Understanding these aspects helps in handling waste data effectively. 30 00:03:25,460 --> 00:03:28,740 And big data comes from various sources. 31 00:03:28,740 --> 00:03:49,740 We have most of sources, as you see, like the social media, GitHub, where code is shared, open web source, Google BigQuery public data set, public data stores like AWS or S3, and archive documents. 32 00:03:49,740 --> 00:03:53,720 These are critical points that will show something. 33 00:03:53,740 --> 00:03:59,380 And these sources offer a wealth of information that can be tapped into. 34 00:04:00,760 --> 00:04:03,480 Big data operates in a systematic way. 35 00:04:03,720 --> 00:04:05,580 Data collecting, firstly. 36 00:04:05,900 --> 00:04:12,700 After that, store and manage, and analyze, and deep learning to make sense of data. 37 00:04:13,120 --> 00:04:15,060 Finally, visualize. 38 00:04:15,060 --> 00:04:18,600 We present the data in an understandable way. 39 00:04:18,700 --> 00:04:23,840 This process helps us turn vast amounts of raw data into valuable insights. 40 00:04:26,580 --> 00:04:30,080 You can see, maybe you know these technologies. 41 00:04:30,080 --> 00:04:43,980 In this slide, we glance at some key tools and technologies that employ big data, from Hadoop and Spark for data storage and processing, to databases like Cassandra and MongoDB for scalable storage. 42 00:04:43,980 --> 00:04:51,120 These tools are vital in the OSINT landscape, enabling us to handle vast amounts of data efficiently. 43 00:04:54,080 --> 00:05:09,300 And here, we briefly highlight key big data tools and technologies, ranging from data warehousing, solutions like Google BigQuery, you know, and Snowflake to machine learning frameworks like TensorFlow. 44 00:05:09,580 --> 00:05:15,600 These are essential building blocks in analyzing vast data sets within the context of OSINT. 45 00:05:16,040 --> 00:05:23,040 In this slide, in the picture, we are exploring various components that interplay in the safety landscape. 46 00:05:23,040 --> 00:05:28,360 Big data analytics, utilizing vast amounts of data for safety insights. 47 00:05:28,860 --> 00:05:34,460 After, for example, maybe you can use it, network flows and anomalies detection. 48 00:05:34,460 --> 00:05:39,080 You can monitor network behavior and detected irregularities. 49 00:05:39,080 --> 00:05:51,640 And intelligence feeds and DNS captures, it is very critical points to gather intelligence or from public data set. 50 00:05:51,700 --> 00:05:59,200 And domain name system activities, you can monitor these domain name system activities and process data. 51 00:05:59,500 --> 00:06:02,860 These mean analyzing procedures and workflows. 52 00:06:03,140 --> 00:06:10,880 And very important things, web page text, crawling any web page from maze of data. 53 00:06:13,620 --> 00:06:16,520 Collection one, leaked password. 54 00:06:16,980 --> 00:06:19,400 Maybe you know and downloaded it. 55 00:06:19,460 --> 00:06:24,060 Clear text password leak represents a serious security concern. 56 00:06:24,060 --> 00:06:29,300 Throughout OSINT and big data analytics, we can track and analyze these leaks. 57 00:06:29,300 --> 00:06:37,760 Here's how regularly scan publicly database forums, dark net, or pass size for leaked credential. 58 00:06:37,760 --> 00:06:45,580 And use big data techniques to identify patterns such as common password or targeted organization. 59 00:06:45,820 --> 00:06:51,240 Or alert affected users or companies and contribute to threat intelligence. 60 00:06:51,240 --> 00:06:57,680 And educate on sacred project or practice, like using strong and unique passwords. 61 00:06:58,020 --> 00:07:08,740 This approach turn rave data leaks into actionable insights and change both individual or organizational security. 62 00:07:10,440 --> 00:07:19,440 Cisco umbrella top million domains, open source intelligence and big data can be leveraged for various analysis. 63 00:07:19,440 --> 00:07:22,140 For example, threat analysis. 64 00:07:22,140 --> 00:07:33,800 By monitoring these domains or these links, we can identify emerging threats like popular TLD, FQDN or domain like that or seasonal domain registration. 65 00:07:34,120 --> 00:07:48,240 And secret assessments by cross-referencing with known malicious domain or FQDN or link, we can pinpoint domains that may be part of phishing or malware campaigns. 66 00:07:49,020 --> 00:07:59,240 Competitive intelligence, analyzing the web presence and popularity of competitor domains within the top list or top one million domain list. 67 00:07:59,240 --> 00:08:07,380 The rich data set offers a starting point for diverse research from marketing insights to cyber security. 68 00:08:08,620 --> 00:08:14,380 Tranquil is another valuable resource to crawl domain list. 69 00:08:15,360 --> 00:08:20,420 This link is similar to Cisco's umbrella link but with distinct features. 70 00:08:20,420 --> 00:08:28,280 While both provide domain list, Tranquil combines multiple data source offering a more diversified view. 71 00:08:29,580 --> 00:08:36,120 And it is designed to minimize biases and provide a robust ranking of domains. 72 00:08:36,120 --> 00:08:46,720 Whether you are searching for market trends or analyzing some hackers or web popularity assessing security threats, Tranquil offers a unique perspective. 73 00:08:48,880 --> 00:08:56,120 At the meantime, there are over four million main domains in Tranquil and these updates every month or every week. 74 00:08:56,640 --> 00:09:09,220 Cloud Flare Radar offers a top one million domains list like that, but it is a valuable tool for tracking web trends and identifying popular technology or domains. 75 00:09:09,220 --> 00:09:18,880 Whether you are a market researcher or security professional, Cloud Flare Radar provides a snapshot of the internet's purpose. 76 00:09:20,080 --> 00:09:30,340 The darknet market archives show us hidden online markets from 2013 to 2015. 77 00:09:30,340 --> 00:09:36,080 These markets often sell illegal things and use secret websites. 78 00:09:36,140 --> 00:09:45,280 With open source intelligence and big data, we can study these markets, see what they sell, and learn how they work. 79 00:09:45,300 --> 00:09:59,580 This information helps people like police officers or defensive intelligence and researchers understand what is happening in the hidden parts of internet or underground internet. 80 00:09:59,580 --> 00:10:02,300 There is public data that you can download. 81 00:10:02,300 --> 00:10:08,890 The size of the file is over 1.6 terabytes. 82 00:10:09,740 --> 00:10:12,700 This is old data set. 83 00:10:13,080 --> 00:10:20,820 Maybe you can search, you will discover new data set in the market archives. 84 00:10:21,380 --> 00:10:30,760 GrabApp is a search tool that lets you explore open source code from GitHub repository. 85 00:10:30,760 --> 00:10:33,380 You can use regular expression. 86 00:10:33,380 --> 00:10:38,860 It's like a search engine for code, helping you find specific lines or patterns. 87 00:10:38,960 --> 00:10:53,000 In the world of OSINT and big data, GrabApp can be used to study how code is written or find common mistakes or even uncover sensitive information accidentally left in public code. 88 00:10:53,000 --> 00:10:56,760 Lesson two for both researchers and security expert. 89 00:10:56,760 --> 00:11:10,040 And I have written some simple regular expression tool and there are lots of credential AWS secret key. 90 00:11:11,640 --> 00:11:15,100 Google BigQuery and GitHub. 91 00:11:15,920 --> 00:11:23,580 Google BigQuery allows you to use regular expression tool to search engine and analyze large of data sets. 92 00:11:23,580 --> 00:11:35,900 In the context of OSINT and big data, this means you can quickly find patterns, any patterns, and match specific content or filter data in complex ways. 93 00:11:35,900 --> 00:11:40,020 As you can see, you can search any company naming GitHub data set. 94 00:11:40,960 --> 00:11:51,740 There are lots of data set in the Google BigQuery, like Stack Overflow, New York Fire Department, or the GitHub repository like that. 95 00:11:52,040 --> 00:12:02,940 It is a powerful tool for digging deep into data and uncovering insight that can be used for everything from market research to cybersecurity analysis. 96 00:12:03,640 --> 00:12:10,020 I have written simple regex tool to find company name in GitHub repository. 97 00:12:10,840 --> 00:12:20,740 You can see maybe there are over two terabyte data set. 98 00:12:21,280 --> 00:12:29,020 And after that you can search top question popular tech from programming language in Stack Overflow or GitHub repository. 99 00:12:31,220 --> 00:12:36,120 JavaScript most popular language in this data set. 100 00:12:36,120 --> 00:12:38,760 Question, answering, and repository. 101 00:12:38,760 --> 00:12:42,780 I have written simple SQL query. 102 00:12:43,200 --> 00:12:48,480 Also, you can search some private keys in GitHub repository. 103 00:12:49,220 --> 00:12:55,860 Maybe you watched in Live Overflow on YouTube. 104 00:12:55,860 --> 00:13:01,660 Live Overflow search Bitcoin private keys like these methods. 105 00:13:01,820 --> 00:13:09,040 And also you can search some private keys. 106 00:13:09,040 --> 00:13:15,300 As I mentioned, you will find some things like private keys or something. 107 00:13:15,440 --> 00:13:17,220 You can search anything. 108 00:13:17,940 --> 00:13:31,400 If you have some things or if you are using regular expression well. 109 00:13:31,840 --> 00:13:37,980 There are approximately over two terabyte data set for GitHub repository. 110 00:13:39,560 --> 00:13:46,300 But in SQL query, I have joined two data sets on GitHub. 111 00:13:46,300 --> 00:13:50,580 One of files, other content of GitHub repository. 112 00:13:52,260 --> 00:13:53,860 Paspin monitor. 113 00:13:54,820 --> 00:13:55,960 You know Paspin. 114 00:13:55,960 --> 00:13:57,520 But Paspin is not popular today. 115 00:13:57,520 --> 00:14:00,520 But you can monitor Pasp website now. 116 00:14:00,920 --> 00:14:07,080 Paspmon is a tool that monitors Paspin sites for specific content. 117 00:14:07,080 --> 00:14:21,120 In the real of OSINT and big data, it is valuable asset for tracking information leaks and finding exposed sensitive data or understanding trends in public data set or code sharing. 118 00:14:21,120 --> 00:14:28,780 It turns the vast sea of Paspin data into actionable insights for secret and market research. 119 00:14:30,040 --> 00:14:35,020 And also you can use regular expression too in the config file. 120 00:14:36,600 --> 00:14:37,880 Social media. 121 00:14:37,940 --> 00:14:42,200 It is important slide. 122 00:14:42,520 --> 00:14:45,200 My friend Paspin helped me this project. 123 00:14:45,520 --> 00:14:46,240 Thank you. 124 00:14:46,700 --> 00:14:54,440 You must have seen direct message like this as well from Twitter or Telegram or Discord channel. 125 00:14:55,160 --> 00:14:56,840 You can see. 126 00:14:56,980 --> 00:15:00,620 Some scammers sends to you direct message like that. 127 00:15:00,620 --> 00:15:06,420 So how can we catch these attackers or collect information from them? 128 00:15:06,420 --> 00:15:07,880 Let's start. 129 00:15:08,480 --> 00:15:20,160 Firstly, create some accounts on lots of social media accounts or like that, Discord, Telegram that you want to use as honeypot. 130 00:15:21,000 --> 00:15:24,960 After that, we will change privacy settings. 131 00:15:25,420 --> 00:15:37,940 After, follow these tweets and join some channels and group and username in Telegram, Discord and Twitter. 132 00:15:38,180 --> 00:15:41,940 You must select a low direct message from any members. 133 00:15:41,940 --> 00:15:49,200 Firstly, because of lots of hackers can see us. 134 00:15:49,520 --> 00:15:54,840 After that, you must select a low message from everyone on Twitter. 135 00:15:55,140 --> 00:16:01,060 And last one, you must toggle off of active and mute on Telegram. 136 00:16:02,720 --> 00:16:07,560 Let's crowd some hackers, scammers, sorry. 137 00:16:07,560 --> 00:16:25,500 First, to attract the attention of scammers, you can like retweet post from NFT and crypto groups only channels and follow those accounts using newly created Twitter, Discord and Telegram accounts to attract attention of scammers. 138 00:16:26,000 --> 00:16:33,040 And reload direct message from simple API services. 139 00:16:33,040 --> 00:16:40,220 You can analyze all content of messages from Twitter, Discord channel and Telegram message. 140 00:16:40,220 --> 00:17:00,920 You can analyze website title and you can analyze DNS services, sorry, DNS type of websites or FQDM and you can check crypto type and you can capture username and username ID to check another services. 141 00:17:03,040 --> 00:17:06,880 And Common Crowd project, open web story, web crowd data. 142 00:17:06,880 --> 00:17:08,160 I love it. 143 00:17:08,980 --> 00:17:11,920 Let's now take a look at Common Crowd. 144 00:17:12,340 --> 00:17:16,160 A valuable resource for anyone working with big data. 145 00:17:16,480 --> 00:17:22,560 Big companies like Facebook, OpenAI, Google, Tesla uses Common Crowd project. 146 00:17:23,020 --> 00:17:29,700 I have worked Common Crowd since five years ago. 147 00:17:29,700 --> 00:17:30,980 Yeah, five years ago. 148 00:17:30,980 --> 00:17:35,780 And we have worked lots of project in Common Crowd. 149 00:17:35,780 --> 00:17:38,960 And let's show next slide. 150 00:17:39,420 --> 00:17:48,480 And whether you are studying trends, doing market research or investing in cybersecurity threats, Common Crowd provides the data you need. 151 00:17:48,480 --> 00:17:51,240 Let's explore what we can do with it. 152 00:17:51,540 --> 00:17:59,220 In this screenshot of the May-June 2023 index, you see different types of data files. 153 00:17:59,720 --> 00:18:06,240 You can see VARC, VAT, VIT, Robotics and URL, etc. 154 00:18:06,240 --> 00:18:12,640 These files represent a rich collection of web data like webarchives.com. 155 00:18:13,240 --> 00:18:22,380 In terms of open source intelligence and big data, they provide the raw material for deep analysis. 156 00:18:22,380 --> 00:18:40,860 Whether it is tracking online trends, investigating cyber threats, or tracking some hackers or scammers, or conducting market research, these data opens up endless possibilities for understanding and navigating the digital landscape and world. 157 00:18:41,580 --> 00:18:46,700 Here we see VARC, VAT and VET files, key components in the web archiving. 158 00:18:47,440 --> 00:18:51,600 VARC captures the full request and response cycle. 159 00:18:52,320 --> 00:18:58,240 VAT contains metadata summarized in the center of VAT response file. 160 00:18:58,240 --> 00:19:03,980 And VET offers, right off the screen, plain text content. 161 00:19:04,540 --> 00:19:09,760 Together, they provide a comprehensive snapshot of web data for various analysis. 162 00:19:11,960 --> 00:19:14,400 We crawl VARC files as you see in the example. 163 00:19:14,400 --> 00:19:15,520 These are VARC links. 164 00:19:15,520 --> 00:19:17,600 A link has over one gigabit. 165 00:19:18,120 --> 00:19:20,900 And these files have 80,000 links. 166 00:19:20,900 --> 00:19:23,590 There are petabytes of datasets here to analyze. 167 00:19:24,620 --> 00:19:33,080 In this slide, we see some exciting examples of what can be done with Common Crawl. 168 00:19:33,080 --> 00:19:40,600 Imagine accessing 10 terabytes of metadata, 26 million domains, and 1.4 million SSL for just $10. 169 00:19:41,460 --> 00:19:42,920 This is really interesting. 170 00:19:42,920 --> 00:19:54,280 From analyzing pieces of web pages to exploring robots takes the files, Common Crawl offers a vast playground for researchers and analysts, cybersecurity analysts. 171 00:19:54,280 --> 00:20:00,800 It is an affordable and powerful resource for anyone looking to crawl into web data, public data. 172 00:20:01,800 --> 00:20:05,620 And after that, we explore the intriguing question. 173 00:20:05,620 --> 00:20:08,480 What is the most used JavaScript library? 174 00:20:08,540 --> 00:20:10,240 The public dataset. 175 00:20:10,440 --> 00:20:12,740 Billions and billions of links. 176 00:20:12,740 --> 00:20:19,440 By utilizing Apache Spark, we have analyzed all the script text across a vast collection of web pages. 177 00:20:21,200 --> 00:20:27,960 And you can crawl the email addresses, subdomain, and IP addresses that you want as in this example. 178 00:20:29,840 --> 00:20:37,100 We delve into the world of handling petabytes of website data using Apache Spark, maybe you know, and EMR. 179 00:20:37,100 --> 00:20:47,720 As detailed in the reference article, I like Mark, the author demonstrates how to process massive amounts of web data, such as Common Crawl dataset. 180 00:20:48,500 --> 00:21:00,480 To extract valuable insights from a big data perspective, this approach showcases the ability to analyze web trends, identify popular technology, like front-end or back-end technology. 181 00:21:00,480 --> 00:21:05,800 You can see how many web servers are in the Common Crawl dataset in this example. 182 00:21:06,360 --> 00:21:07,420 Passive search. 183 00:21:07,420 --> 00:21:14,140 We are highlighting the massive scope of data we have analyzed using Common Crawl December 2018. 184 00:21:15,240 --> 00:21:19,840 We dive into the technical aspect of our analysis utilizing Google Compute Engine. 185 00:21:19,840 --> 00:21:24,700 I leveraged Docker and Docker to create a robust and scalable environment. 186 00:21:24,900 --> 00:21:33,580 With 32 vCPUs and 280 gigabytes of RAM spread across 16 instances, I was well-equipped to handle a massive dataset. 187 00:21:34,900 --> 00:21:39,400 Last finished VCS script I used to look at a specific dataset. 188 00:21:39,440 --> 00:21:40,900 It is a simple script. 189 00:21:41,000 --> 00:21:47,020 And it checks for CoinHive in the URLs and gathers important details like the full web address. 190 00:21:47,020 --> 00:21:57,340 As you know, CoinHive was a crypto-miner JavaScript website, but now the domain redirects to Troy Hunt's blog. 191 00:21:58,220 --> 00:22:00,320 Troy Hunt registered this domain. 192 00:22:01,480 --> 00:22:17,000 In our final slide, we present the culmination of our analysis, a compressive list of URLs containing the CoinHive JavaScript by utilizing the power of Common Crawl dataset and the techniques we have explored. 193 00:22:17,020 --> 00:22:28,900 It is a concrete example of how OSINT and big data can be harnessed to pinpoint targeted information within the vast landscape of the web. 194 00:22:31,320 --> 00:22:40,180 Yes, you can find sub-domains of target websites, which is an important step in gathering information from Common Crawl. 195 00:22:40,180 --> 00:22:49,200 And we can also find out what technologies a website is using, like the server type, or what JavaScript deliveries they have. 196 00:22:49,620 --> 00:22:53,320 This shows how we can use big data to learn more about the target. 197 00:22:54,080 --> 00:23:04,590 And we explore another use of Common Crawl for open source intelligence, finding hidden directories and files, like robot.txt, slash admin, or config.json. 198 00:23:05,020 --> 00:23:14,940 This is a practical example of how big data can help us dig deeper and uncover hidden details on a target site or target domain. 199 00:23:16,360 --> 00:23:19,640 And you can check for data leaks. 200 00:23:21,280 --> 00:23:31,020 Internet search engine, you can, now that Census, Shodan, Zumai, Secret Service, Criminal IP, there are lots of search engines like that. 201 00:23:31,020 --> 00:23:38,720 And GreyNoise catches these websites and companies to protect your website or company. 202 00:23:39,200 --> 00:23:44,280 With GreyNoise, we can identify and block IP addresses of these actors. 203 00:23:44,480 --> 00:23:52,460 And in this screenshot, we are taking a closer look at GreyNoise capabilities, specifically targeting this Census actor. 204 00:23:53,380 --> 00:23:55,920 And you can block them. 205 00:23:55,940 --> 00:23:58,320 Thank you for listening. 206 00:23:59,300 --> 00:24:04,740 If you have any questions, let's meet right here. 207 00:24:04,740 --> 00:24:05,660 Thank you.