Ethical Hackingprobbins/UHWO.ISA330.FA13/W1...Ethical Hacking Information Security & Assurance Program University of Hawai'i West Oahu Week #1 1 2 Ethical Hacking Topics •Introductions

Post on 14-Aug-2021

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

ISA 330 Introduction to Proactive System Security

Philip Robbins – August 31, 2013

Ethical Hacking

Information Security & Assurance ProgramUniversity of Hawai'i West Oahu

Week #1

1

2

Ethical Hacking

Topics• Introductions• Syllabus Review• Fundamentals of Ethical Hacking• Class Discussion• Tools• Security Resources• Review Questions, Q&A

3

IntroductionsWho am I?• Information Systems Authorizing Official Representative

‐ United States Pacific Command (USPACOM)‐ Risk Management Field‐ Assessments to USPACOM Authorizing Official / CIO

• Former Electronics & Environmental Engineer• Bachelor of Science in Electrical Engineering• Master of Science in Information Systems• Ph.D. Student in Communication & Information Sciences• Certified Information Systems Security Professional (CISSP) and Project 

Management Professional (PMP)

4

SyllabusClass Textbook

5

Fundamentals

“A locked door keeps an honest man out.”

6

Fundamentals• Introduction to Proactive System Security

What this class IS about:An introductory course in adopting a proactive (v.s. reactive) stance towards systems security.

What this class IS NOT about:An offensive class in hacking.

How does one better understand how to defend against system security attacks?By performing and testing against them.

7

Fundamentals• In the news:

Facebook CEO personal pagehacked by Palestinian white hat.

Chinese suffers largest internetattack in history.

Syrian Electronic Army takesdown the New York Times.

http://www.cnn.com/video/data/2.0/video/world/2013/08/19/worldone‐clancy‐zuckerberg‐facebook‐security‐flaw.cnn.htm

8

Fundamentals• In the news:

Facebook CEO personal pagehacked by Palestinian white hat.

Chinese suffers largest internetattack in history.

Syrian Electronic Army takesdown the New York Times.

http://money.cnn.com/2013/08/26/technology/china‐cyberattacks/index.html

9

Fundamentals• In the news:

Facebook CEO personal pagehacked by Palestinian white hat.

Chinese suffers largest internetattack in history.

Syrian Electronic Army takesdown the New York Times.

http://www.cnn.com/2013/08/30/opinion/lewis‐hackers‐nyt/index.html?iref=allsearch

10

Fundamentals• What is Hacking?

Classical Definition:Seeking to understand computer systems strictly for the love of having that knowledge. 

Modern Definition:Illegal access to computer or network systems.  

BEFORE

NOW

11

Fundamentals• What is a “Hacker”?

12

13

Fundamentals

Who/what is a “Cracker”?

Term used to describe a hacker with malicious intent.   

Crackers (cyber criminals) get into all kinds of mischief,         including breaking or "cracking" copy protection on software programs, breaking into systems and causing 

harm, changing data, or stealing.  

14

Fundamentals• “Hacker” v.s. “Cracker”?‐ Today there’s no real distinction between the two terms.

Hacker = Cracker

However…‐ Some hackers regard crackers as less educated.‐ Some crackers don’t create their own work; simply steal other people's work to cause mischief, or for personal gain.

15

Fundamentals• Who are “Script kiddies”?

‐ Unskilled individuals who use scripts or programs developed by knowledgeable programmers to attack computer systems.  

‐ Generally considered “posers” or “kiddies” lacking the ability to write sophisticated scripts or programs on their own.

‐ Usually seeking to gain credit or impress their friends.

16

FundamentalsWhat is an “Ethical Hacker”?• Oxymoron: Honest Criminal

‐ A new breed of network defenders.

‐ Performs the same activities a hacker does but with the owner / company’s permission.

‐ Usually contracted to perform penetration testing.

17

Fundamentals• Penetration Testing‐ Discover vulnerabilities.‐ Perform attack and penetration assessments.‐ Perform discovery and scanning for open ports & services.‐ Apply exploits to gain access and expand access as necessary.‐ Activities involving application penetration testing and application source review.‐ Interact with the client as required.‐ Produce reports documenting discoveries during the engagement.‐ Report your findings with the client at the conclusion of each engagement.

