Skip to content

Android-Observatory/RedstoneModuleDecryptors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedstoneModuleDecryptors

Various decryptors used in the analysis of Redstone FOTA Apps. Two kind of encryption were found during the analysis of this fota.

  • coredex: this was a simple xor encryption algorithm, for this we've used a bruteforcing approach, so if we are able to get an APK header with a key we use that to decrypt the whole file (found on libcore.jar and libcore64.jar files).
  • 1qaz2wsx: more complex encryption which used PBEWITHMD5ANDDES, this time the code is mostly obtained from the analyzed file (found on impl_default_4.0.14.jar file, not present in previous versions).

These files were decrypted and loaded in runtime so statically it wasn't possible to discover if they were malicious or not.

How to run the decryptors:

  • coredex
$ python3 libs_decryptor_to_dex.py <input_file>
  • 1qaz2wsx
$ java -jar Decryptor <input_file> <output_file>

About

Various decryptors used in the analysis of Redstone FOTA Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published