1 / 43

EE515/IS523 Think Like an Adversary Lecture 1 Introduction

Join Yongdae Kim's course to learn thinking adversarially in security. Study attacks, security economics, and system vulnerabilities. Enhance your skills with real-world case studies and stay updated with news and research papers.

Download Presentation

EE515/IS523 Think Like an Adversary Lecture 1 Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE515/IS523 Think Like an AdversaryLecture 1Introduction Yongdae Kim

  2. Instructor, TA, Office Hours • Instructor • Yongdae Kim • First time teaching in KAIST ;-) • First time teaching EE515/IS523 • 16th time teaching a security class • Email: yongdaek (at) ee. kaist. ac. Kr yongdaek (at) gmail. com • Please include ee515 or is523 in the subject of your mail • Office: EE 1226 • Office Hours: MW 2:45 ~ 3:45 • TA • Senior: Jaeseong Jeong jsjung(at)netsys.kaist.ac.kr • Junior: Heeyoung Kim aliggo(at)kaist.ac.kr • Office hours: by appointment only

  3. Crypto Crypto+Security Network/Distributed System Security System Security 1993 1998 2002 2008 2012 ETRI USC KAIST UMN • 20 year career in security research • Applied Cryptography, Group key agreement, Storage, P2P, Mobile/Sensor/Ad-hoc/Cellular Networks, Social networks, Internet, Anonymity, Censorship • Published about 70 papers (3,000 Google scholar citations) • 10 PhD, 9 MS, 15 BS advised

  4. Class web page, e-mail • http://syssec.kaist.ac.kr/courses/ee515 • Read the page carefully and regularly! • Read the Syllabus carefully. • Check calendar. • E-mail policy • Include [ee515] or [is523] in the subject of your e-mail

  5. Textbook • Required: Papers! • Optional • Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. Van Oorschot, Scott A. Vanstone (Editor), CRC Press, ISBN 0849385237, (October 16, 1996) Available on-line at http://www.cacr.math.uwaterloo.ca/hac/ • Security Engineering by Ross Anderson, Available at http://www.cl.cam.ac.uk/~rja14/book.html.

  6. Overview • To discover new attacks • The main objective of this course is to learn how to think like an adversary. • Review various ingenuous attacks and discuss why and how such attacks were possible. • Students who take this course will be able to analyze security of the practical systems and

  7. Course Content • Overview • Introduction • Attack Model, Security Economics, Legal Issues, Ethics • Frequent mistakes • User Interface and Psychological Failures • Software Engineering Failures and Malpractices • Data mining/Machine Learning Failures • Case Studies • Peer-to-Peer System Security • Social Network Security and Privacy • Botnet/Malware • Cloud Computing Security • Internet Control Plane Security • Cellular Network Security • Mobile Phone Security • Security of Automobiles • Medical Device Security

  8. Evaluation (IMPORTANT!) • News and paper survey (5%) • Lecture (20%) • Reading Report (21 x 2% = 42%) • Project (30%) and • participation (3%)

  9. News and Research Paper Survey • Every student needs to submit a summary of news or a research paper twice • Submission • TBD • Submission date • Check class calendar • Topic • News and research papers should deal with security issues. • Your content should be different from others. Therefore, always check the current postings. • Use twitter, google reader • Length: maximum 1,000 words, Grading: A – F • Subject: Title – Author (ID) – #-th

  10. News Survey • News must be fresh • published within two weeks from the due dates. • Investigative/data journalism • No duplicate! • Do not rely on a single source. Read related articles. • Use your own language • Bibliography should be added. • "The register" (http://www.theregister.co.uk/) • "ArsTechnica" (http://arstechnica.com/) • "Bruce Schneier's blog" (http://www.schneier.com/) • F-secure web blog (http://www.f-secure.com/weblog/) • etc.

  11. Research Paper Summary • Independent from your group project • Published within the past three years. • Top security conference papers • ACM CCS • IEEE Symposium on Security and Privacy • Usenix Security • ISOC NDSS • For papers published in other conference, please get permission from me before posting • To summarize a paper, you often need to read more than one paper, as you might not have enough background on the topic.

  12. Participation • Discussion on the forum • Especially, news and paper summary • Discussion during the class

  13. Group Projects • Each project should have some "research" aspect. • Group size • Min 1 Max 5 • Important dates • Pre-proposal: Sep 17, 9:00 AM. • Full Proposal: Sep 24, 9:00 AM. • Midterm report: Oct 24, 9:00 PM • Final report: Dec 12, 9:00 AM. (NO EXTENSION!!). • Project examples • Attack, attack, attack! • Analysis • Measurement

  14. Grading • Absolute (i.e. not on a curve) • But flexible ;-) • Grading will be as follows • 93.0% or above yields an A, 90.0% an A- • 85% = B+, 80% = B, 75% = B- • 70% = C+, 65% = C, 60% = C- • 55% = D+, 50% = D, and less than 50% yields an F.

  15. And… • Incompletes (or make up exams) will in general not be given. • Exception: a provably serious family or personal emergency arises with proof and the student has already completed all but a small portion of the work. • Scholastic conduct must be acceptable. Specifically, you must do your assignments, quizzes and examinations yourself, on your own.

  16. TSS Body Scanner

  17. Security Engineering • Building a systems to remain dependable in the face of malice, error or mischance

  18. A Framework • Policy: what you are supposed to achieve • Mechanism: ciphers, access control, hardware tamper resistance • Assurance: the amount of reliance you can put on each mechanism • Incentive: to secure or to attack Policy Incentives Mechanism Assurance

  19. Example (Airport Security) • Allowing knife => Policy or mechanism? • Explosive don’t contain nitrogen? • Below half of the weapons taken through screening? • Priorities: $14.7 billion for passenger screening, $100 million for securing cockpit door • Bruce Schneier: Security theatre • The incentives on the decision makes favor visible controls over effective ones • Measures designed to produce a feeling of security rather than the reality

  20. Example (Cablegate) • What happened? • What was wrong? • What should have been done?

  21. Design Hierarchy • What are we trying to do? • How? • With what? Policy Protocols Hardware, crypto, ...

  22. Security vs Dependability • Dependability = reliability + security • Reliability and security are often strongly correlated in practice • But malice is different from error! • Reliability: “Bob will be able to read this file” • Security: “The Chinese Government won’t be able to read this file” • Proving a negative can be much harder …

  23. Methodology 101 • Sometimes you do a top-down development. In that case you need to get the security spec right in the early stages of the project • More often it’s iterative. Then the problem is that the security requirements get detached • In the safety-critical systems world there are methodologies for maintaining the safety case • In security engineering, the big problem is often maintaining the security requirements, especially as the system – and the environment – evolve

  24. Terminologies • A system can be: • a product or component (PC, smartcard,…) • some products plus O/S, comms and infrastructure • the above plus applications • the above plus internal staff • the above plus customers / external users • Common failing: policy drawn too narrowly

  25. Terminologies • A subject is a physical person • A person can also be a legal person (firm) • A principal can be • a person • equipment (PC, smartcard) • a role (the officer of the watch) • a complex role (Alice or Bob, Bob deputising for Alice) • The level of precision is variable – sometimes you need to distinguish ‘Bob’s smartcard representing Bob who’s standing in for Alice’ from ‘Bob using Alice’s card in her absence’. Sometimes you don’t

  26. Terminologies • Secrecy is a technical term – mechanisms limiting the number of principals who can access information • Privacy means control of your own secrets • Confidentiality is an obligation to protect someone else’s secrets • Thus your medical privacy is protected by your doctors’ obligation of confidentiality

  27. Terminologies • Anonymity is about restricting access to metadata. It has various flavors, from not being able to identify subjects to not being able to link their actions • An object’s integrity lies in its not having been altered since the last authorized modification • Authenticity has two common meanings – • an object has integrity plus freshness • you’re speaking to the right principal

  28. Terminologies • Trust vs. Trustworthy • Trusted system: whose failure can break the system • Trustworthy system: won’t fail • An NSA man selling key material to the Chinese is trusted but not trustworthy (assuming his action unauthorized)

  29. Terminologies • A security policy is a succinct statement of protection goals – typically less than a page of normal language • A protection profile is a detailed statement of protection goals – typically dozens of pages of semi-formal language • A security target is a detailed statement of protection goals applied to a particular system – and may be hundreds of pages of specification for both functionality and testing

  30. Threat Model • What property do we want to ensure against what adversary? • Who is the adversary? • What is his goal? • What are his resources? • e.g. Computational, Physical, Monetary… • What is his motive? • What attacks are out of scope?

  31. Terminologies • Attack: attempt to breach system security (DDoS) • Threat: a scenario that can harm a system (System unavailable) • Vulnerability: the “hole” that allows an attack to succeed (TCP) • Security goal: “claimed” objective; failure implies insecurity

  32. Goals: Confidentiality • Confidentiality of information means that it is accessible only by authorized entities • Contents, Existence, Availability, Origin, Destination, Ownership, Timing, etc… of: • Memory, processing, files, packets, devices, fields, programs, instructions, strings...

  33. Goals: Integrity • Integrity means that information can only be modified by authorized entities • e.g. Contents, Existence, Availability, Origin, Destination, Ownership, Timing, etc… of: • Memory, processing, files, packets, devices, fields, programs, instructions, strings...

  34. Goals: Availability • Availability means that authorized entities can access a system or service. • A failure of availability is often called Denial of Service: • Packet dropping • Account freezing • Jamming • Queue filling

  35. Goals: Accountability • Every action can be traced to “the responsible party.” • Example attacks: • Microsoft cert • Guest account • Stepping stones

  36. Goals: Dependability • A system can be relied on to correctly deliver service • Dependability failures: • Therac-25: a radiation therapy machine • whose patients were given massive overdoses (100 times) of radiation • bad software design and development practices: impossible to test it in a clean automated way • Ariane 5: expendable launch system • the rocket self-destructing 37 seconds after launch because of a malfunction in the control software • A data conversion from 64-bit floating point value to 16-bit signed integer value

  37. Interacting Goals • Failures of one kind can lead to failures of another, e.g.: • Integrity failure can cause Confidentiality failure • Availability failure can cause integrity, confidentiality failure • Etc…

  38. Security Assessment • Confidentiality? • Availability? • Dependability? • “Security by Obscurity:” • a system that is only secure if the adversary doesn’t know the details. • is not secure!

  39. Rules of Thumb • Be conservative: evaluate security under the best conditions for the adversary • A system is as secure as the weakestlink. • It is best to plan for unknown attacks.

  40. Security & Risk • We only have finite resources for security… • If we only have $20K, which should we buy? Product A Prevents Attacks: U,W,Y,Z Cost $10K Product B Prevents Attacks: V,X Cost $20K

  41. Risk • The risk due to a set of attacks is the expected (or average) cost per unit of time. • One measure of risk is Annualized Loss Expectancy, or ALE: ALE of attack A Σ ( pA × LA ) attack A Annualized attack incidence Cost per attack

  42. Risk Reduction • A defense mechanism may reduce the risk of a set of attacks by reducing LA or pA. This is the gross risk reduction (GRR): • The mechanism also has a cost. The net risk reduction (NRR) is GRR – cost. Σ (pA × LA – p’A×L’A) attack A

More Related