Intro Fall2011

17
Penetration Testing and Vulnerabili ty Analysis Dan Guido Fall 2011 Class Logistics and Background

Transcript of Intro Fall2011

Page 1: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 1/17

Penetration Testing and Vulnerability Analysis

Dan Guido

Fall 2011

Class Logistics and Background

Page 2: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 2/17

Introductions

Page 3: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 3/17

3

Who we are Dan Guido – [email protected] 

Current: Application Security Consultant, iSEC

Former: Incident Responder, Federal Reserve System

Former: Student in the ISIS lab

Brandon Edwards – [email protected]  Current: Independent Consultant

Former: Application Security Engineer, McAfee

Former: Security Consultant, Neohapsis

We don’t have office hours, please use e-mail!

Mailing List: [email protected] 

Page 4: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 4/17

4

Outside Instructors

Bring in a local expert to teach each subject

Different viewpoints

Up-to-the-second accurate

Meet people doing real work in the industry

It’s fun, and we like you guys 

Brandon and I oversee the course as it progresses

Page 5: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 5/17

5

Meet the Instructors Alex Sotirov – Independent Consultant

www.phreedom.org 

Aaron Portnoy – HP TippingPoint ZDI www.zerodayinitiative.com 

Dino Dai Zovi – Independent Consultant www.trailofbits.com 

Joe Hemler – Gotham Digital Science www.gdssecurity.com 

Colin Ames – Attack Research www.attackresearch.com 

Page 6: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 6/17

6

Who are you guys?

Majors? CS? CE? Anything else?

Poly? NYU?

Prereqs? Exploits? Languages?

Page 7: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 7/17

Course Background

Page 8: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 8/17

8

Penetration Testing

When we use these skills to help secure a client, it’scalled a penetration test

“A penetration test is a method of evaluating thesecurity of a computer system or network bysimulating an attack by a malicious user, commonly

known as a hacker.” 

Hacking vs Pentesting?

PERMISSION!

Page 9: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 9/17

9

Intrusion Kill Chain

Systematic process that an intrusion must follow

Penetration tests simulate this, in whole or in parts… 

Why? To make it harder for someone else to do,

To identify weak links and ineffective defenses,

To test response, comply with regulations, etc.

Recon Weaponization Delivery Exploitation

InstallationC2Actions onObjectives

Page 10: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 10/17

10

Semester Goal

This class prepares you to identify, analyze, andexploit software vulnerabilities

How to find them

How to understand their impact

How to take advantage of them

We walk you through the process of simulating an

attacker, across as much of the kill chain as we can

Page 11: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 11/17

11

Categories of Skill

Part 1:

Architecture

Code Audits

Reverse Engineering

Part 2:

Exploitation

Web hacking

Network Pentests

Initial Compromise Additional Vectors

Post-Exploitation

Vulnerability Discovery vs. Exploitation and Operations

Page 12: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 12/17

Logistics

Page 13: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 13/17

13

Assignments Homeworks and Readings

One per week (allowed two late homeworks)

These are hard, each requires new skills

Use the mailing list and IRC for help

Takehome Midterm

It’s easy, do well on it 

Individual Final Projects

These are small, fun, and useful

These can count as SFS projects

Page 14: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 14/17

14

Grading

30% - Homeworks

Do your homework every week!

20% - Midterm

Not heavily weighted in this class

50% - Final Project Don’t wait until the last minute! 

Extra Credit

Involvement in CSAW

Any (legal) outside application of course material

Page 15: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 15/17

15

Midterm / Class Party The midterm is a take-home

You have 1 week to complete 2/3 of it

If you come to class on 10/17… 

I’ll have food and drinks 

Short presentation on careers in infosec

Representatives from iSEC Partners, Gotham DigitalScience, Matasano, Intrepidus Group, and others Find an internship

Ask questions about your midterm

http://pentest.cryptocity.net/careers/ 

Page 16: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 16/17

16

FAQ

Language?

C and x86 assembly and one scripting language

Textbook?

Gray Hat Hacking, 3rd Edition Metasploit, 1st Edition

Readings go out each week on the mailing list

Page 17: Intro Fall2011

8/3/2019 Intro Fall2011

http://slidepdf.com/reader/full/intro-fall2011 17/17

17

Get More Involved NYU:Poly Hack Night

Tuesdays from 6-8pm in RH219

NYU:Poly Cyber Security Club Wednesdays from 12-2pm in RH227

NYU:Poly CSAW http://www.poly.edu/csaw 

NYSEC 3rd Tuesday of the month, 6-9pm at Swift NYC 34 E 4th St, New York, NY http://twitter.com/nysecsec