Giter VIP home page Giter VIP logo

mlsec-labs-colab's Introduction

ML Security Labs

Setup

It is better to use Python 3.10 as we are still figuring out a compatibility with the Tesseract library.

I would also advise to create a Python virtual environment for these labs, using Python 3.10: see here for a guide on virtual environments.

Labs overview

This github workspace contains some example to get acquainted with the use of Machine Learning for Systems Security and Malware Detection.

  • Lab 01: Malware detection with Machine Learning. This lab is a warmer to introduce on the use of notebooks, and to compute the main performance metrics.

  • Lab 02: Time-aware evaluations. This lab introduces the use of time-aware evaluations.

  • Lab 03: Adversarial Attacks. A simple weight-driven attack for the linear SVM classifier on DREBIN feature space.

  • Lab 04: Sampling Bias. In this exercise, you will see how training on apps from different marketplaces, how this affects results.

The datasets folder contains simple datasets and the instruction to download a larger dataset based on the DREBIN (NDSS 2014) feature space.

Tesseract Library

In case you need to do time-aware evaluations with:

You can refer to this publication:

To install, create a Python 3.10 environment. If the instructions of the repo do now work, consider trying:

python -m build

To register the virtual environment on a Python notebook:

python -m ipykernel install --user --name <env-name>

where the variable matches the name of the environment.

mlsec-labs-colab's People

Contributors

fbpierazzi avatar nicolodon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.