Week 9 - Wednesday.  What did we talk about last time?  Network basics.

Slides:



Advertisements
Similar presentations
Network and Application Attacks Contributed by- Chandra Prakash Suryawanshi CISSP, CEH, SANS-GSEC, CISA, ISO 27001LI, BS 25999LA, ERM (ISB) June 2006.
Advertisements

Socket Layer Security. In this Presentation: need for web security SSL/TLS transport layer security protocols HTTPS secure shell (SSH)
Computer Security and Penetration Testing
More on SSL/TLS. Internet security: TLS TLS is one of the more prominent internet security protocols. TLS is one of the more prominent internet security.
1 Computer Security Instructor: Dr. Bo Sun. 2 Course Objectives Understand basic issues, concepts, principles, and mechanisms in computer network security.
Building Your Own Firewall Chapter 10. Learning Objectives List and define the two categories of firewalls Explain why desktop firewalls are used Explain.
16-1 Last time Internet Application Security and Privacy Authentication Security controls using cryptography Link-layer security: WEP.
7.3 Network Security Controls 1Network Security / G.Steffen.
WiFi Security. What is WiFi ? Originally, Wi-Fi was a marketing term. The Wi-Fi certified logo means that the product has passed interoperability tests.
K. Salah 1 Chapter 31 Security in the Internet. K. Salah 2 Figure 31.5 Position of TLS Transport Layer Security (TLS) was designed to provide security.
Secure communications Week 10 – Lecture 2. To summarise yesterday Security is a system issue Technology and security specialists are part of the system.
Security Awareness: Applying Practical Security in Your World, Second Edition Chapter 5 Network Security.
Security Awareness: Applying Practical Security in Your World
Sanjay Goel, School of Business/Center for Information Forensics and Assurance University at Albany Proprietary Information 1 Unit Outline Information.
Securing TCP/IP Chapter 6. Introduction to Transmission Control Protocol/Internet Protocol (TCP/IP) TCP/IP comprises a suite of four protocols The protocols.
Analysis of Attack By Matt Kennedy. Different Type of Attacks o Access Attacks o Modification and Repudiation Attacks o DoS Attacks o DDoS Attacks o Attacks.
Security in Networks— Their design, development, usage… Barbara Endicott-Popovsky CSSE592/491 In collaboration with: Deborah Frincke, Ph.D. Director, Center.
WIRELESS NETWORK SECURITY. Hackers Ad-hoc networks War Driving Man-in-the-Middle Caffe Latte attack.
Chapter Threats in Networks Network Security / G. Steffen.
WLAN What is WLAN? Physical vs. Wireless LAN
Css security in Networks-css-ps2 1 Computer Systems Security Security in Networks (Security Controls) Topic 2 Pirooz Saeidi Source: Pfleeger, Chapter 7.
Port Knocking Software Project Presentation Paper Study – Part 1 Group member: Liew Jiun Hau ( ) Lee Shirly ( ) Ong Ivy ( )
Week 10 - Wednesday.  What did we talk about last time?  Network basics.
8: Network Security8-1 Security in the layers. 8: Network Security8-2 Secure sockets layer (SSL) r Transport layer security to any TCP- based app using.
Shared success Outline What is network security? Why do we need security? Who is vulnerable? Common security attacks and countermeasures. How to secure.
SYSTEM ADMINISTRATION Chapter 13 Security Protocols.
每时每刻 可信安全 1The two most common implementations of Intrusion Detection are which of the following? A Netware-based and Host-based. B Network-based and Guest-based.
1 Chapter 9 E- Security. Main security risks 2 (a) Transaction or credit card details stolen in transit. (b) Customer’s credit card details stolen from.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Chapter 13 – Network Security
Lesson 20-Wireless Security. Overview Introduction to wireless networks. Understanding current wireless technology. Understanding wireless security issues.
Behzad Akbari Spring 2012 (These slides are based on lecture slides by Lawrie Brown)
CHAPTER 11 Spoofing Attack. INTRODUCTION Definition Spoofing is the act of using one machine in the network communication to impersonate another. The.
Cosc 4765 SSL/TLS and VPN. SSL and TLS We can apply this generally, but also from a prospective of web services. Multi-layered: –S-http (secure http),
Introduction to ITE Chapter 9 Computer Security. Why Study Security?  This is a huge area for computer technicians.  Security isn’t just anti-virus.
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.
1 Chapter Overview Password Protection Security Models Firewalls Security Protocols.
Security Issues in Control, Management and Routing Protocols M.Baltatu, A.Lioy, F.Maino, D.Mazzocchi Computer and Network Security Group Politecnico di.
11 SECURING NETWORK COMMUNICATION Chapter 9. Chapter 9: SECURING NETWORK COMMUNICATION2 OVERVIEW  List the major threats to network communications. 
CHAPTER 9 Sniffing.
Security in Computing Security in Networks. I.Threats in networks A. Vulnerabilities 1.Anonymity 2.Shared resources 3.Size (many points of attack) 4.Complexity.
1 Security. 2 Linux is not secure No computer system can ever be "completely secure". –make it increasingly difficult for someone to compromise your system.
TCP/IP Protocol Suite 1 Chapter 30 Security Credit: most slides from Forouzan, TCP/IP protocol suit.
Lesson 7: Network Security and Attacks. Computer Security Operational Model Protection = Prevention+ (Detection + Response) Access Controls Encryption.
Security in Networks Single point of failure Resillence or fault tolerance CS model.
Wireless Security Rick Anderson Pat Demko. Wireless Medium Open medium Broadcast in every direction Anyone within range can listen in No Privacy Weak.
Chapter 14 Network Encryption
Attacking on IPv6 W.lilakiatsakun Ref: ipv6-attack-defense-33904http://
Group 9 Chapter 8.3 – 8.6. Public Key Algorithms  Symmetric Key Algorithms face an inherent problem  Keys must be distributed to all parties but kept.
CSCE Farkas1 CSCE 522 Network Security. Reading Pfleeger and Pfleeger: Chapter 6 CSCE Farkas2.
DoS/DDoS attack and defense
Network Security Threats KAMI VANIEA 18 JANUARY KAMI VANIEA 1.
Security in network Outline Threats in network Network security controls Firewalls Intrusion detection system Secure Networks and Cryptography Example.
1 Computer Security Instructor: Dr. Bo Sun. 2 Course Objectives Understand basic issues, concepts, principles, and mechanisms in computer network security.
Lect 8 Tahani al jehain. Types of attack Remote code execution: occurs when an attacker exploits a software and runs a program that the user does not.
K. Salah1 Security Protocols in the Internet IPSec.
Securing Access to Data Using IPsec Josh Jones Cosc352.
By Billy Ripple.  Security requirements  Authentication  Integrity  Privacy  Security concerns  Security techniques  WEP  WPA/WPA2  Conclusion.
Comparison of Network Attacks COSC 356 Kyler Rhoades.
Domain 4 – Communication and Network Security
Outline Basics of network security Definitions Sample attacks
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
CSE 4905 Network Security Overview
Chapter 12 Communications Security & Countermeasures
Topic 5: Communication and the Internet
What Makes a Network Vulnerable?
Outline Basics of network security Definitions Sample attacks
Outline Basics of network security Definitions Sample attacks
Lecture 36.
Lecture 36.
Presentation transcript:

