How to determine the encryption algorithm used in ciphertext?

Can I try to guess the encryption algorithm used to encrypt the ciphertext?

+10
source share
5 answers

Yes. There are some differences:

  • Whether it is a block cipher or not, you can guess the length.
  • Block length
  • Output entropy (are all characters equally present? / Can patterns be found?)
  • Repetitions ( CBC or not ...)

Entropy row is probably the best hint. An easy way to determine this is probably trying to compress it. Some methods can be found here: http://www.random.org/statistics/ They use them to make sure their numbers are as random as possible.

, .

+13

:

  • PEiD Krypto Analyzer (KANAL)
  • IDA Pro Findcrypt
  • OllyDbg SnD Crypto Scanner
  • x3chun Crypto Searcher
  • Keygener
  • Hash Crypto Detector (HCD)
  • (DRACA)

. : http://fwhacking.blogspot.com.br/2011/03/bfcrypt-crypto-scanner.html

+7

- , .

, , cryptanalysis !

+4

fbcrypt, - : http://fwhacking.blogspot.com/2011/03/bfcrypt-crypto-scanner.html

MD5, CRC32, Blowfish, DES SHA256, . , , .

+3

, " " ( , "gs" ) ( CMS/PKCS # 7 OpenPGP); , .

CMS ASN.1, dumpasn1 -Javascript-, OpenPGP pgpdump.

+2

Source: https://habr.com/ru/post/1792424/


All Articles