Difference between revisions of "MSc: Security of systems and networks"

From IU
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
=== Key concepts of the class ===
 
=== Key concepts of the class ===
   
* Network security
 
 
* Applied cryptography
 
* Applied cryptography
 
* Security protocols
 
* Security protocols
* Internet security
+
* Network and Internet security
  +
* Authentication and Authorization
  +
* Software Security
   
 
=== What is the purpose of this course? ===
 
=== What is the purpose of this course? ===
Line 22: Line 23:
 
will strengthen the security knowledge of the students and guide them in the
 
will strengthen the security knowledge of the students and guide them in the
 
right direction for their upcoming research projects and advanced courses. The
 
right direction for their upcoming research projects and advanced courses. The
course is divided into two parts. The first part will cover the theory and handson practice of the concepts taught at class. And the second part of the course
+
course is divided into two parts. The first part will cover the theory and hands-on practice of the concepts taught at class. And the second part of the course
 
will focus on the course projects. The student will work on a security project
 
will focus on the course projects. The student will work on a security project
 
by using the concepts taught in the class.
 
by using the concepts taught in the class.
Line 32: Line 33:
 
== Recommendations for students on how to succeed in the course ==
 
== Recommendations for students on how to succeed in the course ==
 
References:
 
References:
* Read the book
+
* Attend the lectures
* Follows the lectures
+
* Read the lecture notes
  +
* Read the related chapters in the book
   
== Course Objectives Based on Bloom’s Taxonomy ==
 
   
  +
* Attend and finish the labs
=== What should a student remember at the end of the course? ===
 
   
By the end of the course, the students should be able to:
 
   
  +
* Finish your assigned project successfully
* Identify different Internet applications and understand their working principles from the protocols point of view
 
  +
* Demonstrate the acquired knowledge and skills in classical internet applications including DNS, Email, and Directory services.
 
  +
== Course Objectives Based on Bloom’s Taxonomy ==
* Able to write regular expressions and context-free grammar that are essential in Internet applications and information exchange through the networks
 
  +
* Able to partition disks and remember the booting principles as well as secure booting
 
  +
=== What should a student remember at the end of the course? ===
   
=== What should a student be able to understand at the end of the course? ===
 
   
 
By the end of the course, the students should be able to:
 
By the end of the course, the students should be able to:
Line 56: Line 56:
 
* Reason about the problems in the security of networked systems and current internet and their existing solutions,
 
* Reason about the problems in the security of networked systems and current internet and their existing solutions,
 
* Solve mathematical problems (especially in number theory),
 
* Solve mathematical problems (especially in number theory),
* And Demonstrate the knowledge and discuss basic quantum cryptography concepts.
 
   
 
=== What should a student be able to apply at the end of the course? ===
 
=== What should a student be able to apply at the end of the course? ===
Line 77: Line 76:
 
! Type of Evaluation !! Points
 
! Type of Evaluation !! Points
 
|-
 
|-
| Labs/seminar classes || 35
+
| Labs/seminar classes || 30
 
|-
 
|-
 
| Project || 35
 
| Project || 35
 
|-
 
|-
| Exam || 30
+
| Exam || 35
 
|}
 
|}
 
 
 
 
   
 
=== Grades range ===
 
=== Grades range ===
Line 97: Line 92:
 
! Grade !! Range of points
 
! Grade !! Range of points
 
|-
 
|-
| A. Excellent || 90-100
+
| A. Excellent || 88-100
 
|-
 
|-
| B. Good || 75-89
+
| B. Good || 77-87
 
|-
 
|-
| C. Satisfactory || 60-74
+
| C. Satisfactory || 51-76
 
|-
 
|-
| D. Poor || 0-59
+
| D. Poor || 0-50
 
|}
 
|}
   
Line 116: Line 111:
 
The main sections of the course and approximate hour distribution between them is as follows:
 
The main sections of the course and approximate hour distribution between them is as follows:
   
  +
{| class="wikitable" style="margin:auto"
{|
 
|+ Course Sections
+
|+
!align="center"| '''Section'''
 
! '''Section Title'''
 
!align="center"| '''Teaching Hours'''
 
 
|-
 
|-
  +
! Section !! Section Title !! Teaching Hours
|align="center"| 1
 
| Intro, Booting, Operating Systems Essentials, and Computer Architecture
 
|align="center"| 8
 
 
|-
 
|-
  +
| 1 || Cryptography || 40%
|align="center"| 2
 
| DNS, DNSSEC, DoH
 
|align="center"| 14
 
 
|-
 
|-
  +
| 2 || Access Control || 25%
|align="center"| 3
 
| Email
 
|align="center"| 4
 
 
|-
 
|-
  +
| 3 || Protocols || 25%
|align="center"| 4
 
| ABNF, Deflating, Directory Services, Disks, Web, and Protocols
 
|align="center"| 12
 
 
|-
 
|-
  +
| 4 || Software || 10%
|align="center"| 5
 
  +
|-
| Labs
 
  +
| 5 || Labs|| 24h
|align="center"| 56
 
  +
|-
  +
| 6 || Project|| 32h
 
|}
 
|}
   
