1 / 36

CMSC 414 Computer and Network Security

CMSC 414 Computer and Network Security. Jonathan Katz. Introduction and overview. What is computer/network security? Why is it important? Course philosophy and goals Course organization and information High-level overview of topics Why security isn’t everything. “Security”.

cyrah
Télécharger la présentation

CMSC 414 Computer and Network Security

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. CMSC 414Computer and Network Security Jonathan Katz

  2. Introduction and overview • What is computer/network security? Why is it important? • Course philosophy and goals • Course organization and information • High-level overview of topics • Why security isn’t everything

  3. “Security” • Most of computer science is concerned with achieving desired behavior • Security is concerned with preventing undesired behavior • Different way of thinking! • An enemy/opponent/hacker/adversary may be actively and maliciously trying to circumvent any protective measures you put in place

  4. One illustration of the difference • Software testing determines whether a given program implements a desired functionality • Test I/O characteristics • Q/A • How do you test whether a program does not allow for undesired functionality? • Penetration testing helps, but only up to a point

  5. Security is complex • Draws on all (?) areas of CS • Theory (especially cryptography) • Networking • Operating systems • Databases • AI/learning theory • Computer architecture/hardware • Programming languages/compilers • HCI, psychology • Often not easy to assign topics to one area; the field is inherently interdisciplinary

  6. Security is increasingly important Security incidents (reported)

  7. Computers are pervasive • Electronic banking • iPods, cell phones, PDAs • Automobiles • Appliances, TVs • Cameras, picture frames(!) • See http://www.securityfocus.com/news/11499 • These can all potentially be attacked

  8. Philosophy of this course • We are not going to be able to cover everything • Main goals • A sampling of many different aspects of security • The “mindset” of security: a new way of thinking • Become familiar with basic crypto, acronyms (RSA, SSL, PGP, etc.), and “buzzwords” • Become an educated security consumer/user • Try to keep it interesting with real-world examples and research papers

  9. Grades • Somewhat difficult to test on this material • Unfortunately, there will be some memorization • But I hope you find the untested material compelling and worthwhile • I am happy to give everyone an “A” • But you will have to demonstrate knowledge of what is covered in class • Homeworks/projects will count for a substantial portion of the grade • Class participation will be taken into account

  10. Course Organization

  11. Staff • Me • TA • Contact information, office hours, listed on course webpage

  12. Course webpage http://www.cs.umd.edu/~jkatz/security/s08 • Contains course organization, updated syllabus, various links, etc. • Also links to papers and news articles! • Slides will be posted for convenience, but they are not a substitute for attending lecture • Homeworks distributed from the course webpage • Check daily for updates, announcements, etc. • Newsgroup/wiki?

  13. Textbooks and readings • Unfortunately, hard to find a good textbook… • Required text: • “Network Security…” by Kaufman, Perlman, and Speciner (most recent edition) • I will less frequently use: • “Computer Security…” by Stallings and Brown • Will supplement with other readings (distributed on class webpage)

  14. Class participation and readings • Research papers and news articles will be posted on the course webpage • Read these before class and come prepared to discuss • Material from these readings is fair game for the exams, even if not covered in class (unless stated otherwise) • Please suggest (via email) other papers or relevant news articles!

  15. Course requirements • Homeworks • About 4-5 throughout the semester • Programming portion will be done with a partner • Details about projects to come… • Each student will receive a computer account • Accounts will be assigned in the next class

  16. Prerequisites • We will cover some (basic) cryptography • I will assume you remember Discrete Math • Later we will cover network security • I assume that everyone has taken CMSC 417, or is taking it this semester, or understands the OSI (network layer) model • Please let me know if not

  17. Syllabus (very tentative)

  18. Syllabus I • Introduction… • Is security achievable…? • Is security everything? • Some basic security principles • Cryptography • The basics (take CMSC 456 or read my book for more) • If you took 456 with me, you can skip • Cryptography is not the whole solution… • …but it is an important part of the solution • Along the way, we will see why cryptography can’t solve all security problems

  19. Syllabus II • System security • General principles • Security policies • Access control; confidentiality/integrity • OS security • “Trusted computing”

  20. Syllabus III • Network security • Identity • Authentication and key exchange protocols • Password and biometric authentication • Anonymity and pseudonymity • Some real-world protocols (IPSec/SSL) • Wireless security

  21. Syllabus IV • Miscelaneous • E-mail security (PGP) • Web-based security (phishing, spoofing) • Buffer overflows and secure programming • Viruses, worms, and malicious code • Random cool topics…

  22. Understanding Security (without really talking about security)* *Or, “let’s get meta”

  23. Understanding security • Security not limited to computers • Why is (computer) security hard? • How hard is it? • Is security the answer to computer security?

  24. Security • Learn to think with a “security mindset” in general • What is “the system”? • What is the weakest point of attack? • What threats am I trying to address? • How effective will a given countermeasure be? • What is the trade-off between security, cost, and usability?

  25. An example: airline security • Ask: what is the cost (economic and otherwise) of current airline security? • Ask: do existing rules (e.g., banning liquids) make sense? • Ask: are the tradeoffs worth it? • (Why do we not apply the same rules to train travel?) • Ask: how would you get a weapon on board a plane? • (I will not give you the answer) • This is a thought experiment only!

  26. What is your mother’s maiden name? It’s XXYYZZ An example closer to home How would you attack this system? Which of these attacks are worth defending against?

  27. One good attack • Use public records to get someone’s maiden name • The problem is not that the information is public • The problem is that we use mothers’ maiden names for authentication • Similar issues with SSNs, credit card #s, etc… • Note: “the system” here is not just the computer, nor is it just the network…

  28. Computer security is not just about computers • Remember: what is “the system”? • Physical security • Social engineering • Bribes for passwords • Malicious code in email attachments • “External” means of getting information • Legal records • Trash cans

  29. Security as a trade-off • It is relatively easy to build a secure database, or a secure computer system, or spam-resistant email • How? • The goal is not (usually) “to make the system as secure as possible”… • …but instead, “to make the system as secure as possible within certain constraints” (cost, usability, convenience) • Password example

  30. Cost-benefit analysis • Important to evaluate what level of security is necessary/appropriate • Cost of mounting a particular attack vs. value of attack to an adversary • Cost of damages from an attack vs. cost of defending against the attack • Likelihood of a particular attack • We may revisit this later in the semester

  31. “More” security not always better • “No point in putting a higher post in the ground when the enemy can go around it” • Need to identify the weakest link • Security of a system is only as good as the security at its weakest point… • Security is not a “magic bullet” • Security is a process, not a product

  32. Is security the answer? • Given the inherent tradeoffs, it seems that almost all deployed systems will have some vulnerability • “More security” is not a sufficient answer • Detection and response • How do you know when you are being attacked? • How quickly can you stop the attack? • Can you prevent the attack from recurring? • Recovery • Can be much more important than prevention • Security is a process, not a product…

  33. Summary • “The system” is not just a computer or a network • Prevention is not the only goal • Cost-benefit analysis • Detection, response, recovery • Nevertheless…in this course, we will focus on computer security, and primarily on prevention • If you want to be a security expert, you need to keep the rest in mind

  34. “Trusting trust” (or: why security is hard)

  35. “Trusting trust” • Whom do you trust? • Does one really need to be this paranoid?? • Probably not • Sometimes, yes • Shows that security is complex…and essentially impossible • Comes back to risk/benefit trade-off

  36. Next time: begin cryptography

More Related