Skip to content

Because fuck Armoury Crate and fuck security-by-obscurity.

License

Notifications You must be signed in to change notification settings

vddCore/AsusSupersetDecryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASUS Superset ZIP decryptor

You might think I have a personal vendetta against ASUS.
...maybe I do. So what.

Scheme details

To package the data in the way ASUS do:

  1. Split a regular ZIP file into two at the point where ZIP central directory ends.
  2. Calculate a 32-bit checksum for that data (no clue what that checksum might be, maybe CRC32), add it as little-endian bytes to the end of central directory section.
  3. Encrypt the central directory section using whatever RSA public key ASUS use. I don't give a shit what it might be.
  4. Write the encrypted section down to disk with .enc extension.
  5. Write the remainder of the data to disk with .dat extension.
  6. Package both files into another ZIP (smart af).

To reconstruct the ZIP into a proper, browsable one look into SupersetZip.cs file in this repository.

What in the ever-loving-fuck is the purpose of that scheme probably only people at ASUS' S/W department know.
What I know is I wouldn't want to touch that department with a 10-yard stick.