ISA 3200 SUMMER 2010 Chapter 4: Finding Network Vulnerabilities.

Slides:



Advertisements
Similar presentations
ETHICAL HACKING A LICENCE TO HACK
Advertisements

 Dynamic policies o Change as system security state/load changes o GAA architecture  Extended access control lists  Pre-, mid- and post-conditions,
Hands-On Ethical Hacking and Network Defense Chapter 5 Port Scanning.
Essential NetTools Pranay Kumar. Essential NetTools  This tool is a set of network tools useful in diagnosing networks and monitoring your computer's.
Finding Network Vulnerabilities. 2 Objectives Define vulnerabilities Name the common categories of vulnerabilities Discuss common system and network vulnerabilities.
System Security Scanning and Discovery Chapter 14.
INDEX  Ethical Hacking Terminology.  What is Ethical hacking?  Who are Ethical hacker?  How many types of hackers?  White Hats (Ethical hackers)
Building Your Own Firewall Chapter 10. Learning Objectives List and define the two categories of firewalls Explain why desktop firewalls are used Explain.
Vulnerability Analysis Borrowed from the CLICS group.
Network Security Testing Techniques Presented By:- Sachin Vador.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
Lesson 19: Configuring Windows Firewall
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Penetration Testing Edmund Whitehead Rayce West. Introduction - Definition of Penetration Testing - Who needs Penetration Testing? - Penetration Testing.
Port Scanning.
Information Security Introduction to Information Security Michael Whitman and Herbert Mattord 14-1.
Port Knocking Software Project Presentation Paper Study – Part 1 Group member: Liew Jiun Hau ( ) Lee Shirly ( ) Ong Ivy ( )
CS426Fall 2010/Lecture 361 Computer Security CS 426 Lecture 36 Perimeter Defense and Firewalls.
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
Chapter 4: Security Baselines Security+ Guide to Network Security Fundamentals Second Edition.
1 Infrastructure Hardening. 2 Objectives Why hardening infrastructure is important? Hardening Operating Systems, Network and Applications.
Penetration Testing Security Analysis and Advanced Tools: Snort.
AIS, Passwords Should not be shared Should be changed by user Should be changed frequently and upon compromise (suspected unauthorized disclosure)
COEN 252 Computer Forensics
Chapter 6: Packet Filtering
14 Publishing a Web Site Section 14.1 Identify the technical needs of a Web server Evaluate Web hosts Compare and contrast internal and external Web hosting.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 4 Finding Network Vulnerabilities By Whitman, Mattord, & Austin© 2008 Course Technology.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 19 PCs on the Internet.
Lesson 20-Wireless Security. Overview Introduction to wireless networks. Understanding current wireless technology. Understanding wireless security issues.
Honeypot and Intrusion Detection System
Attack Lifecycle Many attacks against information systems follow a standard lifecycle: –Stage 1: Info. gathering (reconnaissance) –Stage 2: Penetration.
SECURITY ZONES. Security Zones  A security zone is a logical grouping of resources, such as systems, networks, or processes, that are similar in the.
Forensic and Investigative Accounting Chapter 14 Internet Forensics Analysis: Profiling the Cybercriminal © 2005, CCH INCORPORATED 4025 W. Peterson Ave.
CIS 450 – Network Security Chapter 3 – Information Gathering.
Module 4: Configuring ISA Server as a Firewall. Overview Using ISA Server as a Firewall Examining Perimeter Networks and Templates Configuring System.
1 CHAPTER 3 CLASSES OF ATTACK. 2 Denial of Service (DoS) Takes place when availability to resource is intentionally blocked or degraded Takes place when.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Security at NCAR David Mitchell February 20th, 2007.
Network and Perimeter Security Paula Kiernan Senior Consultant Ward Solutions.
# Ethical Hacking. 2 # Ethical Hacking - ? Why – Ethical Hacking ? Ethical Hacking - Process Ethical Hacking – Commandments Reporting.
 Chapter 14 – Security Engineering 1 Chapter 12 Dependability and Security Specification 1.