=== Section 1 ===
+
=== Section 1 title: ===
 
=== Section title: ===
 
   
  +
Cryptography
Booting, Operating Systems, and Computer Architecture
 
   
 
=== Topics covered in this section: ===
 
=== Topics covered in this section: ===
   
  +
* Booting principles and disks
 
* Essentials of operating systems
+
* Basics of Crypto
  +
* Symmetric Key Crypto
* Fundamentals of computer architecture
 
  +
* Public Key Crypto
  +
* Hash Functions
   
 
=== What forms of evaluation were used to test students’ performance in this section? ===
 
=== What forms of evaluation were used to test students’ performance in this section? ===
  +
 
<div class="tabular">
+
{| class="wikitable" style="margin:auto"
  +
|+
 
  +
|-
<span>|a|c|</span> &amp; '''Yes/No'''<br />
 
  +
! Form !! Yes/No
Development of individual parts of software product code &amp; 0<br />
 
  +
|-
Homework and group projects &amp; 1<br />
 
  +
| Development of individual parts of software product code || No
Midterm evaluation &amp; 0<br />
 
  +
|-
Testing (written or computer based) &amp; 1<br />
 
  +
| Homework and group projects || Yes
Reports &amp; 1<br />
 
  +
|-
Essays &amp; 0<br />
 
  +
| Midterm evaluation || No
Oral polls &amp; 0<br />
 
  +
|-
Discussions &amp; 1<br />
 
  +
| Testing (written or computer based) || Yes
 
  +
|-
  +
| Reports || Yes
  +
|-
  +
| Essays || No
  +
|-
  +
| Oral polls || No
  +
|-
  +
| Discussions || Yes
  +
|}
   
   
</div>
 
 
=== Typical questions for ongoing performance evaluation within this section ===
 
=== Typical questions for ongoing performance evaluation within this section ===
   
# What are the different steps in booting?
+
# What are typical classic crypto methods?
  +
# What are the differences in stream and block ciphers from performance standpoint?
# How the disks are partitioned?
 
  +
# How to measure the security of cryptographic algorithms?
# Explain UEFI booting
 
  +
# How to encrypt and decrypt with different asymmetric crypto algorithms?
  +
# How to embedd backdoors in crypto algorithms?
  +
# How to realize key exchange through Hiffie-Hellman using traditional techniques and elliptic curve techniques?
  +
# How to make security algorithms efficient?
   
 
=== Typical questions for seminar classes (labs) within this section ===
 
=== Typical questions for seminar classes (labs) within this section ===
   
  +
# Make enigma machine with pringle box
# Demonstrating the knowledge of booting
 
  +
# Assess the security of different setups of RSA
# Analyze assembly code at a basic level
 
  +
# Implement man in the middle attack
# Demonstrate the system and library calls in operating systems
 
  +
# Implement addition over elliptic curves
  +
# Solve crypto math problems
   
 
=== Test questions for final assessment in this section ===
 
=== Test questions for final assessment in this section ===
Line 188: Line 188:
 
# Same as above
 
# Same as above
   
=== Section 2 ===
+
=== Section 2 title: ===
   
  +
Access Control
=== Section title: ===
 
 
DNS, DNSSEC, and DoH
 
   
 
=== Topics covered in this section: ===
 
=== Topics covered in this section: ===
   
  +
* Authentication
* DNS
 
  +
* Authorization
* DNSSEC
 
* DoH
 
   
 
=== What forms of evaluation were used to test students’ performance in this section? ===
 
=== What forms of evaluation were used to test students’ performance in this section? ===
   
