Ectopass

Ectopass detects micro-architectural security vulnerabilities

Current processor optimizations such as branch prediction or speculation are essential for performance but can break security by accidentally leaking data. See for example the Spectre attack.

demo screenshot

Try it in the browser

You can directly try a demo of Ectopass from your browser:

How Ectopass works

ectopass architecture

Ectopass is implemented as an LLVM pass (hence the name). It can be integrated with any codebase which can be compiled to LLVM IR (C, C++, Rust, Swift, etc).

Ectopass builds the Control Flow Graph of every function of the codebase, extends it with speculative paths, calculates data dependencies and then performs an analysis based on Leakage Containment Models.

Configuration

Ectopass analysis can be configured with different options:

Existing solutions

selective SLH

The existing solutions are either impractical (like changing the hardware) or do not scale for big codebases (like SLH).

Ectopass can help pinpoint the exact files where vulnerabilities can be found and limit the scope of SLH to those files. Activating SLH to all files of a project (industry default) can be very time consuming.

Benchmarking on libsodium, we observed an overhead of 831% with SLH activated on all files compared to only 4% when partially activating it on vulnerable files reported by Ectopass.

Analyzing large projects

The demo available in the browser is only suitable to analyze a small C file. If you would like to analyze larger projects with Ectopass and check if they have vulnerabilities, please get in touch!