Difference between revisions of "BSc: Fundamentals of Computer Security"
R.sirgalina (talk | contribs) |
|||
Line 79: | Line 79: | ||
|} |
|} |
||
'''Important:''' In order to successfully finish the course, the student is required to score at least 50% in final exam. |
'''Important:''' In order to successfully finish the course, the student is required to score at least 50% in final exam. |
||
+ | |||
+ | </div> |
||
=== Grades range === |
=== Grades range === |
Revision as of 11:51, 7 February 2022
Fundamentals of Information Security
- Course name: Fundamentals of Information Security
- Course number: XYZ
- Knowledge area: xxx
Course characteristics
Key concepts of the class
- User authentication and authorization
- Database and data center security
- Reverse engineering and malicious software
- Buffer overflow and software security
- OS security
- Symmetric encryption
- Public-key cryptography
What is the purpose of this course?
The purpose of this course is to teach the students the important aspects of cryptography, authentication, access control, DoS attacks, intrusion detection, etc. The students will learn major types of attacks and methods of protection from them.
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 recognize and define
- Message and user authentication
- Encryption algorithms
- Authorization and access control mechanisms
- Different types of attacks
- Firewalls and intrusion detection methods
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 describe and explain (with examples)
- The importance of authentication and authentication protocols
- Encryption algorithms used for authentication and message integrity
- The importance of authorization and access control, different protocols
- Major types of attacks and methods of protection from them
- Importance of intrusion detection and firewalls
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
- Authentication protocols
- Encryption techniques and algorithms
- Well-known access control techniques
- Mitigate the DoS attacks
- Intrusion detection algorithms
- Using firewalls
Course evaluation
Component | Points |
---|---|
Laboratory assignments | 40% |
Homework | 4% |
Weekly quizzes | 16% |
Attendance | 10% |
Final exam | 30% |
Important: In order to successfully finish the course, the student is required to score at least 50% in final exam.
Grades range
A. Excellent | 90-100 |
B. Good | 75-89.9 |
C. Satisfactory | 60-74.9 |
D. Poor | 0-59.9 |
Resources and reference material
- Required textbook: William Stallings and Lawrie Brown, "Computer Security: Principles and Practice,“ 4th edition, Pearson, 2017.
- Additional textbook: William Stallings, "Cryptography and Network Security: Principles and Practice," 7th Edition, Pearson, 2017.
Course Sections
The course is organized in 8 weeks, with every weeks 4 academics hours of lectures and 4 academic hours of tutorials/labs. The main sections of the course and approximate hour distribution between them is as follows:
Section | Section Title | Teaching Hours |
---|---|---|
1 | Computer security technology and principles | 23 |
2 | Software and system security | 18 |
3 | Cryptographic algorithms | 9 |
4 | Additional | 14 |
Section 1: Computer security technology and principles
Topics covered in this section
- Introduction to computer security
- User authentication and authorization
- Database and data center security
- Network security of data center
- Reverse engineering and malicious software
What forms of evaluation were used to test students’ performance in this section?
Yes/No | |
---|---|
Development of individual parts of software product code | 1 |
Homework and group projects | 1 |
Midterm evaluation | 0 |
Testing (written or computer based) | 1 |
Reports | 0 |
Essays | 0 |
Oral polls | 1 |
Discussions | 1 |
Typical questions for ongoing performance evaluation within this section
- What is meant by the CIA triad?
- What is the difference between data integrity and system integrity?
- How is cryptanalysis different from brute-force attack?
- List and briefly explain the different approaches to attacking a symmetric encryption scheme.
- In general terms, what are four means of authenticating a user’s identity?
- What is a Trojan horse attack?
- What is the difference between authentication and authorization?
- How does RBAC relate to DAC and MAC?
- Define the terms database, database management system, and query language.
- What is a relational database and what are its principal ingredients?
- What is an SQL injection attack? What are the implications of an SQL injection attack?
- List the categories for grouping different types of SQLi attacks.
- Why is RBAC considered fit for database access control?
- What are three broad mechanisms that malware can use to propagate?
- What is a blended attack?
- Define a denial-of-service (DoS) attack
- State the difference between a SYN flooding attack and a SYN spoofing attack.
- What is the goal of an HTTP flood attack?
- What is a poison packet attack? Give two examples of such an attack.
- How are intruders classified according to skill level?
- List and briefly describe the classifications of intrusion detection systems based on the source and the type of data analyzed.
Typical questions for seminar classes (labs) within this section
- Consider the given general code for allowing access to a resource: a) Explain the security flaw in this program, b) Rewrite the code to avoid the flaw
- Develop an attack tree for gaining access to the contents of a physical safe
- Typically, in practice, the length of the message is greater than the block size of the encryption algorithm. The simplest approach to handle such encryption is known as electronic codebook (ECB) mode. Explain this mode. Mention a scenario where it cannot be applied. Explain briefly why it is not a secure mode of encryption
- Consider a very simple symmetric block encryption algorithm, in which 64-bits blocks of plaintext are encrypted using a 128-bit key. Show the decryption equation.
- Explain the suitability or unsuitability of the given passwords
- Assume that Personal Identification Numbers (PINs) are formed by nine-digit combinations of numbers 0 to 9. Assume that an adversary is able to attempt three PINs per second.
- Assuming no feedback to the adversary until each attempt has been completed, what is the expected time to discover the correct PIN?
- Assuming feedback to the adversary flagging an error as each incorrect digit is entered, what is the expected time to discover the correct PIN?
- Assume an application requires access control policies based on the applicant’s age and the type of funding to be provided. Using an ABAC approach, write policy rules for each of the following scenarios:
- If the applicant’s age is more than 35, only “Research Grants (RG)” can be provided.
- If the applicant’s age is less than or equal to 35, both “RG and Travel Grants (TG)” can be provided.
- Assume a system with K subject attributes, M object attributes and Range () denotes the range of possible values that each attribute can take. What are the number of roles and permissions required for an RBAC model? What is the problem with this approach if additional attributes are added?
- Consider a simplified database for an organization that includes information of several departments (identity, name, manager, number of employees) and of managers and employees of the respective departments. Suggest a relational database for efficiently managing this information
- Users hulkhogan and undertaker do not have the SELECT access right to the Inventory table and the Item table. These tables were created by and are owned by user bruno-s. Write the SQL commands that would enable bruno-s to grant SELECT access to these tables to hulkhogan and undertaker.
- Consider the given fragment of code. What type of malware is this?
- Consider the given fragment embedded in a webpage. What type of malicious software is this?
- In order to implement a classic DoS flood attack, the attacker must generate a sufficiently large volume of packets to exceed the capacity of the link to the target organization. Consider an attack using ICMP echo request (ping) packets that are 100 bytes in size (ignoring framing overhead). How many of these packets per second must the attacker send to flood a target organization using a 8-Mbps link? How many per second if the packets are 1000 bytes in size? Or 1460 bytes?
- It is discussed that an amplification attack, which is a variant of reflection attack, can be launched by using any type of a suitable UDP service, such as the echo service. However, TCP services cannot be used in this attack. Why?
- Consider the first step of the common attack methodology we describe, which is to gather publicly available information on possible targets. What types of information could be used? What does this use suggest to you about the content and detail of such information? How does this correlate with the organization’s business and legal requirements? How do you reconcile these conflicting demands?
- As was mentioned in this chapter, the application gateway does not permit an end-toend TCP connection; rather, it sets up two TCP connections, one between itself and a TCP user on an inner host and one between itself and a TCP user on an outside host. The disadvantage of this approach is the additional processing overhead on each connection since the gateway must examine and forward all traffic in both directions. Describe at least one more limitation of this approach which is not discussed.
- Given table shows a sample of a packet filter firewall ruleset for an imaginary network of IP address that range from 192.168.1.0 to 192.168.1.254. Describe the effect of each rule.
Test questions for final assessment in this section
Questions from previous two subsections can be used.
Section 2: Software and system security
Topics covered in this section
- Buffer overflow and software security
- OS security
- Guest lecture from industry
What forms of evaluation were used to test students’ performance in this section?
Yes/No | |
---|---|
Development of individual parts of software product code | 1 |
Homework and group projects | 1 |
Midterm evaluation | 0 |
Testing (written or computer based) | 1 |
Reports | 0 |
Essays | 0 |
Oral polls | 1 |
Discussions | 1 |
Typical questions for ongoing performance evaluation within this section
- Define buffer overflow.
- Define an off-by-one attack.
- Define an injection attack. List some examples of injection attacks. What are the general circumstances in which injection attacks are found?
- State the similarities and differences between command injection and SQL injection attacks
- What are the basic steps needed in the process of securing a system?
- State different types of full virtualization with their security requirements.
- List five essential characteristics of cloud computing.
- List and briefly define three cloud service models.
- Briefly explain the most prominent deployment models for cloud computing.
- Describe some of the main cloud-specific security threats.
Typical questions for seminar classes (labs) within this section
- Investigate each of the unsafe standard C library functions shown in the figure using the UNIX man pages or any C programming text, and determine a safer alternative to use.
- Investigate the use of a replacement standard C string library, such as Libsafe, bstring, vstr, or other. Determine how significant the required code changes are, if any, to use the chosen library.
- Investigate the issues that arise while using sequence number as both identifier and authenticator of packets. Identify the root cause of the problem.
- Investigate the various types of cross-site scripting (XSS) attacks. How can such attacks be prevented?
- How can we use the TCP Wrappers and tcpd daemon to achieve secure remote control access? What if the network servers are heavily loaded?
- Why is it important to secure the boot process? Is it required to limit which media the system must boot from?
Test questions for final assessment in this section
Questions from previous two subsections can be used.
Section 3: Cryptographic algorithms
Topics covered in this section
- Symmetric encryption and message confidentiality
- Public key cryptography and message authentication
What forms of evaluation were used to test students’ performance in this section?
Yes/No | |
---|---|
Development of individual parts of software product code | 1 |
Homework and group projects | 1 |
Midterm evaluation | 0 |
Testing (written or computer based) | 1 |
Reports | 0 |
Essays | 0 |
Oral polls | 1 |
Discussions | 1 |
Typical questions for ongoing performance evaluation within this section
- What are different types of cryptanalysis attacks?
- Why do some block cipher modes of operation only use encryption while others use both encryption and decryption?
- In the context of a hash function, what is a compression function?
- Briefly explain Diffie-Hellman key exchange.
Typical questions for seminar classes (labs) within this section
- Suppose that your organization wants you to ensure the security of its data while the data is in transit. Which one out of stream cipher and block cipher would you select and why?
- Can we perform encryption operations in parallel on multiple blocks of plaintext in any of the five modes? How about decryption?
- Consider a 32-bit hash function defined as the concatenation of two 16-bit functions: XOR and RXOR, defined as “two simple hash functions.”
- Will this checksum detect all errors caused by an odd number of error bits? Explain.
- Will this checksum detect all errors caused by an even number of error bits? If not, characterize the error patterns that will cause the checksum to fail.
- Comment on the effectiveness of this function for use as a hash function for authentication
- It is possible to use a hash function to construct a block cipher with a structure similar to DES. Because a hash function is one way and a block cipher must be reversible (to decrypt), how is it possible?
Test questions for final assessment in this section
Questions from previous two subsections can be used.
Section 4: Additional
Topics covered in this section
- Compliances and documentation in computer security
- New technologies and research areas in cyber security
- Cybercrime and forensics, incident response
What forms of evaluation were used to test students’ performance in this section?
Yes/No | |
---|---|
Development of individual parts of software product code | 1 |
Homework and group projects | 1 |
Midterm evaluation | 0 |
Testing (written or computer based) | 1 |
Reports | 0 |
Essays | 0 |
Oral polls | 1 |
Discussions | 1 |
Typical questions for ongoing performance evaluation within this section
- What are different types of cryptanalysis attacks?
- Why do some block cipher modes of operation only use encryption while others use both encryption and decryption?
- In the context of a hash function, what is a compression function?
- Briefly explain Diffie-Hellman key exchange.
Typical questions for seminar classes (labs) within this section
- Suppose that your organization wants you to ensure the security of its data while the data is in transit. Which one out of stream cipher and block cipher would you select and why?
- Can we perform encryption operations in parallel on multiple blocks of plaintext in any of the five modes? How about decryption?
- Consider a 32-bit hash function defined as the concatenation of two 16-bit functions: XOR and RXOR, defined as “two simple hash functions.”
- Will this checksum detect all errors caused by an odd number of error bits? Explain.
- Will this checksum detect all errors caused by an even number of error bits? If not, characterize the error patterns that will cause the checksum to fail.
- Comment on the effectiveness of this function for use as a hash function for authentication
- It is possible to use a hash function to construct a block cipher with a structure similar to DES. Because a hash function is one way and a block cipher must be reversible (to decrypt), how is it possible?
Test questions for final assessment in this section
Questions from previous two subsections can be used.