CS 361: Fall 2019
Introduction to Computer Security

Instructor: Dr. Bill Young; Unique number: 50485
Class time: TT 12:30pm - 2pm Location: JGB 2.218
Office: GDC 7.810; Office Hours: Mondays 9-11am and by appointment
Office Phone: 471-9782; Email: byoung at cs.utexas.edu
TA: Chen Song; Email: song at cs.utexas.edu
TA Office Hours: 2-4pm Thursday, GDC 1.302 (desk 4)
Proctor: Alex Bellon; Email: alexrbellon at utexas.edu;
Proctor Hours: Mondays 1-2pm and Wednesday noon-2pm, GDC 3.302 TA stations
This website: www.cs.utexas.edu/users/byoung/cs361/syllabus361.html




Important Class Announcements:

Breaking news important to the class will be posted here. Consult this spot often.

Here are some questions for week6: Week6 Questions. Note that you don't have to turn these in, since we have an exam this week. However, they might be good to review before the exam.

Here is a draft of your next programming assignment: Assignment 3: Due 10/23/19, by 11:59. We may tweak it slightly, probably to add a requirement for a Makefile.

Here are some entropy examples for you to test yourself with: Entropy examples

You have a midterm exam coming up during class on Thursday, October 17 at the usual class time and place. Here are some study questions for the midterm: Midterm Review. You'll also be provided with a copy of a vocabulary list at the exam. You can also bring a single handwritten 3x5 card of notes (both sides). Here are some resource to help you study: Sample midterm, Sample midterm answers, Vocabulary for midterm. Notice that a few problems on the sample midterm may be over material we didn't cover this semester. See the answers for those.

Here are your week5 questions: Week5 Questions: Due 10/11.

Your second programming assignment is here: Lab2

Here are your week4 questions: Week4 Questions: Due 10/4.

Here are the slides for our guest lecture on Thursday 9/19: Day in the Life of a Security Consultant.

That BLP chart that I went over in class is here: BLP Sample Problem.

Your first programming assignment is here: Assignment1. It's due at the end of the day on 9/20.

Dr. Young's office is GDC 7.810 in the south wing. You have to take the south elevator, because the two towers don't connect on the 7th floor.

Feel free to email me (Send me an email message), but please put "CS361" in the header. I'm also teaching CS429 this semester and it gets confusing.



Course Description:

CS 361 is an introduction to foundations of computer security, one of the "hottest" and most relevant areas of computing today. This is a course in the foundational aspects of security; not a course giving you practice in hacking. The student will develop an intuition about what computer security means, both in the abstract and in the context of real systems; be able to recognize potential threats to confidentiality, integrity and availability; be aware of some of the underlying formalisms and technologies that attempt to address these challenges; and become conversant with current security-related issues in the field.

Topics to be covered will include:

  1. Scope of the security problem;
  2. Various views of computer security;
  3. Security policies;
  4. Formalizing security properties;
  5. Elementary information theory;
  6. Elementary cryptography;
  7. Cryptographic protocols;
  8. Authentication;
  9. Risk assessment;
  10. Malicious logic;
  11. System evaluation and certification.

InfoSec Certification:

Notice that CS students at UT have the option of completing a number of security-related courses and receiving a certification in security. Our security offerings are in flux, so the specific requirements may vary somewhat. If you have questions about that, feel free to contact me.

Using Piazza:

We will be using Piazza for class communication. The Piazza system is highly catered to getting you help quickly and efficiently from classmates, the TAs, and myself. Rather than emailing questions to the teaching staff, I encourage you to post your questions on Piazza. If you turn off the announcements from Piazza you might miss an important announcement. Don't do it! If you have any problems or feedback for the developers, email team@piazza.com. You will be automatically enrolled in Piazza; but you can also enroll yourself.

Using Canvas:

You will submit most assignments on Canvas and that's where assignment, quiz and test grades will be posted. It is your responsibility to check grades on Canvas and verify their correctness. If you think there is an issue or omission, call it to our attention immediately. However, I don't use Canvas to compute your course grade. If you consult the running average on Canvas, you'll just be confused, so I advise you not to do it. Information on how to compute your class average is given below.

Prerequisites:

You are expected to have taken and passed the following courses (or equivalent) with a grade of at least C-: Computer Science 311, 311H, 313H, or 313K; Computer Science 314, 314H, 315, or 315H; Computer Science 310, 310H, 429, or 429H; and Mathematics 408C, 408K, or 408N. If you don't have the prerequisites, be sure to clear it with the CS department or risk being dropped from the class.

Text:

There is no textbook. If you would like a book for reference purposes, ask me and I can suggest one. All of the lectures, slides, and supplementary materials are on-line.

Class Notes:

All of the class slides and lecture slides will be available via links below. They will be made them available as we cover new material and you are welcome to print them out or view them on-line. Slides are available in 4-up PDF and full size PDF. These PDF files can be viewed with Acroread. I suggest that if you plan to print them, print the 4ups and save some trees.




