this post was submitted on 17 Sep 2026
202 points (99.5% liked)

Cybersecurity

10607 readers
48 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities !databreaches@lemmy.zip !netsec@lemmy.world !securitynews@infosec.pub !cybersecurity@infosec.pub !pulse_of_truth@infosec.pub

Notable mention to !cybersecuritymemes@lemmy.world

founded 3 years ago
MODERATORS
 
HaJ3FgupAm8RrDJW3MHgT9X7Ft27eVaD
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (4 children)

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?

[–] dejected_warp_core@lemmy.world 17 points 1 week ago (1 children)

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.

[–] victorz@lemmy.world 7 points 1 week ago (1 children)

Oh, I don't mean afterwards. I meant before it even happened.

[–] msage@programming.dev 3 points 1 week 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.

[–] mp3@lemmy.ca 12 points 1 week ago* (last edited 1 week 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.

[–] kibiz0r@midwest.social 7 points 1 week ago (1 children)

Unique private key per device, pre-provisioned certificate at manufacturing time, hardware-level separation of crypto operations so sensitive creds are never in memory.

It’s a bit more expensive to manufacture, in terms of BOM and logistics. And then you have a lot more complexity to your production system too.

[–] victorz@lemmy.world 1 points 1 week ago (1 children)

Is it possible to have several private keys per singleton public key?

[–] multiplemigs@sh.itjust.works -1 points 1 week ago (1 children)

y'all just givin the work away huh? don't answer this unless you are getting paid.

[–] victorz@lemmy.world 2 points 1 week ago (1 children)

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.

[–] multiplemigs@sh.itjust.works 2 points 1 week ago

i was mostly joking 🙃 sorry if it came across as rude