computer crimes

49
Computer Crimes

Upload: elijah

Post on 22-Jan-2016

19 views

Category:

Documents


0 download

DESCRIPTION

Computer Crimes. Flow of the session. Historical perspective 4-14 Threats and Attacks Threats 18-21 Types of Attacks 23-30 Technology of defence 32-50 Laws and group Efforts in Canada 51 A couple of general ideas, in conclusion. Historical Perspective: Terminology. 1960s and 1970s: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computer Crimes

Computer Crimes

Page 2: Computer Crimes

2

Flow of the session Historical perspective 4-14 Threats and Attacks

Threats 18-21 Types of Attacks 23-30

Technology of defence 32-50 Laws and group Efforts in Canada 51 A couple of general ideas, in conclusion

Page 3: Computer Crimes

3

Historical Perspective: Terminology 1960s and 1970s:Hacker: a positive term

A Hacker: An expert, knowledgeable about programming and operating systems

1970s onwards:Hacker: a term, which progressively became more

negative.

A Hacker: Someone using computers without authorization..Hacker: Someone committing crimes by using computers

Page 4: Computer Crimes

4

Types of Non-authorized Users Hacker: people who access a computer

resource, without authorization Crackers: a hacker who uses his or her skills to

commit unlawful acts, or to deliberately create mischief

Script Kiddies: a hacker who downloads the scripts and uses them to commit unlawful acts, or to deliberately create mischief, without fully understanding the scripts.

Vandals

Page 5: Computer Crimes

5

Terminology of Hacking Eavesdropping or Snooping (also called

passive wire-tapping)

Active wire-tapping or man-in-the middle attack

Dumpster Diving: colloquial for looking through all the easily available material before an actual intrusion into a system

Page 6: Computer Crimes

6

The Global Net: A Virtual Intelligent Global System2 Sept 1969 LEN KLEINROCK’S Lab at UC,LA

1971 15 Nodes 23 Hosts

1973 BOB METCALFE’S thesis on ETHERNET at Harvard

1974 TCP: CERF & BOB KAHN’S paper 1983 DoD Official Protocol. 1989 Hypertext & WWW at CERN by Berner Lee

Then came the BROWSER’S MOSAIC NCSA and the WWW

Page 7: Computer Crimes

7

Security Technologies:A little history of an ancient art: The first printed book on cryptologyJohannes Trithemius, an abbot in Spanheim :

One of the founders of cryptology

The first printed book of cryptology: titled “Polygraphiae Libri Sex “ in German language in 1518 by Johannes Trithemius,published after the death of the writer.

(The title means -Six Books of Polygraphy)

Page 8: Computer Crimes

8

A little history (continued)

Earlier in 1499 he had written a 3-book“Steganographia”, (meaning covered

writing): which was circulated privately was published in 1606.

The first two books: about cryptology. But the third book could not be

understood, without understanding the encoding that he had used.

Page 9: Computer Crimes

9

A little history (continued): A challenge for a cryptanalyst

In the third book, which was considered to be incomplete, Trithemius explained why he had made it hard to understand:

“This I did that to men of learning and men deeply engaged in magic, it might, by the Grace of God, be in some degree intelligible, while on the other hand, to the thick skinned turnip-eaters it might for all time remain a hidden secret, and be to their dull intellects a sealed book forever.”

Page 10: Computer Crimes

10

“Ban, what you don’t understand.”

The third book: banned in 1609, ostensibly because it explained how to employ spirits for sending secret messages.

The challenge - of deciphering the book: met by three persons in 500 years

1676:Wolfgang Heidel, the archbishop of Mainz, Germany, claimed to have deciphered the third book of Trithemius.

But his discovery was stated in a secret code of his own. So nobody knew whether Heidel had understood the book.

Page 11: Computer Crimes

11

A little history: Deciphering the third book of Trithemius 1996:Thomas Ernst, Prof of German at La Roche

College, Pittsburgh published a 200-page German-language report in a small Dutch journal, Daphnis.

