Subject: Automation in Cybersecurity

Scientific area:

Computer Science

Contact hours:

64 Hours

Number of ECTS:

6 ECTS

Language:

Portuguese

General Objectives:

1 - The aim of this course is to equip students with the skills to use programming as a practical tool to support cybersecurity and network automation.
2 - The aim is for students to develop scripts capable of collecting, analyzing, and processing information, automating administrative tasks, interacting with systems and networks, integrating APIs, and creating simple tools for analysis, detection, and monitoring.

Contents / Syllabus:

1 - Advanced review of Python applied to automation
2 - Log file manipulation and data parsing.
3 - Regular expressions for pattern analysis.
4 - Automation of system administration tasks (Windows and Linux).
5 - Scripting for gathering system information (processes, services, ports).
6 - Introduction to networking with Python (sockets, requests).
7 - Creating simple scanners (port scanning, banner grabbing).
8 - Interaction with REST APIs for cybersecurity and threat intelligence.
9 - Extraction and analysis of IoCs (IPs, hashes, domains).
10 - Automating backups, snapshots, and network inventory.
11 - Scripting for basic system hardening.
12 - Creating simple monitoring tools.
13 - Introduction to the development of simple exploits (controlled concepts).
14 - Automation of vulnerability testing (integration with Nmap, Nessus API).
15 - Automatic report generation (PDF, CSV, JSON).
16 - Good security practices in script development.

Bibliography / Information Sources:

Seitz, J. , 2021 , ). Python for cybersecurity: Using Python for cyber offense and defense , No Starch Press
Sweigart, A. , 2020 , Automate the boring stuff with Python for security (special edition) , No Starch Press
Harris, B. , 2018 , Black hat Python: Python programming for hackers and pentesters , No Starch Press
Marin, J. , 2021 , Python for network engineers: Tools and techniques for network automation , Independently Published
Chappell, D. , 2019 , Practical cybersecurity automation: How to use Python, Ansible, and scripting to secure networks , Packt Publishing.

Assessment Methods and Criteria:

Classification Type: Quantitativa (0-20)

Evaluation Methodology:
Active and practice-oriented teaching methodologies will be adopted, combining theoretical exposition with project-based learning and the resolution of real-world cybersecurity problems. Classes include demonstrations, hands-on laboratory exercises, and the progressive development of scripts that allow students to apply concepts in concrete scenarios, promoting autonomy and critical thinking. The use of case studies and simulations brings students closer to professional contexts, namely SOC operations. The final project will be integrative, consolidating skills acquired throughout the semester, while the exam will assess conceptual understanding and the ability to apply knowledge, ensuring a balance between theory and practice. 50% of the final grade is determined by attendance/exams, and the remaining 50% is determined by the project.