Linux Networking and Security
Network Security. 2 SECURITY REQUIREMENTS Privacy (Confidentiality) Data only be accessible by authorized parties Authenticity A host or service be able.
Security+ Guide to Network Security Fundamentals, Third Edition Chapter 9 Performing Vulnerability Assessments.
Scanning & Enumeration Lab 3 Once attacker knows who to attack, and knows some of what is there (e.g. DNS servers, mail servers, etc.) the next step is.
Assessing a Target System Source: Chapter 3 Computer Security Fundamentals Chuck Easttom Prentice Hall, 2006.
.  Define risk and risk management  Describe the components of risk management  List and describe vulnerability scanning tools  Define penetration.
Topics Network topology Virtual LAN Port scanners and utilities Packet sniffers Weak protocols Practical exercise.
Vulnerability Scanning Vulnerability scanners are automated tools that scan hosts and networks for known vulnerabilities and weaknesses Credentialed vs.
BY SYDNEY FERNANDES T.E COMP ROLL NO: INTRODUCTION Networks are used as a medium inorder to exchange data packets between the server and clients.
Introduction: Information security services. We adhere to the strictest and most respected standards in the industry, including: -The National Institute.
Retina Network Security Scanner
Footprinting and Scanning
Guide to Network Security 1 st Edition Chapter Nine Network Vulnerability Assessment.
Role Of Network IDS in Network Perimeter Defense.
Enumeration. Definition Scanning identifies live hosts and running services Enumeration probes the identified services more fully for known weaknesses.
Unit 2 Personal Cyber Security and Social Engineering Part 2.
ASHRAY PATEL Protection Mechanisms. Roadmap Access Control Four access control processes Managing access control Firewalls Scanning and Analysis tools.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Firewalls. Overview of Firewalls As the name implies, a firewall acts to provide secured access between two networks A firewall may be implemented as.
Department of Computer Science Introduction to Information Security Chapter 7 Activity Security Assessment Semester 1.
Common System Exploits Tom Chothia Computer Security, Lecture 17.
Microsoft OS Vulnerabilities April 1, 2010 MIS 4600 – MBA © Abdou Illia.
Topic 5 Penetration Testing 滲透測試
Chapter 7. Identifying Assets and Activities to Be Protected
Working at a Small-to-Medium Business or ISP – Chapter 8
Footprinting and Scanning
Security Testing Methods
Footprinting and Scanning
Intro to Ethical Hacking
Presentation transcript:

ISA 3200 SUMMER 2010 Chapter 4: Finding Network Vulnerabilities

White Hat Agreement 6/14 ISA 3200 Summer  Discuss applicability to this class  Will post

Learning Objectives  Name the common categories of vulnerabilities  Discuss common system and network vulnerabilities  Locate and access sources of information about emerging vulnerabilities  Identify the names and functions of the widely available scanning and analysis tools 6/14 ISA 3200 Summer

Introduction  To maintain secure networks, information security professionals must be prepared to identify system vulnerabilities, whether by hiring system assessment experts or by conducting self-assessments using scanning and penetration tools  Network security vulnerability is defect in product, process, or procedure that, if exploited, may result in violation of security policy, which in turn might lead to loss of revenue, loss of information, or loss of value to the organization 6/14 ISA 3200 Summer

Common Vulnerabilities Common vulnerabilities fall into two broad classes:  Defects in software or firmware  Weaknesses in processes and procedures 6/14 ISA 3200 Summer

Defects in Software or Firmware  Buffer overruns (or buffer overflows) arise when quantity of input data exceeds size of available data area (buffer)  Injection attacks can occur when programmer does not properly validate user input and allows an attacker to include input that, when passed to a database, can give rise to SQL injection vulnerabilities  Network traffic is vulnerable to eavesdropping because a network medium is essentially an open channel 6/14 ISA 3200 Summer

Defects in Software or Firmware (continued)  How can security professionals remain abreast of all the vulnerabilities?  First and perhaps foremost, they must know:  Organization’s security policies  Software and hardware the organization uses  Information security professionals should regularly consult these public disclosure lists:  Vendor announcements  Full disclosure mailing lists  CVE: the common vulnerabilities and exposures database 6/14 ISA 3200 Summer

References 6/14 ISA 3200 Summer  M. Howard, D. LeBlanc, J. Viega 24 deadly sins of software security  A catalog of problem areas  Anderson, Security Engineering  Methodologies to incorporate security into software development

Reporting Vulnerabilities 6/14 ISA 3200 Summer  Vendor Announcements  Full disclosure lists  Bugtraq   Examine a page  Internet Storm Center 

Vendor Announcements 6/14 ISA 3200 Summer

BugTraq 6/14 ISA 3200 Summer

Weaknesses in Processes and Procedures 6/14 ISA 3200 Summer  Just as hazardous as software vulnerabilities  More difficult to detect and fix because they typically involve the human element  Often arise when policy is violated or processes and procedures that implement policy are inadequate or fail  To ensure security policy is implemented, organizations should hold regular security awareness training and regularly review policies and their implementation Firewalls & Network Security, 2nd ed. - Chapter 4 Slide 12