WIDELY KNOWN SOLUTION: spring 1998: Jim Reeds of AT & T labs solved the riddle of understanding the third book independently.

He did not know of the earlier work of Ernst.Trithemius work: basically simple: Ernst took two

weeks and Reeds took two days to understand it.Both Ernst and Reeds, separately, deciphered

Heidel’s work and found that Heidel had been able to decipher Trithemius’ third book.

Page 12: Computer Crimes

12

The first attack The Internet Worm (Nov 1988)

Morris, a graduate student at CMU released a program on the internet:

utilized a security hole in the mail receipt software

automatically replicated itself locally and to remote machines

affected a wide class of machines and effectively shut down internet for 1-2 days.

Cost estimate to fix: $5 million

Page 13: Computer Crimes

13

The first conviction Mitnick and Shimomura (Christmas

1994) Used SYN flooding and TCP Hijacking to

connect to Shimomura’s home machine. Stole copies of 1000’s of files including

specialized computer security software; modified log files to remove signs of entry.

Shimomura found out about the entry and informed FBI.

Page 14: Computer Crimes

14

“….there will be more security breaches”,

says Schneier As more of our infrastructure moves online,

as more things, that someone might want to access or steal, move online …….

As our networking systems become more complex …..

As our computers get more powerful and more useful…..

Page 15: Computer Crimes

15

Common attacks on banks through InternetLosses due to attacks:"The major banks don't want to

divulge the amount of losses. But just to give one example, a major Australian bank has put several million dollars in reserve since August 2003 to cover damages due to Internet frauds.“– Dave Jevans, eWeek, Dec 2003

Page 16: Computer Crimes

16

Causes of Security Problems on Internet

Internet Technology: was developed based on trust

Security features: added, as different types of attacks are mounted.

Users: bother about ease of use and not about security

Page 17: Computer Crimes

17

Security Threats RFC 1244 identifies three distinct types

of security threats associated with network connectivity: Unauthorized access

A break-in by an unauthorized person. Break-ins may be an embarrassment that

undermine the confidence that others have in the organization.

Moreover unauthorized access one of the other threats:-- disclosure of information or

--denial of service.

Page 18: Computer Crimes

18

Classification of Security Threats Reference: RFC 1244

Disclosure of information disclosure of valuable or sensitive information to

people, who should not have access to the information. Denial of service or Degradation of service

Any problem that makes it difficult or impossible for the system to continue to perform productive work.

Do not connect to Internet: a system with highly classified information, or, if the risk of liability in case of disclosure is

great.

Page 19: Computer Crimes

19

Brent Chapman’s Three Categories of Security Threats

Brent Chapman’s Classification: Confidentiality

Of data Of existence of data Of resources, their operating systems,

their configuration Of resources used, in case the resources

are taken on rent from a service provider

Page 20: Computer Crimes

20

Information Security Threats Chapman’s Classification

(contd.)

availability: A DoS attack may disrupt availability of a service, or availability of data

integrity Of data Of origin: Once someone has gained unauthorized accessto a system, the integrity of the information onthat system is in doubt.

Page 21: Computer Crimes

21

Loss Breakdown

Physical security

problems20%

Dishonest employees

10%

Human error55%

Viruses4%

Outsider attacks

2%

Disgruntled employees

9%

Reference: Jim Alves-Foss , Center for Secure and Dependable Systems, Univ of

Idaho, http://www.cs.uidaho.edu/~jimaf/cs442/crime-talk.ppt

Page 22: Computer Crimes

22

Types of Attacks Attacks on computer systems using the

computers Web-site defacement or Revealing the data to unauthorized persons/theft of

sensitive information/ stealing information having Intellectual Property Rights

like stealing credit card numbers bank frauds or

Damage to data

through Hacking or Virus/Worms

Page 23: Computer Crimes

23

Types of Attacks continued

Hoax Letters: Examples Malicious code (viruses and trojan horses) Urban myths Scam letters to entrap the receiver

