So this is my testing box. So before we get started with the talk, all of these ideas are a methodology on how to do recon. Now I have with basically bubble gum and popsicle sticks stitched this together into some automation just back scripting, right? A lot of this stuff can be done automatically. Some of it takes like kind of contextual knowledge but most of it can be automated. So we're going to choose one of two targets. Both have bug bounties and bug crowd. I'm not doing anything illegal to enumerate while we're doing the talk. So you have your choice of twitch.tv or Tesla. Who wants twitch? Twitch? Okay. Who wants Tesla? Okay. Twitch is the winner. All right. So let me start this up and this takes a while to run. All right. So this is literally my script I use to run my tests. So I'm going to use when I'm red teaming our bug bounty hunting. And so we're going to go through the talk and the output but this takes a little while to run. Hopefully it will be done by the end of the talk. Okay. Emergent recon. Already did the intro. The only thing I will say additionally is that I'm a dad. I love my kids. And that's my girl winning, well not winning but solving her first CTF challenges at OWASP CTF in Santa Barbara. So really proud of her there. I'm also a huge game gamer. I play a bunch of games. So you can probably socially enumerate my battle tag or something like that and add me on steam or wow or whatever I play. All right. The first section. Discovering IP space. So one of the methods I use to discover IP space is keyword searching by organization. Now these slides show Tesla but the tool that we're running we're going to do twitch. So the best place to do this searching for what's called an autonomous system number is this site called bgp.he.net. The reason I'm doing this is because I'm not going to be able to do it without a lot of people. So I'm going to go ahead and show you what I'm going to do. So the reason you want to find an autonomous system number, right, if you're a large enough organization and you run your own network, really the Internet is not globally connected computers. It's globally connected little networks. Well not little at all. They're very large. They're called autonomous systems. When you have a large enough system or network you have to register it. And so when you register it you have to register a description or a name of your company. This is one of the only sites that allows you to search keywords to match company names to autonomous system numbers. So here you have Tesla Motors and you can see they're searching for a company. They're starting registered IP space on the right-hand side there. That 209-133-709-024, Tesla Motors Inc. Now what's awesome about keyword searching for this type of data is basically they might have registered another autonomous system number under a different entity name. And so here you can also see on the left-hand side that searching for just Tesla also came back with Tesla Engineering Group. So they might have a different autonomous system that I want to enumerate for a wide scope bounty. So then there's always your verbatim registries, right? Aaron and Wright. These have Whois data, reverse Whois data on anybody. They both have web services that will allow you to do keyword searches on things like Twitch or Tesla or whoever. This will start giving you back IP space that you can start adding to basically your list of things that you're going to hack. All of this goes around building a list of things you want to hack in your red team engagement or your bug bounty hunting. So someone said Shodan earlier. Shodan also allows you to search by the organization of the organization of the organization tag. So here you can say org colon Tesla plus motors. You can also search just by keyword Tesla, but you'll get a lot more results. This will start giving you everything that Shodan is giving you. What Shodan is, it's an Internet spider that goes a little bit deeper and has indexes and is available to hackers. It will basically profile technology, stack, IP information, certificate information, a little bit deeper than any regular spider goes. And it keeps it in this large database that you can query for almost free and even the paid version is really not that expensive. And then you can search for other things. So here you can search Tesla Motors in this instance and find out that there's a whole bunch of systems already out there. You can also search for title. This parses out title which can be really useful because if you're looking for a specific type of device or technology that they might have on their network that's vulnerable, you'll see it right away in the Shodan search results. So this is a little stopping place. And I actually don't really show this very much because it's not really hacking, but it's super useful for me when I'm doing this kind of thing. So I'm doing this large base recon on a site like Twitch. So I organize all my testing inside of mind maps. And you could do this inside of an Excel spreadsheet or OneNote or something like that. But I use Xmind. And I thought I'd just kind of show you how this works out. So here I've started a campaign or a bounty hunt against Twitch, right? So the top level node in my mind map just says that it's Twitch the company, right? Because actually I know that Twitch has a lot of domains and they're not all named Twitch.tv. So I'm going to discover that in the tool that we just looked at and some other tools we're going to look at. So I'm just going to start filling this out as we're going along, right? So if I go look for, you know, Twitch's IP space, I'll add a tree here and I'll just say IP space here. And then I'll keep, oh, that's not spelled right. Good job. And I'll keep that range here. I can go look for it in a second. And then I'll start adding domains in the top level node. Now, this doesn't look like much when you start it. But by the end of this, you will have a lot of data that you can start working with in this tree. What this ends up looking like is something like this. There it is. What it ends up is looking like something like this, where I have nodes of a top level domain that's in scope, Twitch.tv in the upper right-hand side. And now I have lists of subdomains and outputs of tools. And this is how I organize my subdomains and outputs of tools. I organize my information. And basically, how do you eat an elephant with all of these sites that you're finding, all these subdomains? Well, one byte at a time. Right? Like, I test each site individually, one site at a time, once I find them. I do an abbreviated methodology for web hacking on each one of these sites once I know that they're real and they're owned by Twitch. And then I just go through things like content discovery, like dynamic parameter discovery, fuzzing, basic cross site scripting checks, basic SQL injection checks, default passwords, all that kind of stuff. And then I mark them by, by progress. So if it's green, I'm done with it. I've made a first pass over that domain. And if a, or actually, if it's green, it didn't have a vulnerability. A check mark is based if I finished the testing on the site or not. So here we have a red entry on the bottom that has no check mark and is red. It means I found a vulnerability. I'm probably still testing on it. Orange is like, I've put it off till later. Something about that site has caused me to say, I don't want to do this right now. I'm going to put off this work till later because maybe this subdomain has some special technology that I just don't want to dive into right at this second. And I do this for every top level domain. So down here, you can see that Twitch actually owns Justin's hot TV, CurseForge. They also own, own Curse, Twitch app, and Curse app. Those are all top level domains they own. And I'm going to do this same recon methodology for each one of those top level domains. All right. So discovering new targets. Let's see here. Here we go. Yeah, so show DOM was the last thing. So now, now that I have some IP space, right? Show DOM is the last thing. So now, now that I show DOM is giving me some information, I have maybe the main IP space stuff from just Twitch.tv, which I know is their main site. And then, you know, I have some other information that maybe I got other places. Now I want to see if maybe they have some different kinds of brands, not just Twitch.tv and maybe not just having their IP ranges. I want to find out if Twitch has acquired anyone really recently. I want to see where they're linking to off their main site. So there's a lot of good tools to do this. And I want to do some tracker analysis of their ad and analytics, because this will reveal other places where they're using those ad and analytics. And I can add those, because they're probably related to Twitch. So acquisitions is pretty simple. This hasn't changed much in the last year. Crunchbase is still the number one place to go to find acquisition data. A lot of day traders use Crunchbase to figure out information on trading for or investing in companies, startups, whatever. It also has a lot of news. But the subsection that says acquisitions, you can drill down into any company and see, pretty concretely, who they've acquired. And it's updated really, really frequently. So here you can see in the last few years, Tesla has acquired Gromit Engineering, SolarCity, and Riviera Tool. Now, when you take over an organization like this, if you're a big parent organization, you probably decommission all of their IP space and probably their servers. You dead link all of their DNS entries or remove them all together. You nuke all their CNAMs. But really, that doesn't actually happen 100%. They probably still have some cloud infrastructure out there that they forgot was up and running. They have probably customer data leaked some places. This happens all the time. So if you're a wide scope program like Tesla, who says, we care about all security vulnerabilities on our bounty, I look at these, too. I look at SolarCity. I look at, you know, Riviera Tool to see if these domains, when the websites used to exist, you know, reveal some type of sites that maybe have vulnerabilities in them. So link discovery is this idea of finding out what the main site is linking to. And there's often a lot of, you know, there's a lot of links that are outgoing from a website or even incoming. And you can do this recursive link discovery in a tool called Burp Suite. How many of you used Burp Suite before? Very good. All right. So we're going to do this real quick. And we'll try it on Twitch, see if it works, if the demo gods will love me. I'm going to boot up my Burp testing profile here and put Burp on the right. When I started this morning, my license had expired. I had to buy a new license. I was like, oh, this is painful. All right. So now we have Burp. And our browser on the left. And let's just, let's do some things before we start. So the first thing we want to do is make sure that spider in Burp is not passively spidering as I'm browsing. I don't want to do that. I just want to instrument a certain thing right now. So I'm going to disable passive spidering as you browse. And I want to say max link depth for this exercise is one in Burp. And max parameters that I want to crawl is 25. And then I'm going to say when it sees a form, a login form, usually Burp prompts for guidance. This is super annoying if you've ever used Burp before. So you can either say don't submit login forms or you can say automatically submit these credentials. I usually for this exercise choose don't submit login forms. Number of threads is fine. And then form in general, I'm just not going to submit forms for this spider. So I've set up my Burp spider settings here. And now I'm going to set up some scope. So if I go to the target tab and I go to scope, really what I want to check out first is adding anything that I know says Twitch. Now Burp has a little bit of different functionality than last year that they've launched. So you have the verbatim ability to add a real domain or URL here to add in scope. And normally when you right click on a site and add something to scope, that's what it's doing. I don't want to do that. I just want to make sure I don't actually care about that because I don't know any domains except for the main one yet that I want in scope. What I actually want to do is basically say anything that has the keyword Twitch is going to be in scope for this project. So if you click this box right here that says use advanced scope control, you can say add. And you don't have to anymore supply a fully qualified URL. So here I can just now say Twitch. And just say okay. So now that becomes my scope for this project. I'll say yes here. Do I want to link this to the limit history for just that thing. Okay. So now let's go to Twitch.TV. All right. Make sure burps on. Oh, that was the dude streaming. My bad. That really confused me. All right. So we're now proxying Twitch through burp. You can see that intercept has said yo, there's traffic coming through here. So we're going to turn intercept off and just let everything go through. And then go back to our site map. All right. So already just by visiting the main page, we have some subdomains that are hot linked off of the main page. And the idea here of this link discovery idea is we're going to iteratively now spider everything we find to find more subdomains. So first let's just choose GKL that's what Twitch will add this to basically spider this. Oh, there we go. Twitch.TV. We'll just spider everything. If possible. Yeah. Right click. Spider here. All right. Already the spider has started to return a whole bunch of content for linked stuff. Not just on Twitch.TV now but also the things we just chose a second ago. So now we start to get a pretty good map of stuff that Twitch is related to. Now because I am parsing on a keyword, we're also getting the benefit of seeing what vendors they integrate. So we're going to do a little bit of spidering right here. Some of these are not Twitch.TV domains. They're ad systems or like other things that have Twitch in the URL or the domain which can be pretty useful for us to know to gather information on the target. So the idea here is recursively I would start selecting this and keep on spidering until I built out a huge map of domains. And those would go on my list of things to test. I need to test every single one of these things. Which seems like a daunting task but if you abbreviate your web testing methodology, you can absolutely do it. I had a bounty the other day. I had a bounty the other day. I had a bounty the other day that was upwards of I think 5,000 found live hosts. And I spent, well this was the other day, the other month. I spent about a month on it and I think I made 20 grand in a month. So it's not bad. Okay. So you would then select all these, spider these. How do you take this information, add it to your mind map or just make it in a list so you can feed it to other tools? Burp actually doesn't have a copy all targets function which I hope they do pretty soon. But what you have to do is actually you have to have the pro version and you select everything here and you right click and you say engagement tools, analyze target. And analyze target builds you this report, PDF report of all the domains and information about what dynamic parameters they have. And this is, you know, burp usage. But if you save the report, here I won't do it right now, but if you save the report it gives you a PDF report. And this is the most effective way to just copy and paste the list of targets that you have on the left hand side right there. It's just, there just doesn't exist a function to copy all targets on the left hand side of burp. So, save this as a PDF, open the PDF, copy the table and dump it into something else. Any questions? No. Alright. Quite a few hosts for Twitch. What? Yes. Yeah, to do that you need to have the professional version of burp unfortunately. Yeah. That doesn't exist in free. Alright. Yes. Can you use what? Zap for what? Oh, zap. Not zap. Yeah. Good question. I don't think that they have that function either. But you can use that for everything in here. The same stuff happens with zap. Zap has a spider. In fact, zap spider right now might be arguably better than burp because it handles JavaScript really well. Although burp just released a blog really recently that they're updating their whole spider engine to just be awesome. I'm so excited about that. So, yeah. So, yeah. So, yeah. So, yeah. So, yeah. So, yeah. So, I'm so excited about that. So, yeah. So, yeah. So, yeah. So, the future, maybe that will change in, you know, a couple weeks. But zap labs absolutely work for this workflow as well. Or as well as, like, Charles and some of the other InterceptionProxies. Alright. We will. Nukes. Alright. So, that was a demo for link discovery. Oh, not shared. We won't present. Cool. Alright. So, someone said, who is data or reverse who has data is a method where we could start to to find related domains or IP space of some of our targets. Now this is a tool that's relatively new called DOM link. It's written by a guy named Vincent Yu. He does this really cool Twitter thing called red team tips. He has over like 200 red team tips that he tweets out every other day or something like that. There's some really useful nuggets in there if you're doing red teaming or just bug bounty in general. But he created this tool that's based off of this site called Huaxi. Huaxi is a website that offers an API that's really cheap to access for and it has a free version. It has a free number of queries you can do to it for reverse who is data. So he created a tool that will recursively basically look at a couple of things for an organization. Mostly the most useful one is organization name. So I'm going to show this real quick and what this looks like. So this will query this Huaxi database, this tool will, with an API key that you sign up for it. You can do, I think, a hundred and twenty-five different things with it. So you can do a hundred and fifty queries before your free version is gone. And it will help you basically search for any site that has the registered company name of whoever registered your main target. So let's see if this works for Twitch. I'll make this bigger in a second. Oh, Caps Lock was on. Uber Hacker up here. Can't get in with Caps Lock. Okay. All right. So I'm on my test block. So let's see the tools and I think DOM link is where I'm putting all this stuff. Okay. So do a Python. DOM link. Let's see how Twitch has their, who is information set up. Twitch.tv-c. Okay. Let's see if this works. Okay. So their registrant name is Twitch Interactive Ink, which I think is actually correct, right? So this tool is going to ask me, do you want me to check the whole database for Twitch Interactive Ink and give you back what domains those are? So I'm going to say yes. Now this can get iteratively recursive because they might have actually registered under Twitch or Twitch Interactive or Twitch Engineering. Like, people register stuff very weirdly. There's no, in a lot of companies, there's not like a standard way that you do this unless you're very pattened down with how your registration works. So I'm going to go ahead and see if this works. So a lot of the times, it will actually alert me on a couple of these. It'll say, I found five with the keyword Twitch in them. Maybe we should check all of these out. But for right now, I'm just going to say yes. And here we go. So we have a ton of host data for other sites that are Twitchy. TwitchCon, obviously, their conference. So they host a domain for that. That's in scope. Why TwitchCon? Twitch with a three. They might be parking some of these. But that's okay. I don't know. I don't know. I don't know. I don't know. I don't know. I still want to check them out. One time when I did this, I used a keyword for a large manufacturer. And what I ended up finding was a domain that looked nothing like any of the other domains I had seen or any other brands. But they had indeed registered it with the same company name. Turned out that the company was hosting basically a whole bunch of new school, well, new school for them, portals for code repositories. Basically, JIRA, Jenkins, all kinds of CICD stuff. And they thought that the protection to this was that they never told anyone about the URL. Like it was only internal, right? Security by obscurity. So they thought that they didn't need to put authentication on it. So I walked in, stole all their source code, passwords, rooted the Jenkins server through script console. And that was really just right out of this tool. So this can be really useful to find targets. Twitch Amazon, TyWitch, yeah. So now you have this output. Now what do you do with this output? I mean, basically, it's as simple as copying and pasting it into the mind map. So if I go back here, I can see that I have this. This is where the fun starts. So each one of these should get a node if copying and pasting works. Yeah. Okay. Well, you get the idea. Each one of these should get a node. Twitch.tv, Justin.tv, TwitchCon, everyone should get a node. All right. Let's go back to the presentation. It's okay so far? You still have questions? All right. All right. All right. All right. All right. All right. All right. All right. Everything's useful? Yeah? Okay. Cool. Questions? Question. Yeah? It's a different database. It's a reverse WHOIS focused database, and they're parsing more fields in the WHOIS information than that site is. I've used both. I find this one to be way more effective. Yeah? Okay. So now we also want to find, maybe, we're still on this track of trying to find top level domains, acquisitions, other sites that we could use. We're are related to Twitch because they will be in scope for a large scope bounty. Now every company use ads and analytics tags, right? Yes. Yes, you can. You can do it through that same one. It has multiple options. You can specify you want to search by company keyword. You can specify register name. You can specify a whole bunch of stuff. So just check into the stuff of that one, yeah. So built with basically is this company that does technology profiling and analytics. Analytics. Basically they check out every site on the internet. They spider it by looking at their left over source snippets or text files or just default configurations of some frameworks. They know that your site is running fastly and you know is hosted you know with this X server technology and it's using these JavaScript frameworks. And they also know what analytics you're using by the format of the key that you embed in the web page. Now we can use this to our advantage because if you're a company like Twitch you have a new relic key and you have a Google analytics key or some of these other keys. Now luckily for us they allow us to look at these relationships between sites. So here I've drilled down into Twitch's and those are their analytics keys on the middle pane right there. I can click on any of those and see where else their analytics keys showed up on the site. So I can click on any of those and see on the internet what other sites are in the built with database. So this allows me to find brand new stuff that I might not have seen before like Binny.tv and you know Booth the Bun. These are all streamers that actually Twitch has promoted so much that they now have their own Twitch hosted sites. And so these might be in scope for the bounty. They might be custom code. You never know. So this is really advanced. So basically to do this you use the built with database. So you're going to go to build with site and just do a search on their site or you can use the Chrome extension which I can show you now. So in my browser up here if I go to Twitch again or actually I'll do it in my testing profile actually. No that's not my testing profile. Did I close it? Yeah I closed it. There it is. Okay. So now that I'm at Twitch built with the extension is installed. It's just in the Chrome store. You can click it. Maybe Burp's messing it up real quick. Oh there it is. Okay cool. Just takes a little longer because it's been proxied. So here you can see that I get some tech information and this is useful in hacking anyway to find out the stack they're using, what JavaScript frameworks they're using. You can drill down into this. This is also very useful in other parts of the methodology knowing what they run. Because you're going to look for O days in frameworks they use or whatever. So this is useful. But then if you go to the second tab up here. Yeah question. Wappalyzer doesn't do any of the analytics tracking. It just does technology profiling. So it'll do like, it'll do just as good of a job if not, if not a better job than built with. But it's yeah it's limited on the other functions. So. Let's try on the website. Yeah another question. Yeah. So that's the problem right. I would have scaled it if I could. The problem with built with it is it's a pay tool. They really want you to pay for it. So actually it looks like they just updated it right when I was doing this presentation. So I used to work right inside the bookmarklet and now it looks like I have to login with the free account to get the relationship information or maybe use the search on the website. They have an API for that. They'll the website. They have an APM and they did that because they did a lot of work with them and they it's expensive, it's really expensive to use the API. But I don't know of anyone else doing this analytics tracking, the analytics code tracking across multiple domains, so kind of stuck with it right now if I want to use this method. If anybody else knows of anything cool like that, I would love to know. Let's try it on the main site. That's not working. All right, here we go. All right, so relationship of twitch.tv, I can see that here's their UA code right here, their Google analytics code. If I click on that, now I get the domain information. Let me make this a little bit bigger. So here on the left-hand side I can see related domains. I also get a heat map over here of like how much they're related, although I'll be honest, I don't really know how to read this graph really well yet, but I use the data from the table most often. So star of the tree, you know, this is kind of the same stuff we were looking at before. Some guild sites, faceless.tv. This happens a lot actually is what happened with this kind of linked analysis. If they're going to do a beta product and they haven't even let anybody know about it, a lot of times I can look at this data and know that they're doing that data product. Like I knew way before some video games had even launched or gone into beta that twitch had already partnered with them and got sites ready for them and already integrated the analytics code into the page, and I ended up like knowing beforehand. Not really useful for a hunter, but exciting for a gamer. So yeah. All right. Yeah. You don't. You have to visit them. The indicators, I wouldn't say of compromise, but the indicators of ownership are usually the site has a privacy policy that links back to twitch or a trademark that links back to twitch in the footer. That's how I usually know that these are related. Yes. Yeah. Absolutely. Yep. You can use DNS registration information. You can go back to the who is information too and just verify that these ones match, you know, who is look up and stuff like this. Yeah, absolutely. Sometimes I'm reckless enough that I don't do that. But, you know, it just depends. Yeah, yeah. Yeah. All right. Go back to presentation mode. All right. So that's tracker analysis basically. So other things that you can just do are the things we just talked about. So trademarks exist across many sites, right? You have to embed your trademark and privacy policy in any site that you launch for business nowadays. They protect you legally. So searching for things like Tesla C 2016, Tesla C 2015, Tesla C 2017, and then in URL colon Tesla is a quick Google dork to try to find some sites that are related to your website. So, you're going to have to look at your site and see if it's related to Tesla. Yes. I don't look at that honestly. When I'm doing bounty hunting stuff, I don't care as much. So, I mean, that's a horrible answer. But, yeah, I just like. Yeah. Yeah. I would report it. Like, I mean, I have had instances before where, like, I found a site, it has the privacy policy, but I can see it's obviously not managed by the company. It's a third party. It's vulnerable to something. Like, I picked up right away, it has, like, some kind of search functionality or reflected, like, text and it turns out to be vulnerable to cross-site scripting. You know, bug bounty situation, I just ping the customer and I say, I found this site. It should be in scope because you have a wide scope program, but also might be in scope because I don't know if you own it. They have your trademark on it. I just say those words. A lot of times they'll be like, thank you. We'll contact the owner of the service. We think we knew who it is. And they'll usually award more than that. So, you know, it's a good thing that they're giving me a bounty for just having found something that they had no idea was up or had lost track of. Okay. So now we've done IPs and brands and, like, related sites. So now we're going to get into discovering subdomains. So we talked about subdomain enumeration, right? Like, finding, now that we have Tesla.com or Twitch.tv, those are top-level domains. Now we want to start finding subdomains of those sites. And those can individually map to IPs and be their own applications, which all are in scope for both of those sites. So I'm going to start with a subdomain enumeration. So what I'm going to focus on is the idea of bounty hunting and red teaming. So really, there's two methods to enumerate subdomains. One is subdomain scraping. And the other is subdomain brute forcing. Now, subdomain scraping is the idea of taking search engines, databases, census, Baidu, DNS databases, SSL certificate databases, even virus total, wayback machine. There's about 65 total sites around the Internet that harvest large sets of data about domains or maybe even thousands of them. And so we're going to start with those sites. maybe they're not really made for that. They're made for other things but allow us to do searches to find references to domains. And they all in some way or another offer access to an API or can be scraped pretty easily by some Python to return. So this is relatively new actually. We weren't doing a ton of this in pen testing until like the last couple years actually. Nobody was really looking at scraped information off the Internet to identify subdomains and maybe assets of a company in a red team engagement. But now it's all the rage. This is actually one of the best methods to find subdomains and secret sauce of your clients or your bug bounty targets. So there's a ton of sources. What happens is really there's been two advents. One was a tool called sublister which was one that everybody used for a really long time. And it was maintained for a while and then kind of fell off, wasn't really maintained. And then two authors really recently released two tools. One of them was called sublist that are epically good. And so they each have different sources and they each have different features and functions. So I can't decide which one I want to use in my methodology if I would be asked to use one tool. So I just script them both together. When I started that scan at the beginning of the presentation, that's just some bash in the background running concurrently. This tool amass and the next tool I'm going to talk about is sub finder. And that's the reason the tool takes so long is because it's scraping all these sites right now. So I'm going to talk about a little bit more about this tool right now. So this is a run of amass against Netflix who also has a bounty, public bounty. And what it does it goes out to I think between amass and sub finder 65 sources I think. And it also offers some cool stuff like permutation scanning. So first thing it'll do is it'll scrape all those sources for references to Netflix.com. And then it'll tell you on this page I found media.netflix.com and geo.netflix.com and exout104.netflix.com. And I have no idea what that is. And so it'll give you back a list of now targets. And you can see in this methodology for a big company, you're starting to gather hundreds of targets that you can go after. Which for a bug bounty hunter is good, right? You can hack the main site or you can focus on these other sites. There's really no limit to the kind of stuff you can find. A lot of my buddies are on the Walmart red team and they use the same methodology, this recon methodology to find stuff that's just been left out there. Especially when they acquire a new company. They do the same stuff. Same enumeration. So I'm going to go ahead and show you a little bit more of this. So the other helpers that this tool has is it includes some reverse DNS stuff but also has what's called permutation scanning. So you see here the second result here was media.netflix.com on the right hand side from this tool. And that's great. So what it'll do is it'll add common prefixes to that subdomain like 1-media.com or user or dev or prod or whatever media.com. And then it'll try dash. And it will append key words and a dash and a dot to try to find additional hosts that are related to that subdomain and see if they resolve. And if it does resolve, add it to the list. And so this is called permutation scanning in subdomain enumeration. And so AMAS includes a function to do this. So the other one is subfinder written by Iceman. Awesome hacker name. I love it. And this one has a multi-resolver bruteforcer built in. So if you want to do brute forcing and subdomain scraping via the same tool, you can do that. And then you can also do a lot of other things. So for example, if you're using a subdomain in a particular tool, you can use subfinder. And it's pretty efficient. It also can output in JSON. So you can feed some of this stuff to other tools. Especially if you're using something like Aquatone, subfinder supports now Aquatone output. So if you wanted to use subfinder for the discovery instead of Aquatone, which is a framework for OSINT that finds the same kind of stuff, you can basically take the output of this, put it into Aquatone and then use Aquatone for the later phases of what he calls a domain flyover. but really it's just sub domain analysis. So I used to have a fancy table saying like what was better about each tool when it was sub lister and some other ones like enumall which is a tool I wrote. I completely deprecated my own tool. I just want to use what works. Aqua tone, sub lister and anything else for scraping. But it doesn't matter anymore. Sub finder, amass are the two tools you want to use. They're the best in breed right now and they will be for quite a while. They handle the most sources and they're the most effective. Okay. So that's sub domain scraping. Now you have sub domain brute forcing. How am I doing on time? I have five minutes? Oh, God. Okay. Sub domain brute forcing is the idea that you just try to resolve a whole bunch of random stuff like admin.twitch.tv.com or twitch.tv and media.twitch.tv. And if you get a resolve, it means that site exists or some kind of DNS redirect, right? And if you get a resolve, it means that site exists. This is time consuming. Brute forcing anything, passwords or DNS entries is time consuming. And pen testing used to take a long time. There are newer tools nowadays and the one we're going to talk about is mass scan. Mass scan or mass DNS, sorry. Mass DNS is the one we're going to talk about. Mass DNS used to take what used to take a day to do or maybe a week to do with a large list of words to try to brute force sub domains. I just cut that time down into a minute and 24 seconds. And how it did this is it's written in C, and then it uses what's called multi-resolvers. Basically, instead of using one DNS resolver to do that resolution, it cuts it into groups of ten resolvers and then distributes your word list across ten resolvers and then brings it all back to you in the same tool. So it drastically cuts down the time to do this type of brute force. A one million line sub domain dictionary runs in one minute and 24 seconds. That's unheard of. So this is kind of what everyone's using right now. So what about those word lists? Well, there's a bunch of them. This is, well, this is every, on the right, every tool that I've ever known in my pen testing career, bug hunting career, that ever existed for sub domain brute forcing. Fierce, a lot of people used Fierce for a long time. Knock, like a whole bunch of tools came out for sub domain brute forcing over the last ten years. They all had different word lists and then individual projects came out with word lists to try to do sub domain brute forcing. I basically catted and unique them into this one list called all.txt and this is what I use with mass DNS. This is what I feed mass DNS with. All right. So I'm going to talk a little bit about common speak. Okay, I'm fine. I said I could stay a little while. Okay. So there's some other newer kind of tools or kind of newer projects out there. One is called common speak. What common speak is is they used BigQuery on a whole bunch of sites to parse out their sub domain structure and their URL structure. Now the sub domain data is awesome. Like it actually really gives you key words and terms to look up sub domain data that is pretty new, right? They went out and they analyzed hacker news and HTTP archive and stack overflow and basically if you think about it, they're just spidering these sites and every time they see a URL mentioned or a domain mentioned, they capture the sub domain and add it to a list and then do some analytics on it and they say, all right, new school companies are probably using these names for their sub domains. So if it totally became fashionable to name your sub domains after characters in Harry Potter, if Harry Potter made a resurgence, doing a BigQuery result against one of these sites might tell you that that's become fashionable again. This is how people name their sub domains, which is almost like language analysis added to sub domain enumeration. They also tried to do the same thing with URL data and how URLs are structured, like their URL path. This has been less useful for me, but I'm still waiting for the author to like sell me his dream on like why this is super useful because when I looked at it, it's very application specific, right? Everybody has a different URL path. There's not many common occurrences. I don't have a lot of information about what I see unless you're using a purchase software or a license software or something like that. But the sub domain data is awesome. I've integrated it into the all.txt file, so it's in there now. So you really, you could just use the all.txt file. Any questions? No? All right. So other ways to find sub domain data. So if you have, question? No, he's taking a picture. All right. So if you have, if you have DNS, sorry, if you have DNSSEC enabled, there's this idea of how DNSSEC links to the next sub domain set up for your organization. And I'll be honest. I don't know exactly how this works. I'm not a DNSSEC expert. Maybe someone in this room knows this better. But I know that they do link and reference to each other when you set up DNSSEC. So there's this idea of what's called NSEC walking. And there's three tools for this. LDNSutils, NSEC walker, and NSEC map. And what they do is they basically iteratively go through every domain that you hand it, the first one, and look for the next right-hand side of the next reference one in the NSEC chain. And basically what happens when you run one of these tools is you get kind of an old-school looking DNS zone transfer, which is amazing because nobody lets you do that anymore. And if they let you do that, a lot of this would be, you know, moot. Like, if I had a zone transfer, great. Like, give me all that. So if they have DNSSEC enabled, they can, you can use one of these tools. There's a whole presentation about it that Bharath Kumar, he did at the bug crowd conference level up two years ago where he walked through doing all of this. It's called esoteric subdomain enumeration techniques, which was excellent. I really loved it. Other ways that you can search for domains is searching GitHub or GitLab or, you know, sources, you know, like that. And you can also just do some Google door games. All right. So now we've got a giant list of targets in our scope or our, you know, campaign for red team or bug bounty, you know, thing. So what do we do now? Well, it's very general. Like in Pentest, you do port scanning. Except for a long time, we were using Nmap, which nothing against Nmap, but it's slow. It's really slow. And it's a great tool. And I use it in the methodology, but just in a different place. So things like Zmap and mass scan are infinitely faster to just do a general port scan. So here, mass scan to do a full port scan of a large target's ASN takes about 11 minutes to finish. And it's on 65,000 hosts. Right? That's super fast for a port scan. You know, I'm running this on a mid-tier digital ocean box, so like also not the most bandwidth that I'm working with. But Nmap would have taken a week. Right? I remember when I was doing Pentesting full time when I was like just a scrub, we would kick off this really ugly Python script. And it would have to kick off Nmap at the beginning of the script for a large company's domain. And then we'd come back four days later and it would have finally completed. Now, Nmap has gotten a lot of tuning to, you know, the port to get faster. There has been a lot of tuning. But mass scan still blows it out of the water. So what I do is I do the initial port scanning with mass scan. The fast port scanning of the whole IP or of the IP with every port. Right? The full range of 1 to 65,535. And then if that tells me a port is open, then I feed that to Nmap. And Nmap only gets the ports I know I'm open. And then I use Nmap because it's stronger in other areas. It allows you to do version scanning. It allows you to add Nmap scripting engine checks. And so I'll feed the mass scan output to Nmap. And as you can see, this is a methodology that can obviously be automated. Right? You can script all this together. Yes? So zero is about four? Yes. Absolutely. Yeah. Yeah. That's actually a typo. So, yeah. Thank you. Yes? Yes. Sometimes it does come back with false positives that are asynchronous. Because it's asynchronous, really I don't have a great way around that. So I'm going to go ahead and do a test on that right now. So, like, when I get back that data of port data, what it will look like in my automation is that it looks like every port is open on a box and with a mass scan. And it actually, like, since I'm logging the port scan to a flat file, that flat file ends up being, like, a huge amount of megabytes. And it slows down my tool. I'm still trying to figure out a way to, like, not do that. So it's in my issues list. But, yeah. I mean, it happens less often. I mean, it's not a big deal. Nowadays. Like, I think that if you tune mass scan really well, you can get around some of it. So, yeah. Yes? Some of the . Yes. This is true. Okay. So the question was a lot of places blacklist you when you start doing scanning. Right? This is a running joke. I don't know if you've heard it before. Like, what happens here is a lot of cloud-based WAFs, Akamai and CloudFlare and some other ones, when you start doing scanning, the thing is, when you start getting into port scanning or when you start requesting a lot of web requests against a host or you even send one iota of attack traffic to the site, they'll put you on this global blacklist, which will blacklist your whole house. And then your wife, my wife, will come to me and be like, why can't I get to Amazon? Why can't I get to United? Literally, she was trying to go to a funeral for her mom's mom, and she couldn't register a plane ticket because I had blacklisted our house, our IP, on this global blacklist. So this is a running thing. I test over a VPN. All the time now. And I make sure to have a VPN that has a quick proxy switch function. So I use IPVanish because IPVanish has a whole bunch of functions that I like, like the checkbox that won't let you connect to the Internet unless you have the VPN enabled. And it also has a button that just says quickly change IP. So once I get blacklisted from one, I'll just switch to another. But I don't test over my home network anymore. So, VPN. Yeah. Questions? Okay. All right. So now you've got back some port scan data. I mean, you've got a lot of port scan data. You've got a lot of port scan data. So immediately you're going to start to notice things that are interesting here. Obviously you're going to notice the 443s and the 80s, which are what we're going to test for web testing. But you're also going to start to notice remote administration protocols and database servers and things like that. All of these can be brute forced with passwordless. And so this is the part that gets, you know, you've got to make sure you have permission at this point. So when you do the mass scan and you get the output back, then you serve it to NMAP. And NMAP, with NMAP, you do the slash OGP. And then you get the output back. And then you get the output back. And then you get the flag to get back the greppable output. What you can do with the greppable output of a service scan from NMAP is feed it to this tool called brute spray. And brute spray is pretty cool. It takes the NMAP GMAP file or GNMAP file and it will parse it for all remote administration protocols. And using I think it's Medusa's, the core technology it's using under, it will brute force everything in that GMMAP file for credentials. And it will do it concurrently, which is kind of useful. So here I've specified a password list. It comes with the default user and password list. This is honestly enough for me. I'm not trying to hardcore brute force into stuff. Like that's usually not even scope for the bug bounty. In Red Team it is. So maybe you want to use a more advanced user name and password file list here. A lot exist out there. Seclist is probably one of the best ones that you could find for password and user name lists. But I'll just use the default one here. And I'll run this after the mass scan and NMAP finishes. And then I'm going to run this one. And it does this. So it locates the file and you can see that inside of my GNMAP file it identified nine FTP services, eight SMTP, actually nine SMTP, eight SSH hosts, one Telnet and one MySQL. And it will brute force all of these for common user names and passwords and alert me when it finds it. So then I'm going to run this. And I'm going to run this. And I'm going to run this. And then I have now started to look at remote administration protocols. But now I have all of this data for websites. 443 and 80. These are actually what I spend a majority of my time testing on a bug bounty is websites. But I have so many now. I have hundreds of domains for a large scope company. Like what's the largest company you could ever think of? Accenture and Microsoft. Right? You do this analysis for Accenture and Microsoft, you're getting back like I would say, well, I know from Microsoft. It's in the middle of the world. It's in the middle of the world. It's in the thousands of live hosts that you're looking at. Right? And I don't know how many of you have ever done a campaign against a thousand hosts. It's a lot of work. And to really know where to start, you could start at the top of the list looking at those hosts. But also you could do this method of kind of visual identification. So what you do is you use a tool called eyewitness. There's other tools that do this. Aquatone does this as well. There's another tool called HDP screenshot. And there's another tool that I just identified that somebody told me outside in the recon village table. And it's called HDP screenshot. And there's another tool that I have some examples about that's even better for this. But I haven't tried it yet. So it's at the end of the presentation. The idea is you find some tool that visits all your URLs or domains and takes a screenshot. That's all it does. Takes a screenshot, dumps it in a folder. Now you can open up that folder with large thumbnails enabled or whatever and just look through and kind of eyeball, like, yeah, that redirected to the main site. I don't care about that. This redirected to a help site. Kind of don't care about this. Oh, this looks like an admin back end login. Really care about that. Right? And so you visually start identifying things that you care about. Out of this large list. And that helps you prioritize what you test first so you get kind of return on your time. What eyewitness did that I liked a lot is you can feed it just a list of domains and not whether it's HTTP or HTTPS. And so this tool, eyewitness in specific, would try both for me. I didn't have to recreate multiple lists with HTTP and HTTPS and then feed it to the tool. The tool did it for me. But it's also kind of slow. These sometimes are prone to error, these tools, taking screenshots because they're using things like phantom.jl. And then you can do the same thing with HTTP and HTTPS, which is just kind of a garbage fire sometimes. So, yeah, you just have to take it with a grain of salt that maybe you'll get some false negatives in this idea. I probably still recommend, like, when I'm doing this against a smaller target, if I have less than 100 hosts that I found, I'm just loading all that in a browser and just visiting the pages myself using some Chrome plug-ins. If it's over 100 hosts, then I'll do something like this and go try to automatically do the screenshot method. All right. All right. All right. All right. Yes. Yes, it is. In eyewitness, they have that function where you can dynamically add a set of ports to the end of the domain. Yeah. Which I actually don't think a lot of the other tools that are trying to do this have supported yet. So, yeah. Yeah, like if they were running an HTTPS service on another port, right? Yeah. Okay. Okay. All right. All right. All right. All right. All right. All right. So this one, this one is kind of new and is actually, like, really simple. But who here has used Wayback Machine? Oh, yes. Okay. It's one of my favorite sites. Archive.org and Wayback Machine are awesome. If you've never used them before, what they are is a website that takes periodic snapshots of most sites on the internet that they can find, and then they will take these snapshots and show you the front page or maybe several pages on that site with a date and time stamp, and they keep the image up there. And so what you can do is if you want to have a lot of do is when you start going to these sites, what you're going to notice is a lot of them are like infrastructure that's not serving a real web page. There's no application. It's really either an API or some kind of infrastructure that just needs to be hosted but it's hosting other ports and a web server for no apparent reason. So you'll notice that when you're going through your testing, you'll get like a lot of blank pages or like stuff that looks like it's been nuked but once was there, like a lot of content. So what you can do is you can go and look in the web archive history and see was there once sensitive content there. This is actually how a buddy of mine, Brett, like I had done this and been successful in a couple cases but a buddy of mine, Brett, who's a bug bounty hunter was like it was kind of nice to see that he's found some really high impact vulnerabilities using this methodology. So you know when you do this, how do you automate it, right? Well there's some tools to do it. There's one called Back Unifier and another one called Recon Cap that supports scraping the links to the image of the history of the site that you're looking way back into. And so these kind of get integrated into your methodology. When you see sites that have little content on them or look like they used to be sensitive but have since been fixed, you go to their way back enumeration and then bingo, it's like a configuration page that has like a private API key that's still being used and they thought that removing the web page was the solution but actually the content was cached on the Internet. All right. So we did way back in the enumeration, we did visual identification. All right. So now for each one of these sites, right, I probably have a node in my mind map for all of them and I just start going down the list and this is what I do. First thing is I identify the platform with built with, right, the current plug in. I have a Python script that I'm going to release. I just have one bug to fix because they changed the API all the time and I need to now change it to use a free account. But I have a Python script I built that will scrape built with and give you the technology profile back for your site so you can integrate it into your own tools. I'll release that afterwards and maybe tweet about it on my Twitter. Or you can use Wappalyzer which is somebody mentioned. There's another one called WhatWeb which is also a technology profiling script. There's a whole bunch of them. So they're all pretty good. At this point I want to see what my target runs, my target application. What does it run? Like ASP.net? Are we looking at PHP? What JavaScript frameworks? Like I want to start getting that information so I know, well, ASP.net has request validation so cross site scripting is not really going to be super successful. I'm going to look at PHP and see what it does. So it's super successful for many, many times unless I'm looking at a custom piece of code or something like that. PHP, you know, very prone to path traversal attacks or command injection and stuff like that, old school vulnerabilities. So I got to put my 1990s hat on and be like, all right, I'm ready to attack PHP. So this gives me that information, the built with, and then also there's another one called retire.js which is super cool, which will give you the full version length of all their JavaScript libraries which is easily cross referenceable, with has there been any vulnerabilities since the version they're using. So immediately I know if they're using outdated JavaScript libraries and if there's cross site scripting vulnerabilities in those or anything else. There's also a newer-ish plug-in which is called a vuln scanner, burp vulner scanner, and you load it into burp and it basically does the same thing that retire.js does but except for the server stack. So if you think like Nmap gives you, or Nmap not, if you think like Nessus, when you do a Nessus scan, it comes back and it says, this is the same thing as this server software, this version, because I know by the header or identified that there was still an install file left or something, I know it's this version and that version had a vulnerability in it. This does this through burp. So you set this up here and every time you visit a new site, this looks at those key indicators and says, yeah, this is old. It probably has a CVE associated to it. You should probably go check to see if that's exploitable. All right. So I'm on a main site. I technology profiled it. You know, I'm on a main site. I kind of know what I'm going up against. I've maybe found some CVEs that I have to identify. The next big hurdle is parsing JavaScript. So sites that are, well, every site nowadays is using heavy JavaScript, right? And dynamic spiders and even burp in its current incarnation is just not good at traversing JavaScript. No technology is really great at it. So to be great at this, I have to add separate tools to my methodology. So Zap is actually really good for this. Zap's Ajax spider, is like a headless browser that will execute a whole bunch of functions on a page and basically return, you know, how you instrument an application that's heavy JavaScript and allow you to find parameters and even things like DOM based cross-site scripting very easily. So Ajax spider is pretty cool. The other one is called link finder, which is a standalone tool that you feed a URL or a list of URLs and it will go in and pull down anything that it sees in the source code of all the pages of a spider for full URLs, absolute referenced URLs or dotted URLs, relative URLs with at least one slash or just references to files. And it will go through all of the JavaScript files on a site and parse these out for you and build them into links so that you can visit them inside of either your browser or just directly through burp repeater or something like that. This has been really successful with things like API functions that are maybe loaded on a page in a large piece of JavaScript on how to implement these things. So you can implement the API, but since you're there just using one function, you're only executing one one hundredth of what the API can do. Well, now you get the paths for all of the API and how you instrument them. And if they haven't basically set up access control, having this mapping and knowing how to work that API without a document is absolutely glorious. You can find vulnerabilities. Even these things reference configuration files sometimes. Like a lot of times we were missing out on a lot of this information in JavaScript files. Now we're not as much anymore because we have helper tools like link finder. Very similar is JS parser. Actually written by Ben who was in the room earlier. I don't know if he ever got in, which is sad. But he was here. He helped write this. It does the same thing. Parses out paths that are referenced in JavaScript. So how do you feed these tools those pages? It's pretty simple. You go to your top level target in burp sitemap. You go to engagement tools. Again you have to have the pro engagement tools. Find scripts. And then you copy the selected URLs that have scripts on them. And then you feed JS parser link finder that list. And it will automatically go and do its magic and find URLs that you need to add. All right. So now we've parsed JavaScript. We have a good map of the application, what we're doing, et cetera. Okay. So now we want to do content discovery. The idea of content discovery or directory brute forcing. Who has done that before? Anybody? Directory brute forcing. No one's used der buster before? Or anything? Okay. There we go. All right. I was worried there for a second. But the idea here is you have twitch.tv, right? And you've spider twitch.tv and used it as a user. And you know all these paths and functions that it's executing. But that's not the whole story. Absolutely there are back end URLs that are used by service staff like admins. There are usually configuration pages installed by frameworks or there's just a whole bunch of stuff behind the scenes. Now how do I know about that when I look at a site? I do directory brute forcing with something like der buster. Now der buster is super old school. Nobody uses der buster anymore. We have now moved on to some command line tools that have instrumented the same thing that der buster does but much faster, like go buster. Go buster is one of my go tos. Another one is der search, which I've been using more lately. And the reason you would use one of these tools over the other is the amount of information you're getting back and control of the directory brute forcing. Five minutes. Okay. Got it. And so these tools will allow you to go through a large list of directories. The best one right now is robots disallowed written by Daniel over here. He went out and spidered all of the robots.txt files in a large Alexa list, right? Or the top Alexa whatever. And then built it into a list for us to use because if you think about a robots.txt file, it's what developers don't want you to find, right? So now we go to every place they don't want to find. And then we go to the place they don't want us to find. They want us to look at stuff. And we look at stuff. And that's what a hacker does. So go buster and robots disallowed. Pretty win. So this is another list that's pretty good for this. I took robots disallowed and again every tool that I ever found to do directory brute forcing and I catted it into one list. It's pretty shit but it's still pretty good. It works for me. It's a large list so this will take a long time to run on a target. The other idea is that now we have a whole bunch of functions maybe that are linked in JavaScript or we got from other places. But we don't know what parameters they take to actually action the function. So you can brute force parameter names as well once you find a function that seems juicy. And I only ever do this when a parameter seems really juicy like, you know, like admin equals whatever, you know, transfer data, you know, depreciate user, like whatever. If the keyword seems juicy, I'll do this kind of analysis. Otherwise, this is another time consuming step. Brute forcing anything is time consuming. So I've got a list of the most common parameters on the internet that's integrated into a tool inside of burp called backslash powered scanner. It's the top parameters that appeared on websites from the Alexa list. And you can feed this to a tool called parameth which will try to, first of all, try to find commonly known parameters on a URL or on a script or on a rest path. And then it will feed it this list and try to brute force some if it can't elicit what they are verbatim. So I've got a list of the most common parameters. So this also works really well. This list is backslash powered scanner list called params. It's in the folder on port swiggers github. It also is really useful for API fuzzing. So if you're up against a rest path, like you find an API and it's a rest based API, this list is really good for trying to find rest based API functions when you're doing a black box web audit. All right. We're almost done, I swear. All right. So the other one is this idea of auxiliary testing, like just some random things I wanted to add in here. A lot of people are committing bad stuff to github. A lot of times. They do it. They just, on accident, they commit passwords, they commit config files, private keys, a whole bunch of stuff. So basically what I do in my script when I kicked off the one earlier is the first thing it does is it builds a set of links that are searches to github. So here you can see I have a word here, password, which is actually the one you hit on the most with this kind of analysis. And I build a link here. I say github dot com slash search queue. And then my domain is this dollar sign one here, right? That's the domain. So in this case it would probably be twitch.com and then plus password. And that's the search. And if I click on this out of my console, it will take me to github. I have to be logged in. And it will do a search on all github projects for any code that has been committed that has twitch.tv in it and password equals. And I will find invariably a lot of these. This seems dumb and simple. It happens all the time. So I'm going to go ahead and do a search. I'm going to go ahead and do a search. And I'm going to have a link right here. And I can see that it's woth a lot of money in bounties and it's indicative of a lot of risk to your organization. It just happens. People go spin up custom code projects. They forget. They commit it to their own repo. Then they even remove it. But the reference is still there in the history. So this is a big thing that happens all the time. So I build these links dynamically while the subdomain scraper and brute force are running in the background, which takes a long time, I am manually going to each one of these github searches and trying to find out if they have committed stuff. So I'm trying to scan and see if they have stack my activities so that I'm never wasting time. Something new I've started to do is favicon analysis, so the favicons that are associated to your little tab and it shows you like, hey, this is the Adobe favicon or whatever. I pull that down from the main website, which I already know usually when starting one of these. I hash it and then I pull down every one I see on every site that's in that port scan, that's in the reference subdomains and I see if the favicon matches and then I know that for sure that is probably owned by that site and it might be something indicative that I need to test. So favicon analysis and that methodology is pretty new. I confirmed this with a friend of mine who's pretty good at recon. This has actually worked out for him as well. So found a couple of reference IP ranges in the cloud that he didn't know for sure were targets but then because he could verify via the favicon that they were, was able to get permission to hack them when nobody else had ever seen them and found a couple of bounties on that. So super cool. This is the last one I told you about that I actually found out at the table out there, go grabber. So the idea of HTTP screenshot or any of those screenshot tools. This is a new one. What I like here is that it's faster. It's written in go probably. So it's probably faster. And I'm going to try this when I get home. I heard it's pretty good. So I don't really have any data on this. But if you want to go institute something quick, you can try this when you get home. So if we go back, this is the total methodology. So if you go back, this is the total methodology. Wrapped up in kind of bubbles and a cat. The tools that I use with it. And this is iterating all the time. Like this is always changing. Every couple months something happens where I change up my methodology. I'll wait until all the cameras go down I guess. Yes. What? No. What is that? Maybe. Okay. Yeah. Absolutely. I don't have any experience with that. I would love to add it to my methodology. Yeah. Let's talk. Absolutely. Okay. So that's most of it. Let's look at the automation that ran. Okay. So here is holy crap. All right. That was a lot of stuff. So this is my automation. It's just glomy bash scripting. It's nothing special. Right? So I started on twitch.tv at the top. Right? First it says it's running AMAS sub finder and mass DNS on twitch.tv. So it's going to take a while. But it's going to take a while. It's going to take a while. Then what it gives me is the crunch base links for acquisitions for twitch. So I'll take this and paste it in my browser. Crunch base uses distill so I can't automatically pull this down into the command line. I actually have to go visit the page as a human because distill is a really good bot protection. So I just build the link here. I go check it out. I see who they've acquired. I add them to my mind map. And then I also want to see if there's any like kind of directory structure that twitch.tv maybe uses or it's referenced very highly in Google search results. So this is a Python Google script or a Google search result. So this is a Google browser basically. So I can't remember the name of it. But I institute this basically command line browser to pull back Google queries. And then it gives me links that are referenced on Google for twitch.tv. So I start looking at these things and seeing if there's any strong correlations of sites I should test. Then it builds my GitHub list for me. Right? So passwords, I'll just grab this and copy it or open in the browser. So really hope nothing shows up. So I'm going to take a look at this. So somebody has a project here which has a JSON config file with maybe credentials in it. Here's a bot dot config for probably scraping twitch. Probably not run by one of their own employees. Here's a conf file that doesn't actually specify a password. Here's somebody who's put a variable in for a password. User and pass. That's really secure. OAuth. So this is going to use OAuth. Yeah. So I'm going to go ahead and I'll look through multiple pages here. When you're looking through the GitHub output, you can choose best match or recently indexed. Recently indexed will give you, you know, a good view of like if anybody's done something like really recently, they may have forgot to pull it out. So I will use both. I will look at both sorting views of this data. And I will do this for all of these. Password, ID RSA, pass WD. There's a long list of these that I took from another tool. I can't remember the name. Do you understand what the name of that tool is? Yeah. It's some other GitHub like dorking tool. But it does all, it does some of the analysis automatically. But it was for a different use case. So I took that and put it into building these links. Then the scraper and brute force stuff finished processing. And I want to make sure that these sites exist and are not just references or taken down, right? Because it's scraping, it's taking information off the Internet. You don't know if that site may be taken down, right? So I built my own script to resolve everything. Not super fancy. And it resolved IP. So a lot of IP or a lot of domains were found. A lot. What? What is it? Oh, okay. I got to go. So anyway, you can do this at home. This is not fancy scripting. I get the list of IPs to analyze. I get the links for the sites. I load them in the browser and I test them doing web hunting. That's it. Thank you very much. Thank you.