Ph.D. Course at UniBo (2024)

April 8th–12th, 2024
Duration: 20 hours

Risk Assessment of Machine Learning for Cybersecurity

Machine Learning (ML) has shown incredible success in many applications, and this trend was followed also by cybersecurity to deal with an increasing number of threats in network intrusion and malware detection. However, using ML increases also attack surface, and opens the way to attackers to evade detection systems. It is then important to understand how to assess the risks and the attack surface of ML models.

Objectives: This course will provide you with an overview of the challenges and trends in assessing risks and robustness of applying machine learning in cybersecurity, i.e., contexts that consider the presence of an adversary, and that require modification of complex objects (e.g., software).

Outcome: An understanding of fundamental challenges of applying machine learning in adversarial settings with evolving scenarios, with case studies and labs on the malware detection domain.

The indicative outline of the course is as follows:

  • [5h] Introduction to Machine Learning (ML) for Cybersecurity
    • Basics of ML for Computer Vision
    • Feature engineering in cybersecurity: Android malware, network traffic, PDFs, Windows PEs
    • Strenghts and weaknesses of abstract representations, semantic gaps
    • Challenges specific to machine learning for cybersecurity
    • Python Lab on Android malware classification, and performance metrics
  • [5h] Concept Drift (Distribution Shift)
    • Measuring the decay in the Android, Windows and PDF domains
    • Reasoning about mitigations: retraining, active learning, online learning, classification by rejection, continuous learning, ability not to forget
    • Python Lab on Android malware classification in presence of time evolution
  • [4h] Realistic Deployments
    • Recommendations for real-world deployments of Machine Learning for cybersecurity
    • Bridging the gap between academia and industry
    • Python Lab on the impact of sampling bias in evaluations
  • [6h] Adversarial Machine Learning
    • Threat models and brief history of adversarial ML
    • Gradient-based attacks in computer vision
    • Inverse feature mapping problem in cybersecurity
    • Reformulation of input-space attacks with real-world modifications
    • Defense directions (e.g., certified robustness, adversarial training, robust optimization)
    • Python Lab on adversarial machine learning on Android malware classification

The Python Labs will follow the guidelines at this link.

Registration

To participate, you need to complete this registration form. In-person places are on a first-come first-served basis.

Required skills

The course offers a 3-hour introductory part that will provide you with all the basics and context required to understand the challenges. Do not get scared by the word ‘cybersecurity’ in the title: we will use cybersecurity as a scenario that has specific constraints that make machine learning very challenging. Yet, we will discuss all the existing trends and solutions to these problems that are the focus of extensive research from both the security and ML communities.

Required:

  • Computer Science background
  • Software engineering basics
  • Networking basics
  • Basic Python programming skills

Preferred (but not required):

  • Machine Learning basics
  • Cybersecurity

Timetable

Date Time     Location
Monday, April 8th, 2024 14-18 Aula VII - Piano 7 - Matematica
Tuesday, April 9th, 2024 09-13 Aula Bodoniana 5 - Via San Donato 19/2, ingresso da Ristorante Le Salentine
Wednesday, April 10th, 2024 14-18 Aula Bodoniana 5
Thursday, April 11th, 2024 14-18 Aula Arzelà - Piano 5 - Matematica
Friday, April 12th, 2024 09-13 Aula 7.5 - Piano Primo - Locali in Bo - via Saragozza, n. 8


Assessment (Optional)

This course offers an optional exam, for students who opt-in to do it (e.g., for getting credits in their Ph.D. programme).

The assessment requires to write an extended abstract (min 1000-max 1500 chars, spaces included) that summarizes how your research relates to (and can be improved) by one paper of your choice from the References list below. The abstract should contain:

  1. Statement of a problem in your own research that is related to your chosen paper
  2. Idea for a possible novel solution that integrates the chosen paper and your research
  3. Novelty with respect to the state of the art

Submit your extended abstract by May 15th, 2024 via this form: Link TBC

Assessment criteria:

  • Demonstrating understanding of the chosen paper content and topic
  • Ability to position your own research within the context of robust machine learning and security
  • Clarity of presentation
  • Correct use of technical terms seen in this short course
  • Quality of the idea proposed

You will also receive a personalized feedback on your abstract.

Lecturer Biography

Dr. Fabio Pierazzi is a Senior Lecturer (Associate Professor) in Computer Science and Deputy Head of the Cybersecurity group at the Department of Informatics of King’s College London, and affiliated with UCL’s Systems Security Research Lab (S2Lab). His research interests are at the intersection of systems security and machine learning, with a particular emphasis on settings in which attackers adapt quickly to new defenses (i.e., high non-stationarity, adaptive attackers). Previously, he obtained his Ph.D. in Computer Science at University of Modena, Italy (2014–2017), he visited University of Maryland, College Park, USA (2016), and he was a Post-Doctoral Research Associate at Royal Holloway, University of London (2017–2019). Home page: https://fabio.pierazzi.com

References

See advice on reviewing literature for systems security.

Best Practices for MLSec

Adversarial ML: Evasion

Adversarial ML: Backdoor

Adversarial ML: Poisoning

Adversarial ML: General and Defenses

Distribution Shift

Other MLSec Applications

Socio-technical MLSec

Malware Detection


Acknowledgments

This PhD course was supported by project SERICS (PE00000014) under the MUR National Recovery and Resilience Plan funded by the European Union - NextGenerationEU.