v.s.• Security Testing+ Participate in research and provide recommendations for improvement.+ Participate in knowledge sharing.

18

Fundamentals• Why perform Penetration Tests?

19

Fundamentals• Steps for a Penetration TestStep #1: Planning Phase‐ Scope & Strategy of the assignment is determined.‐ Existing security policies and standards are used for defining the scope.

Step #2: Discovery Phase‐ Collect as much information as possible about the system including data in the system, user names and even passwords (fingerprinting). ‐ Scan and Probe into the ports.‐ Check for vulnerabilities of the system.

Step #3: Attack Phase‐ Find exploits for various vulnerabilities.‐ Obtain necessary security Privileges to exploit the system & exploit.

20

Fundamentals• Steps for a Penetration TestStep #4: Reporting Phase‐ Report must contain detailed findings.‐ Risks of vulnerabilities found and their impact on business‐ Recommendations for solutions, if any (Security Testing).

21

Fundamentals• Penetration Testing Limitations‐ Can’t find all the vulnerabilities on a system.‐ Time for tester‐ Budget‐ Scope‐ Skills of testers‐ Data loss and corruption‐ Downtime for organization‐ Increased costs for organization*

* How could pen testing decrease costs for an organization?

22

Fundamentals• Roles & Responsibilities of the Pen‐Tester

‐ Testers should collect required information from the Organization to enable penetration tests (depending on the type of testing model). 

‐ Find flaws that could allow hackers to attack a target machine.

‐ Pen Testers should think & act like real hackers (ethically).

‐Tester should be responsible for any loss in the system or information during the testing.

‐ Tester should keep data and information confidential.

23

Fundamentals• Types of Pen‐Testing Methodologies

White Box Model‐ Tester is given the company network topology, info on technology used, and permission to interview all employees (including IT personnel).

Black Box Model‐ Tester is not given any information.‐ Management doesn’t tell staff about the pen test being conducted.‐ Help determine if company’s security personnel are able to detect attacks.

Gray Box Model‐ Hybrid of the white and black box models.‐ Tester may get partial information.

24

Class Discussion• Which pen‐testing category / model closely mimics that of an insider threat?

• Which type of pen‐testing model is better suited for an organization on a extremely limited budget?

• Which pen‐testing model is most accurate?  Which can be considered to have the greatest drawback?

25

Class Discussion

26

Fundamentals• Types of Hats

- White Hats (Ethical / Pen-Testers improving security) - Black Hats (Hackers / Crackers degrading security)- Grey Hats (In-between White and Black)- Red Hat (Enterprise Linux)

27

Fundamentals• What can you do Legally?  What about:

‐ Port scanning?‐ Possession of hacking tools?‐ Photographing?‐ ISP Acceptable Use Policy (AUP)?‐ Installing viruses on a computer network denying users?

In Hawaii, the state must prove that the person charged with committing a crime on a computer had the “intent to commit a crime.”

28

Fundamentals• Federal Laws:

‐ Computer Fraud and Abuse Act, Title 18Crime to access classified information with authorization.

‐ Electronic Communication and Abuse ActIllegal to intercept any communication, regardless of how it was transmitted.

‐ Stored Wire and Electronic Communications andTransactional Records ActDefines unauthorized access to computers that store classified information.

29

Class Discussion• What are the advantages of using a written contract when engaged in a computer consulting job? 

• Why is it important that your attorney read over the contract before you sign it?

• What is upper management’s role for a penetration test?

30

Class Discussion• Why do you think the government does not define a common law for computer‐related crimes, rather than allowing each state to address these issues?

31

Fundamentals• Ethical Hacking in a Nutshell

‐ Must have a good understanding of networks & computer technology.

‐ Must be able to communicate with management & IT personnel.

‐ Must have an understanding of the laws that apply to your location.

‐ Must be able to apply the necessary tools to perform your tasks.

32

Fundamentals• Professional Certifications

Certified Ethical Hacker (CEH)

Cisco Certified Network Associate (CCNA)

Project Management Professional (PMP)

Certified Information Systems SecurityProfessional (CISSP)

33

Fundamentals• Careers

34

Fundamentals• CEH 22 Domains

35

Fundamentals• CEH: Domain #1

36

Fundamentals• CEH: Domain #2

37

Fundamentals• CEH: Domain #3

38

