19
April, 2016 When Crypto Fails Can we actually break AES? Shay Zalalichin, Palantir Security LTD, Founder and CEO, Head of HPSW Security Lab

When Crypto Fails - OWASP · 2016. 4. 12. · When Crypto Fails Can we actually break AES? Shay Zalalichin, Palantir Security LTD, Founder and CEO, Head of HPSW Security Lab. When

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

  • April, 2016

    When Crypto FailsCan we actually break AES?

    Shay Zalalichin, Palantir Security LTD, Founder and CEO,Head of HPSW Security Lab

  • When Crypto Fails

    2

  • Regulation vs. Security

    3

  • The Security Myth

    “AES/CBC/PKCS7 and

    Decent Key Management

    will do the job”

    4

  • Problem #1 – Cryptography is Complex

    5

  • Short Survey (Vote Yes or No)

    • Mode of Operation

    • ECB

    • CBC

    • CTR

    • OFB

    • CFB

    • GCM

    • CCM

    • AE/AEAD

    6

  • ECB vs. CBC

    7

  • Why ECB is Bad

    8

  • Spot the Problem

    9

  • How CBC Works

    10

  • So, is CBC Secure?

    11

    A. Yes

    B. No

    C. It Depends

    D. Other

  • So, is CBC Secure?

    12

  • Let’s Have a Closer Look on CBC

    13

  • So, Is CBC Secure??

    CPA Secure

    Vs.

    CCA Secure

    14

  • Quick XOR Recap

    15

  • Let’s Have (again) a Closer Look on CBC

    16

    Spot the problem …

  • Demo Time

    17

  • Time For Conclusions

    • Cryptography is a complex subject

    • Never assume that strong crypto is the solution to all the world’s problems

    • Know what are you trying to solve

    • Know what you are doing

    • Pay attention to the little details

    • Use Authenticated Encryption whenever Integrity is needed (e.g. GCM)

    • Never, but never try to re-invent the wheel

    18

  • Thank youQuestions?

    19