A forum for reverse engineering, OS internals and malware analysis 

Ask your beginner questions here.
 #6180  by CodeAddiction
 Tue May 03, 2011 6:12 pm
Hello,

I have .pdf files infected with Random Trojan. The files have the file extension .ENCODED.

How do I 'clean' or 'decode' these files so I can use them again? I have tried antivirus with no success and also tried the latest Kaspersky Rector Decryptor tool without success.

Regards.
 #6189  by Xylitol
 Wed May 04, 2011 8:19 am
Same response as Eric_71, i guess by ransomware who use the file extension ".ENCODED" you mean Trojan-Ransom.Win32.Gpcode.ax or Trojan-Ransom.Win32.Gpcode.bn

Encryption used by the malware is really too strong. (for the moment)
Here are some links, hope that can help you to recovers datas:
How To Use Backup and Restore in Windows 7: http://www.howtogeek.com/howto/1838/usi ... windows-7/
How To Use Backup and Restore in WindowsXP: http://system.cs.technion.ac.il/BackUp/ ... dowsXP.htm

For Gpcode.ak, Kaspersky have found a way for recover files: http://support.kaspersky.com/faq/?qid=208279822
That not for your case (the infection use the file extension '._CRYPT' & it was from 2008, in the 2010 or 2011 version that will not recover datas, gpcode work differently now.)
 #6196  by Eric_71
 Wed May 04, 2011 4:45 pm
Your files are encrypted with 256 bit AES key, this key is encrypted using an RSA 1024

Only the 1024 bit RSA private key can decrypt the AES key, if you have a few years you can try the brute force ..
 #6220  by peet
 Fri May 06, 2011 11:38 am
If the file is protected by an AES256 key, it is almost hopeless.

http://www.cryptool.org/ has an option to manually enter and try 1 AES256 key each time, in hex format. It is not automated, it's an educational tool. It shows the inner workings. Since you do not know the key, it will take years to try out all possible options - even with a high speed cracker.

If the PDF file is encrypted by some other encryption system, it can be easy to impossible. Some systems are really easy, like the XOR with the character 4B.

PDF password crackers try to find the password of a PDF file which is encoded with the PDF tool itself. Depending on the cipher, it can be fairly quick to break it. It does not show the key of an external encryption app which coded your PDF file.
 #8504  by umerali
 Sat Sep 10, 2011 7:51 am
CodeAddiction wrote:Hello,

I have .pdf files infected with Random Trojan. The files have the file extension .ENCODED.

How do I 'clean' or 'decode' these files so I can use them again? I have tried antivirus with no success and also tried the latest Kaspersky Rector Decryptor tool without success.

Regards.
In this case you can anyone can use Advanced PDF Repair(APDFR) a very powerful software to repair or recover PDF files.