Fundamentals• CEH: Domain #4

39

Fundamentals• CEH: Domain #5

40

Fundamentals• CEH: Domain #6

41

Fundamentals• CEH: Domain #7

42

Fundamentals• CEH: Domain #8

43

Fundamentals• CEH: Domain #9

44

Fundamentals• CEH: Domain #10

45

Fundamentals• CEH: Domain #11

46

Fundamentals• CEH: Domain #12

47

Fundamentals• CEH: Domain #13

48

Fundamentals• CEH: Domain #14

49

Fundamentals• CEH: Domain #15

50

Fundamentals• CEH: Domain #16

51

Fundamentals• CEH: Domain #17

52

Fundamentals• CEH: Domain #18

53

Fundamentals• CEH: Domain #19

54

Fundamentals• CEH: Domain #20

55

Fundamentals• CEH: Domain #21

56

Fundamentals• CEH: Domain #22

57

ToolsBacktrack 5r3Ubuntu Linux Distribution providing a comprehensive collection of security‐related tools for digital forensics andpen testing use.

http://www.backtrack‐linux.org/downloads/

58

ToolsKali Linux (a.k.a. Backtrack 6)A debian Linux Distribution rewritten from Backtrack.  Preinstalled with numerous penetration‐testing programs, including nmap (a port scanner), Wireshark (a packet analyzer), John the Ripper (a password cracker), and Aircrack‐ng (a software suite for penetration‐testing wireless LANs).

http://www.kali.org/downloads

59

ToolsMetasploitable 2.0Intentionally vulnerable Linux virtual machine.

http://www.offensive‐security.com/metasploit‐unleashed/Metasploitablehttp://sourceforge.net/projects/metasploitable/files/Metasploitable2/

60

ToolsDamn Vulnerable Linux (DVL) 1.5 Infectious DiseaseOriginally formed from Slackware with the goal of being an intentionally vulnerable system for practice/teaching purposes in regards to Network and Computer Security.  Now considered discontinued.

http://distrowatch.com/table.php?distribution=dvlhttp://download.vulnhub.com/dvl/DVL_1.5_Infectious_Disease.iso

61

General Security Resources• Cyber Hui http://www.cyberhui.org/Cyber Hui is a community of Hawaii Cyber security professionals dedicated to sharing skills and knowledge with high school and college students.  Join the Hui; check out their resources and discussion forums.

• SANS Institute              http://www.sans.org/Source for information security training and security certification; develops, maintains, and makes available at nocost, a collection of research documents about various aspects of information security.  Find whitepapers here that interest you.

• Symantec Connect                                 http://www.securityfocus.com/Technical community for Symantec customers, end‐users, developers, and partners. 

• SearchSecurity                                   http://searchsecurity.techtarget.com/Online Information Security Magazine providing immediate access to late breaking industry news, virus alerts, new hacker threats and attacks.

• Internet Storm Center              https://isc.sans.edu/forums/Diary+Discussions/Community forums, discussions, and daily podcasts on auditing, forensics, network security, pen testing.

62

General Security Resources• CyberPatriot http://www.uscyberpatriot.org/CP5/Training.aspxAir Force Cyber Defense Competition.

63

General Security Resources• IASE http://iase.disa.mil/policy‐guidance/Most comprehensive compilation of DoD Policies & Guidance documentation for Information Assurance .

64

Review Questions• Question #1

The U.S. Department of Justice defines a hacker as whichof the following?

a. A person who accesses a computer or network without the owner’s permission.

b. A penetration tester.c. A person who uses telephone services without payment.d. A person who accesses a computer or network with the 

owner’s permission.

65

Review Questions• Question #1

The U.S. Department of Justice defines a hacker as whichof the following?

a. A person who accesses a computer or network without the owner’s permission.

b. A penetration tester.c. A person who uses telephone services without payment.d. A person who accesses a computer or network with the 

owner’s permission.

66

Review Questions• Question #2

A penetration tester is which of the following?

a. A person who accesses a computer or network without  permission from the owner.

b. A person who uses telephone services without payment.c. A security professional who’s hired to hack into a network to 

discover vulnerabilities.d. A hacker who accesses a system without permission but does 

not delete or destroy files.

67

Review Questions• Question #2

A penetration tester is which of the following?

a. A person who accesses a computer or network without  permission from the owner.

