All Projects → Ledger-Donjon → Lascar

Ledger-Donjon / Lascar

Licence: lgpl-3.0
Ledger's Advanced Side-Channel Analysis Repository

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lascar

Jobs
💼 Post your open source design jobs, and find open source design to work on!
Stars: ✭ 257 (-8.87%)
Mutual labels:  open-source
Startbootstrap Business Casual
A Bootstrap HTML theme for business websites - created by Start Bootstrap
Stars: ✭ 266 (-5.67%)
Mutual labels:  open-source
Fvid
fvid is a project that aims to encode any file as a video using 1-bit color images to survive compression algorithms for data retrieval.
Stars: ✭ 276 (-2.13%)
Mutual labels:  open-source
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (-8.16%)
Mutual labels:  open-source
Otb
Github mirror of https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb
Stars: ✭ 265 (-6.03%)
Mutual labels:  open-source
Video Hub App
Official repository for Video Hub App
Stars: ✭ 272 (-3.55%)
Mutual labels:  open-source
Firecracker
Secure and fast microVMs for serverless computing.
Stars: ✭ 16,826 (+5866.67%)
Mutual labels:  open-source
Maxkey
MaxKey is Single Sign On(SSO) System,Leading-Edge Enterprise-Class open source IAM(Identity and Access management) product.
Stars: ✭ 274 (-2.84%)
Mutual labels:  open-source
Fos Proposals
💝 🐧 Archive of GSoC proposals
Stars: ✭ 266 (-5.67%)
Mutual labels:  open-source
Orangehrm
OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.
Stars: ✭ 274 (-2.84%)
Mutual labels:  open-source
Openlibrary
One webpage for every book ever published!
Stars: ✭ 3,311 (+1074.11%)
Mutual labels:  open-source
Hello Open Source
🖐️ A repository to learn about open source code contributions flow
Stars: ✭ 266 (-5.67%)
Mutual labels:  open-source
Hgraph
hGraph is an open source javascript library for visualizing health data.
Stars: ✭ 273 (-3.19%)
Mutual labels:  open-source
Thanks
🙌 Give thanks to the open source maintainers you depend on! ✨
Stars: ✭ 2,753 (+876.24%)
Mutual labels:  open-source
Admin Dashboards
Admin Dashboards - Open-Source and Free | AppSeed
Stars: ✭ 275 (-2.48%)
Mutual labels:  open-source
Xenorchestra installer
A simple install script for Xen Orchestra
Stars: ✭ 252 (-10.64%)
Mutual labels:  open-source
Nora
Nora is a Firebase abstraction layer for FirebaseDatabase and FirebaseStorage
Stars: ✭ 270 (-4.26%)
Mutual labels:  open-source
Quaver
🎶 The ultimate community-driven, and open-source competitive rhythm game.
Stars: ✭ 282 (+0%)
Mutual labels:  open-source
Golang Tutorials
Go Tutorials - Let's get our hands really dirty by writing a lot of Golang code
Stars: ✭ 277 (-1.77%)
Mutual labels:  open-source
Open Quant Live Book
An open source, hands-on and fully reproducible book in quantitative finance, data science and econophysics. Join us and help Make Wall Street Great Again!
Stars: ✭ 275 (-2.48%)
Mutual labels:  open-source

Ledger LogoLedger Logo

Join the chat at https://gitter.im/Ledger-Donjon/lascar

Documentation Status

LASCAR

Ledger's Advanced Side Channel Analysis Repository

A fast, versatile, and open source python3 library designed to facilitate Side-Channel Analysis.

lascar is intended to be used by seasoned side-channel attackers as well as laymen who would like to get a feel of side-channel analysis.

From side-channel acquisitions to results management, passing by signal synchronisation, custom attacks, lascar provides classes/functions to solve most of the obstacles an attacker would face, when needed to perform sound, state-of-the-art side-channel analysis.

This project has been developed in parallel of the activities done by Ledger Donjon (Ledger's security team), to fully match our needs regarding side-channel evaluation.

Main features

The philosophy behind lascar is to simplify for the end user the process of a side-channel analysis. It provides many classes and functions that you can accomodate with, or inherit from to do the job you need.

  • Openness: lascar library is open source and is intended to facilitate attack implementations, and exchange between users. Contributing to lascar is strongly encouraged.
  • Simplicity: For basic state of the art attacks, the corresponding lascar script shall stay basic
  • Compatibility: Since lascar relies on mainstream python libraries (numpy, sklearn, keras): lascar is easily deployable
  • Flexibility: Implement your own classes (for your already existing trace format, your specific attacks, the way you want your output to be...), use different languages (provided that you bind them with python),...

Please note that performance has not yet been challenged.

The tutorial/examples folders of the library provide basic scripts solving the most frequent use-cases of side-channel analysis.

Installation

Clone the repository then use the setup.py file, based on setuptools:

python3 setup.py install --user

Build the doc:

cd docs/
make html

Requirements

This library requires the following packages:

  • numpy
  • scipy
  • matplotlib: for curve visualization
  • vispy: for curve visualization
  • sklearn: for machine learning
  • keras: for deep learning
  • tensorflow: keras backend
  • h5py: for data storage
  • progressbar2
  • pytest
  • numba

Tutorial

The tutorial folder contains commented scripts to understand how to handle the core classes behind lascar (Container, Session, Engine, OutputMethod)

Examples

See examples.md

Command-line tool

Use lascarctl, lascar command line tool. For documentation, see here

Ledger Donjon Logo About Ledger Donjon Ledger Donjon Logo

Created in 2018, Ledger Donjon (Ledger security team) regroups experts in security with a wide range of expertise (such as software, perturbation and side-channel attacks, secured development, reverse engineering, ...). Based in Paris, Ledger's Donjon tends to shift the paradigm of security through obscurity. Take a look at our blogposts and the detailed introduction!

Acknowledgerments

Ledger's Donjon would like to thank the people behind ASCAD, for making available real side-channel traces and scripts for analysis. Their traces have been used in examples/ascad/ folder to illustrate how to use lascar to reproduce (part of) their study.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].