Slide set 0: The Cost of Cyberinsecurity: PDF-4up  PDF

Slide set 1: What is Security? PDF-4up  PDF

Slide set 2: Policies and Channels, Part I PDF-4up  PDF

Proof of Unwinding Theorem: PS  PDF

Slide set 3: Policies and Channels, Part II PDF-4up  PDF

Slide set 4: Information Theory PDF-4up PDF

Slide set 5: Cryptography I PDF-4up PDF

Slide set 6: Cryptography II PDF-4up PDF




Programming Assignments:

There will be several (probably 6) programming assigments over the course of the semester. These should be done in the Java programming language. Each student may work on programming assignments individually or in collaboration with one other student. Make sure that all submissions clearly identify which students contributed to the project.

The TA will mainly be responsible for grading programs. Concerns about your program grades should be addressed first with the TA, and only with Dr. Young if you can't obtain satisfaction there. Programs will be graded on a 10 point scale with 1 point deducted for each day the program is late. The number of days late is purely a function of the timestamp recorded when you submit the assignment.

Links to the assignments will appear below. Check this page often and be sure to check that any particular assignment or due date has not been changed.

Assignment 1: Due 9/20/19, by 11:59pm

Assignment2: Due 10/7/19, by 11:59pm

Assignment 3: Due 10/23/19, by 11:59

After an assignment has been graded, it is your responsibility to check Canvas to see that your assignment grades have been posted correctly. It's not OK to complain at the end of the semester that some grades weren't posted or were posted incorrectly.

Weekly Homeworks:

In addition to the programming assignments, there will also be weekly written homeworks. These will be short written questions to ensure that you're following the material in class. These will be submitted on Canvas. More instructions will follow.

Week1 Questions: Due before midnight on Friday, 9/13. Type brief (at most 3 sentences) answers into a file and submit on Canvas.

Week2 Questions: Due 9/20.

Week3 Questions: Due 9/27.

Week4 Questions: Due 10/4.

Week5 Questions: Due 10/11.

Quizzes:

Short in-class quizzes may be given at any time. These will cover material previously covered or material in the lectures. Tuesday's material is fair game for a Thursday quiz. The goal of quizzes is to test your understanding of the material and to give you an idea of the types of questions that will appear on tests. There will be no makeups for quizzes you miss so please don't ask, but any single quiz is only a small proportion of your final grade.

Tests:

There will be two major tests during the semester: a midterm and final. Tests are closed-book, closed-notes tests, except that you may bring a single handwritten 3 x 5 inch index card of notes (both sides) for the midterm, and two such cards for the final. Your best study strategy is to review the class notes and ensure that you understand thoroughly the topics we have covered. Sample tests and vocabulary lists will be posted.

The midterm is tentatively scheduled for Thursday, October 17. The final test will be the last week of classes. There will be no final during the final exam period.

No laptops:

Students should not have laptops or other electronic devices open during class discussions. Copies of all slides are provided. Please just listen, ask questions, participate and absorb the material.

Grading policies:

Class attendance is mandatory for our two weekly meetings, and will be checked. Excessive unexcused absences will result in a reduced grade. If you don't plan to come to class regularly, please don't register for this class. Signing in for another student not present will be considered cheating by both students.

Grades for the entire course tentatively will be averaged using the weighting below:

Component Percent
Attendance, Quizzes and Participation10%
Assignments 40%
Midterm Exam 25%
Final Exam 25%

Your course grade is then assigned according to the following:

Course score Grade
[93...100]A
[90... 93)A-
[87... 90)B+
[83... 87)B
[80... 83)B-
[77... 80)C+
[73... 77)C
[70... 73)C-
[65... 70)D+
[60... 65)D
[ 0... 60)F

This is tentative. The grades may be curved and may be a bit more generous than this. They will not be less generous. That is, if you have a 93 you are guaranteed an A; but somone who gets an 92 might also get an A, depending on the final distribution of grades in the class.

A course grade of at least C- is required for this course to count toward a UT CS degree.

Scholastic Dishonesty:

Academic dishonesty will not be tolerated. See http://www.cs.utexas.edu/academics/conduct for an excellent summary of expectations of a student in a CS class.

All work must be the student's own effort, except that students may work in pairs on programs. Work by students in previous semesters or code that you find on-line is not your own effort. Don't even think about turning in such work as your own, or even using it as a basis for your work. We have very sophisticated tools to find such cheating and we use them routinely. It's far better to get a 0 on an assignment than to cheat.

Apparently, many students begin every assignment by immediately going to Google, trying to find something that might keep them from having to solve the problem for themself. That is an incredibly stupid thing to do. If you as much as Google "solution to XXXLab," you're already starting down a slippery slope that's liable to send you over the edge. Suppose you find something up to and including a complete solution that some idiot has posted on GitHub; it will be too tempting not to use it. You may naively believe that changing variable names and reordering code will keep you from being caught. With very high likelihood, that's not true. Every semester, students learn this the hard way. It's just not worth it!

