SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Snake Oil
Nationalism
Conclusion
Cryptography for Software and Web Developers
Part 5: Don’t believe the crypto hype
Hanno B¨ock
2014-05-28
1 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
The NSA scandal was the biggest boost for snake oil crypto of
all time
Threema, Telegram, Cryptocat, whistle.im, chiffry, tutanota,
myEnigma, Hike, Kontalk, ...
2 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
At the moment a lot of people will try to sell you the latest
easy-to-use super-secure crypto solution
In most cases these should not be considered trustworthy
3 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
Telegram has a contest: They’ll pay you $ 200.000 if you can
decrypt their sample messages
Sounds good, right?
But it only applies to passive attacks. No sidechannels,
authentication issues, software bugs like buffer overflows,
known-plaintext-attacks, ...
Moxie Marlinspike challenged the Telegram developers with a
similar contest by defining a completely insecure protocol.
They haven’t responded.
4 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
Threema is proprietary
But they provide a ”validation” feature: App can log data
packages and a small tool that’s available in source form can
verify if that’s really the message encrypted with the
corresponding private key
How do you know if the logged package is the same that was
sent?
How do you know they don’t embed secret data in the nonce?
You just don’t. The whole Threema validation is a scam.
5 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
We really could need some better crypto message systems
Some people will tell you: ”What’s the matter, we have PGP
and Jabber with OTR, that’s all you need”
Except that they’re mostly unusable for normal users and have
tons of strange properties
PGP doesn’t encrypt the Subject, has two modes where only
one protects certain metadata, doesn’t provide forward secrecy
OTR only works if your communication partner is online, else
it will be unencrypted
6 / 10
Snake Oil
Nationalism
Conclusion
New fancy crypto tool
Example Telegram
Example Threema
The problem
What’s good?
From everything I’ve seen lately there are only two systems I
find interesting: Pond and Textsecure
Free software, source available
Well documented strong crypto technologies that seem to
make sense
Created by people who know a lot about crypto
7 / 10
Snake Oil
Nationalism
Conclusion
I find it hard to believe, but this is a real problem
”E-Mail Made in Germany”,”SecurITy made in Germany /
TeleTrusT” etc.
Peter Tauber (member of german parliament, CDU) wants
german encryption
Recently got a mail proposing a secure chat and phone system
that uses ”german elliptic curves with 512 bit”. (I assume
they mean the Brainpool curves, however Brainpool has no
curve with 512 bit)
”Don’t use AES, it’s a US-standard from the NSA” - except
that it has been created by researchers from Belgium
8 / 10
Snake Oil
Nationalism
Conclusion
Crypto is good when it has been created in a trustworthy
process
It doesn’t matter what kind of passport the researcher /
developer creating the system has
And finally: Be aware that Germany does not have a lot of
high profile cryptographers.
9 / 10
Snake Oil
Nationalism
Conclusion
Some reasonable questions you may ask:
”Crypto is hard. Do you have a crypto expert in your
development team or has your software been reviewed by a
crypto expert?”
”Can I see the tecchnical details of the protocol?”
”Can I see the source code?”
If the answer to any of these is ”No” just ignore it
10 / 10
Snake Oil
Nationalism
Conclusion
TextSecure https://whispersystems.org/
Pond https://pond.imperialviolet.org/
11 / 10

Contenu connexe

Plus de hannob

How broken is TLS?
How broken is TLS?How broken is TLS?
How broken is TLS?hannob
 
Papierlos
PapierlosPapierlos
Papierloshannob
 
Gehackte Webapplikationen und Malware
Gehackte Webapplikationen und MalwareGehackte Webapplikationen und Malware
Gehackte Webapplikationen und Malwarehannob
 
SSL, X.509, HTTPS - How to configure your HTTPS server
SSL, X.509, HTTPS - How to configure your HTTPS serverSSL, X.509, HTTPS - How to configure your HTTPS server
SSL, X.509, HTTPS - How to configure your HTTPS serverhannob
 
Stromsparen
StromsparenStromsparen
Stromsparenhannob
 
Wirtschaftswachstum, klimawandel und Peak Oil
Wirtschaftswachstum, klimawandel und Peak OilWirtschaftswachstum, klimawandel und Peak Oil
Wirtschaftswachstum, klimawandel und Peak Oilhannob
 

