Docsity

Network Security Vulnerabilities: WEP, Email Spoofing, and Denial of Service Attacks - Pro, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
CS 4235 Final Project
Network Security Vulnerabilities and Mitigation Resource
Submitted to
Dr. Edward Omiencinski
Professor of Intro to Information Security, CS 4235
Georgia Institute of Technology
Submitted by
Andrew Ash
Victoria Au
Jason Bennett
Daniel Browne
Elizabeth White
College of Computing
Georgia Institute of Technology
17 April 2009
Abstract
The population of people affected by network security is constantly growing. More and more
households are setting up high-speed internet wireless networks and online banking is a growing
industry. Ensuring that private (home user) or mission critical (corporate) information is maintained
secure requires various tools and protocols. Although this information is well known by IS
professionals, the average home user or small business owner may be unaware. In order to provide a
complete reference guide to some of the major network security vulnerabilities, we will produce a
website containing descriptions of the vulnerabilities, which groups or people are at the most risk, and
what the measures that should be taken to ensure security.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Network Security Vulnerabilities: WEP, Email Spoofing, and Denial of Service Attacks - Pro and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

CS 4235 Final Project

Network Security Vulnerabilities and Mitigation Resource

Submitted to Dr. Edward Omiencinski Professor of Intro to Information Security, CS 4235 Georgia Institute of Technology Submitted by Andrew Ash Victoria Au Jason Bennett Daniel Browne Elizabeth White College of Computing Georgia Institute of Technology 17 April 2009 Abstract The population of people affected by network security is constantly growing. More and more households are setting up high-speed internet wireless networks and online banking is a growing industry. Ensuring that private (home user) or mission critical (corporate) information is maintained secure requires various tools and protocols. Although this information is well known by IS professionals, the average home user or small business owner may be unaware. In order to provide a complete reference guide to some of the major network security vulnerabilities, we will produce a website containing descriptions of the vulnerabilities, which groups or people are at the most risk, and what the measures that should be taken to ensure security.

Wireless Network Security Andrew Ash For decades, personal networking was limited to laying yards of cable and connecting computers to switches. While physical wires may be fast, their inconveniences are tremendous if a building needs to be retrofitted to include laying networking cables. As computing and the Internet grew in popularity, a need arose to have the benefits of home networking available without the burdens of a physical infrastructure. In response to this issue, the IEEE 802.11 wireless networking standard was released in 1997. Seeing that wireless would be the future of personal networking, the group aimed for long ranges, high throughput, and ease of connectivity. Unfortunately, the primary security measure in the first iterations of wireless standards, Wired Equivalent Privacy (WEP), was lacking from the beginning. As early as 1995 cryptanalysts had discovered vulnerabilities in the RC4 stream cipher used by WEP for confidentiality, and by 2001 readily-available software could crack WEP in surprisingly short periods of time. In 2003 the Wi-Fi Alliance declared WEP fully deprecated and announced the Wi-Fi Protected Access (WPA) standard as its successor, and further standards (WPA2, RADIUS, LEAP, and EAP- TLS) continue to increase the robustness of security on wireless networks. Unfortunately, consumer equipment and technological inertia mandate backwards compatibility for WEP encryption, and this deprecated security measure can still be found in the wild. A number of researchers have based their work around vulnerabilities in WEP, and breaking it is now considered trivial. In fact, between the 2001 Fluhrer-Mantin-Shamir attack, the 2005 Klein RC4 analysis, the 2006 Bittau-Handley-Lackey eavesdropping attack, and the 2007 Tews-Pychkine-Weinmann attack, even the 104 bit version of WEP poses a small hurdle to an attacker. The WEP protocol, as described in the IEEE 802.11 standard, allows up to four root keys, though most networks use just a single secret key. The initial version of WEP only allowed a 40bit root key, though further versions also allow 104 bit root keys and some proprietary extensions allow even

