CNIT 124
Advanced Ethical Hacking

Spring 2009 Sam Bowne

Final Scores posted 5-29

Open Lab Hours for Sci 214

Wardriving Results: 11-19-08    4-25-09

Schedule · Lecture Notes · Projects · Links · Forum · CEH Flashcards · Home Page

CRN 38558 Sat 2-5 SCIE 215

Catalog Description

Advanced techniques of defeating computer security, and countermeasures to protect Windows and Unix/Linux systems. Hands-on labs include Google hacking, automated footprinting, sophisticated ping and port scans, privilege escalation, attacks against telephone and Voice over Internet Protocol (VoIP) systems, routers, firewalls, wireless devices, Web servers, and Denial of Service attacks.

Prerequisites: CNIT 123.

Upon successful completion of this course, the student will be able to:
  1. Use Google and automated footprinting tools to locate vulnerable Web servers, passwords, open VNC servers, database passwords, and Nessus reports
  2. Perform sophisticated ping and port scans with several tools, and protect servers from the scans
  3. Enumerate resources on systems using banner-grabbing and specific attacks against common Windows and Unix/Linux services including FTP, Telnet, HTTP, DNS, and many others, and protect those services
  4. Use authenticated and unauthenticated attacks to compromise Windows and Unix/Linux systems and install backdoors and remote-control agents on them, and protect the systems from such attacks
  5. Enter networks through analog phone systems, defeating many authentication techniques, and defend networks from such attacks
  6. Penetrate PBX, voicemail, Virtual Private Network (VPN), and Voice over Internet Protocol (VoIP) systems, and defend them
  7. Perform new wireless attacks, including denial-of-service and cracking networks using Wi-Fi Protected Access (WPA) and WPA-2
  8. Identify firewalls and scan through them
  9. Perform classical and modern Denial of Service (DoS) attacks, and defend networks from them
  10. Locate Web server vulnerabilities, exploit them, and cure them
  11. Describe many ways Internet users are attacked through their browsers and other Internet clients, and the protective measures that can help them


Hacking Exposed, Sixth Edition by Stuart McClure, Joel Scambray, and George Kurtz -- ISBN-10: 0071613749 Buy from Amazon

CNIT 124: Advanced Ethical Hacking -- Lecture Notes and Projects (Spring 2009) by Sam Bowne (buy it at the CCSF Bookstore)


Sat 1-17  Ethical Principles & Ch 1: Advanced Footprinting
Sat 1-24  Ch 2: Advanced Scanning
Fri 1-30 Last Day to Add Classes
Sat 1-31Quiz on Ch 1 & 2   
Proj 1-3 due
Ch 3: Advanced Enumeration
Fri 2-6 Last Day to Drop Classes
Sat 2-7Quiz on Ch 1-3  
Proj 4&5 due
Ch 4: Hacking Windows (part 1)
Sat 2-14 Holiday - No Class
Tue 2-17 Last Day to Request pass/no pass Grading
Sat 2-21No Quiz 
Proj 6&7 due
Ch 4: Hacking Windows (part 2)
Sat 2-28Quiz on Ch 4 
Proj 8 due
Ch 5: Hacking Unix/Linux (part 1)
Sat 3-7No Quiz 
Ch 5: Hacking Unix/Linux (part 2)
Sat 3-14Quiz on Ch 5 
Proj 9 &10 due
Ch 6: Remote Connectivity and VoIP Hacking & Ch 7: Network Devices
Sat 3-21No Quiz
Proj 11&12 due
Ch 7: Network Devices
Sat 3-28Quiz on Ch 6 & 7
Proj 14 due
Ch 8: Wireless Hacking
Sat 4-4 Holiday - No Class
Sat 4-11 Holiday - No Class
Fri 4-17 Last Day to Withdraw
Sat 4-18Quiz on Ch 8 
Proj 15 due
Ch 9: Hacking Hardware
Sat 4-25Quiz on Ch 9 
Proj 16&17 due
Ch 10: Hacking Code Wardriving at 5 pm!
Sat 5-2Quiz on Ch 10 
Proj 18&19 due
Ch 11: Web Hacking
Sat 5-9Quiz on Ch 11 Last Class
Proj 13 due
Ch 12: Hacking the Internet User
Sat 5-16  Final Exam: 2 pm Room 215
Back to Top


