• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tutorial 09 - Security on the Internet and the Web
 

Tutorial 09 - Security on the Internet and the Web

on

  • 4,764 views

 

Statistics

Views

Total Views
4,764
Views on SlideShare
4,750
Embed Views
14

Actions

Likes
2
Downloads
0
Comments
0

3 Embeds 14

http://www.slideshare.net 8
http://www.biztechnology.biz 5
http://webcache.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Tutorial 09 - Security on the Internet and the Web Tutorial 09 - Security on the Internet and the Web Presentation Transcript

    • Security on the Internet and the Web Security Threats and Countermeasures Tutorial 9
    • Objectives
      • Understand the basics of security: secrecy, integrity, and necessity.
      • Understand what hackers and crackers can do and why they do it.
      • Learn about the dangers of online crime, warfare, and terrorism.
      • Investigate how to protect copyrighted materials that are published on the Internet.
    • Objectives
      • Understand Web client threats and countermeasures.
      • Learn about online communication channel threats and countermeasures.
      • Find out how to get more information and current updates about online security.
    • Understanding Security Basics: Secrecy, Integrity, and Necessity
      • Security is broadly defined as the protection of assets from unauthorized access, use, alteration, or destruction.
      • Physical security includes tangible protection devices, such as locks, alarms, fireproof doors, security fences, safes or vaults, and bombproof buildings.
      • Protection of assets using non-physical means is called logical security .
      • Logical security may also be broadly called computer security .
    • Understanding Security Basics: Secrecy, Integrity, and Necessity
      • Any act or object that endangers an asset is known as a threat .
      • Countermeasure is the general name for a procedure, either physical or logical, that recognizes, reduces, or eliminates a threat.
      • Countermeasures can recognize and manage threats or they can eliminate them.
      • An individual or organization can ignore threats that are deemed low risk and less likely to occur when the cost to protect against the threat exceeds the value of the protected asset.
    • Risk Management Model New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Understanding Security Basics: Secrecy, Integrity, and Necessity
      • To implement a good security scheme, you identify the risk, determine how you will protect the affected asset, and calculate the cost of the resources you can allocate to protect the asset.
      • Computer security can be classified into several categories:
        • Secrecy
        • Integrity
        • Necessity
    • Understanding Security Basics: Secrecy, Integrity, and Necessity
      • Secrecy prevents unauthorized data disclosure and ensures the authenticity of the data’s source.
      • Integrity prevents unauthorized data modification.
      • Necessity prevents data delays (slowing down the transmission of data) or denials (preventing data from getting to its destinations.
      • Internet users and businesses with Web sites need to take appropriate countermeasures in each of these three categories to protect themselves and the computers they use to connect to the Internet.
    • Secrecy and Encryption
      • Encryption : the process of coding information using a mathematical-based program and a secret key to produce a string of characters that is unreadable.
      • Decryption : the process of reversing encrypted text is called.
      • Cipher text : encrypted information.
      • Plain text : unencrypted information.
      • Cryptography : the study of ways to secure information.
    • Secrecy and Encryption
      • Private-key encryption ( symmetric encryption ):
        • uses a single key that is known by the sender and receiver
        • the key might be a password or a number generated by a special device
        • works well in a highly controlled environment.
    • Private-key (Symmetric) Encryption New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Secrecy and Encryption
      • Public-key encryption ( asymmetric encryption ):
        • uses a public key and a private or secret key
        • the public key is known to everyone
        • the private or secret key is known only to the person who owns both keys
        • each person has a private key that is secret and a public key that is shared with other users
        • messages encrypted with a private key must be decrypted with the public key, and vice versa
    • Public-key (Asymmetric) Encryption New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Secrecy and Encryption
      • Encryption is considered to be weak or strong based on its algorithm and the number of characters in the encryption key.
      • Algorithm : a formula or set of steps to solve a particular problem.
      • Strong keys : keys that are 128 bits long are called.
      • Most browsers use 128-bit encryption when they are in secure mode, which is also called strong encryption .
    • Integrity
      • An integrity threat occurs when an unauthorized party has the chance to alter data while it is being transferred over the Internet or while it is stored on a computer.
      • Man-in-the-middle exploit : when an e-mail message is intercepted and its contents are changed before it is forwarded to its original destination.
      • The most visible integrity threats have been from Trojan horses, viruses, and worms that attack computers and the programs they run.
    • Integrity
      • Trojan horse :
        • a small program hidden inside another program
        • claims to be a legitimate program that accomplishes some task when, in fact, it causes harm when the user accesses or downloads the program in which it is hidden
        • when you execute the program you thought you downloaded (or received via e-mail as an attachment), it secretly launches a separate Trojan horse program, which quietly does its damage.
      • Antivirus software programs and firewalls cannot guarantee that your computer is protected from this type of attack.
      • Be careful not to execute a file that you did not request and download software only from trusted sources.
    • Integrity
      • Worm :
        • a self-replicating program usually hidden within another file and then sent as an e-mail attachment
        • can replicate itself on a computer or server, but it cannot infect other files
      • Viruses can spoof the From line of an e-mail message using the name of someone you know.
      • The default filename view setting in Windows hides the filename extension.
      • Many computer security experts recommend that users change this default setting in Windows when it is possible so you can tell if a file is an executable program.
    • Integrity
      • Antivirus software can prevent the spread of viruses, worms, and Trojan horses by blocking them from being downloaded from the server.
      • Two vendors that provide a full range of antivirus products are Symantec and McAfee.
    • Integrity
      • The best defenses against Trojan horses, viruses, and worms are the following:
        • display Windows filename extensions computers so that you can determine the type of each file you download.
        • avoid opening attachments that you did not expect (even if they are from senders that are known and trusted)
        • install antivirus programs
        • keep those antivirus programs updated regularly
    • Necessity
      • Necessity occurs when a cracker uses a program to disrupt normal computer processing or, possibly, to deny processing entirely.
      • Packet flooding attack ( denial of service (DoS) attack ):
        • occurs when a cracker bombards a server or other computer with messages in an attempt to consume the network’s bandwidth resources
        • works by sending such a large number of messages to a Web server that it cannot answer properly
    • Necessity
      • Distributed denial of service (DDoS) attack :
        • the perpetrator uses a large number of computers that each launch a DoS attack on one Web server at the same time
        • most DDoS attacks are launched after the attacking computers are infected with Trojan horse programs. Each Trojan horse is coded to open and launch a DoS attack at exactly the same date and time
        • zombies : computers “hijacked” by a Trojan horse used to help a DDoS attack
      • A company can defend its Web server from DoS and DDoS attacks by adding a filter to its Internet connection between the Web server and the router that connects it to the Internet.
    • Online Crime, Warfare, and Terrorism
      • Most people who use the Internet are honest, hard-working people who use the technology for legitimate purposes.
      • Unfortunately, some people use the Internet for all manner of illegal and unethical purposes.
      • It is important to know about these uses because that knowledge can help prevent such use or limit the damage caused.
    • Hackers, Crackers, and Script Kiddies
      • Cracker : a technologically skilled person who uses his or her skills to obtain unauthorized entry into computers or networks of computers. damage the system’s software, or even do harm to the system’s hardware.
      • Computer forensics experts ( ethical hackers ): computer professionals hired to break into client computers and probe the computers to locate information that can be used in legal proceedings.
    • Hackers, Crackers, and Script Kiddies
      • Hacker :
        • a dedicated programmer who enjoyed writing complex code that tested the limits of technology
        • computer professionals consider being called a hacker a compliment; the media and the general public often use the term to describe those who use their skills for ill purposes
        • the terms white hat hacker and black hat hacker make the distinction between those who use their skills for good and those who use their talents to commit illegal acts.
    • Hackers, Crackers, and Script Kiddies
      • Virus tool kits :
        • script-writing programs that allow novices to create their own viruses, worms, and Trojan horses
        • menu-driven tools that give almost anyone the ability to generate troublesome programs without the need to write a single line of code
      • Script kiddies : a derisive term coined by crackers who have programming skills to describe people who use virus tool kits.
    • Online Theft, Identity Theft and the Ethics of Privacy
      • An increasing amount of personal information is stored on the Web by other parties, such as banks, credit card issuers, credit reporting agencies, physician’s offices, hospitals, and government agencies.
      • As more companies store valuable information on computers that are connected to the Internet, opportunities for theft of that information increase.
      • This is especially true when companies lose control of the data they collect on their customers (and other people).
    • Online Theft, Identity Theft and the Ethics of Privacy
      • Social Security number
      • Driver’s license number
      • Credit card numbers
      • CW2 numbers (the three- or four-digit security code printed on a credit card)
      • Passwords (or PINs)
      • Credit reports
      • Date of birth
      • ATM (or debit) card numbers
      • Telephone calling card numbers
      • Mortgage (or other loan) information
      • Telephone numbers
      • Home address
      • Employer address
      The kinds of personal information that criminals most want to obtain include:
    • Online Theft, Identity Theft and the Ethics of Privacy
      • Identity theft : a type of crime in which a thief steals a person’s entire credit record and then uses the victim’s personal information to open bank accounts, new credit cards, and buy expensive goods on credit.
      • By the time the victim finds out that his or her identity has been stolen, the thief is long gone with the cash and the goods.
      • If you are the victim of identity theft, you must act quickly to contact the credit reporting agencies, every financial institution at which you have an account, and the issuer of every credit card you hold.
    • Online Extortion
      • Some perpetrators threaten to launch DoS attacks against a company unless a “fee” is paid; many smaller companies simply pay the extortionists and do not even report the crime.
      • Other perpetrators break into a company’s systems, steal confidential information, and then threaten to release the information unless they are paid.
      • Smaller companies are easier targets because they generally do not have strong security in place, but larger organizations are not immune to these attacks.
    • Other Online Crimes
      • Enforcing laws against distribution of pornographic material online in the United States has been difficult.
        • a difficult question arises regarding which community standards might apply to the sale
        • international transactions raise even more difficult questions about which laws should determine the legality of the sale
        • The U.S. Supreme Court has ruled that state and local courts can draw the line based on local community standards
    • Other Online Crimes
      • A similar issue arises in the case of online gambling.
        • If people in California use their computers to connect to an offshore gambling site, it is unclear where the gambling activity occurs.
        • Several states have passed laws that specifically outlaw Internet gambling, but the ability of those states to enforce laws that limit Internet activities is not yet clear.
        • The U.S. Federal government has outlawed all online gambling activities by its citizens, but enforcement is difficult and the constitutionality of such laws has not been tested.
    • Organized Crime Online
      • Organized crime ( racketeering ): unlawful activities conducted by a highly organized, disciplined association for profit.
      • The Internet has opened new opportunities for organized crime.
      • Large criminal organizations can be efficient perpetrators of identity theft because they can exploit large amounts of personal information (obtained, for example, from a cracker who broke into a company’s Web server) quickly and efficiently.
      • These criminal organizations often sell or trade information that they cannot use immediately to other organized crime entities around the world.
    • Online Espionage, Warfare, and Terrorism
      • Industrial espionage :
        • a type of spying in which countries attempt to gain information from private businesses to capture intellectual property that can be taken home and used in industries there
        • when this information is stored in computers that are connected to the Internet or when it is transmitted via the Internet, it can become the target of online espionage efforts
      • Many Internet security experts believe that we are at the dawn of a new age of terrorism and warfare that could be carried out or coordinated through the Internet.
    • Copyright & Intellectual Property Threats and Countermeasures
      • Safeguarding copyright and intellectual property rights are also security issues.
      • Intellectual property threats are a large problem due to the Internet and the relative ease with which one can use existing material without the owner’s permission.
        • It is very simple to reproduce an exact copy of anything you find on the Internet.
        • Many people are naïve or unaware of copyright restrictions that protect intellectual property.
    • Copyright & Intellectual Property Threats and Countermeasures
      • Digital watermark : a process that inserts a digital pattern containing copyright information into a digital image, animation, or audio or video file.
      • Steganography :
        • a process that hides an encrypted message within different types of files
        • can be used to add copyright information to different types of files
    • Web Client Security
      • A good place to start applying security principles in on PCs connected to the Internet ( Web clients ).
      • There are specific security threats and countermeasures for Web clients, the communication channel that connects Web clients to Web servers, and the Web servers themselves.
    • Active Content: Java, JavaScript, and ActiveX
      • Active content : programs that travel with applications to a browser and execute on the user’s computer.
      • Java applet : a program written in the Java programming language that could execute and consume a computer’s resources.
      • JavaScript program : a program that could execute on the user’s computer and can run without being compiled.
    • Active Content: Java, JavaScript, and ActiveX
      • ActiveX components :
        • Microsoft’s technology for writing small applications that perform some action in Web pages; these components have full access to a computer’s file system.
        • only work in Internet Explorer and other browsers that use the Internet Explorer code base in some way.
        • Firefox, which does not use any part of the Internet Explorer code base, will not run a beneficial ActiveX component, nor can it be attacked by a malicious ActiveX component
    • Managing Cookies
      • A cookie is a small text file that a Web server creates and stores on your computer’s hard drive.
      • Clickstream : the links you click while visiting the Web site
      • A cookie might store information about your clickstream, the products you purchase, or personal information that you provide to the site.
      • Some cookies are removed automatically when you leave a Web site ( a session-only cookie ) .
    • Managing Cookies
      • Many Web sites use cookies to make their sites easier to navigate.
      • A cookie is not a program and it can only store information that you provide to the Web site that creates it.
      • Sometimes you provide the data openly, and at other times, the cookie might silently record your behavior at a Web site.
      • Only the Web site that stored the cookie on your hard drive can read it, and it cannot read other cookies on your hard drive or any other file on your computer.
    • Managing Cookies
      • Cookies can represent a security threat for some users, especially those who access the site from a public computer.
      • Internet users can control the storage of cookies on their computer’s hard drive by changing their browser’s settings.
      • The best way to prevent another user from gaining access to information is to make sure that you do not leave an electronic trail to its path.
      • Internet Explorer stores cookies in the C:WindowsCookies folder.
      • Firefox stores cookies in a file named cookies.txt on the user’s hard drive.
    • Managing Cookies in Internet Explorer New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Managing Cookies in Firefox New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Web Bugs
      • Web bug ( clear GIF or transparent GIF ): a small (one pixel), hidden graphic on a Web page or in an e-mail message that is designed to work in conjunction with a cookie to obtain information about the person viewing the page or e-mail message and to send the information to a third party.
      • When the user loads the Web page that contains this code, the browser downloads the hidden graphic. This process can identify your IP address, the Web site you last visited, and other information about your use of the site in which the clear GIF file has been embedded and record it in the cookie file.
    • Web Bugs New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9 HTML document containing a Web bug Web page containing a Web bug
    • Adware and Spyware: Ethical Issues
      • Adware : a general category of software that includes advertisements to help pay for the product in which they appear.
      • In many freeware and shareware programs, adware provides opportunities for developers to offer software at little or no cost to the user.
      • Adware usually does not cause any security threats because the user is aware of the ads and the parties responsible for including them are clearly identified in the programs.
    • Adware and Spyware: Ethical Issues
      • Spyware : a category of adware in which the user has little control over or knowledge of the ads and other monitoring features it contains.
      • Spyware occurs in situations where a developer has sold ads to a third party or embedded other features in the program.
      • A Web bug is an example of spyware because the clear GIF and its actions are hidden from the user.
    • Adware and Spyware: Ethical Issues
      • One way to protect computers from the potential privacy violations created by cookies, Web bugs, and spyware is to set Web browsers to block third-party cookie files.
      • There are many good shareware programs that erase spyware from your computer.
      • These programs, sometimes called ad blockers , search for files written by known spyware.
    • Firewalls
      • Firewall : a software program or hardware device that controls access between two networks, such as a local area network and the Internet or the Internet and a computer.
      • Port : like a door on a computer, it permits traffic to leave and enter a computer. When the port is closed, traffic can’t leave or enter the computer.
      • Port scan : occurs when one computer tests all or some of the ports of another computer to determine whether its ports are open, closed, or stealth.
    • Basic Web Client Firewall Architecture New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Firewalls
      • Most firewalls prevent traffic from entering the network, but firewalls can also prevent data from leaving the network.
        • This is useful for controlling the activities of hidden programs that are designed to compromise the security of a computer.
        • When you install a new program on your computer, a firewall that provides outgoing protection will notify you if and when the new program tries to access the Internet.
    • Firewalls
      • Until the recent increase in the number of users with broadband connections to the Internet, corporations used hardware firewalls almost exclusively.
      • Some firewall software programs are available for free or at a very low cost so they are become popular with other types of users.
      • Some antivirus programs and Internet suites include basic firewall protection.
    • Communication Channel Security
      • Encryption is an important part of maintaining security over information that is sent via the Internet.
      • Practical uses of encryption require authentication and identification.
    • Authentication and Digital Certificates
      • Authentication : a general term for the process of correctly verifying the identify of a person or a Web site.
      • Digital certificate : an encrypted and password-protected file that contains sufficient information to authenticate and prove a person’s or organization’s identity.
      • Certificate authority : a trusted third party that verifies the digital certificate holder’s identity and issues the certificate.
    • Authentication and Digital Certificates
      • A digital certificate contains the following:
        • the certificate holder’s name, address, and e-mail address
        • a special key that “unlocks” the digital certificate, thereby verifying the certificate’s authenticity
        • the certificate’s expiration date or validity period
        • the certificate authority
    • Authentication and Digital Certificates
      • A digital certificate is an electronic equivalent of an identification card.
      • Digital ID ( personal certificate ): used to identify a person to other people and to Web sites that are set up to accept digital certificates.
      • Digital ID : an electronic file that you purchase from a certificate authority and install into a program that uses it, such as an e-mail program or a Web browser.
    • Protecting E-Mail Messages
      • To help maintain the integrity of an e-mail message, you can send the message through a message digest function program ( hash code function program ) to produce a number called a message authentication code ( MAC ).
      • After it receives the MAC, the e-mail program sends the message and matching MAC together to the recipient.
      • The recipient’s e-mail program recomputes the message’s MAC and compares the computed MAC to the received MAC.
      • If they match, the content of the message is unaltered. If they do not match, then the message cannot be trusted.
    • Producing a MAC for a Message New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Protecting E-Mail Messages
      • To be useful, the message digest function must exhibit the following characteristics:
        • It must be impossible or costly to reverse the MAC and produce the original message.
        • The MAC should be random
        • The MAC must be unique to the message
      • You can also protect outgoing e-mail messages with the Secure/Multipurpose Internet Mail Extensions (S/MIME) specification, which when combined with a person’s digital ID provides authentication and encryption to e-mail messages.
    • Phishing Attacks
      • Phishing : an attack in which thieves “fish” for information.
        • Thieves send e-mail messages to people telling them that their account data at a bank, credit card company, or other company has been compromised.
        • The e-mail message asks the recipients to click a link to go to a Web site and verify the account information.
        • The link is to a spoofed Web site (a Web site that only looks like it belongs to the correct business).
        • If the recipient enters personal information in a form on the Web site, the thieves can steal that information.
    • Phishing Attacks
      • The links in phishing e-mails are usually disguised.
      • One common way to disguise the real URL is to use the “@” sign, which causes the Web server to ignore all characters that precede the “@” and use only the characters that follow
      • E-mail links can include JavaScript code that is invisible in most e-mail clients; the link looks like it is going one place, but in fact it directs the mail somewhere else.
    • Web Server Security
      • Just as digital certificates help protect data sent from one individual to another, they can help protect data sent from and received by a Web server as it performs its task of delivering Web pages to site visitors.
      • Web sites account for the largest percentage of digital certificates in use.
    • Digital Certificates for Web Servers
      • Server certificate ( SSL Web server certificate ): authenticates a Web site for its users so the user can be confident that the Web site is genuine and not an imposter.
      • Server certificate also ensures that the transfer of data between a user’s computer and the server with the certificate is encrypted so that it is both tamperproof and free from being intercepted.
    • Processing a Web Server Digital Certificate New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Digital Certificates for Web Servers
      • User identification : the process of identifying yourself to a computer.
      • Most computer systems implement user identification with user names and passwords; the combination of a user name and password is sometimes called a login .
      • To help keep track of their login information for different computers and Web sites, some people use a program called a password manager , which stores login information in an encrypted form on their computer.
    • Digital Certificates for Web Servers
      • Crackers can run programs that create and enter passwords from a dictionary or a list of commonly used passwords.
      • Brute force attack : occurs when a cracker uses a program to enter character combinations until the system accepts a user name and password, thereby gaining access to the system.
      • User authentication : the process of associating a person and his identification with a very high level of assurance.
    • Secure Sockets Layer (SSL)
      • Secure Sockets Layer ( SSL ): a widely used protocol that acts as a separate layer or “secure channel” on top of the TCP/IP Internet protocol.
      • SSL provides a security handshake when a browser and the Web page to which it is connected want to participate in a secure connection.
      • Web pages secured by SSL have URLs that begin with https:// instead of http://.
    • Secure State Indicators Internet Explorer Firefox New Perspectives on The Internet, Sixth Edition—Comprehensive Tutorial 9
    • Secure Sockets Layer (SSL)
      • SSL creates a public-key pair so that it can safely transmit data using a private key.
      • The private key is encrypted using public-key encryption and is sent to the browser. Using the private key protects the remainder of the information transfer between the browser and the Web site.
      • Session keys :
        • a public-key pair created by SSL during a browser session.
        • when the user leaves the secure Web site, the browser discards the session keys.
        • session keys exist only during a single, active session between a browser and server.
    • Staying Current with Internet and Web Security
      • CERT Coordination Center :
        • a federally funded research center operated by the Software Engineering Institute at Carnegie Mellon University
        • originally known as the Computer Emergency Response Team
        • primary goal is to publish alerts, advisories, and vulnerability reports about current and future Internet security problems it detects and to coordinate communication between software experts
        • also works to increase awareness of security problems and issues and to help individuals and organizations improve the security of their computer systems.
    • Staying Current with Internet and Web Security
      • SANS Institute :
        • many companies belong to the SANS Institute
        • it sponsors computer security training and research programs
        • its Web site includes the Internet Storm Center and other resources that contain current information on emerging online security issues
    • Summary
      • There are different types of computer security threats and some countermeasures that you can take to prevent them.
      • There are copyright issues related to the information you locate and use on the Internet.
    • Summary
      • Specific security threats arise on the Internet when it is used as a communication channel.
      • Other threats on computers arise when they are used as Web clients or as Web servers.
      • You should use the security information presented in this tutorial to create a safe environment in which to enjoy the Web’s many resources.