Week 9 - Wednesday

 What did we talk about last time?  Network basics

 Eavesdropping means overhearing private information without much effort  Administrators need to periodically monitor network traffic  Wiretapping implies that more effort is being used to overhear information  Passive wiretapping is only listening to information  Active wiretapping means that you may adding or changing information in the stream

 If you are on the same LAN, you can use a packet sniffer to analyze packets  Packets are constantly streaming by, and your computer usually only picks up those destined for it  Passwords are often sent in the clear  Wireshark is a free, popular packet sniffer  Cable modems are filters that give you only the data you need  Sophisticated attackers can tap into a cable network  Data is supposed to be encrypted, but many networks don’t turn encryption on  Inductance is a property that can allow you to measure the signals inside of a wire without a direct physical connection  Using inductance or physically connecting to a wire changes its impedance, which can (but usually is not) measured  Signals are often multiplexed, sharing media with other signals, which can increase the sophistication needed to wiretap

 Wireless networks are easy to disrupt, but attackers usually have little to gain by this  Since they are broadcast, it is not difficult to intercept the signal  Special antennas can receive the signal from a longer distance than usual  Some networks are entirely unencrypted  WEP is almost completely broken  WPA and WPA2 have vulnerabilities that can be exploited in some cases

 Microwave is easy to intercept  Long distance phone can use microwaves  Cell phones can use microwaves  One difficulty with making use of the intercepted signal is that microwave signals are heavily multiplexed, making it hard to untangle individual signals  Satellites are similar (unsecure but heavily multiplexed)  Optical fiber is very difficult to tap  Cutting a single fiber means recalibrating the network  Repeaters and taps that connect the fiber are the best places to attack

 Rather than wiretapping, attackers will more often try to impersonate a legitimate user  Different approaches:  Guess the identity and authentication information  Use other communications or wiretapping to gain such information  Circumvent the authentication mechanism  Use a target that will not be authenticated  Use a target with known authentication data

 Passwords are often easy to guess  Because we’re bad at picking passwords  Because the user may not have realized that the machine would be exposed to network attacks  Passwords are sent in the clear  Bad hashes can give information about the password  Sometimes buffer overflows can crash the authentication system  Sometimes authentication is not needed .rhosts and.rlogin files in Unix  Guest accounts  Default passwords on routers and other devices that never get changed

 Spoofing is when an attacker carries out one end of a networked exchange  A masquerade is spoofing where a host pretends to be another host  URL confusion: someone types hotmale.com (don’t go there!) or gogle.com  Phishing is a form of masquerading  Session hijacking (or sidejacking) is carrying on a session started by someone else  Login is encrypted, the rest of the data often isn’t  Firesheep allows you to log on to other people’s Facebook and Twitter accounts in, say, the same coffeeshop  Man-in-the-middle attacks

 Misdelivery  Data can have bad addresses, occasionally because of computer error  Human error (e.g. James Hughes (student) instead of James Hughes (professor)) is more common)  Exposure of data can happen because of wiretapping or unsecure systems anywhere along the network  Traffic flow analysis  Data might be encrypted  Even so, it is very hard to hide where the data is going to and where it is coming from  Tor and other anonymization networks try to fix this

 Attackers can falsify some or all of a message, using attacks we’ve talked about  Parts of messages can be combined  Messages can be redirected or deleted  Old messages can also be replayed  Noise can degrade the signals  All modern network protocols have error correction built in  Malformed packets can crash systems  Protocols often have vulnerabilities

 WiFi signals are radio signals that anyone in range can pick up  WiFi is built on a set of protocols defined by the standards  Most of these protocols communicate in the 2.4 and 5 GHz ranges  Older protocols can reach about 300 feet and n may be able to reach 5,000 feet  A wireless access point communicates with a network interface card (NIC)  MAC addresses are used to identify physical devices

 Management frames are data exchanged by access points and routers to structure communication  Beacon frames announce the presence of an access point  Authentication frames allow NICs to request access to an access point  Association frames allow NICs and access points to agree on how to communicate  The Service Set Identifier (SSID) is a string that identifies an access point

 SSIDs do not need to be broadcast  However, when someone joins the access point, the SSID is revealed  Access points associate a computer with a MAC address  But MAC addresses can be spoofed!

 The original system for encrypting wireless communication was Wired Equivalent Privacy (WEP)  WEP is not secure!  WEP keys are effectively either 40 bits (breakable!) or 104 bits  Static keys are used  A flaw in the RC4 algorithm allows even 104- bit keys to be broken in minutes  WEP does no authentication

 WiFi Protected Access (WPA and WPA2) was created to replace WEP  WPA uses a different key to encrypt each packet  Authentication for WPA is better (although still uses a shared secret for home use)  WPA2 adds AES for encryption, much stronger than RC4  WPA has a better integrity check

 Man-in-the-middle attack is still possible  The attacker convinces the access point that he's the user and convinces the user that he's the access point  Requires spoofing MAC addresses  Brute force attacks  WPA allows users to select passphrases  Users often select poor passphrases  Some practical attacks against integrity exist in WPA (but not WPA2)

 Networks are one of the best places to launch an attack on availability  In this setting, these are usually called denial of service (DoS) attacks  DoS attacks are very hard to avoid

 Flooding overloads capacity  Ask for too many connections  Request too many of some other service  Blocking access  Crash an application  Interfere with network routing protocols  Access failure  Hardware or software fails

 TCP is built on a three-way handshake  Client requests a connection by sending a SYN packet  The server acknowledges the request by sending a SYN-ACK packet back  The client responds with an ACK, establishing the connection  An attacker can just keep sending SYN packets  The server will allocate some resources, wait for the ACK, and never get it  A clever attacker will spoof at least his own IP so that the SYN- ACK is sent elsewhere  A more sophisticated attacker will spoof many different IP addresses (or have many bots in a botnet) sending all these SYN's

 Echo-chargen  Chargen sets up a stream of packets for testing  Echo packets are supposed to be sent back to the sender  If you can trick a server into sending echo packets to itself, it will respond to its own packets forever  Ping of death  A ping packet requests a reply  If you can send more pings than a server can handle, it goes down  Only works if the attacker has more bandwidth than the victim (DDoS helps)  Smurf  A ping packet is broadcast to everyone, with the victim spoofed as the originator  All the hosts try to ping the victim  The real attacker is hidden  Teardrop  A teardrop attack uses badly formed IP datagrams  They claim to correspond to overlapping sequences of bytes in a packet  There’s no way to put them back together and the system can crash

 Distributed denial of service (DDoS) attacks use many machines to perform a DoS attack  Usually, many targets have been compromised with a Trojan horse making them zombies or bots  These zombie machines are controlled by the attacker, performing flooding or other attacks on a victim  A network of zombies is called a botnet  The attacker is hard to trace

 The best defense is prevention  DDoS attacks are usually mounted by bots that were compromised by known vulnerabilities  Patch your stuff!  Defense against DoS attacks:  Tuning: adjusting the number of active servers  Load balancing: redirecting traffic to servers that aren't getting used  Shunning: reducing service given to certain IP addresses  Blacklisting: ignoring traffic from known bad IP addresses

 The Domain Name System (DNS) uses Domain Name Servers (also DNS) to convert user readable URLs like google.com to IP addresses  Taking control of a server means that you get to say where google.com is  Called DNS spoofing  For efficiency, servers cache results from other servers if they didn’t know the IP  DNS cache poisoning is when an attacker gives a good server a bad IP address

