50
Introduction to Computer Security Course Introduction Pavel Laskov Wilhelm Schickard Institute for Computer Science

Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

  • Upload
    hanhan

  • View
    235

  • Download
    7

Embed Size (px)

Citation preview

Page 1: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Introduction to Computer SecurityCourse Introduction

Pavel LaskovWilhelm Schickard Institute for Computer Science

Page 2: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Computer security in headlines

Page 3: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 4: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 5: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 6: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 7: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 8: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Motivation for security abuse

Intelligence and military use (5th century BC – 1980’s)“security by obscurity”, crypto-wars

Hacker spirit, fun and fame (1980’s – 2000’s)Pwnie, CCC, CTF

Cybercrime, monetary gain (2000’s – currently)Phishing, botnets, spam

Political goals, cyberconflict (2007 – currently)Attack on Estonia, Russian-Georgian conflict, Stuxnet

“Hacktivism” (2011 – currently)

Page 9: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Computer security in numbers

New malicious code samples observed (Symantec)

Technische Universität Berlin

Gefährliches Internet

» Internet als Risikofaktor?

» Omnipräsenz von Angriffen, Würmern und Viren» Massive Schäden bei Unternehmen und Bürgern» Zunehmende Kriminalisierung von Schadsoftware

0

750.000

1.500.000

2.250.000

3.000.000

2002 2003 2004 2005 2006 2007 2008 2009

Neuer Schadcode pro Jahr (Symantec)

Page 10: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 11: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 12: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 13: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 14: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 15: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 16: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Why are computer systems insecure?

Growing complexity of computer systemslarge number of components, complex interaction

High competitionshort “time-to-market”, high ROI

Leveraging of risks through high connectivityworm outbreaks, botnets

Slow incident response“incident hiding”, manual handling

Human error

What can go wrong will go wrong!

Page 17: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 18: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 19: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 20: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 21: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 22: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: a case study

Page 23: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Human error: lessons learned

Users make errorselaborate social engineering designtime pressure

Significant monetary motivationBusiness efficiency via Internet

Page 24: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security instruments

Page 25: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security instruments

Page 26: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security instruments

Prevention

Detection

Reaction

Page 27: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Prevention instruments

Goal: enforce certain operational policies.Examples:

Encrypt messages during transmission over public networks.Require user authentication for certain services.Control access to different resources.

Limitations:Not always applicable, e.g. in open systems such as webservices.Strong assumptions, can be circumvented.

Page 28: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Detection instruments

Goal: detect violations of security policies.Examples:

Antivirus scanners: detection of malicious code or behavior.Intrusion detection systems: detection of attacks in networktraffic.Detection of malicious websites.

Limitations:Significant latency in decisions.Significant workload: a detection system without an operator isuseless.

Page 29: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Reaction instruments

Goals:Understand the root causes of successful attacks.Update prevention mechanisms.Real-time response, autonomous decisions.

Examples:Computer forensics: investigation of infected systems.Malware collection and analysis.Intelligent firewalls.

Limitations:Even larger latency, “post-mortem” operation.Significant risk of real-time response.

Page 30: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

What will you learn?

Findamental concepts of computer securitydry, but important!

Basic security goals and mechanismsauthentication, access control, encryption, etc.

Practical security instrumentsWindows and Linux security

Further selected topicsnetwork securitysoftware securityweb application and browser security

Page 31: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Coarse administration

Lectures:Wed, 14:00 (ct) – 16:00, A301

Formalities:Credit hours (diploma): 2 SWS (lectures) + 1 SWS (exercises)Credit points (B.Sc.): 3 LP (lectures) + 1 LP (exercises)

Exams and grading:diploma: oral exam by appointment, graded certificate forexercisesB.Sc: written exam at the end of semester, 30% of the finalgrade from exercises

Office hours: by appointmentCourse web page:http://www.cogsys.cs.uni-tuebingen.de/lehre/ws12/it sicherheit.html

Page 32: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Homework assignments

Meetings:Thu, 14:00 (ct) – 16:00, F122, on selected datesFirst meeting: 08.11

3 written homework assignments2 lab meetings and practical assignmentsTeaching assistant: Nedim SrndicEvaluation and grade:

diploma: a grade reflects the percentage of points acquired.B.Sc.: a grade contributes 30% to the final grade.

Page 33: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Bibliography

Dieter Gollmann.Computer Security. 3rd edition.Wiley & Sons, 2010.

Ross Anderson.Security Engineering.Wiley & Sons, 2001.

Bruce Schneier.Secrets and Lies: Digital Security in a Networked World.Wiley & Sons, 2004. (fun to read)

Page 34: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

A typical web application

Legitimate user

BrowserWebserver

Internet

Page 35: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Attack: interception of communication

Legitimate user

BrowserWebserver

Internet

Attacker

Credit card number

Page 36: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security goal: confidentiality

Prevention of unauthorized reading of dataPrevention of unauthorized learning of informationPotential abuse scenarios:

Discovery of confidential information (e.g. details of a businesscontract)Discovery of authentication credentials (e.g. password sniffing)

Enforcement intruments:Symmetric or asymmetric cryptographyAnonymization techniques

Page 37: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

A typical web application

Legitimate user

BrowserWebserver

Internet

Page 38: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Attack: identity spoofing

Legitimate user

BrowserWebserver

Internet

Fake webserver

Attacker

Page 39: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security goal: authentication

Verification of an identity of a person or a computerPrerequisite for access controlAuthentication methods:

Shared secrets (e.g. password or PIN)Ticket systems (identity cards, digital certificates)Challenge-response techniquesBiometric techniquesHuman authentication: CAPTCHA’s, Turing test, etc.

Authentication risks: identity theft

Page 40: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

A typical web application

Legitimate user

BrowserWebserver

Internet

Page 41: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Attack: injection of malicious code

Legitimate user

BrowserWebserver

Internet

Attacker

Malware

XSS attack

Page 42: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security goal: integrity

Prevention of malicious tampering of dataPotential abuse scenarios:

Fraudulent modification of data (e.g. 100,000¤ instead of100¤ in an online transaction request)Injection of malicious code in downloaded softwareEvading detection by modification of a compromized operatingsystem

Enforcement instruments:Integrity checking using cryptographic hash functions

Page 43: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

A typical web application

Legitimate user

BrowserWebserver

Internet

Page 44: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Attack: server overload

Legitimate user

Browser

Internet

Server overloaded

Page 45: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security goal: availability

A joint objective of security and dependabilityMay be caused by attacks as well as natural phenomena,such as design errors or flash crouds.Enforcement instruments:

Detection of DoS-attacksRouter and firewall reconfigurationService redundancyVirtualization

Page 46: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

A typical web application

Legitimate user

BrowserWebserver

Internet

Page 47: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Attack: transaction denial by a user

Legitimate user

BrowserWebserver

Internet

Credit card charded

Transaction cancelled

Page 48: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Security goal: accountability

An audit trail of security-related eventsA key instrument of detection/responseA stronger form of accountability is non-repudiation:unforgeable evidence that a certain action occurred.Similar attacks as integrityEnforcement instruments:

Integrity checksRead-only auditDigital certificates and trusted third parties

Page 49: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Summary

Security is not a solution but an ongoing process.Security can only be achieved by a combination of technicaland organizational measures.One of the biggest security risks is a user.Security is a big challenge but lots of fun as well: a greatfield of study and research.

Page 50: Introduction to Computer Security - Course Introduction to Computer Security Course Introduction ... Cybercrime, monetary gain ... Introduction to Computer Security - Course IntroductionAuthors:

Next lecture

The economics of computer securitySecurity threatsSecurity design principles