Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specially Crafted Hardware #22

Open
wreuven opened this issue Nov 4, 2018 · 3 comments
Open

Specially Crafted Hardware #22

wreuven opened this issue Nov 4, 2018 · 3 comments

Comments

@wreuven
Copy link

wreuven commented Nov 4, 2018

Would this project stop a specially crafted USB device from bypassing the PyCIRCLean protection. How?

@Rafiot
Copy link
Member

Rafiot commented Nov 4, 2018

I guess it depends what you mean by specially crafted. Maybe?

@wreuven
Copy link
Author

wreuven commented Nov 5, 2018

Simplest example is someone gives you a USB flash drive and when you plug it in, it acts as a keyboard and "types" in a series of commands to do various mischief which can include corrupting the target USB drive.

@Rafiot
Copy link
Member

Rafiot commented Nov 5, 2018

Oh, yeah, if the firmware of the key is trying to do nasty things, it should be covered, assuming you use the default CIRCLean firmware on a RaspberryPi:

  • It is impossible to login on any user account so anything keyboard related will be stuck on the login screen
  • This piece of code will also make it very difficult for a malicious firmware to give a safe file to the file checker and then give a malicious one when we copy the file over to the other key: https://github.com/CIRCL/PyCIRCLean/blob/master/filecheck/filecheck.py#L242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants