Network Forensics: Log Analysis



Similar documents
P Principles of Network Forensics P Terms & Log-based Tracing P Application Layer Log Analysis P Lower Layer Log Analysis

PROFESSIONAL SECURITY SYSTEMS

Intrusion Detection Systems (IDS)

Network Defense Tools

A Research Study on Packet Sniffing Tool TCPDUMP

CS2107 Introduction to Information and System Security (Slid. (Slide set 8)

Packet Sniffers Submitted in partial fulfillment of the requirement for the award of degree Of MCA

Intrusion Detection Categories (note supplied by Steve Tonkovich of CAPTUS NETWORKS)

Linux Network Security

Contents. vii. Preface. P ART I THE HONEYNET 1 Chapter 1 The Beginning 3. Chapter 2 Honeypots 17. xix

CTS2134 Introduction to Networking. Module Network Security

Second-generation (GenII) honeypots

Symantec Endpoint Protection 11.0 Network Threat Protection (Firewall) Overview and Best Practices White Paper

Network Security: Workshop

Course Title: Penetration Testing: Security Analysis

Chapter 11 Cloud Application Development

THE ROLE OF IDS & ADS IN NETWORK SECURITY

An Overview of the Bro Intrusion Detection System

information security and its Describe what drives the need for information security.

CS5008: Internet Computing

Chapter 11 Phase 5: Covering Tracks and Hiding

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

About Firewall Protection

Chapter 4 Firewall Protection and Content Filtering

EFFECTIVE IMPLEMENTATION OF DYNAMIC CLASSIFICATION FOR NETWORK FORENSIC AND TRAFFIC ANALYSIS

Intrusion Detection System Based Network Using SNORT Signatures And WINPCAP

10 Configuring Packet Filtering and Routing Rules

Chapter 4 Firewall Protection and Content Filtering

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Packet Sniffer A Comparative Study

Lab VI Capturing and monitoring the network traffic

Detecting Threats in Network Security by Analyzing Network Packets using Wireshark

Security: Attack and Defense

FortKnox Personal Firewall

Firewalls. Test your Firewall knowledge. Test your Firewall knowledge (cont) (March 4, 2015)

Reverse Shells Enable Attackers To Operate From Your Network. Richard Hammer August 2006

IDS / IPS. James E. Thiel S.W.A.T.

IPv6 Security Best Practices. Eric Vyncke Distinguished System Engineer

Security+ Guide to Network Security Fundamentals, Fourth Edition. Chapter 6 Network Security

INTRUSION DETECTION SYSTEMS and Network Security

Firewalls. Firewalls. Idea: separate local network from the Internet 2/24/15. Intranet DMZ. Trusted hosts and networks. Firewall.

Firewalls. Chapter 3

2. HOW PACKET SNIFFER WORKS

Make a folder named Lab3. We will be using Unix redirection commands to create several output files in that folder.

CS 356 Lecture 17 and 18 Intrusion Detection. Spring 2013

How To Protect Your Network From Attack From A Hacker On A University Server

Chapter 14 Analyzing Network Traffic. Ed Crowley

Snoopy. Objective: Equipment Needed. Background. Procedure. Due Date: Nov 1 Points: 25 Points

Chapter 8 Phase3: Gaining Access Using Network Attacks

7 Network Security. 7.1 Introduction 7.2 Improving the Security 7.3 Internet Security Framework. 7.5 Absolute Security?

CSE 4482 Computer Security Management: Assessment and Forensics. Protection Mechanisms: Firewalls

Using TestLogServer for Web Security Troubleshooting

Intrusion Detection and Prevention: Network and IDS Configuration and Monitoring using Snort

Passive Vulnerability Detection

Firewalls. Ola Flygt Växjö University, Sweden Firewall Design Principles

CS 640 Introduction to Computer Networks. Network security (continued) Key Distribution a first step. Lecture24

CS 356 Lecture 19 and 20 Firewalls and Intrusion Prevention. Spring 2013

Intrusion Detection Systems and Supporting Tools. Ian Welch NWEN 405 Week 12

Firewall Firewall August, 2003

CSE331: Introduction to Networks and Security. Lecture 17 Fall 2006

HONEYD (OPEN SOURCE HONEYPOT SOFTWARE)

Network- vs. Host-based Intrusion Detection

Session Hijacking Exploiting TCP, UDP and HTTP Sessions

Security Type of attacks Firewalls Protocols Packet filter

Multi-Homing Dual WAN Firewall Router

Development of a Network Intrusion Detection System

Chapter 9 Firewalls and Intrusion Prevention Systems

FIREWALLS & CBAC. philip.heimer@hh.se

Network Monitoring On Large Networks. Yao Chuan Han (TWCERT/CC)

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Divide and Conquer Real World Distributed Port Scanning

JK0-022 CompTIA Academic/E2C Security+ Certification Exam CompTIA

Network Security. Network Packet Analysis

Traffic Analyzer Based on Data Flow Patterns

Packet Sniffing with Wireshark and Tcpdump

Introduction of Intrusion Detection Systems

Presented By: Holes in the Fence. Agenda. IPCCTV Attack. DDos Attack. Why Network Security is Important

We will give some overview of firewalls. Figure 1 explains the position of a firewall. Figure 1: A Firewall

Implementing Secure Converged Wide Area Networks (ISCW)

Virtual private network. Network security protocols VPN VPN. Instead of a dedicated data link Packets securely sent over a shared network Internet VPN

Port Scanning and Vulnerability Assessment. ECE4893 Internetwork Security Georgia Institute of Technology

Overview. Packet filter

DESIGN OF NETWORK SECURITY PROJECTS USING HONEYPOTS *

1 hours, 30 minutes, 38 seconds Heavy scan. All scanned network resources. Copyright 2001, FTP access obtained

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 4 Finding Network Vulnerabilities

Firewalls and VPNs. Principles of Information Security, 5th Edition 1

By David G. Holmberg, Ph.D., Member ASHRAE

Stop that Big Hack Attack Protecting Your Network from Hackers.

IntruPro TM IPS. Inline Intrusion Prevention. White Paper

HoneyBOT User Guide A Windows based honeypot solution

Proxy Server, Network Address Translator, Firewall. Proxy Server

INTRODUCTION TO FIREWALL SECURITY

CIT 380: Securing Computer Systems

Network/Internet Forensic and Intrusion Log Analysis

CMPT 471 Networking II

Using Nessus to Detect Wireless Access Points. March 6, 2015 (Revision 4)

JK0 015 CompTIA E2C Security+ (2008 Edition) Exam

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Firewalls. Ingress Filtering. Ingress Filtering. Network Security. Firewalls. Access lists Ingress filtering. Egress filtering NAT

Transcription:

Network Forensics: Analysis Richard Baskerville Agenda P Terms & -based Tracing P Application Layer Analysis P Lower Layer Analysis Georgia State University 1 2 Two Important Terms PPromiscuous Mode < An Ethernet Network Interface Card (NIC) in promiscuous mode is a configuration that will pass all traffic received by the card to the operating system, rather than just packets addressed to it. This feature is normally used for packet sniffing. PIPSpoofing < Forging the source address in the header of an IP packet so that it contains a different address, making it appear that the packet was sent by a different machine. Responses to spoofed packets will go to the forged source address. Mainly used for Denial of Service where the attacker does not care about the response, or defeating IP-based authentication. It is sometimes possible for an attacker to recover responses, when the spoofed address is on LAN or WAN controlled by the attacker. Rootkit P Blackhat software that gains control over a computer or network. "Root" refers to the administrative (superuser) computer account. Kit refers to mechanisms that initiate entry into the target computer modify it for later, and more simplified means of access (a backdoor). P Rootkits will usually erase the system event logging capacity in an attempt to hide attack evidence and may disclose sensitive data. A well designed rootkit will replace parts of the operating system with rootkit processes and files, and obscure itself from security scanning. 3 4 Client HTTP Data TCP Data + TL Pr IP Data + TL/IL Pr X.25 ging Tracing Application Layer Transport Layer Internet Layer Network Access Layer HTTP Data TCP Data + TL Pr IP Data + TL/IL Pr X.25 Proxy or Firewall Router Sniffers ging Options PIssues of efficiency in logfile space and processing time PSometimes options, e.g., < Off < Succinct < Verbose Data + TL/IL/NA Pr Forensics Analysis 5 6

Web s Application Layer Analysis Example of Application Layer gin P Access File < Access log file contains a log of all the requests. P Proxy Access File < (If directed) a separate log of proxy transactions (otherwise logged to Access ) P CacheAccess < (If directed) a separate log of cache accesses (otherwise logged to Access ) P Error File < of errors 7 8 The Common file Format World Wide Web Consortium (W3C) P Format: remotehost rfc931 authuser [date] "request" status bytes < remotehost Remote hostname (or IP number if DNS hostname is not available, or if DNSLookup is Off. < rfc931 The remote logname of the user. < authuser The username as which the user has authenticated himself. < [date] Date and time of the request. < "request" The request line exactly as it came from the client. < status The HTTP status code returned to the client. < bytes The content-length of the document transferred. Web file Example 209.240.221.71 - - [03/Jan/2001:15:20:06-0800] "GET /Inauguration.htm HTTP/1.0" 200 8788 "http://www.democrats.com/" "Mozilla/3.0 WebTV/1.2 (compatible; MSIE 2.0)" 9 10 IIS ging Options Web Access 11 12

Web Analysis Tools: Page Delivery Web Analysis Tools: File Delivery Usually Intended for Management 13 14 Web Analysis Tools: Users Web file Live Example #1 131.96.102.37 - - [27/Mar/2010:22:27:03-0400] "GET /cis8080/readings/sec_you.pdf HTTP/1.0" 401 0 0 "-" "eliza-google-crawler (Enterprise; S5- JDM5GCVTD6NJB; greg@gsu.edu,istmccx@langate.gsu.edu)" Unauthorized Access Nothing delivered 15 16 Subject to Spoofing Simple Who Is Tracing Web file Live Example #2 208.61.220.34 - infosecstudent [25/Mar/2010:13:34:38-0400] "GET /cis8080/readings/stratisrm_final_typescript.pdf HTTP/1.1" 200 60818 125 "http://cis.gsu.edu/~rbaskerv/cis8080/readings.html" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;.NET CLR 2.0.50727)" Request fulfilled 60KB delivered 17 18

Simple Who is Tracing Help for Tracing Abuse Lower Layer Analysis 19 20 Transport, Internet, Network Access ging Reconstructing Data Flows Transport Layer Internet Layer TCP Data + TL Pr IP Data + TL/IL Pr Proxy or Firewall Router P s record packet headers, not sessions or flows P s usually ignore packet contents for efficiency P Flow can be logically reconstructed from < IP addresses < Port numbers < Implied Protocols < Sequencing Network Access Layer X.25 Sniffers Reconstructing TCP flows from raw IP network traffic. From E. Casey (2004) Network Traffic as a source of evidence, Digital Investigation 1 (1) 28-43. 21 22 TCP Connection Graph Incoming TCP Connection Graph Network Analysis Tools Inbound port 139 connections suggest the firewall and the host are controlled by intruders. Port 139: This is the single most dangerous port on the Internet. All "File and Printer Sharing" on a Windows machine runs over this port. About 10% of all users on the Internet leave their hard disks exposed on this port. This is the first port hackers want to connect to, and the port that firewalls block. Example from Raynal, et al. (2004) Honeypot Forensics IEEE Security & Privacy 72-77. Example from Raynal, et al. (2004) Honeypot Forensics IEEE Security & Privacy 72-77. 23 24

Outgoing TCP Connection Graph Detecting the Moment of Compromise These outgoing port 139 connections suggest this machine has been compromised by intruders. Port 42895 is not listening, attempts to connect are reset (RST). 25 Example from Raynal, et al. (2004) Honeypot Forensics IEEE Security & Privacy 72-77. Port 42895 starts listening, attempts to connect finish (FIN), some software has started monitoring this port at 5:50:37 Example from Raynal, et al. (2004) Honeypot Forensics IEEE Security & Privacy 72-77. 26 tcpdump Snort Free packet analyzer that allows a computer to intercept and display packets transmitted and received over its attached network. Runs on Unix-like operating systems and there is a port to Windows (WinDump). Uses packet capture engines libpcap (or WinPcap). Tcpdump file format is standard now. Free open source network intrusion prevention and detection system that logs packets and analyzes traffic on IP networks. It performs protocol analysis, content searching/matching, and actively blocks or passively detects many attacks and probes, such as buffer overflows, stealth port scans, web application attacks, SMB probes, and OS fingerprinting attempts. 27 28 NetDetector Continuous capture and warehousing of network packets and statistics. Alerts on signatures, traffic patterns. and statistical anomalies. Reconstructs web, email, instant messaging, FTP, Telnet, etc. NetIntercept Captures and stores LAN traffic in raw dump files using a promiscuous Ethernet card and a modified UNIX kernel. Can write directly to removable media or network transfer to other machines for archiving. Stream reconstruction on demand. assembles user-defined range of packets into network connection data streams. The analysis subsystem is graphical, constructing a tree stored in an SQL database. 29 30

Network Forensics: s Richard Baskerville 31 Georgia State University