|
What You'll Learn
- How hackers and malicious intruders analyze and develop target vectors aimed at your critical
assets
- The strategy behind finding weaknesses before they become a security risk
- The proven Foundstone Penetration Testing Methodology
- Develop the mindset of a malicious attacker and identify the true risk to your organization
- Use the tools and methodologies hackers use efficiently, in a controlled and safe environment
- Develop your own security toolkit from tried and tested tools
Course Outline:
Day 1 - Information Gathering & Scanning
On the first day, students adopt the mindset of an external attacker scoping out the target corporation and identifying
holes in the company's Internet-accessible systems. Emphasis is placed on the proven methodology developed by Foundstone
Consultants in the field. Following the methodology, the lecture and minilabs concentrate on the initial steps
from an external perspective of network penetration testing.
Introduction
- Hacker methodology
- Attack platforms & basic tools (XP, BT3, Cygwin, etc)
- Module 1 - Footprinting
- Publicly available info
- Whois/ARIN lookups
- Reverse lookups/DNS
- Google hacking
- Footprinting Countermeasures
Module 2 - Scanning
- Host discovery - Nmap, Xprobe, Superscan/Scanline
- Service discovery - Nmap, Superscan/Scanline, SNMP
- Service versioning - Nmap, HTTPprint
- Banner Grabbing - Netcat, Openssl
- Vulnerability scanning - Nikto, Nessus
Scanning Lab
This minilab requires students to use the tools and techniques taught on day one to footprint and scan Foundstone's
Hacme corporate network, and it consists of a wide variety of machines on the Intranet (Windows XP, Windows 2003,
Linux, Solaris, etc.). These machines are specifically made available to the class for the purpose of running live
scans. This lab gives students the opportunity to run the tools in a realistic manner against live machines on
the student network.
Day 2 - Penetrating the External Network
The second day focuses on hacking from an external perspective. After all necessary information gathering and scanning
are complete, the attacker's focus shifts towards hacking available web applications and backend servers. Emphasis
is placed on Foundstone's Web Application Penetration Testing methodology - a proven web hacking methodology used
by Foundstone consultants in the field. Students will find multiple opportunities for hands-on experiences interwoven
into this lecture. After learning professional techniques for hacking web applications, the students will attempt
to hack Foundstone's Hacme Casino.
Module 3 - External Perspective
- Overview of E-Commerce Architectures
- HTTP/HTTPS primer
- Authentication - HTTP basic, form based, common vulnerabilities
- Authentication best practices
- Authorization - direct browsing, vertical/horizontal privilege escalation
- Authorization best practices
- Session handling - cookies
- Session handling best practices
- Data validation - parameter manipulation, XSS, CSRF, SQL injection, etc.
- Data validation best practices
- OWASP Top Ten
External Lab
The day ends with a hands-on lab requiring students to perform a variety of attacks on Hacme Casino. Students will
follow the methodology and employ the tools taught during the day in order to perform SQL injection, XSS, CSRF,
application logic, and other attacks. This external lab is modeled after an online casino web site and contains
a variety of real world vulnerabilities commonly found in today's application.
Day 3 - Penetrating a Windows Environment
The day begins with enumeration of Windows operating systems and follows the hacker methodology, teaching students
how to hack Windows operating systems from start to finish. This day will concentrate on a variety of common attacks,
and students will learn how to penetrate Windows systems on internal networks. After gaining access to target systems,
students will learn how to escalate their privileges in Windows using techniques applicable to common corporate
environments. The day wraps up with a major hands-on Windows lab.
Module 4 - Windows
- Network enumeration - Resource kits, built in, etc.
- Host enumeration (Cain & Abel, LDAP browsers, Getmac, Sc, Nbtstat, Nbtenum, Dumpsec,
etc.)
- Enumeration countermeasures
- Null Sessions and authenticated sessions
- Penetration - brute forcing (Hydra, SQL Ping 3, Brutus, etc.), exploitation (Metasploit
and other frameworks)
- Penetration countermeasures
- ARP poisoning, sniffing, and Man-in-the-Middle attacks - Cain & Abel (VNC, RDP, MSSQL,
HTTP/HTTPS, etc.), Wireshark, Berkley Packet Filter notation, countermeasures
- Privilege escalation attacks - Shatter attacks, DLL injection, client side attacks, WMI
- Privilege escalation countermeasures
- Pillaging - disabling antivirus, Pwdumpx, LSAdump, Cachedump, Creddump, etc.
- Password cracking/recovery - John the Ripper, Cain & Abel, lcp, rainbow tables, etc.
- Pillaging countermeasures
- Getting interactive - netcat, psexec, osql, etc.
- Getting interactive countermeasures
- Expanding influence - LSA secrets, pass the hash tool (gsecdump, msvctl, pshtoolkit), trojans,
rootkits (Hacker defender FUtoo, etc), call hooking, key loggers, port redirection (Fpipe)
- Expanding influence countermeasures
- Cleanup - covering tracks (logs, a/v, users)
- Cleanup countermeasures
Windows Lab
This day ends with a hands-on lab involving the students hacking their way into the Hacme Corporation Windows environment.
Using the Foundstone hacking methodology, the students will start by enumerating the Windows systems and hack their
way from one machine to another until ultimately owning the prized backend systems. This lab is modeled after real-world
corporate environments and will take several hours to complete.
Day 4 - Penetrating a Unix Environment
This day focuses on the hacker methodology as it applies to Unix/Linux systems. Students will learn how to hack
Unix/Linux operating systems from start to finish. The lecture and hands-on opportunities will teach students common
techniques for hacking (and securing) Unix-based systems.
Module 5 - Unix
- Overview of Unix/Linux - distributions, differences, defaults
- Enumeration - NFS, RPCs
- Enumeration countermeasures
- Penetration - brute forcing (Hydra), remote exploits (X server, buffer overflows, RPC exploits,
etc), physical attacks, etc
- Penetration countermeasures
- Privilege escalation attacks - local exploits (file permissions, sudo, cron), misconfigurations
- Privilege escalation countermeasures
- Pillaging - password cracking, rainbow tables
- Pillaging countermeasures
- Getting interactive - netcat, xterm, reverse telnet, Metasploit Meterpreter, covert channels
- Getting interactive countermeasures
- Expanding influence - trojans (SSHeater), rootkits, key loggers, port redirection (Datapipe),
network mapping
- ARP poisoning, sniffing, and Man-in-the-Middle attacks - Cain & Abel, Dsniff, Driftnet,
Wireshark, Berkley Packet Filter notation, countermeasures
- Cleanup - covering tracks (log cleaning)
- Cleanup countermeasures
Ultimate Lab
The day ends with a major, challenging lab requiring the students to use the hacker methodology as they hack their
way through all the lab servers. This Ultimate Lab consists of mostly Unix-based systems (and a few Windows 2003
servers) and is modeled after the common case scenario of limited but exploitable default system installations
and misconfigurations found in today's Unix systems and variants. Students will need to attack these systems using
exploits for vulnerabilities encountered in real-world penetration tests.
|