• 1 year ago
Transcript
00:00:00All right, now we're going to talk about HIPAA, the Health Insurance Portability and Accountability
00:00:16Act. So HIPAA's Administrative Simplification Statute and Rules. So this deals with hospitals
00:00:24in healthcare, right? So they require every provider who does business electronically
00:00:32to use the same healthcare transactions, code sets, and identifiers. There's a whole bunch
00:00:36of new ones now with the Affordable Care Act. And that deals with electronic transactions
00:00:43and code set standards. Then we have the Privacy Rule, which provides federal protections for
00:00:48personal health information, or PHI, held by covered entities and gives patients an array
00:00:54of rights with respect to that information. And then we have a Security Rule, which specifies
00:00:59a series of administrative, physical, and technical safeguards, again, controls for covered entities
00:01:06to use to ensure or assure the confidentiality, integrity, and availability, the CIA, right,
00:01:14of electronic protected health information. So CIA for PHI. And then national identifier requirements
00:01:22are that they require the healthcare providers, health plans, and employees have standard national
00:01:27numbers to identify them on standard transactions. So they're going to assign you a number. Everybody's
00:01:33going to get a number. The problem is here that you need to be able, the point of this one is
00:01:40that you need to be able to take all of the information that you've done throughout the year and you want
00:01:45to anonymize it into just the facts, statistics, and then you want to be able to ship it off to the
00:01:51government. So you need a mechanism for sanitizing the data and assuring that it's sanitized and
00:01:57nothing was missed. That's a big one. A lot of people have a lot of problems with this one. So that's
00:02:02something you're going to run into as a pen tester, probably a quarter of the assessments that you would
00:02:08do, I would say. And they're only going to get more. And then enforcement rules provide standards for
00:02:14enforcing the administration simplification rules. And Sarbanes-Oxley, or SOX, enacted in 2002. The
00:02:22Sarbanes-Oxley Act is designed to protect investors and the public by increasing the accuracy, reliability
00:02:28of corporate disclosures. So we had a breach. We're in the finance industry. We got to report it.
00:02:35The key requirement to provisions of SOX organized into 11 titles. Okay, so let's go through them.
00:02:42Title I, Public Company Accounting Oversight Board, okay, establishes information to provide
00:02:52independent oversight of public accounting firms providing audit services. So auditors, auditing,
00:03:00this kind of thing. Title II, Auditor Independence establishes the standards for external auditor
00:03:06independence to limit conflicts of interest and addresses new auditor approval requirements,
00:03:11audit partner rotation, and auditor reporting requirements. Now, this is a big one. Auditors,
00:03:18again, just like PCI, they can do a lot of digging. But if you want to hide something,
00:03:25you can hide it. I've seen companies do it, and it's unbelievable the lengths that they go.
00:03:30It's borderline illegal, and they do it all the time. I'm not saying everyone does, but it's very
00:03:35common. So you want to kind of call them out on that, but gently. You can't, you know, whatever you
00:03:40write down, it's very important that you be careful what you write down, and that it's, you know, what
00:03:46they're looking for as a customer. So you can kind of raise the red flag to them, but do it in a way
00:03:51that they can ingest it. Otherwise, they're going to kick the report back and say, we can't touch this,
00:03:55right? So what will happen is if you don't work with them to help them, everybody needs time to
00:04:03adjust. As long as they're moving in the right direction, you can probably support that in some
00:04:07kind of way in your own sanity. So just take it for what it is. They need to operate at the speed
00:04:12of life just like you do. Title III, corporate responsibility mandates that senior execs take
00:04:20individual responsibility for the accuracy and completeness of corporate financial reports.
00:04:25So these corporate financial reports need to be accurate. No fudging on that, right? Hopefully.
00:04:32Title IV, enhanced financial disclosures describes enhanced reporting requirements
00:04:36for financial transactions, including off-balance sheets, transactions pro forma figure and stock
00:04:43transactions of corporate officers. Title V, analyst conflicts of interest consist of measures designed
00:04:52to help restore investor confidence in the reporting of security analysts. So there was a time when there
00:04:58was a lot of cheating going on, right? And this is designed to prevent that and restore the faith.
00:05:04And then Title VI, commission resources and authority defines practices to restore investor confidence
00:05:11and security analysis or analysts.
00:05:14Okay, so you can see that there's actually two that refer to this.
00:05:44Refer to the analysts themselves. Then Title VIII, studies and reports, including the effectiveness
00:05:48and consolidation of public accounting firms. So this deals with the whole firm, right?
00:05:52The role of credit rating agencies and the operation of security markets, security violations
00:05:57and enforcement actions, and whether investment banks assisted, investment banks assisted Enron,
00:06:06Global Crossing, and others to manipulate earnings and obfuscated true financial conditions.
00:06:10So if you're part of this, you're going to be in a lot of trouble now. That's what these rules came
00:06:15out for, the whole Enron thing, because people were just totally covering things up.
00:06:20So title, that was Title VII. This is Title VIII.
00:06:24Corporate crimes and fraud accountability. So it describes specific criminal penalties for fraud
00:06:29by manipulation, destruction, alteration of financial records, or other interference with
00:06:35investigations while providing certain protections for whistleblowers. Okay? So you only have certain
00:06:41protections. So make sure that if you find that you see you've gone on a pen test and for some
00:06:46reason you've discovered, oh my gosh, these guys are lying and I can tell they're cheating, whatever.
00:06:51You find something you weren't supposed to find in a pen test.
00:06:53Again, just as if it was kiddie porn, you want to try and let them know. But before you do that,
00:07:00in this case, because you're a whistleblower, you may have a problem, right? So you want to
00:07:05contact a lawyer, and I'd suggest that in the case of the kiddie porn too. You want to contact a
00:07:10lawyer before you go to anyone, okay? In this case, in the socks realm, contact a lawyer before you go to
00:07:16anyone in the firm. And then white collar, title nine is a white collar crime penalty enhancement,
00:07:23increases the criminal penalties associated with white collar crime and conspiracies.
00:07:29It recommends stronger sentencing guidelines and specifically adds failure to certify corporate
00:07:35financial reports as a criminal offense. So be careful here, okay? So if you're, especially if
00:07:41you're a whistleblower and you find yourself in this situation, you want to be very careful how you go
00:07:45about socializing this information. You definitely need to socialize it, but you want to be careful
00:07:49how you do it. So there are a lot of ways that you can be stuck in this as well if you don't report.
00:07:55So you have to responsibly report, and how do you do that is what we're discussing here, okay?
00:08:00And just understand that these are the things that they need to adhere to. So any penetration test,
00:08:05hopefully, will just be helping them try to adhere to these rules. And any way you can do that would be
00:08:10very helpful. But in the event that you discover something, you need to make sure that you report it
00:08:14responsibly. I would recommend, highly recommend getting a lawyer first step. So title 10, corporate
00:08:19tax returns, state that the chief executive officer should sign the company tax return so that he is
00:08:25responsible. And good luck finding that, right? Nobody signs them themselves, even in the personal realm.
00:08:32Okay, so title 11, the last one, corporate fraud accountability identifies corporate fraud and
00:08:37records tampering as criminal offenses and joins those offenses to specific penalties. It also
00:08:43revises sentencing guidelines and strengthens their penalties. So they're taking this a
00:08:48little more seriously than before, right? And then enables the SEC to temporarily freeze large
00:08:53or unusual payments. So anything out of the norm. Again, if you find this kind of stuff,
00:08:58they may be testing you to see if you found it. So just be responsible how you handle this kind of
00:09:05thing. Seek some friend's help if you need it. All right, now this is a big one that affects you
00:09:11directly. The DMCA, the Digital Millennium Copyright Act and Federal Information Security Management Act.
00:09:17So DMCA and FSMA. So the DMCA and FSMA. The Digital Millennium Copyright Act, the DMCA, is the
00:09:26U.S. Copyright Law that implements two 1996 Treaties of the World Intellectual Property Organization.
00:09:35It defines legal prohibitions against circumvention of technical protection measures employed by copyright
00:09:42owners to protect their works against removal or alteration of copyright management information.
00:09:48So they're trying to prevent everyone from stealing music is why this came out.
00:09:52And then the FSMA, the Federal Information Security Management Act. The FSMA provides a comprehensive
00:09:57framework for ensuring that effectiveness of information security controls over information
00:10:03resources that support federal operations and assets. So this is for federal regulation only.
00:10:11It includes standards for categorizing information systems by mission impact, standards for minimum
00:10:18security requirements for information and information security systems, guidance for selecting appropriate
00:10:24security controls for information systems, guidance for addressing security controls for any information
00:10:31systems and for determining security control effectiveness, and then guidance for security
00:10:36authorizations of information systems. So you want to be very familiar with FSMA. The DMCA does a lot more than
00:10:44what's stated here, and it will affect you if you're conducting a pen test without permission.
00:10:48You are impacted by the DMCA. It's illegal because of the DMCA specifically. It specifically forbids you even
00:10:56touching someone else's electronically owned thing, right? So it's very broad. It's ridiculous.
00:11:03So it was very, very broad. I mean, you can fall under the DMCA for taking the cover off of your own VCR technically.
00:11:10Cyber laws in different countries. So you're going to see some test questions.
00:11:40Questions on this? Definitely on these two and on this as well. So we have section 107 of the copyright law
00:11:46mentions the doctrine of fair use. So we have that one. Online Infringement Liability Limitation Act.
00:11:54And then we have the Lanham Trademark Act of or actually a 15 USC 15 or 1051-1127.
00:12:04And then the Electronic Communications Privacy Act. You need to know that one for sure.
00:12:09The Foreign Intelligence Services Act. You need to be familiar with this one.
00:12:12The Protect America Act of 2007. The Privacy Act of 74. The National Information Infrastructure
00:12:19Protection Act of 96. And then the Computer Security Act of 87.
00:12:25And the Freedom of Information Act. Computer Fraud and Abuse Act. You need to know that one.
00:12:31Federal Identity Theft and Assumption Deterrent Act. So there's only a couple of these you need to know.
00:12:37They may have updated the test. So you might want to at least read over these a little bit.
00:12:43Be familiar with them.
00:12:44And then in Australia. The Trademark Act of 95. The Patents Act. The Copyright Act.
00:12:50And the Cybercrime Act of 2001. So the Cybercrime Act of 2001.
00:13:01And the UK. The Copyright Etc. Act. Trademarks. Offense and Enforcement Act of 2002.
00:13:09Trademarks Acts of 94. TMA. You need to know that one.
00:13:12Computer Misuse in 1990. You need to be familiar with that one.
00:13:17China. Copyright Law of the People's Republic of China.
00:13:21Amendments of October 2001. Right?
00:13:24Trademark Laws of the People's Republic of China. Continued there.
00:13:29The Patents. In India. Act of 98. Trademarks. Act of 99.
00:13:34The Copyright Act of 57.
00:13:37And in Germany. The Section 202A. Data Espionage.
00:13:40Section 303A. Alteration of Data. Section 303B. Computer Sabotage.
00:13:46So you want to be familiar with those two.
00:13:49Italy. The Penal Code Article 615 TER.
00:13:54Japan. Canada.
00:13:56The Singapore. Computer Misuse Act. You need to be familiar with that one.
00:14:03South Africa. Trademark Acts. 194 of 93. Copyright Act of 78.
00:14:08South Korea. Copyright Law. Industrial Design Protection Act.
00:14:14Belgium. Copyright Laws. Computer Hacking. Brazil.
00:14:20Unauthorized Modification. An Alteration of Information Systems.
00:14:24Hong Kong. Article 139. Of the Basic Law.
00:14:27So it looks like many companies have copyright laws. Right?
00:14:31So in the module summary, we have the complexity of security requirements is increasing day by day as a result of evolving technology, changing hacking tactics, and emerging security vulnerabilities, etc.
00:14:45It's a true statement.
00:14:46A hacker or cracker is one who accesses computer system by evading its security system.
00:14:54Okay.
00:14:56We talked about that the formal definition of a cracker is one that just breaks codes.
00:15:02They don't go any further than that.
00:15:03So they're still evading a security system.
00:15:06So this is a true statement too.
00:15:07Ethical hacking involves the use of hacking tools, tricks, and techniques to identify the vulnerabilities so as to ensure a system security.
00:15:16Well, it's more than that, right?
00:15:17It's a little more than just checking vulnerabilities.
00:15:19And we talked about that many times.
00:15:21So make sure you understand that.
00:15:22But for the test, ethical hacking involves the use of hacking tools, tricks, and techniques to identify vulnerabilities so as to ensure a system security.
00:15:30Any problem you find in a security system or a computer system that allows remote access or data tampering, anything like that, is a vulnerability.
00:15:39Technically, it is a vulnerability.
00:15:40So technically, this is correct.
00:15:42But don't misunderstand the point that when you go out and do a security assessment, it is not about just vulnerability scanning.
00:15:49Ethical hackers help organizations to better understand their security systems and identify the risks, highlight the remedial plans,
00:15:57and also reduce ICT costs by revolving those vulnerabilities, resolving those vulnerabilities, right?
00:16:04So you want to identify them and resolve them in some way.
00:16:09Ethical hackers should possess platform knowledge, networking knowledge, computer experts, security knowledge, and technical knowledge skills.
00:16:16Ethical hacking is a crucial component of risk assessment, auditing, counter fraud, best practices, and good governance.
00:16:23So a lot of good stuff here.
00:16:27Welcome back, everyone.
00:16:52We're going to dive into Module 2, Footprinting and Reconnaissance.
00:16:56So the module objectives for this section will be understanding footprinting concepts, footprinting through search engines.
00:17:03So like passive, that's an example of passive versus active footprinting.
00:17:07And then using advanced Google hacking techniques, that's going to be a fun section.
00:17:12Footprinting through social networking sites, understanding different technologies for website footprinting,
00:17:18understanding different techniques for email footprinting,
00:17:21and then understanding different techniques of competitive intelligence.
00:17:25So some of these are pay-for services in that section.
00:17:28Understanding different techniques for who is footprinting,
00:17:32DNS footprinting, network footprinting, and social engineering.
00:17:39Module flows.
00:17:40So we're going to go through footprinting concepts, the methodologies, the tools, the countermeasures,
00:17:46and then the penetration testing components.
00:17:49What is footprinting?
00:17:50Footprinting is the process of collecting as much information as possible about a target network
00:17:54for identifying various ways to intrude into an organization's network system.
00:18:00Footprinting is the first step of any attack on an information system.
00:18:05Attackers gather publicly available sensitive information, or may not even be sensitive information,
00:18:10which then they use to perform social engineering, system and network attacks, etc., etc.
00:18:15That leads to a huge financial loss and maybe possibly business reputation.
00:18:22Brand damage is huge nowadays.
00:18:24That's where the hacktivist and political hacking come into play.
00:18:28So you want to know the security posture.
00:18:31You want to reduce the security, the focus area.
00:18:34You want to identify vulnerabilities, and you want to draw a network map.
00:18:37So that's kind of the idea.
00:18:39So footprinting allows attackers to know the external security posture of the target organization.
00:18:45It reduces the attacker's focus area to a specific range of IP addresses, networks, domain names, remote access, etc.
00:18:53So you may have a huge organization, but I only want to attack finance, and I know that they're in Santa Clara.
00:18:59So I'm going to focus on that IP range only, only the Santa Clara network egress points.
00:19:08That's an example of reducing the focus area.
00:19:11So identify the vulnerabilities.
00:19:12It allows an attacker to identify vulnerabilities in the target system in order to select appropriate exploits.
00:19:17Nothing special about that, right?
00:19:18And then it allows attackers to draw or map an outline to an organization's network infrastructure to know about the actual environment they are going to break.
00:19:28So you can have literally a visual diagram.
00:19:33Objectives of footprinting are to collect network information.
00:19:36And under that, we have domain names, internal domain names.
00:19:40So if you can perform zone transfers, you may get information about the internal network address space.
00:19:47Network blocks, IP addresses of the reachable systems, rogue websites, private websites, things like that, TCP and UDP services that are running.
00:19:56Access control mechanisms and ACLs, network protocols, VPN points, IDSs that are running or that might be in use.
00:20:06Analog digital telephone numbers, authentication mechanisms and system enumeration, that kind of thing.
00:20:12Then the second part is collect system information.
00:20:15And the third part is collect an organization's information.
00:20:18So with respect to the system information, we have users and group names, system banners, routing tables, SNMP information, system architecture, remote system types.
00:20:28Are they Windows? Are they OSX? Are they Linux?
00:20:31System names and passwords.
00:20:33And then under collect an organization's information, we have employee details, organization's website, company directory, location details, address and phone numbers, comments and HTML source code.
00:20:44Security policies implemented, web server links relevant to the organization, and background of the organization.
00:20:53Did they ever have a dial-up interface?
00:20:55Is there anything that might still be left over that I can attack?
00:20:57That kind of thing.
00:20:58News articles and press releases.
00:21:01And there's also something they're leaving out here, like the history of their website.
00:21:08So like the network information and the system information, you can always go back into the Wayback Machine, which we'll probably discuss in more detail later.
00:21:16But the Wayback Machine at archive.org can show you what their old websites look like.
00:21:21So you can see what they fixed and what they haven't fixed.
00:21:23Maybe the trending from there to see how good their security is.
00:21:38So module flow.
00:21:53So we're going to discuss the footprinting concepts, the methodology, the tools, the countermeasures, and penetration testing, right?
00:21:59So now we're going to jump into part two, footprinting methodology.
00:22:02So we just discussed the concepts.
00:22:04Now we're going to discuss the methodology.
00:22:06So the methodology consists of these steps, and there are ten of them.
00:22:12And then we're going to discuss footprinting through search engines, footprinting using advanced Google hacking techniques, and then social networking sites, website footprinting, email footprinting, competitive intelligence, who is footprinting, DNS footprinting, network footprinting, and footprinting through social engineering.
00:22:30So you're just trying to gather what does their network look like?
00:22:32You know, what is the footprint of this thing?
00:22:34Have they left any tracks around?
00:22:37So footprinting through search engines.
00:22:39Attackers use search engines to extract information about a target, such as technology platforms, employee details, login page, internet portals, et cetera, which helps in performing social engineering and other types of advanced system attacks.
00:22:55Can't discount social engineering, it's like the number one thing today, the egress points are very heavily defended, people are struggling with that, trying to get into them.
00:23:04So they just go in for the social engineering attack.
00:23:06And it's a lot easier to find the infrastructure.
00:23:08And it also helps hide the attacks, right?
00:23:12It's a little less obvious in some cases.
00:23:14So search engine caches and internet archives.
00:23:17So we just talked about this a little bit.
00:23:19They may also provide sensitive information that have been removed from the web.
00:23:22So not only has it been removed, maybe, but you can also find stuff that's been left around.
00:23:28So you can use the search engine caches, what's left over in the search engines from previously, and then the archive.org.
00:23:35And there's several of them, not just one of them.
00:23:39Archive.org is a specific one.
00:23:41But there's several different ones that you can use.
00:23:44So finding a company's public and restricted websites.
00:23:47You search for the target company's external URL in a search engine, such as Google, Bing, et cetera.
00:23:53And restricted URLs provide an insight into different departments and business units and an organization.
00:24:01And you may find a company's restricted URLs by trial and error using or using a service such as netcraft.com.
00:24:10So netcraft is your first tool that they're mentioning here, besides archive.org.
00:24:15And that's one that you'll see on the test.
00:24:17So you'll have to say what kind of a tool is netcraft.
00:24:20So it's used for finding companies' restricted URLs.
00:24:26So it's a website crawler, right?
00:24:27It's a footprinting tool.
00:24:31So here's a search engine result for Microsoft using netcraft.
00:24:39Determining the other operating systems.
00:24:41One more thing I want to say about this is you could also use wgit for this kind of thing.
00:24:44And then burp as well.
00:24:46Burp will go and troll the entire site.
00:24:48It's called spidering in burp.
00:24:49It has a specific name.
00:24:51So in burp, it's called spidering.
00:24:53So burp does this as well.
00:24:55Determining the operating system.
00:24:57So you can use the netcraft tool to determine the OS is in use by the target org.
00:25:01Or you can use different types of tools.
00:25:03It depends on what kind of access you have to the network, how close you are, that kind of thing.
00:25:07You can use something called poff also.
00:25:09It's a passive operating system fingerprinting tool.
00:25:11And there's several other methods as well.
00:25:13Just the NMAP scans may also yield what OS it is.
00:25:19Determining the operating system.
00:25:20So we can also use Shodan search engine that lets you find specific computers, routers, servers, etc.
00:25:27Using a variety of filters.
00:25:30So Shodan started out as an industrial tool only.
00:25:33But it's turned into an Internet of Things collector.
00:25:36So there's a lot of good information in Shodan.
00:25:38So Shodan is definitely something you want to search when you're conducting an assessment.
00:25:42And then collecting location information.
00:25:46So you want to geolocate where their stuff is.
00:25:49So Google Earth uses as a tool you can use to get the physical location of the target.
00:25:54Sometimes you may need more information to do that.
00:25:58Tools for finding the geographical location are Google Maps, Wikimapia, National Geographic Maps, Yahoo Maps, and Bing Maps.
00:26:07Something else I want to say about the search engines.
00:26:11Like Google in the last two years has started filtering out a lot of information.
00:26:16So if you're looking for a dark type of information, Google is likely going to filter it out.
00:26:21So you may need to use a different search engine.
00:26:23So Dogpile is another good one.
00:26:26There's many of them out there.
00:26:27You might want to spend some time reading just on what search engines are out there.
00:26:31People Search.
00:26:32Social networking sites and people searching services.
00:26:35Social networking sites are a great source of personal information.
00:26:40You can get information about an individual.
00:26:42It can be found various ways, right?
00:26:43So people search websites.
00:26:45And then the people search returns the following information about a person or an organization.
00:26:51Residential and email addresses.
00:26:53Contact numbers and dates of birth.
00:26:55Photos and social networking profiles.
00:26:57Blog URLs, satellite pictures of private residences.
00:27:02And then upcoming projects and operating environment.
00:27:06So this used to be really fruitful.
00:27:08A lot of this information is getting filtered now.
00:27:11They're starting to filter some of this out because people are using it to find like movie stars homes and rob them and things like that.
00:27:16There's a couple of movies out about that now at least too.
00:27:19People Search Online Services.
00:27:22So you have Anyhoo, U.S. Search, Intellius, 411, PeopleFinders, PeopleSmart, Varomal, PrivateEye, PeopleSearchNow, and Public Background Checks.
00:27:36So these are some that you can still, that are in use today.
00:27:42So you can gather information from financial services.
00:27:45Financial services provide useful information about the target company, such as market value of a company's shares, company profiles, and competitor details.
00:27:57So if you were in business and you want to attack some competitors because you heard that you're trying to break into a market space or whatever the reason,
00:28:06you can use this kind of stuff to find out who your competitors are and things like that.
00:28:10This is something you should look at for when you're doing commercial pen testing.
00:28:15Find out who the competitors are.
00:28:17And that should be something you include in your report.
00:28:19Footprinting through job sites.
00:28:46You can gather companies' infrastructure details from job postings.
00:28:51So you want to look for this.
00:28:52Job requirements, employee's profile, hardware information, software information.
00:28:56And here are some examples of job sites.
00:28:58LinkedIn, Monster, CareerBuilder, Dice, Simply Hired, Indeed, USA Jobs, and also the ladders.
00:29:06This is really true.
00:29:07So like what you can do is say they're looking for Cisco engineers.
00:29:12Then you know you're going to be attacking Cisco gear on their network.
00:29:14They might have the IDS technology listed that they're using.
00:29:19Hey, we need somebody that knows snort, you know, that kind of thing.
00:29:22So there's a lot of information that they can leak in here.
00:29:25And also you can do a fake job interview if they don't actually post it.
00:29:28They just might say IDS technology, router technology.
00:29:32And then when you go for the interview, then they'll usually tell you exactly what kind of gear,
00:29:36like down to the series and model numbers.
00:29:39So monitoring target using alerts.
00:29:43Alerts are the content monitoring services that provide up-to-date information based on your preference,
00:29:48usually via email, SMS, and in an automated manner.
00:29:54So examples of alert services are Google Alerts, Yahoo Alerts, Twitter Alerts, and Giga Alert.
00:30:02So you can use this kind of stuff to monitor for target changes, changes in a target's organization,
00:30:07things like that, website updates, you know, this kind of thing.
00:30:11Information gathering using groups, forums, and blogs, another great one.
00:30:15People will actually post router configs in technical forums trying to get help on a problem.
00:30:20And it used to be you could snatch the password right out of there on the Cisco PIC series, for example.
00:30:26It used to happen a lot.
00:30:28And then now we're going to get into footprinting using advanced Google hacking techniques.
00:30:33So we have a query string, we have vulnerable targets, and we have Google operators.
00:30:38So let's look at what these are.
00:30:39So query string is a Google hacking refers to creating complex search queries in order to extract sensitive or hidden information.
00:30:46The vulnerable targets, it helps attackers to find vulnerable targets.
00:30:52And Google operators, it uses advanced search operators to locate specific strings of text within the search results.
00:31:00And the advanced search operators are cache colon, link colon, related colon, info colon, site colon,
00:31:09all in title colon, and in title colon, all in URL colon, and in URL colon.
00:31:15So the ones that people struggle with the most in this, the ones you need to mess around with the most,
00:31:20are all in title and all in URL, in title and in URL.
00:31:25Those are the ones that people struggle with the most to try and understand what they do, what the differences are.
00:31:32So let's go over each one of these.
00:31:33Cache colon displays the web pages stored in the Google cache.
00:31:38So you're going to search Google's cache only, not the live data feeds that are coming back.
00:31:43What do you have in your archive?
00:31:46And then the link colon lists web pages that have links to the specified web pages that you feed it.
00:31:52And also, the way these are used, when you do like cache colon and you want to search for something in the cache,
00:31:58say you want to search for turtle in the cache, in the Google cache,
00:32:01you would go cache colon turtle, no spaces in there, no spaces.
00:32:07And then cache colon turtle, that would be the search.
00:32:11But if it was like turtle five, let's say it's a game you're searching for called turtle five or something,
00:32:18then you would do cache colon turtle space five, right?
00:32:26So you have a space in there.
00:32:27You need to put that in quotes because as soon as you hit a space, the Google operator parsing stops.
00:32:33So if you don't have it in quotes, it won't keep searching for it.
00:32:38And then related colon lists web pages that are similar to the specified web page.
00:32:41Info presents some information that Google has about that particular web page.
00:32:46So that's your metadata.
00:32:48And then cite restricts the results to those websites in a given domain.
00:32:52So if I say cite colon www.somewhere.com space frogs,
00:32:58it's only going to search somewhere.com for the word frogs.
00:33:02No other URLs will be included in that search.
00:33:05All in title restricts the results to those websites with all of the search keywords in the title.
00:33:12So it's in the title page, not the URL, right?
00:33:15So in title restricts the results to documents containing the search keyword in the title.
00:33:21Okay, so you get the difference.
00:33:23All in the title, all the keywords are in the title alone.
00:33:26So if you're searching for a website about fishing and frogs,
00:33:31they need to have both words in the title page.
00:33:35So that's a very specific type of search, all in title.
00:33:39And then in title restricts results to documents containing the search keywords in the title.
00:33:45So they may also be present elsewhere, but it's in the title as well.
00:33:51All in the URL restricts the results to those with all of the search keywords in their URL.
00:33:58So that's going to be something like www, you know, a uniform resource indicator.
00:34:03In this case, a URL is www.something.com.
00:34:06And then in URL restricts the documents to results containing the search keywords in the URL.
00:34:14So that's the difference.
00:34:16There's documents that are found in the title.
00:34:20And like in title, they're related to documents.
00:34:23All in title is keywords in the title.
00:34:27So you do get the difference there, hopefully.
00:34:29Hopefully that's clear.
00:34:30You'll have to play around with it to really get it.
00:34:32You'll think you'll understand it.
00:34:33And then five minutes later, I usually get 50 questions in the live classes about this.
00:34:37So just go and play around with it.
00:34:39It's your best thing.
00:34:40And then you can do a little reading on it if you need to, or you can post some questions.
00:34:44And we'll give you some hard and fast examples that kind of hammer this home.
00:34:50Google hacking databases.
00:34:52So there's a ton of these.
00:34:54There's all different kinds of information that's been cached and stuff that they're going to show you how to search for.
00:35:00Google information gathering using Google advanced searches.
00:35:05So Google advanced search option is used to find sites that may link back to the target company's website.
00:35:12So this may be extracted information such as partners, vendors, clients, and other affiliations for target networks.
00:35:21So subsidiaries, which are the low-hanging fruit because they're like spun out companies.
00:35:26They don't have as much money.
00:35:27The budgets are smaller.
00:35:28Their security may be less.
00:35:31So with Google advanced search options, you can search websites more precisely and accurately.
00:35:39So you get a little bit more control over what it's doing to provide you the results.
00:35:44So that's the advanced search.
00:35:46Footprinting through social networking sites.
00:36:13So attackers use social engineering tricks to gather sensitive information from social networking websites such as Facebook, MySpace, LinkedIn, Twitter, Pinterest, Google, etc., etc.
00:36:24So social engineering is huge.
00:36:27People don't care about securing their sites most of the time.
00:36:31The ones that are secured, you can tell that those people are security-centric.
00:36:33So you're going to have to change your tactics accordingly.
00:36:37If you're going to be phishing people like that, that have their sites locked down, that have taken the time to read about the security, then certainly you're going to need to craft more relevant phishes to them.
00:36:46You're going to have to do a little more homework, so that could give you an idea of how much time you're going to invest in trying to get a successful phish.
00:36:54So attackers create a fake profile on a social networking site and then use the fake identity to lure the employees to give up their sensitive information.
00:37:01This is very common.
00:37:02People do this to people all the time.
00:37:06And also like exes and things like that do this quite a bit.
00:37:09So whomever is trying to friend you, if you don't know them personally, you should be very suspicious of that kind of thing.
00:37:15Employees may post personal information such as birth, educational, government background, spouse names, etc.
00:37:21And information about their companies such as potential clients, business partners, trade secrets, business websites, company's upcoming news, mergers, acquisitions, etc.
00:37:30So if they're a publicly traded company, you may get some insider trading info there, which would be a find as well for the company when you're conducting a security assessment.
00:37:38That information cannot be leaked.
00:37:42Attackers collect information about employers' interest by tracking their groups and then trick the employee to reveal more information.
00:37:49So this is very common stuff.
00:37:51Employees are a lot easier to attack than the organization.
00:37:57So when you're conducting an assessment, you want to give the company an idea how bad it's going to be.
00:38:01So this is important stuff.
00:38:03Don't discount it.
00:38:05Information available on social networking sites.
00:38:07So what an attacker gets, contact info, location info, friends list info, identity of family members, etc., etc., interest in activities.
00:38:15And then what users do.
00:38:16They maintain a profile.
00:38:18They connect to friends and chatting.
00:38:19Share photos and videos.
00:38:22Play games and join groups.
00:38:23And create events.
00:38:24Everybody's got a social profile nowadays, right?
00:38:28What organizations do.
00:38:31They conduct user surveys.
00:38:33They promote products.
00:38:34User support.
00:38:35Recruitment.
00:38:35Background checks to hire employees.
00:38:37So this is their social footprint.
00:38:38And then through that social footprint, the attacker can get the following.
00:38:43Business strategies, product profiles, social engineering information, platform technology information, and types of businesses.
00:38:50So the type of business that they are.
00:38:52So website footprinting.
00:38:55Website footprinting refers to monitoring and analyzing the target organization's website for information.
00:39:02Browsing the target website may provide the following.
00:39:05Software used and its version.
00:39:09The operating system used.
00:39:10The subdirectories and parameters.
00:39:12The file names, pass, database, field name, or query.
00:39:15Scripting platform.
00:39:16Contact details.
00:39:17And CMS details.
00:39:19So customer management service system details.
00:39:22So you can use burp, zap proxy, paros proxy, website information, our website informer, and firebug, etc.
00:39:30To view headers to provide the following information.
00:39:33Connection status and type.
00:39:36Accept ranges.
00:39:37Last modified information.
00:39:38X powered by information.
00:39:40And web server in use and its information.
00:39:42Okay.
00:39:43So there's a lot of stuff that they're throwing out right here.
00:39:45Some of the key takeaways for the test are going to be browsing a target website may provide the following.
00:39:52Be very familiar with that.
00:39:54Nothing special about that.
00:39:56This is business stuff, right?
00:39:58Nothing hacking related.
00:40:00But in the third one, using burp, zap proxy, paros proxy, and website informer, and firebug.
00:40:06So you need to be familiar with these.
00:40:07You need to do labs on all of these.
00:40:09You need to know what these are.
00:40:10You will see test questions about that.
00:40:13You might have a multiple choice that will list a bunch of tools.
00:40:15And one of them will be paros proxy, for example.
00:40:18And it will say, can I use this to footprint a website?
00:40:21Which of the following are website footprinting tools?
00:40:24And you might have three of them listed.
00:40:25So they may list burp, zap proxy, paros proxy, firebug, and then something else to footprint a website that's not a real tool.
00:40:33And you might have to guess the first four.
00:40:35So you kind of need to be pretty familiar with these.
00:40:38And then down in here, we've got a lot of details that are very important.
00:40:42So connection status, connection type, accept ranges, last modified information, X powered by information, web server in use, and its version.
00:40:49So how do you get all of this information?
00:40:52This is important stuff.
00:40:54So you need to understand what each one of these are.
00:40:57If you don't understand them and you can't figure it out, let us know.
00:41:01We'll talk to you about it on the chat or on the blog.
00:41:05But you can also Google this stuff to check it out and see how to get it.
00:41:08So what you're looking at over there on the right is, I believe that's one of the proxy programs that's pulling that up.
00:41:15Probably burp.
00:41:16I think that's an older version of burp there.
00:41:19So it will show you what the headers are and things like that.
00:41:23All the information coming and all the information going is what a proxy will give you if it's capturing it, right?
00:41:28If it's being told to capture it.
00:41:29So the accept ranges are like what IPs are accepting.
00:41:36They're accepting all U.S. or CONUS-based traffic, it appears, because you VPNed of different locations around the states and tried connecting.
00:41:43You were able to.
00:41:44You tried to connect from Australia, Japan, and France, and you were not able to.
00:41:48So they're only accepting CONUS, Continental United States Connections, right?
00:41:51So website footprinting.
00:41:56Examining the HTML source provides the following.
00:42:01Comments in the source code, contact details for the web developer or admin, you will rarely find that these days.
00:42:08And then file system structure and script type, that you will find in there.
00:42:12Examining cookies may provide software in use and its behavior, scripting platforms used.
00:42:17Not very likely.
00:42:18Cookies are pretty plain today.
00:42:19They're pretty dumbed down, and most of them are encrypted now.
00:42:22If they're not encrypted, that's a find.
00:42:24You know, everybody should be encrypting their cookies to prevent revealing this kind of information.
00:42:29Website footprinting using web spiders.
00:42:31What's a spider?
00:42:32A spider is something that goes out and just searches every possible link on the page.
00:42:35So it loads the page, and it'll visit every single link.
00:42:38And then in every one of those pages that it visited, it'll visit every one of those links.
00:42:42So it's kind of a recursive, deep dive search.
00:42:44It's going to go through the entire thing.
00:42:46It's going to do directory enumeration on the website, trying to look for config directories, anything like that.
00:42:52Any directories that are published by the web server, it's going to go dig into and collect and unload any pages that it can load in there.
00:42:58It's going to keep digging and digging and digging until it can't dig in anything else.
00:43:02So that's also the same thing that Burp's spider functionality does in Burp.
00:43:08So you want to check that out as well.
00:43:10Web spiders perform automated searches on the target website and collect specific information about employee names, email addresses, etc.
00:43:18Attackers can use the collected information to perform further footprinting and social engineering attacks.
00:43:22Absolutely.
00:43:23This is good stuff.
00:43:24You definitely want to spider a website.
00:43:52And then mirroring the entire website.
00:43:53So mirroring an entire website on the local system enables the attacker to browse website offline.
00:43:58It also assists in finding directory structure and valuable information from the mirrored copy without multiple requests to the server, which raises your counterintelligence.
00:44:10It says, hey, this guy is probing our site.
00:44:13You know, they'll see that.
00:44:14They'll see the probes and it'll raise the alarm on most monitored websites.
00:44:18Web mirroring tools allow you to download a website to a local directory, including recursively, building recursively all directories, HTML, image, flash, videos, and others files from the server to your computer.
00:44:31So what does that mean?
00:44:32Recursively means that it will get everything it finds.
00:44:35And then if it finds a directory, it'll go into that directory.
00:44:38If it finds another directory, it'll go into that directory.
00:44:40If it finds another directory, it'll go into that directory, flush the whole site.
00:44:44Then it'll come back to the first one and start off where it left off.
00:44:47So if it went into a directory in that previous folder, then in the next, it'll hit another directory and dive into that one, get everything it finds, and then come back and just keep going.
00:44:56It'll start from the bottom and work its way back out, right?
00:45:00So let me give you a better example.
00:45:03So if you have a, if you're mirroring a site and you're doing a recursive search or something, whatever it is, this is how recursion works in general.
00:45:10So you have a directory and four files, and then you have two directories with two files in each one, and that's it.
00:45:16Okay, so we start the spider.
00:45:19It hits the directory first, and it hops into that directory, and it sees two more directories and four more files with two files in each directory, okay?
00:45:27So it'll hit the first directory, go in, grab those two files, and it says, okay, there's nothing else in here.
00:45:32Then it hops back to the previous directory, which we had another directory, so we hop into that one, grab everything in there.
00:45:38There's no more directories in there to traverse.
00:45:40So we hop back out.
00:45:41We grab the four files, and then we hop back out and grab the last four files here.
00:45:44So we have four, eight, nine, ten, eleven, twelve files, all preserving the same directory structure.
00:45:51So that gives you the CSS files.
00:45:54It gives you everything you need to reproduce the website.
00:45:56So this can be done if people are mirroring your website like this.
00:46:01This can also provide a static website for a person to use to fake people that are coming to your site.
00:46:07So they might poison your DNS and then try to trick people into coming to their mirrored site, in which case they've stuck an iframe in there and record your password and stuff like that.
00:46:16That's where cross-site scripting comes in.
00:46:17This is how they do this kind of thing.
00:46:19They may mirror one page.
00:46:21They may mirror the entire site.
00:46:22It depends.
00:46:23So HTT Track, which is a web spider copier.
00:46:27Surf Online, also from the command line, if you're using any kind of Starnix system, Unix, Linux, OSX, then you can use WGit.
00:46:38WGit is another good command line one that's been around for years.
00:46:42There's some graphical tools, too.
00:46:44HT Track and Surf Offline.
00:46:47Website mirroring tools.
00:46:51Here's a bunch more.
00:46:52Black Widow, InCollector.
00:46:58GNU, WGit.
00:46:59So that's just a graphical version.
00:47:02So that's pretty much it for these.
00:47:05Website information.
00:47:07Extract website information from Archive.org.
00:47:10Okay, so we talked about Archive.org.
00:47:12Internet Archive's Wayback Machine allows you to visit archived versions of websites.
00:47:17So they kind of just troll the Internet and log everything they find for the top, I don't know, 10 million sites.
00:47:27A lot of times, if you have a smaller company, they won't be listed.
00:47:30And if they're not listed, don't get them listed.
00:47:33It's not good to be listed here if you don't have to be.
00:47:36Unless there's some reason you want to be.
00:47:39So you see over on the left, it's the Wayback Machine.
00:47:41So you go to Archive.org.
00:47:42You click on the Wayback Machine.
00:47:44And then in the search box there, you would type in the website that you want to check.
00:47:48And then you click Search.
00:47:50And it'll show you all of the versions that they've archived for that particular site.
00:47:53And that's what you're looking at here.
00:47:54You're looking for a search.
00:47:56You're looking at a search result that's already been searched.
00:47:59So all of those black lines represent captures that Archive.org did.
00:48:04You see the blue bubbles down at the bottom.
00:48:06The bigger the bubble, the more captures they had around that time.
00:48:09So if they're capturing your site a lot, I mean, if they've never had it in the archive,
00:48:13and then all of a sudden in June, they start capturing, that's fishy.
00:48:19Why did it start capturing just in June and then no more after, June of last year, right?
00:48:24So I would go back in the logs and start digging in June of last year and see what happened
00:48:28and who was trolling the site.
00:48:30Because somebody triggered a capture for a reason, okay?
00:48:36Monitoring web updates using Website Watcher.
00:48:39So Website Watcher automatically checks web pages for updates and changes.
00:48:43So if something changes, you get a notification.
00:48:46So, for example, if I hijack your site and I change something, you'll get a notification.
00:48:51Because otherwise, how would you know?
00:48:52A customer's going to report it, right?
00:48:53And that's the last thing you want to hear is a customer telling you that something's wrong
00:48:56that you didn't catch.
00:48:57So you want to use tools like this as well.
00:49:02So web updates monitoring tools.
00:49:04There's a bunch of them here.
00:49:06So you can just take a look at this slide.
00:49:08Nothing worth noting.
00:49:14We'll see which one show up on the test.
00:49:15Maybe InfoMinder.
00:49:16I've seen a question on that.
00:49:27Okay, we're going to get into email footprinting now.
00:49:47Email is very important.
00:49:48Again, we're going to have a lot of phishing attacks via email.
00:49:52So you need to understand all of this information in your emails.
00:49:56So this first part, you have the address from which the message was sent.
00:50:00And then over on the right there, you have the sender's IP address.
00:50:03You have the sender's mail server.
00:50:05You have the date and time from the originator's email server.
00:50:08You have the authentication systems used by the sender's mail server.
00:50:13Then you have the date and the time the message was sent.
00:50:16And then you have a unique number assigned by the google.com to identify the message.
00:50:21And then you have the sender's full name.
00:50:26So a lot of, actually all of this information can be spoofed except for the stuff that your
00:50:30mail server connects.
00:50:32Anything that's legit or it touches it will add its own real time stamp.
00:50:37But all of the upper information can be spoofed or faked.
00:50:40Okay, so just be aware of that.
00:50:43Email tracking tools.
00:50:45Also related to this, the sender's mail server, the sender's reply to address,
00:50:50those kind of things, if they're going to expect to receive an answer from you,
00:50:54some of that or all of that needs to be real, right?
00:50:57So there will be a lot of fake data in here and then all of a sudden you have one real
00:51:00thing like the reply to.
00:51:02So just keep that in mind.
00:51:03You need to look at a lot of spoofed emails versus a lot of legit emails to understand
00:51:07the difference you can quickly discern between the two with a little experience.
00:51:12Email tracking tools.
00:51:16So here's a couple of what they look like.
00:51:18And here's a list of them.
00:51:21Guess where, contact monkey.
00:51:24Zendo, point of mail.
00:51:27Who read me.
00:51:28So you can get a lot of information.
00:51:30Glock analytics from email.
00:51:33Designed specifically for when you're sending them.
00:51:35They can also extract information when you receive them.
00:51:39And then competitive intelligence.
00:51:41Competitive intelligence gathering is a process of identifying, gathering, analyzing, and verifying
00:51:47and using information about your competition from resources such as the internet.
00:51:52Competitive intelligence is non-interfering and subtle in nature.
00:51:57So you're not necessarily touching their website or doing anything to their website, but you're
00:52:02able to get a lot of information.
00:52:03So you can do this passively.
00:52:05You're not actively touching their network.
00:52:08So sources of competitive intelligence are company websites and employee ads, search engines,
00:52:14internet, press release, annual reports, trade journals, patent trademarks.
00:52:20You know, what kind of stuff are they working on there?
00:52:22Social engineering employees.
00:52:24So you're going to trick the employees into giving up information.
00:52:26Product catalogs, retail outlets, analysts and regulatory reports.
00:52:32Customer and vendor interviews, agent distributors, and suppliers.
00:52:38So when did this company begin?
00:52:40How did they develop?
00:52:41So you get the who, what, when, where, and why, right?
00:52:44LexisNexis, BusinessWire, Hoover's, and the Edgar database.
00:52:48The Edgar database, you will see a question on the test about that.
00:52:51So the Edgar is something where you get business information on a company for competitive
00:52:57intelligence, okay?
00:52:58So just remember that one.
00:52:59You will see a test question about that.
00:53:02What are the company's plans?
00:53:04So we use MarketWatch, Wall Street, Transcript, Lipper Marketplace, Euro Monitor, Experian,
00:53:11SecInfo, the Search Monitor.
00:53:12All of these are legit.
00:53:16Company intelligence, what experts say about the company?
00:53:20So if you want to know what kind of shape they're in, so for example, if you're going
00:53:24to go to work for a company, you might want to check some of these as well before you go
00:53:28and jump.
00:53:30Monitoring website traffic of the target company.
00:53:33So how do we get their website traffic?
00:53:34So we can get what kind of rating they have from Alexa.
00:53:38And an attacker can use a website traffic monitoring tool such as Webstat, Alexa, and
00:53:43Monetus, et cetera, to collect information about the target company.
00:53:46Total visitors, page views, bounce rate, the live visitors map, site ranking, cameras on
00:53:55the facility as well.
00:53:57Traffic monitoring helps to collect information about a target's customer base, which helps
00:54:01attackers to disguise a customer, disguise as a customer, and launch social engineering
00:54:07attacks on the target.
00:54:09So this is a good social engineering tool.
00:54:12And again, this is a passive thing where you can't know that it's happening in advance.
00:54:17Target tracking, reputation of the target.
00:54:21So Alexa is a very good tool for that, for about web reputation, right?
00:54:25What kind of reputation do they have?
00:54:27So the online reputation management, or ORM, is a process of monitoring a company's reputation
00:54:32on the internet, and taking certain measures to minimize the negative search results, reviews,
00:54:38et cetera, et cetera, and thereby improve its brand reputation.
00:54:40This is very important on the internet today.
00:54:44Here's a couple of tools listed for the ORM.
00:54:48The footprinting methodology.
00:54:50Who is footprinting?
00:54:51So we're going to dive into who ising now.
00:54:54Who is lookup.
00:54:55This is very important.
00:54:56It tells you when the domain expires.
00:54:58Can you transfer it?
00:54:59You know, all kinds of stuff you can get here.
00:55:01This is very good information for a pen test.
00:55:04They're maintained by the RIRs, the Regional Internet Registries, and they contain personal
00:55:08information of domain owners.
00:55:10Well, not really.
00:55:12That has long since gone away.
00:55:13So very rarely will you find personal information in a domain registry.
00:55:19They can make it private by paying a couple of extra bucks a year, or just not put any real
00:55:25information.
00:55:27Who is query returns?
00:55:29Domain name results, contact details of domain owner, domain name servers, net range.
00:55:33When a domain has been created, expiry records, domain last updated.
00:55:38So this is important information.
00:55:39When a domain was created, do we trust it automatically if it's new?
00:55:43No.
00:55:43If it's been registered in the last six months, do we trust it?
00:55:46No.
00:55:46We have to give it a reputation first, right?
00:55:49So you can use domain tools, Alexa, that kind of thing to find out how long they've been
00:55:53around and what kind of reputation they have.
00:55:55If they're sending a lot of spam, stuff like that, you'll know right off the bat and then
00:55:58you can blacklist the domain just because it's new.
00:56:00If it's new, then you may do a little more work on it before you decide whether to take
00:56:04it in at your egress point.
00:56:07So information obtained from a WHOIS database to assist an attacker to gather personal information
00:56:12that assists to perform social engineering, of course.
00:56:17And the RIRs, the Regional Internet Registries, ARIN, APNIC, RIPE, all of these have different
00:56:26information that they can provide as well.
00:56:28For example, the WHOIS information plus a lot more stuff they can be used for as well.
00:56:47So the result analysis, so we take a look at a record here.
00:57:02There's a lot of information in this guy and you can tell whom it's registered with.
00:57:07It'll give you some insight as to what kind of controls they may have and things like
00:57:10that, how long it's been around, all kinds of info that we just talked about.
00:57:14So WHOIS lookup tools, there are, you can just go WHOIS space in the domain in Google,
00:57:20so that's one.
00:57:21And then there's a whole bunch more that you can get right here that may pull in other
00:57:24information.
00:57:26So WHOIS Analyzer Pro, lookup multiple addresses, so you can do multiple searches at once instead
00:57:32of having to script it in Google, something like that.
00:57:35And then they have more of them, so that's going to continue.
00:57:38So here we go, DNS stuff, and I'm surprised they didn't list DNS tools in here, because
00:57:49that's a big one too.
00:57:52Okay.
00:57:53WHOIS lookup tools for mobile?
00:57:56So we have DNS tools, Ultra tools mobile, WHOIS lookup tool, just about anything you can
00:58:01find on your PC, you can find on a mobile space now, there's some kind of an app that'll give
00:58:05you at least some limited functionality.
00:58:09So DNS footprinting, extracting DNS information, an attacker can gather DNS information to determine
00:58:15key hosts in the network and can perform social engineering attacks.
00:58:19So over on the right we have DNS records provide important information about location and type
00:58:24of servers.
00:58:24Well, yes and no, the DNS can be on the East Coast and the servers can be in China, so really
00:58:32it doesn't give you geographic location.
00:58:36DNS interrogation tools, so DNS stuff and network-tools.com, both of these are good.
00:58:43And then over on the left we have A records, so this you're going to see test questions about,
00:58:48you will definitely see one on the A and the MX and the NS and probably the CNAME as well.
00:58:53So definitely A, MX, NS and CNAME will be on the test.
00:58:58Maybe even the PTR, and that's probably it.
00:59:02And other follow-on courses that you'll take, you will see one about the text record as well,
00:59:08unstructured text records.
00:59:11So the A points to the, what do you need to know about this?
00:59:14Timber, you're telling me this is on the test, so what do I need to know?
00:59:16What you need to know is, is that an A record, so we have the record type, an A record points
00:59:21to the host's IP address.
00:59:23An MX record, or mail exchanger, points to the domain's mail server.
00:59:27The name server, or NS, points to the host's name server.
00:59:32And then the CNAME, the canonical naming allows aliases to a host, so you can have a bunch of
00:59:38aliases point to it.
00:59:40And then we talked about the unstructured text record below.
00:59:45Extracting DNS information.
00:59:47So we have the domain dossier and then the DNS lookup.
00:59:52There's many of these as well.
00:59:53So there's also command line tools, DIG and NS lookup.
00:59:58Those are the ones from the command line.
01:00:00You need to know how those work.
01:00:01You'll need to know them for the test, and we'll probably talk about them in a minute.
01:00:04So DIG, there it is, DIG.
01:00:06You need to know DIG.
01:00:07And NS lookup is another one you'll need for the test.
01:00:11Not DNS lookup, NS lookup.
01:00:13It's a command line tool.
01:00:15Locate the network range.
01:00:17So network range information.
01:00:19So let me just go back to this one for one second.
01:00:21So for the test, they are going to ask you, it's probably something hidden in the lab somewhere.
01:00:26They're going to ask you tools about NS lookup and DIG.
01:00:29They're Starnex commands, so make sure that you play around with them and know them.
01:00:33If you're using Windows, make sure that, I think there's an NS lookup for Windows, but I'm not sure about a DIG.
01:00:41So anyway, get a VM installed.
01:00:43You can use VirtualBox, which is free to install any kind of Starnex, and then play around with those DIG and NS lookup tools.
01:00:52Make sure you look at the help and know how they work.
01:00:55Locate the network range.
01:00:57Network range information assists attackers to create a map of the target network.
01:01:01Find the range of the IP addresses using ARIN, who is Database Search Tool.
01:01:07So you can also find the range of IP addresses and the subnet mask using the target organization from the RIRs, the Regional Internet Registries.
01:01:14I keep telling you that because you're going to see a test question about that.
01:01:18The Regional Internet Registry, the RIR, you will see a test question about that.
01:01:22Most of you will.
01:01:23Okay, so TraceRoute, another tool you need to know and be familiar with.
01:01:27You will be asked many, many, many questions on this.
01:01:32TraceRoute programs works on the concept of ICMP protocol and use the TTL field in the header of ICMP packets to discover the routers on your path to target host.
01:01:42So you do a TraceRoute to see what route it's taking to the host.
01:01:46So you'll see a traverse from your first hop, which is your router, and then it'll go to your ISP's router and then out to the Internet and then back down to the host.
01:01:55So the way this works is, you see this TTL value?
01:02:00Every time it hits a device, the device will decrement that count.
01:02:04And it'll send a packet back to the original requester.
01:02:10Okay, so it'll decrement that TTL every single time it crosses a hop.
01:02:15If at any time it reaches zero, it's dropped.
01:02:19It goes no further.
01:02:20So if you set a TTL to one, it's only going to hit your router, and then that router will drop.
01:02:26If you set the TTL to two, it may hit your router and then the ISP router, and then it'll get dropped.
01:02:31So you can kind of play around with that.
01:02:33Okay, so make sure you're familiar with this, and make sure you understand that every time it crosses a device, it decrements it by one.
01:02:39That's how it works.
01:02:41So the TTL will be minus one, minus two, minus three, minus four.
01:02:45Every time it goes out, it makes a hop.
01:02:47And then that device will also send back, hey, I got your message.
01:02:51Hey, I got your message.
01:02:52Hey, I got your message.
01:02:54As the TTL is dropping.
01:02:56So there you go.
01:02:57This is how it works.
01:03:03This is how it works.
01:03:05This is how it works.
01:03:06This is how it works.
01:03:07This is how it works.
01:03:08This is how it works.
01:03:09This is how it works.
01:03:10This is how it works.
01:03:11This is how it works.
01:03:12This is how it works.
01:03:13This is how it works.
01:03:14This is how it works.
01:03:15This is how it works.
01:03:16This is how it works.
01:03:17This is how it works.
01:03:18This is how it works.
01:03:19This is how it works.
01:03:20This is how it works.
01:03:21This is how it works.
01:03:22This is how it works.
01:03:23This is how it works.
01:03:24This is how it works.
01:03:25This is how it works.
01:03:26This is how it works.
01:03:27This is how it works.

Recommended