Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)V
Posts
1
Comments
29
Joined
2 yr. ago

  • The attack worked, the password is cmF0dGEK.

    This was obtained by generating 32 possible plaintexts for the first 10 bytes of system.zip (based on the different values in the headers of ~300 zip files on my system), plus three null bytes for the high bytes of compressed size, file name length and extra field length.

  • The inner zip files are just stored, uncompressed:

     text
        
    Archive: update.zip
    Index Encryption Compression CRC32    Uncompressed  Packed size Name
    ----- ---------- ----------- -------- ------------ ------------ ----------------
        0 ZipCrypto  Store       d1bca061     65761967     65761979 system_lib.zip
        1 ZipCrypto  Deflate     64a3f383         2183          741 config.json
        2 ZipCrypto  Store       3731280f     89300292     89300304 app.zip
        3 ZipCrypto  Store       a2bd64f5    135518964    135518976 app_lib.zip
        4 ZipCrypto  Store       700eb186      5996410      5996422 system.zip
    
      

    So 12 bytes from the original content.

  • The entries in update.zip are encrypted using the weak ZipCrypto scheme, which is known to be seriously flawed. If you feel motivated, and can guess at least 12 bytes of plaintext for an entry, it is possible to recover the internal state of the generator, which is enough to decipher the data entirely, as well as other entries which were encrypted with the same password. The bkcrack project implements this attack.

    Since some of the entries are zip files themselves, it is within the realm of possibility to guess 12 bytes of plaintext. Parts of the zip local file header are pretty static, and you can use some of the values from the local file header of update.zip itself. Still, this would require a bit of luck / inspired guesswork.

  • I think glider can do this, with -strategy rr (Round Robin mode). I have not used it in this way myself, so you might need to experiment a little. Proxychains can also do this, but it doesn't present a socks5 interface itself (it uses LD_PRELOAD, so it won't work everywhere).

  • Argon2id (cryptsetup default) and Argon2i PBKDFs are not supported (GRUB bug #59409), only PBKDF2 is.

    There is this patch, although I have not tested it myself. There is always cryptsetup luksAddKey --pbkdf pbkdf2.

  • AnarchyChess @sopuli.xyz

    Sicilian Defense: Hyperaccelerated Dragon, Fianchetto, Pterodactyl Defense