Plus de hannob (6)

How broken is TLS?
How broken is TLS?How broken is TLS?
How broken is TLS?
 
Papierlos
PapierlosPapierlos
Papierlos
 
Gehackte Webapplikationen und Malware
Gehackte Webapplikationen und MalwareGehackte Webapplikationen und Malware
Gehackte Webapplikationen und Malware
 
SSL, X.509, HTTPS - How to configure your HTTPS server
SSL, X.509, HTTPS - How to configure your HTTPS serverSSL, X.509, HTTPS - How to configure your HTTPS server
SSL, X.509, HTTPS - How to configure your HTTPS server
 
Stromsparen
StromsparenStromsparen
Stromsparen
 
Wirtschaftswachstum, klimawandel und Peak Oil
Wirtschaftswachstum, klimawandel und Peak OilWirtschaftswachstum, klimawandel und Peak Oil
Wirtschaftswachstum, klimawandel und Peak Oil
 

Dernier

Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 

Dernier (20)

Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 

Crypto workshop 5 - Don't believe the crypto hype

  • 1. Snake Oil Nationalism Conclusion Cryptography for Software and Web Developers Part 5: Don’t believe the crypto hype Hanno B¨ock 2014-05-28 1 / 10
  • 2. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? The NSA scandal was the biggest boost for snake oil crypto of all time Threema, Telegram, Cryptocat, whistle.im, chiffry, tutanota, myEnigma, Hike, Kontalk, ... 2 / 10
  • 3. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? At the moment a lot of people will try to sell you the latest easy-to-use super-secure crypto solution In most cases these should not be considered trustworthy 3 / 10
  • 4. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? Telegram has a contest: They’ll pay you $ 200.000 if you can decrypt their sample messages Sounds good, right? But it only applies to passive attacks. No sidechannels, authentication issues, software bugs like buffer overflows, known-plaintext-attacks, ... Moxie Marlinspike challenged the Telegram developers with a similar contest by defining a completely insecure protocol. They haven’t responded. 4 / 10
  • 5. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? Threema is proprietary But they provide a ”validation” feature: App can log data packages and a small tool that’s available in source form can verify if that’s really the message encrypted with the corresponding private key How do you know if the logged package is the same that was sent? How do you know they don’t embed secret data in the nonce? You just don’t. The whole Threema validation is a scam. 5 / 10
  • 6. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? We really could need some better crypto message systems Some people will tell you: ”What’s the matter, we have PGP and Jabber with OTR, that’s all you need” Except that they’re mostly unusable for normal users and have tons of strange properties PGP doesn’t encrypt the Subject, has two modes where only one protects certain metadata, doesn’t provide forward secrecy OTR only works if your communication partner is online, else it will be unencrypted 6 / 10
  • 7. Snake Oil Nationalism Conclusion New fancy crypto tool Example Telegram Example Threema The problem What’s good? From everything I’ve seen lately there are only two systems I find interesting: Pond and Textsecure Free software, source available Well documented strong crypto technologies that seem to make sense Created by people who know a lot about crypto 7 / 10
  • 8. Snake Oil Nationalism Conclusion I find it hard to believe, but this is a real problem ”E-Mail Made in Germany”,”SecurITy made in Germany / TeleTrusT” etc. Peter Tauber (member of german parliament, CDU) wants german encryption Recently got a mail proposing a secure chat and phone system that uses ”german elliptic curves with 512 bit”. (I assume they mean the Brainpool curves, however Brainpool has no curve with 512 bit) ”Don’t use AES, it’s a US-standard from the NSA” - except that it has been created by researchers from Belgium 8 / 10
  • 9. Snake Oil Nationalism Conclusion Crypto is good when it has been created in a trustworthy process It doesn’t matter what kind of passport the researcher / developer creating the system has And finally: Be aware that Germany does not have a lot of high profile cryptographers. 9 / 10
  • 10. Snake Oil Nationalism Conclusion Some reasonable questions you may ask: ”Crypto is hard. Do you have a crypto expert in your development team or has your software been reviewed by a crypto expert?” ”Can I see the tecchnical details of the protocol?” ”Can I see the source code?” If the answer to any of these is ”No” just ignore it 10 / 10