Remember the lesson of Virginia Attorney General Mark Herring. In 1980, as a 19 year old college student, Herring wore blackface to a party. In 2019, 39 years later, that one stupid adolescent decision almost cost him his career. Stupid things you do now can affect you for the rest of your life! Getting caught cheating is one of those things that can haunt you forever. Don't do it!

Also, don't post your work on any publicly available site, such as GitHub or Course Hero. It's understandable that you're proud of your work, but this just invites copying for students this semester and in subsequent semesters. If someone copies your work, even without your knowledge, you will both be liable to punishment, even in subsequent semesters. Here's what Mike Scott said when I mentioned this issue to him:

I have submitted cases to Student Judicial Services for past students who have posted code from CS314 and CS312 to public repos and current students used it to cheat. Not much SJS can do grade wise, but it is recorded and they often have to write an essay about the matter.
I plan to follow Mike's lead here. There are other services such as BitBucket that have private repositories; you can grant selective access to instructors and to potential employers.

Also, don't repost my slides or any other class materials on CourseHero or any other public repository. Consider all course materials to be copyright. You can get into serious legal problems violating copyright laws, and you will certainly have problems with me if you do this.

No deviation from the standards of scholastic honesty or professional integrity will be tolerated. Scholastic dishonesty is a serious violation of UT policy; and will likely result in an automatic F in the course and in further penalties imposed by the department and/or by the university. Don't do it! If you are caught, you will deeply regret it. And even if you're not caught, you're still a cheating low-life.

Students with Disabilities:

Students with disabilities may request appropriate academic accommodations from the Division of Diversity and Community Engagement, Services for Students with Disabilities, 471-6259, http://www.utexas.edu/diversity/ddce/ssd.

Typically, students allowed extra time or a quiet testing environment will take exams in a conference room on GDC 7 South at the same time as the regular exam. The TA or proctor will supervise the exam. If you are allowed such accommodations, be sure to get me your SSD letter well in advance of the test since I will need to arrange someone to proctor your test. Please be flexible with respect to time, etc.




Some Interesting Links:

As I find articles or websites that seem of interest to this class, I'll post them below. The most recent are at the top.

Traits for Cybersecurity Job Candidates
What Makes a Strong Password
Password Complexity
Russia's Cyberwar on Ukraine
Most Critical Skills Gap
Covert Channel Example
New Randomness Method
Typosquatting Package Managers
Skill in Demand: Incident Response Manager
Tips on Resume Writing
Pretty good material on AES
Top Paying Certifications 2016
Public Key Encryption
Top Paying CS Certifications
Which Engineers Make the Most
Navy Teaches Navigation as Backup
Hottest Tech Jobs 2016
Certificaions Worth Having
Hottest Career Track: Cybersecurity
Value of a College Degree?
Could Google Rig the Election
Lessons from Larry Page
Demand for Cybersecurity pros booming
Freak Flaw Serious
Live Map of Cyber attacks
Preserving Digital Data
Encrytion Make Reverse Engineering Difficult
Selling Vulnerabilities
Vulnerabilities Persist
Cyberwarriors Needed
Cyberattacks and Jobs
Great time to start a cybersecurity career
CS Enrollments Rocket
Chinese Hack
Untrusted Certificate
Attacks in 2014
Demand for Cybersecurity pros booming
Freak Flaw Serious
Live Map of Cyber attacks
Preserving Digital Data
Encrytion Make Reverse Engineering Difficult
Selling Vulnerabilities
Vulnerabilities Persist
Cyberwarriors Needed
Cyberattacks and Jobs
Short of Cyberwarriors
Hackers Wanted
Health Hack Inevitable
Top IT Job Salaries
CS Enrollments Soaring
Cyberwarriors Needed
Security: A Higher Calling?
Covert Channels in Acoustical Networks
Homomorphic Encryption
Government doesn't follow best practice.
Adobe Encrypts Passwords
Women needed in Cybersecurity
Morris Worm at 25
Women in CS
Rijndael animation
Scholars for Service program
$1M Cyber challenge
Cybersecurity jobs
NSA breaking encryptions
Blocking Malware
Security jobs hot
Attracting security pros
Hacking Airplanes
Human side of cybercrime
Wow!
IT Jobs Up, Degrees Down
Is RSA Obsolete?
Preventing Cyber Pearl Harbor

Cyberjobs Hot
Covert Channel between VMs
Anti-Virus Failures
Info on AES mixColumns
Peter Neumann
Experts needed
Govt wants hackers
Women, minorities in Security
This site contains a nice animation of AES-128: AES-128
Cute cartoon about Feistel ciphers
Encryption for the masses
Fully Secure OS?
iPad as Secure Device
protecting passwords
DoD Money for Hackerspaces
Cities with Most CS Jobs
Have Hackers Won?
Malware Pre-installed
Smother Cyber Attacks
Sale of Zero-day exploits
Algorithms rule the world
Hotel locks hacked
Cyberwar
Cyber attacks
Flaw in AES
Zodiac Message
One Time Pad
Cyber Camp
Hot Skills for 2011
Cyber attack threat