How can you attack an ECB cipher? [Capture The Flag Fundamentals]

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 15

  • @247CTF
    @247CTF  4 ปีที่แล้ว +5

    🔂🔂🔂 So.. did you watch the other video or not?? 🔂🔂🔂

  • @Darkshadows9776
    @Darkshadows9776 2 ปีที่แล้ว +3

    Thanks for getting me thinking. While my CTF problem ended up being a CBC-based encryption algorithm and I needed a bit-flipping attack, this got the head-gears turning properly to reach that solution.
    Probably the best explanation of an ECB attack I could find, very well laid out.

    • @247CTF
      @247CTF  2 ปีที่แล้ว

      Awesome, nice work!

  • @CypElf
    @CypElf 3 ปีที่แล้ว +1

    Thank you for your very clear explanations!

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      No worries, keep coming back!

  • @fatcatgaming695
    @fatcatgaming695 4 ปีที่แล้ว +2

    fantastic explanation, thanks

    • @247CTF
      @247CTF  4 ปีที่แล้ว

      Glad it was helpful!

  • @stepanbazrov6330
    @stepanbazrov6330 4 ปีที่แล้ว +1

    6:37 Why first block is "aabcdefghijklmno", instead of "aabcdefghijklmn"? If size of cipher changed, when I added "o", does not it mean, that "o" is in the second block?

    • @247CTF
      @247CTF  4 ปีที่แล้ว +2

      With the padding scheme, you always need to have padding. If the input is the size of a block, the last block will just be full of padding bytes.

    • @stepanbazrov6330
      @stepanbazrov6330 4 ปีที่แล้ว

      @@247CTF Weird, it's wasting of memory :D

    • @247CTF
      @247CTF  4 ปีที่แล้ว +1

      Without it, how can you know if you're removing padding or data :)

    • @stepanbazrov6330
      @stepanbazrov6330 4 ปีที่แล้ว

      When do I need to remove something?

    • @johnvriezen4696
      @johnvriezen4696 ปีที่แล้ว

      With padding mode you always need to remove something. Between 1 and 16 bytes.

  • @Jojo_clowning
    @Jojo_clowning 2 ปีที่แล้ว

    Thanks for explanation, my challenger made it double encrypted, so now i have 10 trillion tries to bruteforce the plain

    • @247CTF
      @247CTF  2 ปีที่แล้ว

      Damn, did you solve it?