Internet gambling Internet Pornography/ stalking Link Flooding Packet Intercepting, Password

Sniffing

Page 24: Computer Crimes

24

Types of Attacks

propagate false routing entries (“black holes” and “sink holes”, www.citibank.com, www.mybank.az)

domain name hijacking Phishing attacks: use e-mails that often

appear to come from a legitimate e-mail address and include links to spoofed Web addresses. The receiver responds to the link, which takes the receiver to a site, other than what the receiver thinks he is going to. (announced by MS on 16 Dec 2003, as a problem with Internet Explorer).

Page 25: Computer Crimes

25

Anti-Phishing.org A Web site www.antiphishing.org,, for reporting

incidents, set up by a group of global banks and technology companies, led by Secure-messaging firm Tumbleweed Communications Corp

Fast Response required: The Web sites designed for collecting personal information in phishing attacks are often alive for a day only.

Example: Dec 2003:The e-mail appeared to come from the U.K. bank NatWest.

Anti-Phishing.org tracked the IP address to a home computer in San Francisco.

But a clear case of spoofing—the mail was relayed from a hijacked computer (called a zombie)

Page 26: Computer Crimes

26

An Example: time-to-market for Internet Security

products

16 December, 2003: Discovery of the problem of Phishing

5 January 2004: Announcement of development of a new Anti-phishing service by Netcraft, of Bath, England.

Netcraft says that the service is mainly for banks and other financial organizations

Page 27: Computer Crimes

27

Other Computer Crimes Spoofing or Masquerading of a host or a

service-provider (Distinguish it from Delegation)

Repudiation of origin or of creation of some file

Denial of receipt Usurpation: unauthorized control Data Diddling (To enter false data

intentionally)

Page 28: Computer Crimes

28

General Strategies for security

encrypting sensitive data reduce size of target: disable unneeded services limit access of attacker to target

systems hardening the OS and applications

Page 29: Computer Crimes

29

CRYPTOGRAPHY

Cryptography (from two words in Greek): means secret writing.

Cryptoanalysis: breaking of a cryptographic code

CRYPTOGRAPHY: process data into unintelligible form, reversibly/irreversibly without data loss usually one-to-one in size /compression

Page 30: Computer Crimes

30

CryptographyServices, provided by cryptographic tools:

Encoding information into a form which makes the information unintelligible to an unauthorized person

integrity checking: no tampering authentication: not an impostor

Encryption or Enciphering

Encryption AlgorithmPlaintext

Key

Ciphertext

Page 31: Computer Crimes

31

Encryption

Two types of Encryption Algorithms

Reversible Irreversible

Two types of Keys Symmetric Assymetric

Page 32: Computer Crimes

32

Reversible Encryption

Reversible ENCRYPTION:

cleartext ENCRYPTION DEVICE encryption key

cleartext

can be used only when the same type of encryption software/equipment is available at both the ends

ciphertext

Decryption Device

Decryption key

Page 33: Computer Crimes

33

Decryption

Decryption or Deciphering

DecryptionAlgorithm

Ciphertext

Plaintext

Key

Page 34: Computer Crimes

34

Cryptographic Hash Functions (H) H : A transformation: One way m = variable size input h = hash value : a fixed size string, also known as message digest or

fingerprint or compression function.

H(m)m h

Page 35: Computer Crimes

35

Message Digest (recapitulation)

VariableLengthMessage

HashingAlgorithm

Fixed LengthDigest

Page 36: Computer Crimes

36

Secret Key/ Symmetric Cryptography

Simpler and faster (than ?) and, of course, secure For Integrity check, a fixed-length checksum for the

message may have to be used; CRC* not sufficient*Cyclic Redundancy Check

Page 37: Computer Crimes

37

Symmetric Key Encryption

Also called Private/Secret key Encryption

Sender-endMessageby sender

Messageat receiver

Pr-key

Pr-key

EncryptedMessage

