Hack Forums
Detect encryption algorithm (plain file + encrypted) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Cryptography, Encryption, and Decryption (https://hackforums.net/forumdisplay.php?fid=126)
+---- Thread: Detect encryption algorithm (plain file + encrypted) (/showthread.php?tid=6249758)



Detect encryption algorithm (plain file + encrypted) - miki90 - Aug 21, 2023

Hello,

here I have 2 files. One are the encrypted and the another is decrypted. Can anyone please help me to detect the algorithm? It looks like RC4 and maybe the IV are stored in the header.. but I am not sure.

Here are the files:

Encoded: https://www.sendspace.com/file/vpet8p

Decoded: https://www.sendspace.com/file/uuj2jj


RE: Detect encryption algorithm (plain file + encrypted) - AbakBarama - Aug 21, 2023

As a rule, algorithm can't be found using plaintext and ciphertext (excluding very simple cases).
You need to analyze software which encrypts/decrypts data.