<div class="tabular">
+
{| class="wikitable" style="margin:auto"
  +
|+
 
  +
|-
<span>|a|c|</span> &amp; '''Yes/No'''<br />
 
  +
! Form !! Yes/No
Development of individual parts of software product code &amp; 0<br />
 
  +
|-
Homework and group projects &amp; 1<br />
 
  +
| Development of individual parts of software product code || No
Midterm evaluation &amp; 0<br />
 
  +
|-
Testing (written or computer based) &amp; 1<br />
 
  +
| Homework and group projects || Yes
Reports &amp; 1<br />
 
  +
|-
Essays &amp; 0<br />
 
  +
| Midterm evaluation || No
Oral polls &amp; 0<br />
 
  +
|-
Discussions &amp; 1<br />
 
  +
| Testing (written or computer based) || Yes
 
  +
|-
  +
| Reports || Yes
  +
|-
  +
| Essays || No
  +
|-
  +
| Oral polls || No
  +
|-
  +
| Discussions || Yes
  +
|}
   
   
</div>
 
 
=== Typical questions for ongoing performance evaluation within this section ===
 
=== Typical questions for ongoing performance evaluation within this section ===
   
  +
# What are pros and cons of using symmetric and asymmetric cryptographic mechanisms for authentication?
# Hows does DNS query get resolved?
 
# What is iterative and recursive DNS server?
+
# What is man in the middle attack?
  +
# Develop home-grown authentication mechanisms?
# How does wildcard work in DNS?
 
  +
# How Kerberos reduces the communication overhead?
# What is zone walking in secure DNS?
 
# What is delegation in DNS?
+
# Where is shibboleth used?
# What is NSEC and NSEC3 records in DNSSEC?
 
# What is the difference between DNSSEC and DoH?
 
   
 
=== Typical questions for seminar classes (labs) within this section ===
 
=== Typical questions for seminar classes (labs) within this section ===
   
  +
# Implement different variants of authentication protocols
# Configure DNS, DNSSEC, and DoH (with specific tasks)
 
  +
# Find out security flaws in authentication protocols
  +
# Identify shortcomings of different protocols
   
 
=== Test questions for final assessment in this section ===
 
=== Test questions for final assessment in this section ===
   
  +
# Same as above
# How does DNS query get resolved in DNS?
 
# How zones are formed?
 
# How delegation works in DNS?
 
# How resource records are verified in DNSSEC?
 
# What is meant by zone walking and how is it avoided?
 
# Why do we need DNSSEC where we can use simple DNS over HTTPS?
 
   
=== Section 3 ===
+
=== Section 3 title: ===
   
  +
Protocols
=== Section title: ===
 
 
Email
 
   
 
=== Topics covered in this section: ===
 
=== Topics covered in this section: ===
   
  +
* Simple Authentication Protocols
* Email architecture
 
  +
* Real-World Security Protocols
* Spam management
 
   
 
=== What forms of evaluation were used to test students’ performance in this section? ===
 
=== What forms of evaluation were used to test students’ performance in this section? ===
   
<div class="tabular">
 
 
<span>|a|c|</span> &amp; '''Yes/No'''<br />
 
Development of individual parts of software product code &amp; 0<br />
 
Homework and group projects &amp; 1<br />
 
Midterm evaluation &amp; 0<br />
 
Testing (written or computer based) &amp; 1<br />
 
Reports &amp; 1<br />
 
Essays &amp; 0<br />
 
Oral polls &amp; 0<br />
 
Discussions &amp; 1<br />
 
   
  +
{| class="wikitable" style="margin:auto"
  +
|+
  +
|-
  +
! Form !! Yes/No
  +
|-
  +
| Development of individual parts of software product code || No
  +
|-
  +
| Homework and group projects || Yes
  +
|-
  +
| Midterm evaluation || No
  +
|-
  +
| Testing (written or computer based) || Yes
  +
|-
  +
| Reports || Yes
  +
|-
  +
| Essays || No
  +
|-
  +
| Oral polls || No
  +
|-
  +
| Discussions || Yes
  +
|}
   
   
</div>
 
 
=== Typical questions for ongoing performance evaluation within this section ===
 
=== Typical questions for ongoing performance evaluation within this section ===
   
  +
# How does SSL and TLS work?
# What are different protocols used in email?
 
  +
# HOw does SSL and TLS combine symmetric and asymmetric cryptography?
# What are the different agents used in email system?
 
  +
# Why IPSec is so over-engineered? and what are the security flaws?
# How to avoid spamming in email?
 
  +
# What are different components of IPSec
# How to configure email servers?
 
   
 
=== Typical questions for seminar classes (labs) within this section ===
 
=== Typical questions for seminar classes (labs) within this section ===
   
  +
# Implement IPSec
# Configure email server
 
  +
# Assess the security of SSL and TLS handshakes
# Configure anti-spamming techniques
 
   
 
=== Test questions for final assessment in this section ===
 
=== Test questions for final assessment in this section ===
   
  +