Scanning and Analysis Tools  To truly assess risk within computing environment, technical controls must be deployed using strategy of defense in depth  Scanners and analysis tools can find vulnerabilities in systems, holes in security components, and unsecured aspects of the network  Scanners, sniffers, and other such vulnerability analysis tools are invaluable because they enable administrators to see what attackers see 6/14 ISA 3200 Summer

Scanning and Analysis Tools (continued)  Scanning tools are typically used as part of an attack protocol  Attack protocol is a series of steps or processes used by attacker, in logical sequence, to launch attack against target system or network  This may begin with a collection of publicly available information about a potential target, a process known as footprinting  Attacker uses public Internet data sources to perform searches to identify network addresses of the organization 6/14 ISA 3200 Summer

Footprinting  Most important information for footprinting purposes is IP address range  Another piece of useful information is name, phone number, and address of the technical contact  This research is augmented by browsing the organization’s Web pages since Web pages usually contain information about internal systems, individuals developing Web pages, and other tidbits, which can be used for social engineering attacks 6/14 ISA 3200 Summer

Footprinting (continued)  To assist in footprint intelligence collection process, an enhanced Web scanner can be used that, among other things, can scan entire Web sites for valuable pieces of information, such as server names and addresses 6/14 ISA 3200 Summer

Fingerprinting 6/14 ISA 3200 Summer    Note the name of the institution

Sam Spade 6/14 ISA 3200 Summer   Sam Spade is a general-purpose Internet utility package, with some extra features to help in tracing the source of spam and other forms of Internet harassment.  Sam Spade fetures include: ping - nslookup - whois - IP block - dig - traceroute finger - SMTP VRFY - web browser keep-alive - DNS zone transfer - SMTP relay check - Usenet cancel check - website download - website search - header analysis - blacklist - query Abuse address

Sam Spade 6/14 ISA 3200 Summer

Shared Folders 6/14 ISA 3200 Summer  Setting up a folder on the host to be visible in a guest  Look in Network Neighborhood or Network Places  \\vmware-host\Shared Folders

Demo 6/14 ISA 3200 Summer  SamSpade  Browse a web page  Crawl a web site  Turnkey lamp has a some files in directory build  Using Filezilla to upload to Lamp.

Fingerprinting  Next phase of attack protocol is data- gathering process called fingerprinting, a systematic survey of all of the target organization’s Internet addresses that is conducted to identify network services offered by hosts in that range  Fingerprinting reveals useful information about internal structure and operational nature of the target system or network 6/14 ISA 3200 Summer

OS Detection 6/14 ISA 3200 Summer  Xprobe  What does it mean we get a.tar file?

Port Scanners  Port scanning utilities (port scanners) are tools used by both attackers and defenders to identify computers that are active on a network, as well as ports and services active on those computers, functions and roles the machines are fulfilling, and other useful information  The more specific the scanner is, the better and more useful the information it provides is, but a generic, broad-based scanner can help locate and identify rogue nodes on the network 6/14 ISA 3200 Summer

Port Scanners (continued)  Port is a network channel or connection point in a data communications system  Within TCP/IP, TCP and UDP port numbers differentiate multiple communication channels used to connect to network services being offered on same device  In all, there are 65,536 port numbers in use for TCP and another 65,536 port numbers for UDP  Ports greater than 1023 typically referred to as ephemeral ports and may be randomly allocated to server and client processes 6/14 ISA 3200 Summer

Port Scanners (continued)  Why secure open ports?  Open port is an open door and can be used by attacker to send commands to a computer, potentially gain access to a server, and possibly exert control over a networking device  The general policy statement is to remove from service or secure any port not absolutely necessary to conducting business 6/14 ISA 3200 Summer

Some standard ports 6/14 ISA 3200 Summer PortService 20 and 21FTP 22SSH 23Telnet 25SMTP 80HTTP 443HTTPS 8080Various servers

Some Standard Ports 6/14 ISA 3200 Summer  Which would be likely to be open on different types of systems?

Demo 6/14 ISA 3200 Summer  Install and run NMap

Firewall Analysis Tools  Understanding exactly where organization’s firewall is located and what existing rule sets do are very important steps for any security administrator  Several tools that automate remote discovery of firewall rules and assist administrator (or attacker) in analyzing rules to determine exactly what they allow and what they reject 6/14 ISA 3200 Summer

