• Aucun résultat trouvé

CIRCLean - USB key sanitizer Some bash, some python, a RaspberryPi, and a lot of glue.

N/A
N/A
Protected

Academic year: 2022

Partager "CIRCLean - USB key sanitizer Some bash, some python, a RaspberryPi, and a lot of glue."

Copied!
14
0
0

Texte intégral

(1)

CIRCLean - USB key sanitizer

Some bash, some python, a RaspberryPi, and a lot of glue.

TLP:WHITE

info@circl.lu

July 7, 2015

(2)

Context

An USB key is a blackbox

We all use USB keys

Antiviruses won’t detect more than 60% of common malwares

Without talking of targeted attacks

We need a simple tool

(3)
(4)

Usage

A journalist receiving documents on a USB key

A Student working on a computer at school/university

Within the family, to exchange pictures

In a business trip, at a conference, to exchange documents

(5)

Advantages

Dedicated and air-gaped computer

Portable

Run on an off-the-shelf device

... and an off-the-shelf Operating system (Raspbian Jessie)

Cheap

(6)

What does it do?

Rename Windows executables

Cross-check MIME types with current extension of the file

Convert office documents to PDF/A and then to HTML

Convert PDFs to PDF/A and then to HTML

Extract the archives and process the content

Rename the autorun.inf on the source key

(7)

Technical decisions

(Almost) no changes on the source key

Source key and OS mounted as RO during processing

Processing as user

Bare operating system

Processing based on the MIME types

(8)

Challenges

CIRCLean is a bunch of scripts...

... with a will OS

... many dependencies

... and that has to work on Raspberry B, B+ and 2.

Has to cover a lot of different cases (files systemes, file formats...)

... and all the faillures modes.

(9)

Implementation

Most recent version of Rasbpian (support all versions of rPi)

7z to extract archives

GhostScript for converting PDF to PDF/A

Libreoffice / unoconv to convert *office to PDF/A

pdf2htmlex to convert PDF/A to HTML

(10)

PyCIRCLean

Reimplementation of the project as a Python module (2.7 and 3*)

Usable on a desktop

Two existing processing scripts (generic and simple copy)

Helpers to make it simple (log, copy, rename...)

Implement your own tool

50 lignes of code to copy a predefined list of extensions

(11)

Main issues

Automatically generate images, with your own scripts?

Automated testing on realistic virtual environments (and not just rPi B)

Unit tests on known files

Error handling (key full, crash during a conversion...)

We need more users

(12)

Future

Desktop for offices

LEDs to give a visual feedback to the user

Automated tests

Support of more files formats

Web Interface

Postfix plugin

(13)

Source code

Open source (BSD)

Scripts to build an image:

https://github.com/CIRCL/Circlean

Python module (2.7 and 3*) installable where ever you want:

https://github.com/CIRCL/PyCirclean

Tutorial

http://circl.lu/projects/CIRCLean/

(14)

Contact

raphael.vinot@circl.lu

https://www.circl.lu/

OpenPGP fingerprint: 8647 F5A7 FFD3 50AE 38B6 E22F 32E4 E1C1 33B3 792F

Found suspicious documents? Don’t hesitate to contact CIRCL.

Références

Documents relatifs

The paper [55] establishes limit theorems for a class of stochastic hybrid systems (continuous deterministic dynamic coupled with jump Markov pro- cesses) in the fluid limit (small

This indicates that once the state of the first particle is observed to be at the state (i.e. In other words, the inherent-state-clock materialised by the state-time-domain

Given two transversely intersecting unoriented arcs in an oriented surface, it is well known that there exists a natural way of resolving the intersection so that the resolution

Applications to nonlinear beam equations and to nonlinear wave equations with Dirichlet boundary condition are given.. The result also applies

SCOVEL, Geometry of some simple nonlinear differential operators, part II, sub. WHITNEY, On singularities of mappings,

Toute utilisa- tion commerciale ou impression systématique est constitutive d’une in- fraction pénale.. Toute copie ou impression de ce fichier doit conte- nir la présente mention

Machine Learning Approach – different approaches proposed for sentiment analysis (like Lexicon based, Machine learning based and Ontology-based), but no

Rendiconti del Seminario Matematico della Università di Padova, tome 84 (1990),