# Same as above
# What are different agents and their roles in email architecture?
 
# How MX records work?
 
# How to configure different anti-spamming policies?
 
   
=== Section 4 ===
+
=== Section 4 title: ===
   
  +
Software
=== Section title: ===
 
 
Directory, Web, Protocol, ABNF and Deflating
 
   
 
=== Topics covered in this section: ===
 
=== Topics covered in this section: ===
   
  +
* Software Flaws and Malware
* Directory services
 
  +
* Insecurity in Software
* Web
 
  +
* Operating Systems and Security
* Protocols
 
* ABNF
 
* Deflating
 
   
 
=== What forms of evaluation were used to test students’ performance in this section? ===
 
=== What forms of evaluation were used to test students’ performance in this section? ===
   
<div class="tabular">
 
 
<span>|a|c|</span> &amp; '''Yes/No'''<br />
 
Development of individual parts of software product code &amp; 0<br />
 
Homework and group projects &amp; 1<br />
 
Midterm evaluation &amp; 0<br />
 
Testing (written or computer based) &amp; 1<br />
 
Reports &amp; 1<br />
 
Essays &amp; 0<br />
 
Oral polls &amp; 0<br />
 
Discussions &amp; 1<br />
 
   
  +
{| class="wikitable" style="margin:auto"
  +
|+
  +
|-
  +
! Form !! Yes/No
  +
|-
  +
| Development of individual parts of software product code || No
  +
|-
  +
| Homework and group projects || Yes
  +
|-
  +
| Midterm evaluation || No
  +
|-
  +
| Testing (written or computer based) || Yes
  +
|-
  +
| Reports || Yes
  +
|-
  +
| Essays || No
  +
|-
  +
| Oral polls || No
  +
|-
  +
| Discussions || Yes
  +
|}
   
 
</div>
 
 
=== Typical questions for ongoing performance evaluation within this section ===
 
=== Typical questions for ongoing performance evaluation within this section ===
   
  +
# Why is software as important to security as crypto, access control, protocols?
# How directory services are implemented?
 
  +
# If your software is subject to attack, can your security can be broken Regardless of strength of crypto, access control, or protocols? Why?
# How permissions are set?
 
  +
# What are the main factors of software that compromise the security of systems?
# How disk partitions are made?
 
# How different web protocols work?
 
# How network packets are management in a standard way through ABNF?
 
# How to write new formats through ABNF?
 
   
  +
=== Typical questions for seminar classes (labs) within this section ===
 
 
# Implement different web services
 
# Configure active directory
 
   
 
=== Test questions for final assessment in this section ===
 
=== Test questions for final assessment in this section ===

Latest revision as of 19:24, 20 December 2022

Security of systems and networks

  • Course name: Security of systems and networks (SSN)
  • Course number: SNE-08


Course characteristics

Key concepts of the class

  • Applied cryptography
  • Security protocols
  • Network and Internet security
  • Authentication and Authorization
  • Software Security

What is the purpose of this course?

This course will cover the fundamentals of security, security protocols, and their applications in real-world. The topics covered in this course include applied cryptography, authentication, passwords, practical security, social aspects of security, SSL/TLS, email security, PKI, and IPSec. Furthermore, this course will strengthen the security knowledge of the students and guide them in the right direction for their upcoming research projects and advanced courses. The course is divided into two parts. The first part will cover the theory and hands-on practice of the concepts taught at class. And the second part of the course will focus on the course projects. The student will work on a security project by using the concepts taught in the class.


Prerequisites

  • No specific prerequisites are mandated.

Recommendations for students on how to succeed in the course

References:

  • Attend the lectures
  • Read the lecture notes
  • Read the related chapters in the book


  • Attend and finish the labs


  • Finish your assigned project successfully

Course Objectives Based on Bloom’s Taxonomy

What should a student remember at the end of the course?

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

  • Demonstrate the acquired knowledge and skills in applied cryptography (symmetric and asymmetric cryptography),
  • Operate classical enigma machine, encode and decode messages with it
  • Demonstrate the working knowledge of famous cryptographic algorithms and discuss their shortcomings
  • Demonstrate and operate the already implemented security protocols over internet,
  • Reason about the problems in the security of networked systems and current internet and their existing solutions,
  • Solve mathematical problems (especially in number theory),

What should a student be able to apply at the end of the course?

By the end of the course, the students should be able to apply:

  • Crypt-analyze ciphertext and decrypt through frequency analysis and other important techniques
  • Design security protocols
  • Find security flaws in security protocols
  • Get hands-on experience of the existing enterprise cryptographic algorithms and use them in projects,
  • Demonstrate the skill of finding out security issues in networked systems and internet technologies,