Firewall Analysis Tools (continued)  Administrators wary of using same tools attackers use should remember:  Regardless of the nature of the tool used to validate or analyze firewall’s configuration, it is the intent of the user that dictates how information gathered will be used  To defend a computer or network, it is necessary to understand ways it can be attacked; thus, a tool that can help close up an open or poorly configured firewall helps network defender minimize risk from attack 6/14 ISA 3200 Summer

Operating System Detection Tools  Identifying target computer’s operating system is very valuable to attacker  Once the operating system is known, it is easy to determine all vulnerabilities to which it might be susceptible 6/14 ISA 3200 Summer

Vulnerability Scanners  Passive vulnerability scanner listens in on the network and identifies vulnerable versions of both server and client software  Active vulnerability scanners scan networks for highly detailed information by initiating network traffic in order to identify security holes  These scanners identify exposed usernames and groups, show open network shares, and expose configuration problems and other vulnerabilities in servers 6/14 ISA 3200 Summer

Vulnerability Scanners (continued) 6/14 ISA 3200 Summer

Demo 6/14 ISA 3200 Summer  Install and run Nessus

Vulnerability Validation  Often, an organization requires proof that system is actually vulnerable to certain attacks  May require such proof to avoid having system administrators attempt to repair systems that are not broken or because they have not yet built satisfactory relationship with vulnerability assessment team  Class of scanners exists that exploit remote machine and allow vulnerability analyst (penetration tester) to create accounts, modify Web pages, or view data 6/14 ISA 3200 Summer

Vulnerability Validation (continued) 6/14 ISA 3200 Summer

Packet Sniffers  Network tool that collects copies of packets from network and analyzes them  Sometimes called a network protocol analyzer  Can provide network administrator with valuable information for diagnosing and resolving networking issues  In the wrong hands, sniffer can be used to eavesdrop on network traffic 6/14 ISA 3200 Summer

Legalities 6/14 ISA 3200 Summer  Be on a network that the organization owns  Be under direct authorization of the owners of the network  Have knowledge and consent of the content creators  All three conditions must be obtained to legally use a packet sniffer  Ref: Whitman et al.

Packet Sniffers (continued) 6/14 ISA 3200 Summer

Demo 6/14 ISA 3200 Summer   Work only on the private network  Setting the network options  Note that guest machines cannot access the internet  Watch some traffic while accessing turnkey lamp

Wireless Security Tools  Wireless connection, while convenient, has many potential security holes  Security professional must assess risk of wireless networks  Wireless security toolkit should include ability to sniff wireless traffic, scan wireless hosts, and assess level of privacy or confidentiality afforded on wireless network 6/14 ISA 3200 Summer

Wireless Security Tools (continued) 6/14 ISA 3200 Summer

Penetration Testing  Penetration test involves using all techniques and tools available to attacker in order to attempt to compromise or penetrate an organization’s defenses  Penetration testing can be performed by internal group (so called “red teams”) or outsourced to external organization  A variable of the penetration test, whether performed internally or outsourced, is amount of information provided to the red team 6/14 ISA 3200 Summer

Penetration Testing (continued)  Three categories of testing:  Black box: red team is given no information whatsoever about the organization and approaches the organization as external attacker  Gray box: red team is given some general information about the organization such as general structure, network address ranges, software and versions  White box: red team has full information on the organization and its structure 6/14 ISA 3200 Summer

Chapter Summary  To maintain secure networks, information security professionals must be prepared to systematically identify system vulnerabilities  Often done by performing self-assessment using scanning and penetration tools testing  Common vulnerabilities fall into two classes:  Defects in software or firmware  Weaknesses in processes and procedures 6/14 ISA 3200 Summer

Chapter Summary (continued)  Information security professionals should regularly consult vendor announcements, full disclosure mailing lists, and the common vulnerabilities and exposures (CVE) database  To assess risk within a computing environment, network professionals must use tools such as intrusion detection systems (IDPS), active vulnerability scanners, passive vulnerability scanners, automated log analyzers, and protocol analyzers (sniffers) 6/14 ISA 3200 Summer

Chapter Summary (continued)  Many organizations use penetration test to assess their security posture on a regular basis  Penetration test team (red team) uses all techniques and tools available to attackers in order to attempt to compromise or penetrate an organization’s defenses 6/14 ISA 3200 Summer

Demo 6/14 ISA 3200 Summer  Install and run the NG scoring tool

Demo 6/14 ISA 3200 Summer  Install and run Microsoft baseline security tool