Archived · Fall 2023

CS 363 Computer Security

All offerings: Fall 2022Fall 2023Fall 2025 Current course page →
This is the course website as it was published for Fall 2023. Dates, links and policies reflect that semester and may be out of date; see the current course page for the latest version.

Course Info

This course introduces the student to the fundamentals of computer security. Foundational concepts such as confidentiality, integrity, and availability are discussed in the context of both designing systems and evaluating existing systems for vulnerabilities. Cryptography is explored as a tool that can be applied to many aspects of computer security. Theoretical discussions of security principles are enriched by examples from real world systems and protocols.

Instructor:

Dr. Peilong Li

Office:

Esbenshade 284B

Appointments:

By email

Number of Credits

4

Pre-requisites

  • CS 122 Computer Science II

Textbooks

  • (Required) Wenliang Du. Computer & Internet Security: A Hands-on Approach. 3rd Edition. May 2022, Independently published, ISBN-13: 978-1-7330039-4-0.

Course Overview

Course Coverage

This course introduces the student to the fundamentals of computer security. Foundational concepts such as confidentiality, integrity, and availability are discussed in the context of both designing systems and evaluating existing systems for vulnerabilities. Cryptography is explored as a tool that can be applied to many aspects of computer security. Theoretical discussions of security principles are enriched by examples from real world systems and protocols.

Student Learning Outcomes

By the end of the course, students will be able to:

  • Apply knowledge of computing and mathematics appropriate to the discipline, including common data structures, basic algorithms, and modular arithmetic;
  • Design, implement, and evaluate security policies and mechanisms to enforce those policies;
  • Discuss the central issues of computer security: confidentiality, integrity, and availability;
  • Design protocols and systems to minimize security vulnerabilities;
  • Analyze current threats and how to minimize the associated risks in the areas of: computer security, OS security, web security, and cryptography;
  • Evaluate the strengths and weaknesses of various public and private key encryption techniques;
  • Explain the usefulness of cryptographic hash functions;
  • Communicate effectively with a broad range of audiences, and function effectively on teams using software engineering principles to accomplish a common goal.

Course Schedule

Schedule

Note this tentative schedule is subject to change. Please check the schedule regularly.

Last updated: 08/21/2023

Week Starting Topics Reading Notes
1 8/21/23 M: Lec1 - Course introduction and computer security Ch 1 Mon: HW1 out
W: Lec2 - Security Basics & SEED environment
F: Lec3 - Linux commands for security
2 8/28/23 M: Lec4 - Web technology basics Ch 11
W: Lec5 - Advanced web technolgy
F: Dr. Li on Travel - No Class
3 9/4/23 M: Labor Day - No Class Ch 12 Team formation due, Start project proposal writing
W: Lec6 - Cross-site request forgery (CSRF)
F: Lec7 - CSRF countermeasures
4 9/11/23 M: PE1 - CSRF Ch 13 Mon: HW1 due, HW2 out
W: Lab1 - CSRF
F: Lec8 - Cross-site scripting attack (XSS)
5 9/18/23 M: Lec9 - XSS Part 2 Ch 14
W: Lec10 - XSS countermeasures and generalization
F: PE2 - XSS
6 9/25/23 M: Lab2 - XSS Project chapters Mon: HW2 due, HW3 out
W: Lec11 - SQL Injection attack (SQLi)
F: PE3 - SQLi
7 10/2/23 M: Lab 3 - SQLi; Exam 1 preview Project chapters Mon: Project proposal due
W: Exam 1
F: Fall Break - No Class
8 10/9/23 M: Lec12 - Users, groups and access control list (ACL) Ch 2
W: Lec13 - Set-UID mechanism
F: Lec14 - Set-UID attack surface
9 10/16/23 M: Lec15 - Environment varialbes (ENV) attacks Ch 3 Mon: HW3 due, HW 4 out
W: Lec16 - ENV attack surface and case studies (Simon Burleson)
F: PE4 - Set-UID
10 10/23/23 M: Lab4 - Set-UID Ch 4
W: Lec17 - Buffer overflow (BOF) attack (Matt Sutton)
F: Lec18 - BOF countermeasures (Aiden Walmer) Fri: Final project midterm check due
11 10/30/23 M: PE5 - Buffer overflow Ch 24 Mon: HW 4 due, HW 5 out
W: Lab5 - Buffer overflow
F: Module 2 summary; Exam 2 preview
12 11/6/23 M: Exam 2 Ch 25
W: Lec19 - Introduction to cryptography
F: Lec20 - Secret-key encryption (Anfal Al-Hussaini)
13 11/13/23 M: Lec21 - One-way hash function (Isabel Pacheco Mattivi) Ch 26 Mon: HW 5 due
W: Lec22 - Public-key cryptography (Phillip Goldberg)
F: Lec23 - Public-key infrastructure (Alex Fox)
14 11/20/23 M: Lec24 - TLS and HTTPS (Giovanni Raso) Ch 27
W: Lec25 - Blockchain and Bitcoin (Tyler Souders)
F: Thanksgiving Break - No Class
15 11/27/23 M: Project presentation group 1 Project chapters
W: Project presentation group 2
F: Project presentation group 3
16 12/4/23 M: Project presentation group 4 (if needed)
Fri: Final report and revised code due

Grading Policies

Grading Weights

The final grade for this course depends upon the grades and scores earned on course components weighted as follows:

  • 5%: X in-class pop quizzes
  • 25%: 5 in-class labs
  • 10%: Lecture presentation
  • 20%: 4 individual homework
  • 25%: 2 midterm exams
  • 15%: Final project