configuration. A third attack not based on the RC4 algorithm is KoreK's chopchop attack. The idea is that if given access to an oracle which can confirm if the encrypted packet's checksum was correct, an attacker can decrypt the last m bytes of the packet and recover the last m bytes of the keystream used with an average of 128*m queries to the oracle and negligible computational effort. The flaw comes in the choice of CRC32 as the protection on the data. Since it is a checksum method designed for detecting transmission errors, it was never designed for cryptographic protection of data. So by repeatedly chopping off the last byte from the packet, an arbitrary number of bytes can be decrypted from the ciphertext of the packet. A reverse process called the Arbaugh inductive attack works the other way: the next m bytes of the keystream can be recovered, not just the previous m bytes. Even as WEP was being finalized, there were doubts called to RC4's cryptographic strength for this particular application. In the years following WEP's release, these concerns for RC4 came to fruition with a variety of attacks on its implementation in WEP. The first of these was the Fluhrer- Mantin-Shamir attack (FMS) of 2001, which works by exploiting vulnerabilities in the initialization of the RC4 internal state. The impact of the attack is that there is a 50% probability of successful private key recovery by recording under four million sessions. A few years later, a person under the name of KoreK posted onto the Netstumbler forums a series of attacks against the protocol. Combined, the seventeen attacks improves probability rates to 90% in under 300,000 sessions. Further methods by Klein in 2005 improve probability of success to 90% within 60,000 sessions, and Tews-Pychkine-Weinmann (PTW) in 2007 performs a bit better with a 90% success rate in 48,000 sessions. The resulting best-practices from these attacks have been combined into a tool called wesside , which is a fully automatic WEP attack tool. It has been known to break WEP keys within two minutes on an otherwise fully-secured network. Clearly, WEP has serious design issues. From replay attacks to issues with RC4, only a miniscule number of sessions are now required to break the cryptographic protections provided by

WEP. In response to these issues, the IEEE began work on a successor protocol named WPA, which aims to regain the security lost in WEP. Changes made for increased security include adding integrity checks on every part of fragmented packets, detecting repeated checksum failures (an IDS of sorts), a per-packet sequence counter to prevent replay attacks, and a complete changing of the per-packet key, not just the 3 bytes of WEP's Initialization Vector. In addition to these TKIP protections, stronger ciphers such as AES can be used to completely replace RC4 from the protection schemes. The future of wireless security is complex, but the pitfalls from WEP have been acknowledged and wireless security will never be as weak as it was in WEP.

property theft, virus and other malware infection, child pornography, fraud, and deceptive marketing. In this demonstration, we'll be using Telnet, which is an application that allows us to communicate with remote computers. We will be using the Simple Mail Transfer Protocol (SMTP) to talk to email servers into sending an email. In this screen, we are connecting to the mail.cc.gatech.edu mailing server through telnet. Usually, people cannot access this unless they were inside the Georgia Tech network, but once inside, there is no security set in place. In this screen, we introduce ourselves as a smtp.mail.washington.gov server. As you can see, the mail server has accepted it without any problems or authentication.

We let the server know that we want to send emails from an address called “[email protected]” which is also accepted without any authentication. This is known as spoofing, where someone pretends to be someone else. We continue to the body of the text with the command “DATA” and write the rest of the email body. Here, we send a message requesting money. A normal email user, judging from the spoofed email sender may send money to a fraudulent account because of their lack of knowledge of these technologies. In addition, these attackers are hard to trace as they leave no incriminating evidence behind. After we've queued our message for delivery, we quit and close the connection. Although this is not probably not how spammers, phishers, and spoofers act when implementing their attacks, this demo demonstrates the ease of implementing mass email attacks and the danger of the lack of application layer checks. In simply four commands, someone without much technical skill can launch an email of the above caliber to a victim. Not only is this easy, but the information to perform these fake emails can also be easily found on the internet.

list of other things that can go wrong with a single problem with DNS, because we use DNS to verify and check, as well as for security. Previous DNS exploits were very specific and targeted. These attacks are referred to DNS Poisoning, where we take a good record in DNS and poison it with our bad record. This can allow us to redirect people to a different "www.bankofamerca.com", where we steal their passwords and usernames, but the problem with this is that if you go to any other URL such as: "login.bankofamerica.com" it would direct you to the correct Bank of America web site. This type of attack is still very bad, but it's attack vector is small, and the chances of properly poisoning a single record was very small as the server would only update it once the old one was considered too old, and we would only have that small window to make the attack. In the same way, we could poison mail servers, and other records, but the window of time was very small, and the attack was very specific. The way to make this attack less likely was only to increase the amount of time that a single record stayed in the DNS cache. The latest DNS exploit, found and made popular by Dan Kaminsky, allowed for an attacker to poison the entire domain of "www.bankofamerica.com" so that every request would go to a fake server. This was done by asking for a domain that didn't exist, which caused the DNS server to ask all the way up the chain, which takes time. During this time, the attacker answers the request, guessing a very small 'secret' which is a small number used to try to validate the answer. The attacker has a very good chance of success, especially because we control when we ask for a record that doesn't exist and we know it won't exist. Once we successfully answer the request, the attacker also attaches a line that says: "this is the DNS server for the domain", and points it to a fake address, so all future calls are done with the false DNS server. The fix for this, was to randomize how the data was sent out and how it was expected to come back in, significantly decreasing the chance that the attacker will succeed, but not stopping it. Those who are concerned about the security of DNS are looking for new ways to spin the same