b. A person who uses telephone services without payment.c. A security professional who’s hired to hack into a network to 

discover vulnerabilities.d. A hacker who accesses a system without permission but does 

not delete or destroy files.

68

Review Questions• Question #3

Some experienced hackers refer to inexperiencedhackers who copy or use prewritten scripts or programsas which of the following?

a. Script Monkeyb. Packet Kiddies.c. Packet Monkeys.d. Script Kiddies.

69

Review Questions• Question #3

Some experienced hackers refer to inexperiencedhackers who copy or use prewritten scripts or programsas which of the following?

a. Script Monkeyb. Packet Kiddies.c. Packet Monkeys.d. Script Kiddies.

70

Review Questions• Question #4

A team composed of people with varied skills who attempt to penetrate a network is referred to as which of the following?

a. Green Teamb. Blue Teamc. Black Teamd. Red Team

71

Review Questions• Question #4

A team composed of people with varied skills who attempt to penetrate a network is referred to as which of the following?

a. Green Teamb. Blue Teamc. Black Teamd. Red Team

72

Review Questions• Question #5

What portion of your ISP contract might affect your ability to conduct a penetration test over the internet?

a. Scanning Policyb. Port Access Policyc. Acceptable Use Policyd. Warranty Policy

73

Review Questions• Question #5

What portion of your ISP contract might affect your ability to conduct a penetration test over the internet?

a. Scanning Policyb. Port Access Policyc. Acceptable Use Policyd. Warranty Policy

74

Review Questions• Question #6

Which federal law prohibits unauthorized access of classified information?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. Fourth Amendment

75

Review Questions• Question #6

Which federal law prohibits unauthorized access of classified information?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. Fourth Amendment

76

Review Questions• Question #7

Which federal law prohibits intercepting any communication, regardless of how it was transmitted?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. Fourth Amendment

77

Review Questions• Question #7

Which federal law prohibits intercepting any communication, regardless of how it was transmitted?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. Fourth Amendment

78

Review Questions• Question #8

Which federal law amended Chapter 119 of Title 18, U.S. Code?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. U.S. Patriot Act, Sec. 217: Interception of Computer Trespasser 

Communications

79

Review Questions• Question #8

Which federal law amended Chapter 119 of Title 18, U.S. Code?

a. Computer Fraud and Abuse Act, Title 18b. Electronic Communication and Abuse Actc. Stored Wire and Electronic Communications and Transactional 

Records Actd. U.S. Patriot Act, Sec. 217: Interception of Computer 

Trespasser Communications

80

Review Questions• Question #9

To determine whether scanning is illegal in your area, you should do which of the following?

a. Refer to the U.S. codeb. Refer to the U.S. Patriot Actc. Refer to the state lawsd. Contact your ISP

81

Review Questions• Question #9

To determine whether scanning is illegal in your area, you should do which of the following?

a. Refer to the U.S. codeb. Refer to the U.S. Patriot Actc. Refer to the state lawsd. Contact your ISP

82

Review Questions• Question #10

As a security tester, what should you do before installing hacking software on your computer?

a. Check with local law enforcement agencies.b. Contact your hardware vendor.c. Contact your software vendor.d. Contact your ISP.

83

Review Questions• Question #10

As a security tester, what should you do before installing hacking software on your computer?

a. Check with local law enforcement agencies.b. Contact your hardware vendor.c. Contact your software vendor.d. Contact your ISP.

84

Review Questions• Question #11

Before using hacking software over the Internet, you should contact which of the following?

a. Your ISP.b. Your vendor.c. Local law enforcement authorities to check for complianced. The FBI

85

Review Questions• Question #11

Before using hacking software over the Internet, you should contact which of the following?

a. Your ISP.b. Your vendor.c. Local law enforcement authorities to check for complianced. The FBI

86

Review Questions• Question #12

Which organization issues the Top 20 list of current network vulnerabilities?

a. SANS Instituteb. ISECOMc. EC‐Councild. OPST

87

Review Questions• Question #12

Which organization issues the Top 20 list of current network vulnerabilities?

a. SANS Instituteb. ISECOMc. EC‐Councild. OPST

88

Questions?

probbins@hawaii.eduwww2.hawaii.edu/~probbinshttps://www.dorkatron.com/docs/ISA330/

top related