HaJ3FgupAm8RrDJW3MHgT9X7Ft27eVaD
  • markstos@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 months ago

    We are soon to find out if Flock blindly onboards random MAC addresses as new cameras.

    If so, it seems anyone with the hardcoded key can authenticate with Flock ask if they were a new camera.

    • muusemuuse@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      I wonder if that means you could “claim” a bunch of MAC addresses so you can block deployment of new or replacement flock cameras.

  • ɔiƚoxɘup@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 months ago

    If you think for about two seconds about the national security implications about this, this is extremely, extremely bad.

  • Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Quick question: what would be the correct way to handle this, security wise? How should they acquire their token if it isn’t present on-device?

    I mean, each device could have its own token, but you could still sniff it, maybe? I dunno.

    How should Flock have gone about this if working to their own self-interest?

    • m-p{3}@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      2 months ago

      One way would be to generate a unique private key on the secure element / TPM and its public key stored on the server for validation. Each API request would need to be signed with a relatively short expiration time. That way the code never contains sensitive content such as an API key, an exploited device only holds in RAM a signed certificate that is valid for a short period of time, and the certificate can be revoked/blocklisted on the server if compromised.

    • Dejected Warp Core@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      2 months ago

      Ethically? Expire the token since it’s compromised, and offer to refurbish all units in the field since flock screwed up, a now all customer data could be poisoned/suspect now.

      Realistically? Keep going like nothing happened an make it a customer support problem while pushing new hardened cameras that cost more. Because the product alone loudly flags Flock as a bunch of amoral greedy fuckwits.

      I won’t suggest ways to actually make their product bulletproof because I care and we don’t need to make this problem worse for everyone. It is a tantilizing problem space but there are never any perfect answers in security, only relatively better/worse ones.

        • msage@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          You give each camera its own token, and validate it with hardware ID.

          Even better, give them hardware token, that can sign, but does not leak its keys.

          In either way, you can ID the device, and block unsold and confirmed stolen/damaged ones. And never accept traffic from anything else.

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        O… Kay, I’m just trying to expand my knowledge about this particular case. I’m mostly a web dev but I’m trying to expand into security a little bit as well because I think that’s important for my field. It just wasn’t a part of my curriculum at uni 10–20 years ago.