wheel. DNS is to ingrained into the internet to overhaul and attempt to do it right, so DNSSEC (short for DNS Security) has been developed which offers encrypted DNS queries from server to server. This effectively stops the current DNS Poisoning techniques, but it is very difficult for people to implement, requires everyone to sign certificates which expire after so many DNS changes, and adds a lot of complexity to something that many people are not use to. For this reason, it is unlikely that it will be implemented World Wide which is unfortunate for a system that is only as strong as its weakest link due to its recursive nature.

Another similar attack is called a SYN Flood attack (Drawing 1) iv

. Then, as computers and Internet connections could process more data more quickly, new methods were developed to carry out attacks. Because a server typically sends a reply message whenever another computer connects to it, the attacker's network would itself be inundated with such reply messages and slow down. Thus, attackers began using random addresses to spoof their identify. It would be easy for a server to block all data coming from a particular computer, but when the “return address” is any other computer on the Internet, it is then more difficult to investigate the attack and determine who the attacker actually is (Drawing 2). This also helps the attacker reduce his network cost and lets him attack with more force. This method bridged the gap to “distributed” attacks that rendered filtering useless as the predominant defense. The first major DoS attacks were reported in January and February of 2001. The victims were important Domain Name System servers in the U.S. and the Department of Finance in Ireland, respectively v . Drawing 2: Botnet DoS Attack with Controller Sending Instructions Some viruses were released to aid in DoS attacks, such as MyDoom. The virus, or trojan, would wait, like a time bomb, until a certain date and time, when it would “wake up” and begin attacking a single victim. More recently, attackers have been launching advanced DDoS attacks from secretly infected home-use computers and laptops. These computers are called “zombies” and create “botnets”. From a single control point, an attacker can instruct hundreds of thousands of computers to start attacking a victim or many victims (Drawing 3). Thus, botnets are much more versatile and can be re- used, unlike viruses which cannot be re-programmed. Botnets are also used to send spam e-mail, show ads and spy on users' activity. How can these problems be avoided, then? This is not an easy question and the answer is neither quick, inexpensive or simple. US-CERT, a governmental agency interested in minimizing the

effects of DoS attacks, has recommendations depending on your role in the Internet. Home or office computer users have the responsibility to protect their own computers from being victims of botnets. This means that all instructions provided by IT staff and experts should be followed and problems with your computer (a higher number of ads, the computer seems to be slower, websites do not load, etc.) should be reported so that it can be checked for infection. Install virus scan software, use strong passwords that cannot be easily guessed, and use a firewall vi

. Botnets do not only use Windows computers, but Apple Macintosh computers as well vii . There is no single operating system or software package that can guarantee your safety! Drawing 3: IP Spoofing Attack Companies and governmental agencies have a more difficult task when it comes to protecting their own servers and systems from attack. Older, and thus slower, networks and servers that cannot handle as much traffic are still in use. To mitigate consequences due to high traffic levels (the typical appearance of a DoS attack), older equipment should be upgraded. In a report to Congress, Dana Shea discusses how legacy industrial control systems have been connected to corporate networks which are in turn connected to the Internet, making them vulnerable to attackers worldwide viii . On top of upgrades, networking devices, such as routers and firewalls should be updated and patched regularly. This became vital mid-year 2008 when a vulnerability was discovered in the way that many of the world's routers cached, or stored, IP addresses. Major manufacturers of network hardware and software released patches as soon as was possible ix . The final, and most involved mitigatory action includes redundancy and a back-up plan for when an attack does occur x . Most servers can be transitioned to new temporary connections, if they are available. Although it is often not possible or affordable to maintain the infrastructure for two equally fast and capable connections, it should be within the ability of any company to keep available a slower DSL connection and a separate set of IP addresses on “stand-by”