Course evaluation

The acquired knowledge will be evaluated via labs, a project, and the exam, with points as in the following table:

Type of Evaluation Points
Labs/seminar classes 30
Project 35
Exam 35

Grades range

The grades will be given according to the following table:

Grade Range of points
A. Excellent 88-100
B. Good 77-87
C. Satisfactory 51-76
D. Poor 0-50

Resources and reference material

  • Lecture slides
  • Book
  • Links to the online material will be provided (if any)

Course Sections

The main sections of the course and approximate hour distribution between them is as follows:

Section Section Title Teaching Hours
1 Cryptography 40%
2 Access Control 25%
3 Protocols 25%
4 Software 10%
5 Labs 24h
6 Project 32h

Section 1 title:

Cryptography

Topics covered in this section:

  • Basics of Crypto
  • Symmetric Key Crypto
  • Public Key Crypto
  • Hash Functions

What forms of evaluation were used to test students’ performance in this section?

Form Yes/No
Development of individual parts of software product code No
Homework and group projects Yes
Midterm evaluation No
Testing (written or computer based) Yes
Reports Yes
Essays No
Oral polls No
Discussions Yes


Typical questions for ongoing performance evaluation within this section

  1. What are typical classic crypto methods?
  2. What are the differences in stream and block ciphers from performance standpoint?
  3. How to measure the security of cryptographic algorithms?
  4. How to encrypt and decrypt with different asymmetric crypto algorithms?
  5. How to embedd backdoors in crypto algorithms?
  6. How to realize key exchange through Hiffie-Hellman using traditional techniques and elliptic curve techniques?
  7. How to make security algorithms efficient?

Typical questions for seminar classes (labs) within this section

  1. Make enigma machine with pringle box
  2. Assess the security of different setups of RSA
  3. Implement man in the middle attack
  4. Implement addition over elliptic curves
  5. Solve crypto math problems

Test questions for final assessment in this section

  1. Same as above

Section 2 title:

Access Control

Topics covered in this section:

  • Authentication
  • Authorization

What forms of evaluation were used to test students’ performance in this section?

Form Yes/No
Development of individual parts of software product code No
Homework and group projects Yes
Midterm evaluation No
Testing (written or computer based) Yes
Reports Yes
Essays No
Oral polls No
Discussions Yes


Typical questions for ongoing performance evaluation within this section

  1. What are pros and cons of using symmetric and asymmetric cryptographic mechanisms for authentication?
  2. What is man in the middle attack?
  3. Develop home-grown authentication mechanisms?
  4. How Kerberos reduces the communication overhead?
  5. Where is shibboleth used?

Typical questions for seminar classes (labs) within this section

  1. Implement different variants of authentication protocols
  2. Find out security flaws in authentication protocols
  3. Identify shortcomings of different protocols

Test questions for final assessment in this section

  1. Same as above

Section 3 title:

Protocols

Topics covered in this section:

  • Simple Authentication Protocols
  • Real-World Security Protocols

What forms of evaluation were used to test students’ performance in this section?

Form Yes/No
Development of individual parts of software product code No
Homework and group projects Yes
Midterm evaluation No
Testing (written or computer based) Yes
Reports Yes
Essays No
Oral polls No
Discussions Yes


Typical questions for ongoing performance evaluation within this section

  1. How does SSL and TLS work?
  2. HOw does SSL and TLS combine symmetric and asymmetric cryptography?
  3. Why IPSec is so over-engineered? and what are the security flaws?
  4. What are different components of IPSec

Typical questions for seminar classes (labs) within this section

  1. Implement IPSec
  2. Assess the security of SSL and TLS handshakes

Test questions for final assessment in this section

  1. Same as above

Section 4 title:

Software

Topics covered in this section:

  • Software Flaws and Malware
  • Insecurity in Software
  • Operating Systems and Security

What forms of evaluation were used to test students’ performance in this section?

Form Yes/No
Development of individual parts of software product code No
Homework and group projects Yes
Midterm evaluation No
Testing (written or computer based) Yes
Reports Yes
Essays No
Oral polls No
Discussions Yes

Typical questions for ongoing performance evaluation within this section

  1. Why is software as important to security as crypto, access control, protocols?
  2. If your software is subject to attack, can your security can be broken Regardless of strength of crypto, access control, or protocols? Why?
  3. What are the main factors of software that compromise the security of systems?


Test questions for final assessment in this section

  1. As above