TargetVulnerabilityTargetVulnerability Precursors to attack Port scan Social engineering Reconnaissance OS and application fingerprinting Confidentiality Protocol flaw Eavesdropping Passive wiretap Misdelivery Exposure Traffic flow analysis Authentication failures Impersonation Guessing Eavesdropping Spoofing Session hijacking Man in the middle attack Integrity Protocol flaw Active wiretap Impersonation Falsification Noise Web site defacement DNS attack Programming flaws Buffer overflow Addressing errors Server-side include Malicious Java or ActiveX Worms, viruses, Trojan horses Availability Protocol flaw Transmission failure Flooding DNS attack Traffic redirection DDoS

 Good network architecture can make security better  Segmentation means separating the network into different parts  Web server  Database server  Application servers  Redundancy is important  Multiple servers that check if each other have gone down  Avoid single points of failure

 Encryption is important for network security  Link encryption encrypts data just before going through the physical communication layer  Each link between two hosts could have different encryption  Message are in plaintext within each host  Link encryption is fast and transparent  End-to-end encryption provides security from one end of the transmission to the other  Slower  Responsibility of the user  Better security for the message in transit

 Encryption that allows people in a public network to communicate securely with a private network creates a virtual private network (VPN)  A user’s system negotiates a key with a firewall that guards a private network  Communication takes place in a tunnel

 As we discussed before, the big problem with public keys is making sure you get the right one  Public key infrastructure (PKI) is the solution to this problem  A PKI sets up certificate authorities who certify that keys belong to who they’re supposed to  Their jobs include:  Managing public key certificates  Issuing certificates that connect a user to a key  Scheduling certificate expiration  Publishing certificate revocation lists

 SSH (secure shell) is a protocol for encrypted communication between computers  Designed for Unix/Linux, but available on Windows  Telnet, rlogin, and rsh should be replaced by SSH  Negotiates symmetric key encryption usually using public key encryption, similar to Project 2  SSL (secure sockets layer) or TLS (transport layer security) creates a secure session (golden lock) between a web browser and a web server

 With link and end-to-end encryption, the data is encrypted, but the addresses are not  Onion routing uses forwarding hosts where only the first host knows where the data came from and only the last host knows where the data is going  It uses public key cryptography to work  It's inefficient, but traffic analysis is nearly impossible  Tor is a system developed to do onion routing  Such systems allow bad guys to keep their communications untraceable as well

 IPSec (IP Security Protocol Suite) is a group of protocols designed to provide security for general IP communication  There is an Authentication Header (AH) mode that provides authentication and integrity by supplying a cryptographic hash of the message and its addresses  There is an Encapsulated Security Payload (ESP) mode that can provide encryption, authentication, or both  In transport mode, IPSec encrypts only the payload of the packet  In tunnel mode, IPSec encrypts the entire packet and puts it inside of another packet, hiding its final destination inside of a private network

 Encryption helps protect integrity from malicious attackers  Error correcting codes (like parity checks) can help prevent non-malicious problems with integrity  Cryptographic checksums (AKA cryptographic hash digests) protect from both malicious and non-malicious threats to integrity

 Who are you talking to? Passwords can be stolen  One-time passwords prevent the problem of stolen passwords  RSA SecurIDs and other password tokens generate one-time passwords  Challenge-response systems serve a similar role  Kerberos is a system designed at MIT  Users interact with an authentication server who authenticates them  They get a ticket to access a file from a ticket granting server  The ticket lets you use a file  Everything is time-stamped

 Routers want to block packet floods from affecting the servers behind the router  We can have ACLs that list all the legal (or all the illegal) hosts that can send (or are not allowed to send) packets into the network  But, checking packets against ACLs slows down the system, making the router easier to flood  Since it is possible to forge source addresses, the ACLs might not correctly block the packets

 Firewalls  Intrusion detection  Network management  Dakota Findley presents

 Read Sections 6.6 through 6.9  Finish Project 3  Due on Friday