• @grue
      link
      English
      42
      edit-2
      1 day 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.

      • Caveman
        link
        English
        31 day ago

        Couldn’t they just designate them as no-op codes?

        • @[email protected]
          link
          fedilink
          English
          131 day ago

          Yes, but to do that they have to be decoded and handled. That’s basically what the commenter above was saying.

          The original 6502 had many undocumented opcodes for this reason, and developers stated exploiting them for various reasons. The CMOS 65C02 redefined them to no-op. This has been going on a long time.

      • sunzu2
        link
        fedilink
        11 day ago

        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.

        It amazing how there is an endless supply of these “coincidence”

        • @grue
          link
          English
          271 day ago

          Well, yeah. That’s because it’s inherent to how CPUs work. Every single CPU on the planet has undefined opcodes, unless the number of defined ones just happens to be a power of two.

    • Higgs boson
      link
      fedilink
      English
      10
      edit-2
      1 day ago

      Probably why Android and apps are constantly asking me to turn on Bluetooth when I dont want or need it.

      Not that this chip is in my phone, but it begins to seem like a pattern.

          • @[email protected]
            link
            fedilink
            English
            2
            edit-2
            21 hours ago

            You lucky nexus owner. I wish GrapheneOS could be flashed on more smartphones. Yeah so that definitely reads like the feature that bouncer provides and if that’s anchored at the system level the Graphene solution is guaranteed to be better too. Either way, it offers a lot of good functions that you can’t simply make available on another Android via root.

            Edit: I also forgot that Bouncer needs root to be fully functional.

    • sunzu2
      link
      fedilink
      -11 day ago

      why do you think both android and ios always trying to keep BT turned on?

      • osaerisxero
        link
        fedilink
        41 day ago

        For android, location services doesn’t work properly without Bluetooth on, so that could be related

        • sunzu2
          link
          fedilink
          21 day ago

          I know BT will help location services, I am not sure what you mean will not work properly?

          It won’t pin location quick enough?

          • osaerisxero
            link
            fedilink
            21 day ago

            Iirc, precise location queries don’t return values without the BT radio enabled. Works the other way too, the app needs location permission to discover bt devices in proximity and location must be enabled at the system level.

      • @[email protected]
        link
        fedilink
        English
        -11 day ago

        step 1 Tracking and profilling step 2 selling data step 3 profit

        Android and ios use completely different methods. For example, they listen to frequencies that are inaudible to us and, for example, TV advertising plays an inaudible sound as a trigger for Android/IOs in addition to the audible sound. To impose targeted advertising in order to allocate devices even without a network, etc. They wouldn’t actually need backdoors as they get more than enough information as it is. But I don’t want to imply that I don’t expect backdoors there, because this has been proven in any case and often enough.

  • Fermiverse
    link
    fedilink
    411 day ago

    This is really bad as most cheap IOT devices using this chip will not receive an update all.

    Would like to see a smartphone app testing this out via bluetooth so we could do some damage control at least and take them offline.

    • @[email protected]
      link
      fedilink
      English
      41 day ago

      Am I misunderstanding the article? It seemed to imply remote intrusion required either Bluetooth proximity, or physical USB access.

      • Fermiverse
        link
        fedilink
        131 day ago

        Correct, but as bluetooth is possible over a certain range, “drive by attacks” might be possible.

      • The_Decryptor
        link
        fedilink
        English
        21 day ago

        The “attack” is from the host side, any remote attack is theoretical and would depend on exploiting the software on the host first to then gain access to the BT chip.

  • Optional
    link
    English
    141 day 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
    link
    fedilink
    English
    7
    edit-2
    1 day 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
      link
      English
      211 day 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
      link
      fedilink
      English
      151 day ago

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

  • @Sheldan
    link
    English
    51 day ago

    In comparison to the 20 documented ones

  • @fartsparkles
    link
    English
    41 day ago

    What devices use this chip? Has it been enumerated anywhere?

    • @[email protected]
      link
      fedilink
      English
      8
      edit-2
      1 day ago

      In addition to what others have said, ESP32 is often used by hobbyists, like a more powerful Arduino. These devices are extremely versatile and cheap. I have several of these in my home automation and this is very bad news :(

    • burgersc12
      link
      fedilink
      English
      21 day ago

      There’s a billion, gonna be a long list… I’d do some research on your devices and see if any of them use the esp32