Student Agreement
Code of Ethics
Ch 1: Footprinting (From 5th Ed.)     Powerpoint
Ch 2: Scanning (6th Ed.)     Powerpoint
Ch 3: Enumeration (6th Ed.)     Powerpoint      Demo notes
Ch 4: Hacking Windows (6th Ed.)     Powerpoint
Ch 5: Unix/Linux (6th Ed.)     Powerpoint
Ch 6: Remote Connectivity and VoIP Hacking (6th Ed.) (revised 3-18)     Powerpoint
Ch 7: Network Devices (6th Ed.) (revised 3-25)     Powerpoint
Ch 8: Wireless Hacking (6th Ed.)     Powerpoint
Ch 9: Hacking Hardware (6th Ed.)     Powerpoint
Ch 10: Hacking Code (6th Ed.)     Powerpoint
Ch 11: Web Hacking (6th Ed.)     Powerpoint     Exploitable Message Board     WebGoat Instructions
Ch 12: Hacking the Internet User (6th Ed.)     Powerpoint
The lectures are in Word and PowerPoint formats.
If you do not have Word or PowerPoint you will need to install the
Free Word Viewer 2003 and/or the Free PowerPoint Viewer 2003.

Back to Top


How to Read Your CCSF Email
How to Get your Windows XP Activation Code from MSDNAA
Downloading MSDNAA Software
Virtual Machines at Home
Fixing Ubuntu Virtual Machine Problems

Proj 1: Setting up a Windows Machine (10 pts)
Proj 2: HTTP Headers (10 pts)
Proj 3: Hacking into a Kiosk (20 pts)
Proj 4: Hacking into Kiosk2 (20 pts)
Proj 5: Port Knocking (20 pts)
Proj 6: SideJacking Gmail (15 pts)
Proj 7: Password Recovery on Vista (10 pts)
Proj 8: Firewalk (20 pts)
Proj 9: Web Application Hacking: Hacme Travel (20 pts)
Proj 10: Web Application Hacking: Hacme Bank (20 pts)
Proj 11: Buffer Overflows with Damn Vulnerable Linux (15 pts) (revised 3-22-09)        Download DVL 1.0 (142 MB)
Proj 12: Nikto and Cross-Site Scripting (XSS) (15 pts)
Proj 13: Independent Project (20 pts)
Proj 14: USB Switchblade (15 pts)        Download PocketKnife_v0870 (7-zip archive, password sam)        Download Universal_Customizer
Proj 15: Stealing Cookies with Persistent XSS (15 pts)
Proj 16: VoIP (20 pts)
Proj 17: Fuzzing X-Lite with VoIPER (20 pts)
Proj 18: SIPVicious scanning 3CX and Asterix PBX Servers (20 pts)
Proj 19: Capturing RAM Contents with Helix (15 pts)

Proj X1: SideJacking Gmail on a Switched Network (10 pts)
Proj X2: Automatic Pwn with Metasploit (15 pts)
Proj X3: SSLstrip (15 pts)
Proj X4: Cracking Cisco Passwords (15 pts)

Back to Top



CEH Certification Resources

CEH Tips
CEH: Certified Ethical Hacker - Taking the Exam
CEH: Practice Exams
CEH: TechExams -- Certified Ethical Hacker (CEH) exam
EC-Council - Certified Ethical Hacker (312-50) Practice Exam - This is the one I used

Links for Chapter Lectures

Ch 4a: Metasploit Module Search Page
Ch 4b: How to get started with writing an exploit for Metasploit
Ch 4c: Msfconsole one-liner example
Ch 4d: Scanner HTTP Auxiliary Modules - Metasploit Unleashed
Ch 4e: Metasploit: The New Metasploit Browser Autopwn:...
Ch 4f: Simple Take Over of Windows Server 2008 via ms09-050

