-
Notifications
You must be signed in to change notification settings - Fork 82
/
index.html
391 lines (376 loc) · 24.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="stylesheets/style.css">
<title>CS 116: Introduction to Security</title>
</head>
<body>
<h1>CS 116: Introduction to Security</h1>
<h2>Tufts University Department of Computer Science, Fall 2024</h2>
<h2>Course Description</h2>
<p>A holistic and broad perspective on cyber security. Attacking and defending networks, cryptography, vulnerabilities, reverse engineering, web security, static and dynamic analysis, malware, forensics. Principles illustrated through hands-on labs and projects, including Capture The Flag (CTF) games.</p>
<h2>Sections</h2>
<ol>
<li>In-person, undergrads and grads: Tuesdays, 4:30 - 5:45 PM EST in Cummings Center Room 270; <a href="https://twitch.tv/mchow01" target="_blank">Thursdays on Twitch</a>, 4:30 - 5:45 PM EST</li>
<li>Online Master's in Computer Science: live sessions on Wednesdays, 5:30 - 7:00 PM EST (via Zoom)</li>
</ol>
<h2>Instructor</h2>
<ul>
<li>Ming Chow, <a href="mailto:[email protected]">[email protected]</a></li>
<li>Office Hours: Tuesdays, 3:00 - 4:15 PM EST in JCC, fourth floor --by the kitchen area</li>
</ul>
<h2>Prerequisites</h2>
<ul>
<li>CS 15 or Data Structures equivalent course. Recommended (not required) that you have taken CS 30 or 40. <span class="note">Please disregard prerequisite that CS 40 is required as listed in the University's bulletin as they are incorrect!</span></li>
</ul>
<h2>Hardware and Software for This Class (on your personal computer)</h2>
<h3>Absolute Requirements</h3>
<ul>
<li>A modern web browser (e.g., Firefox, Google Chrome, Chromium, Safari, Microsoft Edge)</li>
<li>A command line interface to run Unix/Linux commands (e.g., macOS, Windows with Linux Subsystem, a Linux-based virtual machine, a Docker container)</li>
</ul>
<h3>List of Security Tools That Will Be Used in Course</h3>
<p>The following is a list of security tools that will be used in the course. All of these tools are platform-independent.</p>
<ul>
<li><a href="https://www.wireshark.org/" target="_blank">Wireshark</a></li>
<li><a href="https://nmap.org/" target="_blank">Nmap</a></li>
<li>Netcat</li>
<li><a href="https://www.python.org/" target="_blank">Python</a></li>
<li><a href="https://scapy.net/" target="_blank">Scapy</a></li>
<li><a href="https://www.openwall.com/john/" target="_blank">John the Ripper</a></li>
<li><a href="https://portswigger.net/burp" target="_blank">Burp Suite</a></li>
<li><a href="https://ibotpeaches.github.io/Apktool/" target="_blank">apktool</a> and Java as apktool requires Java</li>
</ul>
<h2>Assessment</h2>
<ul>
<li>Labs (70%)</li>
<li>Quizzes (30%; there will be two)</li>
</ul>
<h2>Course Infrastructure</h2>
<ul>
<li>Lab submissions: <a href="https://canvas.tufts.edu/" target="_blank">Canvas (Tufts UTLN required)</a></li>
<li>Quizzes: <a href="https://canvas.tufts.edu/" target="_blank">Canvas (Tufts UTLN required)</a></li>
<li>Announcements: <a href="https://piazza.com/tufts/fall2024/cs116" target="_blank">Piazza</a></li>
<li>Discussions: <a href="https://piazza.com/tufts/fall2024/cs116" target="_blank">Piazza</a></li>
</ul>
<h2>Syllabus</h2>
<h3 class="note">Important note: always follow Canvas for due date on labs!</h3>
<table>
<tr>
<td>Topic 1, starting Tuesday, September 3rd</td>
<td>
<ul>
<li><a href="slides/01_course_introduction.pdf">Course Introduction</a> - By the end of this week, students will learn many of the fundamental Linux commands, an important skill for any good security practitioner, by playing Capture The Flags via OverTheWire. Students will remember the three principles of the CIA triad, critical to any organization's security infrastructure.</li>
<li><a href="readings/#module1">Readings and Videos</a></li>
<li>Thursday, September 5th: The Command Line Interface
<ul>
<li><a href="https://www.twitch.tv/videos/2243484575" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=b6odfef4vOM" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Lab 1: Working with the Command Line
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab01-commandline.md">Publicly accessible version of Lab 1</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 2, starting Tuesday, September 10th</td>
<td>
<ul>
<li><a href="slides/02_networking_packets.pdf">Networking and Packets</a> - By the end of this week, students will be able to dissect packet captures (PCAPs), network traffic.</li>
<li><a href="readings/#module2">Readings and Videos</a></li>
<li>Thursday, September 12th: Packet Analysis Using Wireshark
<ul>
<li><a href="https://www.twitch.tv/videos/2249435204" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=nOdiNFzI9d8" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Lab 2: Packet Sleuth
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab02-pcaps.md">Publicly accessible version of Lab 2</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 3, starting Tuesday, September 17th</td>
<td>
<ul>
<li><a href="slides/03_attacking_networks.pdf">Attacking Networks</a> - By the end of this week, students will perform network reconnaissance and port scanning, and build a rudimentary Security Information and Event Management (SIEM) / intrusion detection system (IDS).</li>
<li><a href="readings/#module3">Readings and Videos</a></li>
<li>Thursday, September 19th: Reconnaissance using Ping, Netcat, and Nmap
<ul>
<li><a href="https://www.twitch.tv/videos/2255274520" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=illubB5AUAM" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
<li>Thursday, September 26th: Distributed Denial of Service (DDoS) Attacks and Scapy feat John Hammond
<ul>
<li><a href="https://www.twitch.tv/videos/2261090139" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=YlpdMRs0whE" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Lab 3: Scanning and Reconnaissance
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab03-scanning.md">Publicly accessible version of Lab 3</a></li>
</ul>
</li>
<li>Lab 4: Snake Oil, The Incident Alarm
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab04-scapy.md">Publicly accessible version of Lab 4</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 4, starting Tuesday, October 1st</td>
<td>
<ul>
<li><a href="slides/04_cryptography.pdf">Cryptography</a> - By the end of this week, students will be able to crack passwords on a Linux or Windows system, use one-way hash functions, and briefly describe how Transport Layer Security works.</li>
<li><a href="readings/#module4">Readings and Videos</a></li>
<li>Thursday, October 3rd: Passwords and Password Cracking with John the Ripper
<ul>
<li><a href="https://www.twitch.tv/videos/2266841403" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=AR2yETy-CFU" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab05-passwordcracking.md">Lab 5: Password Cracking Contest opens, due on Friday, November 1st at 11:59 PM PST</a></li>
</ul>
</td>
</tr>
<tr>
<td>Topic 5, starting Tuesday, October 8th</td>
<td>
<ul>
<li><a href="slides/05_vulnerabilities.pdf">Vulnerabilities</a> - By the end of this week, students will know the difference between CVE and CWE.</li>
<li><a href="readings/#module5">Readings and Videos</a></li>
<li>Thursday, October 10th: Vulnerability Scanning, Exploitation, Badness-O-Meter
<ul>
<li><a href="https://www.twitch.tv/videos/2272677703" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=zVjo_1oI7Ko" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Quiz 1 due Sunday, October 13th at 11:59 PDT</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 6, starting Tuesday, October 15th</td>
<td>
<ul>
<li><a href="slides/06_web_security.pdf">Web Security</a> - By the end of this week, students will able to perform and defend against the following attacks: Cross-Site Scripting (XSS), SQL injection, Cross-Site Request Forgery (CSRF), session hijacking, cookie tampering, directory traversal, command injection, remote and local file inclusion.</li>
<li><a href="readings/#module6">Readings and Videos</a></li>
<li>Thursday, October 17th: SQL Injection and Web Proxies
<ul>
<li><a href="https://www.twitch.tv/videos/2278555911" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=q4AZape30Kg" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
<li>Thursday, October 24th: The Mistakes You Can't Make
<ul>
<li><a href="https://www.twitch.tv/videos/2284323332" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=xEF4LVhp76E" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Lab 6: The XSS Game
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab06-xss.md">Publicly accessible version of Lab 6</a></li>
</ul>
</li>
<li>Lab 7: Gain Access to Website
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab07-sqli.md">Publicly accessible version of Lab 7</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 7, starting Monday, October 28th</td>
<td>
<ul>
<li>The Capture The Flags (CTF) Game Played Online - By the end of this week, students will be able to find and take advantage of a number of vulnerabilities on a live web application.</li>
<li><a href="readings/#module7">Readings and Videos</a></li>
</ul>
</td>
<td>
<ul>
<li>Lab 8: The CTF Write Up
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab08-ctf.md">Publicly accessible version of Lab 8</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 8, starting Wednesday, November 6th </td>
<td>
<ul>
<li><a href="slides/08_static_dynamic_analysis.pdf">Static and Dynamic Analysis</a> - By the end of this week, students will be able to perform static analysis and dynamic analysis scans on software, write a technical risk analysis that is communicated to upper management.</li>
<li><a href="readings/#module8">Readings and Videos</a></li>
<li>Thursday, November 7th: Really, Really Bad Code and Static Analysis
<ul>
<li><a href="https://www.twitch.tv/videos/2296136866" target="_blank">On Twitch</a></li>
<li><a href="https://www.youtube.com/watch?v=m_Hsmc9tE8A" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab09-riskanalysis.md">Lab 9: Technical Risk Analysis</a></li>
</ul>
</td>
</tr>
<tr>
<td>Topic 9, starting Thursday, November 14th</td>
<td>
<ul>
<li><a href="slides/09_malware.pdf">Malware</a> - By the end of this week, students will be able to describe types of malware, see certain malware behaviors, scan and analyze malware, reverse engineer Android apps to determine if they are malicious.</li>
<li><a href="readings/#module9">Readings and Videos</a></li>
<li>Thursday, November 14st: Malware and Malware Analysis
<ul>
<li><a href="#" target="_blank">On Twitch</a></li>
<li><a href="#" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
<li>Thursday, November 21st: Forensics
<ul>
<li><a href="#" target="_blank">On Twitch</a></li>
<li><a href="#" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Lab 10: Android Malware Analysis
<ul>
<li><a href="https://github.com/tuftsdev/DefenseAgainstTheDarkArts/blob/gh-pages/labs/lab10-malware.md">Publicly accessible version of Lab 10</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>Topic 11, starts Tuesday, December 3th</td>
<td>
<ul>
<li><del>The Future: Nihilism or Hope? - By the end of this week, students shall debate and ponder the hard questions in security, and be able to argue multiple viewpoints.</del> Lessons Not Learned: We Can't Even Get the Basics Right</li>
<li><a href="readings/#module11">Readings and Videos</a></li>
<li>Thursday, December 5th: Opportunities, Where Do You Go From Here
<ul>
<li><a href="#" target="_blank">On Twitch</a></li>
<li><a href="#" target="_blank">On YouTube with Closed Captioning</a></li>
</ul>
</li>
</ul>
</td>
<td>
<ul>
<li>Quiz 2 due Sunday, December 8th at 11:59 PM PDT</li>
</ul>
</td>
</tr>
</table>
<h3>Topics That Will Not Be Covered In This Course</h3>
<ul>
<li>Social Engineering</li>
<li>Privacy</li>
</ul>
<h2>Frequently Asked Questions</h2>
<h3>Q: Is there a textbook for this course?</h3>
<p>A: No</p>
<h3>Q: Are there teaching assistants (TAs) for this course?</h3>
<p>A: No</p>
<h3>Q: What is the workload of this course?</h3>
<p>A: Here is a list of all the labs with expected length and difficulty:</p>
<ul>
<li>Lab 1: Working with the Command Line, Short (1 hour max) to Long (3+ hours) --you can put in as much time as you want on this lab</li>
<li>Lab 2: Packet Sleuth, Medium (1 - 3 hours)</li>
<li>Lab 3: Scanning and Reconnaissance, Very short (30 minutes). <strong>NOTE: This lab cannot be made publicly available because an actual target is used.</strong></li>
<li>Lab 4: Python and the Incident Alarm, Long (over 3 hours) to Impossible</li>
<li>Lab 5: The Password Cracking Contest, If you crack all the password hashes (read: good luck with that), you will receive an automatic "A" in the course</li>
<li>Lab 6: The XSS Game, Medium</li>
<li>Lab 7: Gain Access to Website, Very short. <strong>NOTE: This lab cannot be made publicly available because an actual target is used.</strong></li>
<li>Lab 8: The CTF Game, One week --team based. <strong>NOTE: This lab cannot be made publicly available because an actual target is used.</strong></li>
<li>Lab 9: Technical Risk Analysis, Short to Medium.</li>
<li>Lab 10: Android Malware Analysis, Short to Medium</li>
</ul>
<h3>Q: Does this course count towards the M.S. in Cybersecurity and Public Policy?</h3>
<p>A: Yes</p>
<h3>Q: Does this course count towards the M.S. in Software Systems Development?</h3>
<p>A: Yes. In fact, this is one of the four required courses for the M.S.</p>
<h3>Q: Did you remove information on using Kali virtual machine for this class? If so, why?</h3>
<p>A: Yes. After all these years, it was more trouble than it was worth. Further reasons:</p>
<ol>
<li>Accessibility. For students who are visually impaired, using a virtual machine can be very difficult.</li>
<li>Not all students have a capable laptop. Sometimes due to financial reasons, some students use Chromebooks. The tools required for this course can be installed natively on macOS, Windows, and Linux.</li>
<li>Performance. Sometimes, using a VM can be very slow. A VM also do not use native drivers (e.g., for networking).</li>
<li>Hard disk space requirement: at least 10 GB necessary.</li>
<li>Apple M1 Macs cannot run most Intel x86 virtual machines.</li>
</ol>
<h3>Q: Is Piazza used in this course?</h3>
<p>Yes, quite a lot</p>
<h3>Q: Why is there a course website and a course Canvas? If you say "it is a nuisance for students to use multiple websites and services for one course", what gives?</h3>
<p>This course website serves a few critical purposes. Years ago, I made a decision to make all the readings, slide decks, and most of the labs publicly available. The reasons: (1) to show that Tufts is serious and is working on Cyber Security matters, (2) to provide learning material to the public on Cyber Security as the Cyber Security education problem is very dire, (3) for recordkeeping on what is taught and not taught in this Security class --this comes up often when we speak to industry and organizations who want to work with Tufts on Cyber Security-related matters. The Canvas site for this course isn't made publicly available. Even if Canvas site was made publicly available, content is behind a walled garden, and (4) for redundancy if Canvas goes down.</p>
<h3>Q: I have not taken a course on Networks (CS 112), Operating Systems (CS 111), or Computer Architecture (CS 40) yet. Is that a problem?</h3>
<p>No. Cyber Security is a very broad field and it is impossible for anyone, even professionals, to know everything. What is important for you is to start thinking about Security.</p>
<h3>Q: Will videos be recorded in case I miss class?</h3>
<p>If you miss the in-person Tuesday classes due to illness or personal matters, you can always watch the recorded Wednesday sessions for online Master's students (Wednesday sessions are always recorded). Tuesday and Wednesday sessions are practically identical. Thursdays are on Twitch which are recorded and also exported to YouTube.</p>
<h3>Q: If I am taking this course for professional purpose, can I have a tuition reimbursement letter or certificate?</h3>
<p>A: <a href="https://twitter.com/0xmchow/status/1085649884663828481" target="_blank">Absolutely! It's a nice tuition reimbursement letter, hand signed!</a></p>
<p>If you have read this far, send me an email (ming.chow AT tufts DOT edu) with the subject "What is a man? A miserable little pile of secrets. But enough talk..." to earn a reward.</p>
<h2 id="policy">Course Policies</h2>
<h3>Labs</h3>
<ul>
<li>All labs for a given topic, except for the password cracking lab and CTF writeup, are due on a Sunday at 11:59 PM PDT (that is, Pacific Time).</li>
<li>With the exception of password cracking lab, the CTF game, and quizzes, you are granted an automatic extension of 24 hours at no cost (i.e., grace period). A lab or quiz submitted after the grace period will not be accepted.</li>
<li>No extension tokens.</li>
</ul>
<h3>Accessibility Statement</h3>
<p>Tufts is committed to providing equal access and support to all qualified students through the provision of reasonable accommodations so that each student may fully participate in the Tufts experience. If you have a disability that requires accommodations, please contact the StAAR Center (formerly SAS) <a href="mailto:[email protected]">[email protected]</a> or 617-627-4539 to make an appointment to determine appropriate accommodations. Please be aware that accommodations cannot be enacted retroactively, making timeliness a critical aspect for their provision. You can learn more about the StAAR Center at <a href="https://students.tufts.edu/student-accessibility-services" target="_blank">https://students.tufts.edu/student-accessibility-services</a>.</p>
<h2 id="expectations">Expectations and Structure of This Course</h2>
<p>This course will be a fun one for sure. A few notes on the expectations and structure of this course:</p>
<h3>1. You are responsible for your own learning.</h3>
<p>A very important point: if you want everything gone over in lecture or in notes, then this is not the course for you. More importantly, that's not how things work in real life.</p>
<h3>2. You will learn by doing.</h3>
<p>Each week, there will be at most three labs to hone your skills and to aim at the crux of the matter for the week. Here's an analogy: you don't learn how to cook simply by just reading cookbooks and watching YouTube videos. You learn by making, using your hands, and making mistakes.</p>
<h3>3. You will learn by asking questions.</h3>
<p>It is your responsibility to ask questions early and to ask for help...</p>
<h3>4. ...and I expect discussions online to be very active and civil.</h3>
<p>Share thoughts and respond to other people's questions. I will be online constantly. It is no secret that I respond very quickly unless I need to be away.</p>
</body>
</html>