News for hackers. Stuff that matters.
Re:What is the point of a public key fingerprint? by naitgacem on Saturday December 16, 2023 @01:42PM (#38666650)
The first time I got on a telegram call using their Android client, the call had a string of 4 emojis and said something along the lines of "if you and the other person see the same emojis, this call is secure". I thought that was pretty neat!
Re:What is the point of a public key fingerprint? by pndy on Saturday December 16, 2023 @02:04PM (#38666828)
Matrix clients use similar way to verify login sessions
Re:What is the point of a public key fingerprint? by llamaInSouth on Sunday December 17, 2023 @04:52AM (#38671701)
but they only show a green check-mark... not sure how it works
Re:What is the point of a public key fingerprint? by spencerchubb on Saturday December 16, 2023 @02:38PM (#38667065)
How would you know what emojis the other person is seeing?
Re:What is the point of a public key fingerprint? by anamexis on Saturday December 16, 2023 @02:39PM (#38667076)
By asking them
Re:What is the point of a public key fingerprint? by 0xDEAFBEAD on Saturday December 16, 2023 @02:43PM (#38667102)
I think you'd need to do it out of band though, otherwise you're vulnerable to MITM? (That's the primary attack this is meant to protect against, I think?)
Re:What is the point of a public key fingerprint? by wombatpm on Saturday December 16, 2023 @04:36PM (#38667931)
There are four emojis. I reveal the first 1, they reveal the 2 nd, etc. how many rounds of exchange do you need to happen to be safe?
Re:What is the point of a public key fingerprint? by 418tpot on Saturday December 16, 2023 @11:39PM (#38670361)
If the process you just described was actually secure then the computers could verify on its own. The problem is with an active mitm attack the attacker knows both sets of emojis and can modify the messages to both parties to look like they recieved the correct ones.
Re:What is the point of a public key fingerprint? by drdaeman on Saturday December 16, 2023 @02:59PM (#38667196)
Depends on your threat analysis. If you're not considering an active attacker who has an ability to seamlessly fake voice and/or face to be a realistic attack scenario (e.g. you're guarding against mass surveillance, but not a prepared targeted attack - i.e. you don't find it plausible that someone has prepared actors - human or machine - with quality deepfakes made specially for you and your peer) and you know the other party personally, you can verify in-band, relying on natural biometrics aka your knowledge of one's voice and face. If you do - certainly the verification must be done out-of-band.
Re:What is the point of a public key fingerprint? by throwaway092323 on Saturday December 16, 2023 @04:49PM (#38668052)
I can't imagine what it would be like to actually have to deal with the scenario you described.
Re:What is the point of a public key fingerprint? by 0xDEAFBEAD on Saturday December 16, 2023 @07:07PM (#38669070)
Customized deepfake attacks are definitely happening:

https://www.npr.org/2023/03/22/1165448073/voice-clones-ai-sc...

https://www.forbes.com/sites/thomasbrewster/2021/10/14/huge-...

My thinking is, you might as well get in the habit of defending yourself now. The alternative is to monitor how widespread the attack is and only adjust your policy once it becomes "sufficiently" widespread. But I don't think that's even a labor savings, since defending yourself isn't actually that hard.

Re:What is the point of a public key fingerprint? by tjoff on Saturday December 16, 2023 @02:58PM (#38667187)
The man in the middle would need to spoof the voice (with current microphone+environment etc.) in ~real time, probably both parties as well. And with the awareness to detect which words to replace in the middle of a normal conversation.

With the demos we've seen feels absolutely doable, but for now requires quite some effort.

Re:What is the point of a public key fingerprint? by 0xDEAFBEAD on Saturday December 16, 2023 @03:11PM (#38667271)
You're talking about an attacker who wants to tamper with communication. Eavesdropping is far easier. [I agree you'll want deepfakes if you want your MITM eavesdropping to handle emoji codes, for mass surveillance at least.]

But even tampering seems pretty easy if the attacker has a more modest objective, of having you and your buddy each talking to one of the attacker's henchmen using voice changers. The emoji verification won't help here -- each henchman just gives the emoji for their respective conversation.

Re:What is the point of a public key fingerprint? by tjoff on Saturday December 16, 2023 @03:30PM (#38667410)
Yes the whole point was how you'd have to deal with the emojis.

I feel it is implied that the latency is low enough (a few 100s of ms) to not impede the conversation, and that the parties have talked before and would notice if the tone of the conversation was completely different. Or maybe I'm misunderstanding.

Re:What is the point of a public key fingerprint? by 0xDEAFBEAD on Saturday December 16, 2023 @03:49PM (#38667528)
Yeah that seems right. I guess an attacker could tamper with the call early on, say "hey what are your emojis?" as soon as the call starts. Deepfaked voices and 2 henchmen should be sufficient here, no need for real-time audio rewriting. Then once the emojis have been verified, switch to a pure-eavesdrop MITM.

To defend, could ask to verify emojis at a random point in the middle of the call to make the attacker's life more difficult. Especially right before discussing sensitive information ;-)

Or drip verify over the course of the call, e.g. "what's your 3rd emoji?", and listen for signs of an attacker cutting in and out.

Re:What is the point of a public key fingerprint? by kevindamm on Saturday December 16, 2023 @07:04PM (#38669055)
This is when multifactor includes "what you know they know about you" and specialized in-group slang is the real mark of credit.
Re:What is the point of a public key fingerprint? by 0xDEAFBEAD on Saturday December 16, 2023 @07:09PM (#38669086)
That doesn't help in a hypothetical where the attacker is doing a passive audio-forwarding ("pure eavesdrop") MITM for everything except emoji verification.
Re:What is the point of a public key fingerprint? by theamk on Saturday December 16, 2023 @02:56PM (#38667181)
if this is voice chat, in-band might be good enough. There is no technology (yet?) which can real-time recognize spoken emoji description like "weird cucumber with mouth.. wait I think its an alligator or maybe even a crocodile?" and then retroactively replace it with a different one while keeping the timing correct.
Re:What is the point of a public key fingerprint? by webappguy on Saturday December 16, 2023 @02:48PM (#38667133)
OLVID App by the French Government asks users to swap a 4 digit PIN. App is great for OpSec check it out.
Re:What is the point of a public key fingerprint? by FoeNyx on Sunday December 17, 2023 @08:14AM (#38672640)
> OLVID App by the French Government

Recently the French Government required its members to use it, but it's made by a French startup, AFAIK.

Re:What is the point of a public key fingerprint? by jonhohle on Saturday December 16, 2023 @01:46PM (#38666680)
If you see the same emojis as others, this comment is secure: <HN doesn’t support emoji>
Re:What is the point of a public key fingerprint? by CharlesW on Saturday December 16, 2023 @02:02PM (#38666814)
(╯°□°)╯︵ ┻━┻
Re:What is the point of a public key fingerprint? by lucb1e on Saturday December 16, 2023 @10:42PM (#38670147)
In case anyone doesn't know: these code points are legit (Japanese) characters, whereas so-called emojis are a range of code points specifically for graphics. That's why I imagine HN software allows this to be posted even though emoji code points are removed
Re:What is the point of a public key fingerprint? by CharlesW on Saturday December 16, 2023 @11:40PM (#38670366)
I've informally referred to this as "ASCIImoji", but TIL that its proper name is "Kaomoji": https://en.wikipedia.org/wiki/Kaomoji
Re:What is the point of a public key fingerprint? by NooneAtAll3 on Sunday December 17, 2023 @07:09AM (#38672322)
these were called emoticons for forever

https://en.wikipedia.org/wiki/Emoticon

Re:What is the point of a public key fingerprint? by FoeNyx on Sunday December 17, 2023 @08:24AM (#38672686)
Aren't kaomoji a subset of emoticons? most western old emoticons are turned 90° CCW, whereas kaomoji are mostly horizontal and often using CJK characters.
Re:What is the point of a public key fingerprint? by hunter2_ on Sunday December 17, 2023 @10:52AM (#38673631)
I've understood a subset of those, but apparently I've totally misunderstood this bit:

> The emphasis on the eyes in this style is reflected in the common usage of emoticons that use only the eyes, e.g. ^^

I always interpreted "^^" as equivalent to "this" or "ditto" -- arrows pointing at the immediately prior message. In hindsight, it could just as easily have been happy eyes!

Re:What is the point of a public key fingerprint? by lucb1e on Sunday December 17, 2023 @10:30PM (#38678946)
> I always interpreted "^^" as equivalent to "this" or "ditto" -- arrows pointing at the immediately prior message.

That's... a good thing to be aware of as a heavy ^^ user myself! Thanks for sharing

Re:What is the point of a public key fingerprint? by csdvrx on Saturday December 16, 2023 @02:10PM (#38666870)
I don't get it. Can you explain me why it is, and what the emojis represent?

Do you have the projection of some binary string in the unicode emoji space? (then you'd need to chunk it and possibly use many emojis)

Re:What is the point of a public key fingerprint? by progval on Saturday December 16, 2023 @02:13PM (#38666896)
I don't know about Telegram, but it is indeed how Matrix does it. Here is the encoding they use: https://spec.matrix.org/v1.8/client-server-api/#sas-method-e...
Re:What is the point of a public key fingerprint? by csdvrx on Saturday December 16, 2023 @02:22PM (#38666962)
I read https://spec.matrix.org/v1.8/client-server-api/#sas-hkdf-cal...

So is it the representation in emojis of a server controlled shared secret?

That'd make 2 clients talking to eachother through the server vulnerable to tampering at the server level (ex:MITM)

Shouldn't the 2 clients not involve the server for the secret? This would require each of them being able to access the other public key fingerprint without trusting what the server says. But if they see eachother fingerprint projected into the unicode emoji space, they would see different emojis.

I think I may be missing something obvious. I just don't understand this trick.

Re:What is the point of a public key fingerprint? by Arathorn on Saturday December 16, 2023 @02:49PM (#38667139)
It’s not a server controlled secret; it’s a MAC of a shared secret negotiated via ECDH between the two clients. Diffie Hellman ftw. See https://www.uhoreg.ca/blog/20190514-1146
Re:What is the point of a public key fingerprint? by bloopernova on Saturday December 16, 2023 @02:48PM (#38667134)
As far as I know, if the 2 clients talk directly, their IP addresses are exposed to each other.
Re:What is the point of a public key fingerprint? by cbm-vic-20 on Saturday December 16, 2023 @05:53PM (#38668545)
So, 64 symbols. That same amount of information could be conveyed with lowercase letters, uppercase letters, digits, and two additional symbols, just like Base64. That seems a lot more straightforward than trying to interpret what each emoji represents. To my old eyes, a lot of the chosen animal emojis look really similar. Or take symbol 34 for example, listed there as "spanner" (wrench). Unless I zoom in pretty far, that one looks like a diagonal line.
Re:What is the point of a public key fingerprint? by vecter on Saturday December 16, 2023 @02:13PM (#38666888)
It's just a fingerprint for their chat. It's almost the same as a random four-letter code to verify that you're both seeing the ame thing.
Re:What is the point of a public key fingerprint? by stavros on Saturday December 16, 2023 @02:33PM (#38667035)
This is for calls, not chat. It's probably ZRTP (hash commitment) with emojis instead of letters.
Re:What is the point of a public key fingerprint? by sgjohnson on Saturday December 16, 2023 @02:14PM (#38666899)
Essentially, the fingerprint.

Emojis take up 32 bits each. So 4 emojis would be 128 bits.

Of course, this doesn't account for all the 4 byte unicode combos that don't result in an emoji, but still.

Re:What is the point of a public key fingerprint? by fsckboy on Saturday December 16, 2023 @07:57PM (#38669372)
if you and the other person see the same emojis, this call is secure.

sincerely,

the man in the middle

ps confirming this out of band will not add to your security