Giter Club home page Giter Club logo

emma's Introduction

ElectroMagnetic Mining Array (EMMA)

EMMA is a framework for capturing and attacking traces of electromagnetic radiation emitted by an electronic device, in order to obtain encryption keys or other sensitive data.

Installation

The following Python 3 packages are required by EMMA: celery, tensorflow, keras, matplotlib, numpy, sklearn.

Configuration

Two config files should be added to the EMMA root directory: settings.conf and datasets.conf.

settings.conf

Example configuration

[Network]
broker = redis://:password@redisserver:6379/0
backend = redis://:password@redisserver:6379/0

[Datasets]
datasets_path = /home/user/my-dataset-directory/
stream_interface = eth0

[EMMA]
remote = True

datasets.conf

Example configuration

# Custom dataset (train)
[em-corr-arduino]
format=cw
reference_index=0

# Custom dataset (test)
[em-cpa-arduino]
format=cw
reference_index=0

# ASCAD database
[ASCAD]
format=ascad
reference_index=0

Getting started

Although EMMA can run on a single machine, ideally at least two machines should be used to perform an analysis: a master (low-end device for sending commands) and one or more slaves (high-end devices for performing calculations). At least one device must have redis installed and configured. Before continuing, make sure this device is listed as the backend in settings.conf (see above).

On each slave that should perform computations, run the following command to automatically spawn worker processes for each available CPU:

celery -A emma_worker worker -l info -Q celery,priority.high

Note that each slave should be able to access the datasets listen in datasets.conf. Now, the master can issue commands to process these datasets.

emma.py plot ASCAD

See emma.py -h for a full list of available commands.

EMcap

EMcap is a tool that allows for convenient capturing and storage of EM trace datasets using Software Defined Radios (SDRs).

emma's People

Contributors

github16cp avatar

Watchers

James Cloos 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.