Giter Club home page Giter Club logo

can-denial-of-service's Introduction

CAN-Denial-of-Service

"A Stealth, Selective, Link-layer Denial-of-Service Attack Against Automotive Networks"

Demo video at: https://www.youtube.com/watch?v=PmcqCbRMCCk

Arduino Uno Rev 3 DoS Implementation

Uno R3 specific implementation changes with respect to proposed attack algorithm:

  • First RXD falling edge waiting and Attack ISR enabling implemented via another ISR (RXD Falling Edge ISR) which monitors the RXD value and triggers on RXD falling edge;
  • Buffer is split into two variables due to size requirements reasons;
  • In Attack ISR, after dominant bit writing, Attack ISR disables itself for
    performance optimizations reasons. It is re-enabled by RXD Falling Edge ISR;
  • In Attack ISR, slightly increased overwriting time in order to compensate for possible Arduino interrupts timing drifts.

Implementation is set to perform the DoS attack against the 2012 Alfa Romeo Giulietta parking sensors module (identifier 06314018) on CAN B operating at 29 bit / 50 kbps.

CAN target value explaination: 254 -> 11111110 | 832209432 -> 00110001100110101000001000011000

1111111000110001100110101000001000011000

  • 1111111 = preceding data EoF/remote EoF/error delimiter/overload delimiter + minimum interframe spacing;
  • 0 = SoF;
  • 00110001100 = Base ID;
  • 1 = SRR;
  • 1 = IDE;
  • 0101000001000011000 = Extended ID + 1 stuff bit.

can-denial-of-service's People

Contributors

stealthdos 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.