Grades will be computed by rounding numerical percentages to the nearest integer and applying the following table:

Letter Range Letter Range Letter Range
A 93-100 B- 80-82 D+ 67-69
A- 90-92 C+ 77-79 D 63-66
B+ 87-89 C 73-76 D- 60-62
B 83-86 C- 70-72 F 0-59

In-class Labs in a Team

All labs are to be done in class, with the assistance of the instructor. Students are encouraged to form a team of two to solve the lab assignments together. Each assignment will be given near the beginning of a class and must be uploaded to Canvas before the due time. Some of the labs allow for late submission till midnight with late penalty, but no submission is allowed beyond the lab day. To receive full credits, a programming assignment must compile, but partial credit will be awarded based on the understanding of the material demonstrated by the student’s code.

Individual Homework

All homework assignments have to be completed individually in this course. Homework assignments are often more comprehensive tasks that may need additional reading and research. Homework assignments are to be completed in a week or two.

Late Policy

Late assignment will lose equation points per day, including weekends and holidays. For example, -1 after 1 day, -2 after 2 days, -4 after 3 days … until 8+ days students will receive 0 score. Under no circumstances should any student disclose their code, or copy the code written by other students or from an outside source. Both students will receive 0 score on the disclosed/copied assignment.

Individual Lecture Presentation

Students are required to read a designated chapter from the V. Cryptography module of the textbook and present it as a course lecture. The presentation time is 25-30 minutes and students need to cover all discussed topics from the textbook. The presenters will receive a written evaluation from all their peers and the instructor, and a weighted score (50% from the peers; 50% from the instructor) will be given to the presenters.

Final Team Project

To work on the final project, students are required to form a team of two. Topics of the final project should be one from the SEED labs in the categories of (1) Computer Security; (2) Web Security; and (3) Cryptography.

The grading of the final project consists of four major aspects:

  1. 10%: the project proposal (including the conversation with the instructor a week before due date);
  2. 20%: project milestone check and demonstration (must have completed at least 1 task);
  3. 40%: the project demonstration;
  4. 30%: everything including revised code and the final report are due on the last day of the final exam week.

Policy Statements

Course Schedule

The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/cs363/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each week and 3) special notes on specific days.

Course Announcements & Discussion

All course announcements will be sent to your E-Town email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.

I have created a Microsoft Teams channel (link) to facilitate course related discussion. Discussions are encouraged to be posted on the “QA” channel from Teams. Private instant messages can be sent directly to your recipient by search your recipient’s name on the “search” bar.

Attendance Policies

Attendance is expected of every student at every lecture. Students are responsible for all content covered in class as well as assigned book chapters. Due to their nature, pop quizzes cannot be made up.

Except in the case of documented emergencies, neither exams nor in-class labs can be made up afterwards. For excused absences, students must arrange to take the exam or do the lab before the normally scheduled time. Arrangements must be made with the instructor at least two weeks prior to the scheduled time.

Students are expected to maintain an attitude of respect at all times toward their colleagues, the equipment, and the instructor. Cell phones and similar devices is prohibited from using during lecturing time. Students who use offensive language, misuse computing facilities, or are otherwise disruptive of the classroom will be asked to leave.

Statement on School Closure

In the event that classes do not meet because Elizabethtown College is closed or delayed due to inclement weather or some other emergency, the slides that would have been covered during the missed classes will be posted through Canvas. Students are expected to do the assigned reading, review the slides, and e-mail the instructor with any questions. There will also be an opportunity to ask questions about the material when classes resume.

If a scheduled exam or lab is missed, it will normally be made up on the day that classes resume. If the College is closed on a day when a project is due, the project due date will also normally be extended until the day when classes resume. If circumstances render either of these makeup policies unreasonable, the instructor will send an e-mail explaining an alternative makeup opportunity to each student’s Elizabethtown e-mail account.

Statement on Plagiarism

Check out the up-to-date statement from: Elizabethtown College Catalog, “Academic Judicial System”

Statement on the Use of ChatGPT and Generative AI Tools

To maintain course integrity and ensure equal opportunity for all students, submissions generated by artificial intelligence (AI) systems, including ChatGPT, Bing Chat, Claude, Google Bard, or similar tools, are not allowed for classwork or assessments. Such AI usage diminishes the development of critical skills vital for academic success. While students can use AI for research and idea generation, all submitted work must be their original writing. It’s essential to recognize both the advantages and limitations of AI in learning and research. AI suggestions aren’t always accurate, so students should assess AI outputs critically. Breaching this guideline results in academic misconduct. Seek clarification if uncertain about AI usage in assignments.

Statement on Disability

Full statement can be found at: Course Syllabus on Disability Services, Religious Observances, and COVID related expectations.

Diversity and Inclusivity Statement

I consider this classroom to be a place where you will be treated with respect, and I welcome individuals of all ages, backgrounds, beliefs, ethnicities, genders, gender identities, gender expressions, national origins, religious affiliations, sexual orientations, ability - and other visible and non-visible differences. All members of this class are expected to contribute to a respectful, welcoming and inclusive environment for every other member of the class.

Software

A laptop with at least 4GB of RAM and 20 GB of disk space is required for this course.

All SEED Labs:

Access all SEED labs from: link.

A GCP setup guide can be found on Canvas.

Option 2: Setup SEED VM on Virtualbox:

Install SEED VM lab environment on your own laptop: tutorial.

Archived from Peilong/Peilong.github.io@a3b0a2d (2023-10-12).