EncryptedMessage

Internet

Receiver-end

Page 38: Computer Crimes

38

public-key cryptography (continued)

Page 39: Computer Crimes

39

Asymmetric Key Encryption

Also called Public key Encryption

Message

Message

B’s public

B’s private

EncryptedMessage

EncryptedMessage

Internet

A

B

key

key

Page 40: Computer Crimes

40

public-key cryptography (continued) Data transmission: private key(d), public

key (e)

Page 41: Computer Crimes

41

public-key cryptography (continued)Applications and Advantages: Storage: for safety: use public key of trusted

person Secret vs. Public Key system: secret key system: needs secret key for every pair

of persons, that wish to communicate n users n(n-1)/2 keys public key system: needs two keys for every

person, who wants to communicate. n users 2n keys

Page 42: Computer Crimes

42

Digital certificate for getting Public Key reliably A digital certificate from a trusted party

may contain: The name of a person His e-mail address His public key

The recipient of the encrypted certificate uses the public key of the Certification Authority to decode the certificate.

Examples of CAs: www.verisign.com or www.thawte.com (Verisign’s liability limited to $100 only!)

Standard for certificate: X.509

Page 43: Computer Crimes

43

Digital signatures

Digital Signatures: A is to sign a Msg and send it to B

Msg

Msg

Msg +EncodedDigest

DigestAlgorithm

Msg +EncodedDigest

DigestAlgorithm

Decode digest using Public key of A

Encoding using Private key of A

Digest

Digest

Compare

BA

Page 44: Computer Crimes

44

Laws and Group Efforts in Canada No separate cyberspace law in Canada But the Canadian Criminal Code and the

Canadian Human Rights Act apply in cyberspace.

The Internet Protection Portal, established by the Canadian Association of Internet Providers (CAIP): an on-line window to resources for a user to safeguard the Internet experience.

Media Awareness Network (MNet): supports media education in Canadian homes, schools and communities.

Page 45: Computer Crimes

45

Birthday paradox

A result from probability theory: Consider an element that has an equal probability of assuming any one of the N values. The probability of a collision is more than 50% after choosing 1.2√N values.

FunctionRandom input

One of k equally likely values

The same output can be expected after 1.2k1/2 inputs. Thus in a group of 23, two or more persons are likely to share the same birthday. (Put k = 365) Birthday attacks are used to find collisions of Hash functions

Page 46: Computer Crimes

46

Example of a Birthday AttackAssume A 64 bit key The first statement in a message is always the

same.A hacker listens to and stores all encrypted messages. When the FIRST encrypted sentence turns out to

be the same, he replaces the rest of the new message by the old message, that he has in his memory.

By Birthday Paradox, this is likely to happen after 232 transactions.

Page 47: Computer Crimes

47

Cryptography vs. Steganography

Cryptography : uses techniques like transpositions and substitution to make a message unintelligible

Steganography : hides the existence of the method.

Cryptography provides privacy. Steganography provides secrecy.

Page 48: Computer Crimes

48

Hiding a message in a picture Described by Wyner in ‘Byte’

Kodak photo CD resolution of 2048x3072 pixels. Each pixel: 24-bit RGB color information. Modify the last bit (out of 8 bits) for each color. Amount of data that can be hidden in a single

picture:2048 * 3072*3 = 2.359296 Mb = about 300,000B 10^6

If four bits of intensity for each of the three colors RGB are altered 1.5 text characters hidden in each pixel of the photo.

A 640x480 pixel image can store over 400,000 characters, equal to a whole book.

Page 49: Computer Crimes

49

Steganography: Hiding Messages: Example of a Laser printerAnother example: Laser printers can

adjust spacing of lines and characters by less than 1/300th of an inch.

To hide a 0, leave a standard space.To hide a 1, leave 1/300th of an inch more

than usual. Varying the spacing over an entire document canhide a short binary message that is undetectableby the human eye. The hidden message will be carried by every

photocopy of the document also.