Table of contents
1. Overview
The exam consists of two exercises and three open questions. The two exercises are drawn from §2: one from the daemon/periodic process group and one from the packet filtering and NAT/account administration group. The three questions are drawn from the pool in §3.
The time available is 2.5 hours.
The exam text is in Italian unless otherwise requested. Feel free to solve the exercises or answer the questions in either Italian or English.
Warning
If you would like the exam text in English, please let me know a few days in advance.
During the exam you may use
- Python documentation (
help) - Manual pages (
man) - Cheat sheet
- The
up.shanddown.shscripts - The container image
fglmtt/admin
The exam environment has no internet connection. The container image is already present on the exam machines, and a link to download the scripts and cheat sheet from the intranet will be provided on the day of the exam.
Tip
Review the cheat sheet before the exam. If anything is missing, let me know so I can update it in advance.
mindmap Exam Daemon Booting and system management daemons Logging Periodic process Booting and system management daemons Logging Process control Packet filtering and NAT Containers Networking Account administration Containers User management Access control and rootly powers Questions Logging Process control Access control and rootly powers The filesystem User management Networking Security
2. Exercises
| Exercise | Previous exams |
|---|---|
| Daemon | 2025-06-20, 2025-11-03, 2026-02-09, 2026-06-08-1, 2026-06-08-2 |
| Periodic process | 2025-06-16, 2025-07-11, 2025-09-08, 2026-01-09, 2026-07-13 |
| Packet filtering and NAT | 2025-06-16, 2025-06-20, 2025-07-11, 2025-09-08, 2025-11-03, 2026-01-09, 2026-02-09, 2026-07-13 |
| Account administration | 2026-06-08-1, 2026-06-08-2 |
Warning
3. Questions
Tip
Try the NotebookLM I prepared to help you prepare the questions, available on Classroom. Type the question number you are interested in and you will get
- Full question text
- Concise answer grounded in the lecture materials
- Brief explanation of the reasoning as presented in the lectures
3.1. Logging
See logging.
- Why do attackers tamper with log files, what is FSS, and how does it allow administrators to detect such tampering?
- Why are administrators today required to maintain a centralized, hardened logging repository, what role do NTP-validated timestamps play, and which logging daemons handle local collection versus forwarding to the central repository?
3.2. Process control
See process control.
- What is a signal, which processes may a user send signals to, and what strategy should an administrator adopt to reliably stop a misbehaving process?
- What are the limitations of indirect tools such as
psand logs when investigating a suspicious process, and what doesstracereveal that they cannot?
3.3. Access control and rootly powers
See access control and rootly powers.
- What core rules govern the traditional UNIX permission model?
- What identities are associated with a process, and what role does each play?
- What is set-UID execution, why does
passwdneed it, and what happens when a regular user runspasswd? - Why is
sudogenerally preferred to directrootlogin orsufor obtainingrootprivileges, and what are its main advantages and drawbacks?
3.4. The filesystem
See the filesystem.
- Which file types does UNIX support, and how do the nine permission bits (
rwxfor user, group, and other) govern the allowed operations on each type? - Why is a lazy unmount (
umount -l) considered unsafe, which command lets you identify the processes that still hold references to the busy filesystem, and how can you perform a clean unmount instead? - What are the purposes of the set-UID, set-GID, and sticky bits, to which regular files or directories does each apply, and how do they alter permission checks?
- Who may change a file’s permission bits, which command can they use, and how is that command invoked?
- Who may change a file’s ownership (owner and group owner), what rules must be satisfied, and which command performs the operation?
3.5. User management
See user management.
- How can an administrator set an initial password for a new account, why is it risky to defer this to the user’s first login, and which approach is recommended?
- How can an administrator lock and unlock a user’s account, how does the underlying mechanism work at the level of
/etc/shadow, and what are the limitations of this approach?
3.6. Networking
See networking.
- What is a firewall, how does a two-stage filtering scheme work, and what role does a DMZ play?
- What is ARP spoofing, which weaknesses in the ARP protocol does it exploit, and what kind of attacks does it enable?
- How can an attacker abuse ICMP redirect messages, which weaknesses in the ICMP protocol make this possible, and what kind of attacks does this enable?
- What is IP forwarding, and why is it usually unsafe to leave it enabled on hosts that are not intended to act as routers?
- What is IP spoofing, and what defences can be used against it?
- What is IPv4 source routing, and how can an attacker exploit it?
- How does a broadcast ping attack such as the smurf attack work, where does IP spoofing come into play, and how does Linux defend against it by default?
3.7. Security
See security.
- What does the CIA triad stand for in information security, and what does each principle mean?
- What is social engineering, why is it particularly difficult to defend against, and what is one common form of this attack?
- What is a software vulnerability, what is a specific example of such a vulnerability, and how can open-source code review practices help in reducing these vulnerabilities?
- What is a DDoS attack, and how does it typically compromise the targeted systems?
- What is insider abuse, and why is it often harder to detect than external attacks?
- Why is keeping systems patched considered the administrator’s highest-value security chore, what risks do patches themselves introduce, and what should a sound patching procedure include?
- What is a backup in the context of computer security, and what are the key recommendations for effectively managing backups?
- What are computer viruses and worms, and what are the key differences between these two types of malware?
- What is a rootkit, how does it typically function, and why can it be particularly challenging to detect and remove?
- What are the best practices and recommendations for creating secure passwords, managing passwords effectively, and implementing MFA?
- What is symmetric key cryptography, how does it work, and what are its primary advantages and disadvantages?
- What is public key cryptography, how does it work, and what are its primary advantages and disadvantages?
- What is a CA, why is it necessary in a public key infrastructure, and why is it a high-value target?
4. Scoring
Each exam is graded out of 33 points.
The exam is passed with at least 18 points. Cum laude is awarded with at least 31.
Tip
Students may review their graded exam. First compare your submission with the published solutions; if something still does not make sense, get in touch to set up a meeting. Please do not request a meeting without having first consulted the solutions.
sankey-beta Exam, Exercises, 24 Exam, Questions, 9 Exercises, Daemon/periodic process, 16 Exercises, Packet filtering and NAT/Account administration, 8 Questions, Question 1, 3 Questions, Question 2, 3 Questions, Question 3, 3
sankey-beta Daemon, Python, 10 Daemon, Service, 6
sankey-beta Periodic process, Python, 8 Periodic process, Service, 4 Periodic process, Timer, 4
Licenses
| Content | License |
|---|---|
| Code | MIT License |
| Text | Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International |