• IceFoxX@lemm.ee
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    2 years ago

    So i think 29 undocumented commands are far too many for a mistake…

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      40
      ·
      2 years ago

      Maybe, maybe not. Keep in mind that opcodes are the lowest-level part of the programming stack. They’re literally just integers transmitted on the system bus. So if you’ve got, for example, 35 operations that you’re actually trying to implement, you need 2n ≥ 35 or n = 6 signal lines in your bus to transmit it. But since 26 = 64, that means it’s possible to put another 29 values on that 6-bit bus, with completely undefined behavior unless you go out of your way to handle them in the instruction decoder (increasing the size and therefore cost of your silicon, which is very undesirable in an embedded chip that sells for less than $1).

      It is not at all implausible for one of those undefined instructions to just happen to do something that an attacker would find useful, by sheer coincidence.

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      i gather that’s why they’re referring to the discovery as a ‘backdoor’

  • Optional@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    2 years ago

    Tarlogic developed a new C-based USB Bluetooth driver that is hardware-independent and cross-platform, allowing direct access to the hardware without relying on OS-specific APIs.

    Armed with this new tool, which enables raw access to Bluetooth traffic, Targolic discovered hidden vendor-specific commands (Opcode 0x3F) in the ESP32 Bluetooth firmware that allow low-level control over Bluetooth functions.

    Badass.

  • burgersc12@mander.xyz
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    2 years ago

    I am conflicted on the one hand its a great thing we know about the exploit. The problem is, now everyone knows about it, seems like they’ve documented exactly how to do it for anyone who didn’t already know how…

    • WhyYesZoidberg@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 years ago

      That’s how it goes with all security vulnerabilities. IMHO sunlight is the best disinfectant for stuff like this. But yeah, it can cause some chaos.

    • K0W4L5K1@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years ago

      Better to have it out in the open then being used by sneaky nefarious types without anyone else knowing imo