Man in the Middle Attacks Danny Browne With the increasing use of sensitive online services such as online banking and ecommerce, knowledge of how to ensure that a connection is secure has become a requirement. One common solution to protecting sensitive information during transmission is to encrypt it. This is good in practice, but is only successful if the keys are kept secret. One common network security attack is referred to as a “Man-in-the-Middle” (MITM) attack. To begin, an example of a MITM attack is provided. Chris and Danny require a secure connection in order to share sensitive files and transmit messages to each other. To begin, Chris sends his public token to Danny. With the token Danny would be capable of encrypting messages or files and transmitting them to Chris. Chris maintains his private key, which acts as a decryptor for the data received from Danny. In the same way Chris is able to encrypt data with his private key, send to Danny, and using Chris’ public key can decrypt the data. This scenario would provide a secure connection, however during that initial transmission of the public key from Chris to Danny, Jason intercepts the message. Jason stores Chris’ public token, blocks it from being sent to Danny, and instead sends his own public key onto Danny. Danny and Chris are unaware of Jason being a “man-in-the-middle” which is now controlling the conversation or file transfer between these two parties. Jason intercepts every message from both of the other two users and has the freedom to read, change, or completely fabricate the message actually delivered to the intended user. Not only is Jason capable of collecting sensitive data, he is able to provide false data that appears authenticated to both users. Although the example above is used for communication between two users, the same applied when a home user is communicating with a banking website. For example, if Jason intercepted the public key delivery between Bank of America and Danny, he would then be able to gather Danny’s username, password, and account information. At this point Jason could steal Danny’s identity and

conduct additional malicious activities not as immediately obvious to Danny, such as opening accounts or taking out lines of credit in his name. Protecting oneself against these attacks is an important aspect of 21 st century internet usage. The following paragraphs provide description of current technology implementations as well as home user information to assist in protecting oneself. One common practice in protecting the user is to verify the public key with a third party. One well known corporation that offers this service is VeriSign. “VeriSign is the leading Secure Socket Layer (SSL) Certificate Authority” 1 meaning that they are a third party which provides or verifies that a user viewing a certain website has the correct public token for encrypting and decrypting messages. An example of such a website is Mint (http://www.mint.com). Mint is an online money management and budgeting tool which provides a central location for a user to monitor all of their different accounts and investments. The site requires a large amount of sensitive information including the username and passwords a specific person has at each financial institution; ensuring security when using this site is of utmost importance. Figure 1 shows the main login page for Mint; take important note of the bubbles providing pointers for home users to look for when entering any site which requires security. A common technique by attackers is to make a mock site which appears to be Mint, when in actuality it is an imitator trying to gather information. Figure 1 provides the actual website. Next to the address Internet Explorer ® provides verification that a third-party is authenticating the site’s security. Do be aware that unprotected sites will provide guarantees or images of locks on their websites; uninformed users will take these phrases or icons to be accurate even though the “verification” is coming from the website itself and not a third-party. By verifying a public key against a third-party source a user can be assured that they have the real encryption key, not an imitation provided from a “man-in-the-middle.” (^1) h t t p://w w w. v e r i s i g n. c o m/s s l/in d e x. h t m l? sl-h p p d

Figure 2. Public Key Infrastructure (PKI) process depicted. xii 1 A key holder (who does not have a key yet), requests that a key be issued to himself. The request is sent to the Registration Authority. 2 After verifying the identity of the key holder, the Registration Authority passes the request onto the Certificate Authority. 3a The Certificate Authority issues a key/token to the key holder. 3b The same key/token is provided to the Verification Authority to be put on file. 4 When a user browses to the website hosted by the key holder, the key holder provides the token issued by the Certificate Authority to the user. 5 The website user does not trust the provided token, so it provides it to the Verification Authority to receive assurance that the key holder is providing a real identity. 6 The Verification Authority matches the token to the one that is on file for the key holder, providing an “OK” to the web user. At this point, a trusted connection has been made. Table I. Explanation of PKI process depicted in Figure 2. Although the process described above appears to require several steps, the website user himself requires no direct action. Steps 1 – 3 occur only once when a new key holder needs to request a key; once the key has been issued to the key holder and is on file with the VA, the process need not be

repeated. When a user browses to a shopping or banking website, Step 4 occurs automatically with the site download; the key holder provides his token for the user to authenticate. On the client-side (user), the web browser automatically forwards the token onto the VA. Once authentication is received, the browser will indicate to the user that the site can be trusted. The only action required by the user is to understand his web browser and how it provides assurance or warnings when visiting secure websites. As a home user, ensure that you are educated on the security features available by your browser. Conducting regular updates will ensure that the latest security features available will be utilized by the software installed on your computer. Different internet browsers (Internet Explorer®, Safari ®, FireFox®) use different ways of indicating authentication to a user, so ensure that you as a user are familiar with your web browsers security. The Microsoft® website describing Internet Explorer’s® 8 certification authentication process is provided in the link below. Microsoft® Internet Explorer®: http://www.microsoft.com/windows/products/winfamily/ie/ev/ default.mspx