Micah Lee: Hard-coded API token that Flock cameras use to identify themselves and get OAuth credentials, which can then be used to talk to Flock's production servers.

a month ago by m-p{3} to c/cybersecurity

HaJ3FgupAm8RrDJW3MHgT9X7Ft27eVaD What is that? That's a hard-coded API token that Flock cameras use to identify themselves and get OAuth credentials, which can then be used to talk to Flock's production servers. Like, anyone on the internet can probably do this right now.
HaJ3FgupAm8RrDJW3MHgT9X7Ft27eVaD
faebudo 51 points a month ago

They are always very specific when saying that Flock cameras do not do face recognition. Because stated like this it's true. The face recognition doesn't happen on the camera (also not license plate reading etc.) instead photos are sent to central servers where they do the license plate reading and face recognition.

path: 0 25877513, hotness: undefined, score: 51, children: 0
Redvenom 34 points a month ago

Just a random string of characters:

HaJ3FgupAm8RrDJW3MHgT9X7Ft27eVaD

path: 0 25878411, hotness: undefined, score: 34, children: 1
victorz 12 points a month ago

Is that the token?

Ah yes, yes it is.

path: 0 25878411 25878796, hotness: undefined, score: 12, children: 0
markstos 26 points a month 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.

path: 0 25882754, hotness: undefined, score: 26, children: 6
muusemuuse 9 points a month 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.

path: 0 25882754 25897767, hotness: undefined, score: 9, children: 0
p03locke 8 points a month ago

And it doesn't have to be a camera. It can just be a random set of images.

path: 0 25882754 25890816, hotness: undefined, score: 8, children: 4
yakko 7 points a month ago

It can be

Gasp

Can it pretend to be information about me, but then instead it's all butt holes?

path: 0 25882754 25890816 25896957, hotness: undefined, score: 7, children: 3
Quexotic 5 points a month ago

¿Porque no los dos?

path: 0 25882754 25890816 25896957 25897823, hotness: undefined, score: 5, children: 2
yakko 5 points a month ago

Because mine is secretive 😶

path: 0 25882754 25890816 25896957 25897823 25898004, hotness: undefined, score: 5, children: 1
ilovededyoupiggy 24 points a month ago

I'm going to go as a functional Flock camera for Halloween.

path: 0 25891393, hotness: undefined, score: 24, children: 4
adarza 6 points a month ago

don't look surprised when someone in a hockey mask cuts your legs off at the knees with a chainsaw.

path: 0 25891393 25903240, hotness: undefined, score: 6, children: 0
01189998819991197253 5 points a month ago

🎶 When you get knocked down, don't you get up again. We're all trying to keep you down.

path: 0 25891393 25901538, hotness: undefined, score: 5, children: 0
mp3 4 points a month ago

damn that's good

path: 0 25891393 25891529, hotness: undefined, score: 4, children: 0
modus 3 points a month ago

So you're wearing Meta glasses?

path: 0 25891393 25906488, hotness: undefined, score: 3, children: 0
wyldrstallyns 23 points a month ago

Get it, freedom fighters! 🤘🏼✊🏼

path: 0 25877034, hotness: undefined, score: 23, children: 0
Quexotic 21 points a month ago

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

path: 0 25897828, hotness: undefined, score: 21, children: 4
Cethin 6 points a month ago

You're right, but Flock (and all of these cameras) is bad for the liberty of the people, so this is good. Any time a national security threat is found, it shakes the trust in these systems, so they're less likely to be trusted again.

path: 0 25897828 25903094, hotness: undefined, score: 6, children: 3
Quexotic 5 points a month ago

The worst thing is that this isn't exactly new. The house heard about the vulnerabilities of this system in May.

https://www.youtube.com/watch?v=VKSjlZ6xyDo

Unfortunately, we're in such a state of plutocracy and regulatory capture that even stating how big of a national security risk they are did not make any movement until now.

path: 0 25897828 25903094 25906218, hotness: undefined, score: 5, children: 2
p03locke 2 points 24 days ago

In other words, it only makes movement when the general public finds out and starts sabotaging their cameras?

path: 0 25897828 25903094 25906218 25939522, hotness: undefined, score: 2, children: 1
Quexotic 1 point 20 days ago

The damage really just amounts to insignificant outliers. There's so many cameras that the vandalized ones only make up a statistically insignificant portion.

At the moment, I believe the actual movement is coming from the ground up, grassroots movements that are going to their town halls and telling their representatives that they want these cameras the fuck out of their cities, and it seems to be working, at least somewhat.

I'd be lying though if I didn't feel some kind of justice and satisfaction every time I see that one dude in Florida carrying around a camera.

path: 0 25897828 25903094 25906218 25939522 26016369, hotness: undefined, score: 1, children: 0
jtrek 17 points a month ago

I wonder if this was a form of sabotage by an engineer, or regular incompetence

path: 0 25878321, hotness: undefined, score: 17, children: 2
ComradePenguin 7 points a month ago

I'd like to live in a world in which the former is the case, but as an engineer I have seen some shit

path: 0 25878321 25898419, hotness: undefined, score: 7, children: 0
leftzero 7 points a month ago

Hanlon's razor:

Never attribute to malice that which is adequately explained by stupidity.

But, also, Grey's law:

Any sufficiently advanced incompetence is indistinguishable from malice.

path: 0 25878321 25898459, hotness: undefined, score: 7, children: 0
derry 17 points a month ago

Keeps getting better

path: 0 25878519, hotness: undefined, score: 17, children: 0
moldy_rice 12 points a month ago

Why are you linking to bluesky instead of his article?

path: 0 25891855, hotness: undefined, score: 12, children: 0
lka1988 5 points a month ago

Lmao

path: 0 25878156, hotness: undefined, score: 5, children: 0
victorz 3 points a month 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?

path: 0 25878842, hotness: undefined, score: 3, children: 10
dejected_warp_core 18 points a month 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.

path: 0 25878842 25879157, hotness: undefined, score: 18, children: 2
victorz 7 points a month ago

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

path: 0 25878842 25879157 25886015, hotness: undefined, score: 7, children: 1
msage 3 points a month 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.

path: 0 25878842 25879157 25886015 25910066, hotness: undefined, score: 3, children: 0
mp3 12 points a month 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.

path: 0 25878842 25882635, hotness: undefined, score: 12, children: 0
kibiz0r 7 points a month ago

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.

path: 0 25878842 25882319, hotness: undefined, score: 7, children: 2
victorz 1 point a month ago

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

path: 0 25878842 25882319 25894652, hotness: undefined, score: 1, children: 1
kibiz0r 2 points a month ago

No.

path: 0 25878842 25882319 25894652 25901831, hotness: undefined, score: 2, children: 0
multiplemigs -1 points a month ago

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

path: 0 25878842 25896721, hotness: undefined, score: -1, children: 2
victorz 2 points a month 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.

path: 0 25878842 25896721 25898420, hotness: undefined, score: 2, children: 1
multiplemigs 2 points a month ago

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

path: 0 25878842 25896721 25898420 25899444, hotness: undefined, score: 2, children: 0
cybersecurity
cybersecurity

@sh.itjust.works

login for more options
10667
5793
1071

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

  • Be respectful. Everyone should feel welcome here.
  • No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia.
  • No Ads / Spamming.
  • No pornography.

Community Rules

  • Idk, keep it semi-professional?
  • Nothing illegal. We're all ethical here.
  • Rules will be added/redefined as necessary.

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

go to feed...