GithubHelp home page GithubHelp logo

usg's People

Contributors

robertfisk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usg's Issues

Implement read-only mass storage mode

Various use-cases (forensics, enhanced paranoia) have a need for a read-only mass storage mode. This could be either a compile-time option, or dynamically set on bootup based on an input pin controlled by the user.

Both Upstream and Downstream would need to be put into read-only mode to ensure robustness in the face of USB exploits coming from either direction.

Initialization problem on v0.9 Upstream board

A user reported their DIY v0.9 running 0.9r03 firmware was not working. Upstream was stuck in the CheckFirmwareMatchesHardware() function on bootup.

We determined this was due to the PC12-pullup check failing (implying that the firmware was not running on a H405 board). Bypassing the PC12 check allowed normal functionality.

We need to determine if this issue can be fixed with a delay in the PC12 check, and how much delay is required. Or whether the issue is due to a logic threshold change, in which case we probably want to find another way to confirm we are running on a H405 board.

Mass storage device reduced size

Looks like USG incorrectly send device size information - always it's one block smaller:

Raw device:

usb-storage 3-1.2:1.0: USB Mass Storage device detected
scsi host6: usb-storage 3-1.2:1.0
scsi 6:0:0:0: Direct-Access     Generic  Flash Disk       5.00 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg0 type 0
sd 6:0:0:0: [sda] 4096000 512-byte logical blocks: (2.10 GB/1.95 GiB)
sd 6:0:0:0: [sda] Write Protect is off
sd 6:0:0:0: [sda] Mode Sense: 0b 00 00 08
sd 6:0:0:0: [sda] No Caching mode page found
sd 6:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 6:0:0:0: [sda] Attached SCSI removable disk

With USG:

scsi 7:0:0:0: Direct-Access     The USG  is Good, not bad v1.0 PQ: 0 ANSI: 2
sd 7:0:0:0: Attached scsi generic sg0 type 0
sd 7:0:0:0: [sda] 4095999 512-byte logical blocks: (2.10 GB/1.95 GiB)
sd 7:0:0:0: [sda] Write Protect is off
sd 7:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 7:0:0:0: [sda] Asking for cache data failed
sd 7:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sda: p1 size 4095968 extends beyond EOD, enabling native capacity
 sda: sda1
sda: p1 size 4095968 extends beyond EOD, truncated
sd 7:0:0:0: [sda] Attached SCSI removable disk

Upstream Freakout in mass storage mode on Win10

  • Connected fat32 formatted flash drive to Win10 machine.
  • Got a popup saying drive needs a scan.
  • Ignored popup, did not attempt to access the drive.
  • Approx 30sec later, Upstream MCU freaked out (red flashing LED on USG v1.0)
  • Removed and reinserted flash drive, ran scan as requested, scan finished and everything fine. Cannot trivially reproduce.

Generally speaking, Upstream should not freak out in any circumstance. If I or anyone else sees this happen I will investigate further. Until then this will be a low priority.

HID input anonymization

Every now and then discussion surfaces about profiling users by characterizing their input actions. It would be cool if the USG could render this profiling ineffective, by de-randomizing keyboard and mouse inputs. Presumably by homogenizing keystroke timings, mouse velocity, etc.

Note that this is the opposite of the HID bot-detect feature currently under development.

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.