Ch 5a: DNS Request Types
Ch 5b: 10 Linux DIG Command Examples for DNS Lookup
Ch 5c: Open Resolver Project
Ch 5d: Public DNS Server List
Ch 5e: DNS AXFR scan data
Ch 5f: DNS Hacking (Beginner to Advanced) - InfoSec Resources
Ch 5g Wildcard DNS record - Wikipedia
Ch 5h: Network tools for every sys admin
Ch 5i: The Strange History of Port 0

Ch 7a: HowToDecrypt802.11 - The Wireshark Wiki
Ch 7b: security - WEP/WPA/WPA2 and wifi sniffing - Server Fault

Ch 8a: An Improved Reflective DLL Injection Technique
Ch 8b: DLL injection - Wikipedia
Ch 8c: Windows DLL Injection Basics--Clear Explanation with Good Figures
Ch 8d: stephenfewer/ReflectiveDLLInjection -- Code from 2013
Ch 8e: Using Cadaver as a WebDAV Client
Ch 8f: WebDAV - Wikipedia
Ch 8g: helper: webdav xampp (= 1.7.3 default credentials
Ch 8h: How To Install and Secure phpMyAdmin on Ubuntu 14.04
Ch 8i: Docker Internals - Google Slides
Ch 8j: Docker: Understand the architecture
Ch 8k: Docker vs Virtualization
Ch 8l: UnionFS - Wikipedia
Ch 8m: Docker Hub
Ch 8o: Docker Container Breakout Proof-of-Concept Exploit | Docker Blog
Ch 8p: The Docker exploit and the security of containers | Xen Project Blog
Ch 8q: Docker breakout: brute-forcing a 32-bit number!
Ch 8r: Docker security
Ch 8s: Docker Addresses More Security Issues and Outlines "Pluggable" Approach

Ch 9a: Yahoo Mail eliminates passwords as part of a major redesign (Oct., 2015)
Ch 9b: Teen says he hacked CIA director\'s AOL account (Oct., 2015)
Ch 9c: Packetstorm Wordlists for password cracking
Ch 9d: Openwall wordlists collection for password recovery, password cracking, and password strength checking
Ch 9e: Why passwords have never been weakerand crackers have never been stronger (2012)
Ch 9f: "thereisnofatebutwhat­wemake"Turbo-charged cracking comes to long passwords (2013)
Ch 9g: Cracking 16 Character Strong passwords in less than an hour (2013)
Ch 9h: How the Bible and YouTube are fueling the next frontier of password cracking (2013)

Miscellaneous Links

Learn Python the Hard Way
Fuzzing for SQL injection with Burp Suite Intruder - USE FOR PROJECTS
Pythonista on the App Store on iTunes -- INTERESTING FOR PROJECTS
Pythonista: Using pipista to install modules
How to Build a DNS Packet Sniffer with Scapy and Python
Bypassing Antivirus with Shellter 4.0 on Kali Linux -- GOOD 124 PROJECT
Online JavaScript beautifier -- deobfuscates code! -- IMPORTANT FOR MALWARE ANALYSIS
Android Security: Adding Tampering Detection to Your App

Old Links

New Unsorted Links

Ch 8i: Dump Windows password hashes efficiently
Ch 8j: Recovering Windows 7 Registry Hives/Files
Ch 8k: How To Install Bkhive on Kali 2
Ch 8l: How To Install Bkhive on Kali 2
Ch 10a: Adobe Reader Metasploit Modules
Ch 10b: CCSF Application Form (pdf)
Ch 10b: CCSF Application (pdf, can be poisoned with Metasploit)
Ch 11a: Update Social Engineering Toolkit on Kali Linux - YouTube
Ch 12a: Notepad Plus Plus Download
Ch 12b: VirusTotal - Free Online Virus, Malware and URL Scanner
Ch 12c: How to Evade AV Detection with Veil-Evasion
Ch 13a: Post-Mortem of a Metasploit Framework Bug
Ch 13b: Post Exploitation Using NetNTLM Downgrade Attacks
Ch 13c: Mount shadow volumes on disk images - ForensicsWiki
Ch 13d Shell is coming ...: Metasploit: Getting outbound filtering rules by tracerouting

           Linking provided by Blogrolling
Back to Top

Valid XHTML 1.0!      
Last Updated: 11-7-10 9 pm