![]() |
|
|
|
#1
|
|||
|
|||
|
you can use FindCrypt plugin for ida pro http://www.hexblog.com/?p=27
While analyzing a program quite often we want to know if it uses any crypto algorithm. Knowing the algorithm name would be useful too. Here is the plugin which can help us answer these questions. The idea behind it pretty simple: since almost all crypto algorithms use magic constants, we will just look for these constants in the program body. Here is how we would do it manually: http://www.sockpuppet.org/tqbf/log/2006/01/two-things.html This approach will fail if the S-boxes have been altered but in most cases they are untouched (can you admit that you understand all consequences of modifying an S-box, say, in AES?) The plugin supports virtually all crypto algorithms and hash functions. I also added the zlib library constants to the list just for the user convenience. Here is the full list: PHP Code:
The plugin is very easy to use �C just select it from the plugins menu and it will do its job. At the end it will display a message box like this: http://www.hexblog.com/ida_pro/pix/f...t_finished.gif It also will rename all found arrays and put them in the marked location list: http://www.hexblog.com/ida_pro/pix/findcrypt_marks.gif The same approach can be used to find other magic constants and strings. The plugin can also be automated �C just hook to the ph.newfile processor module event and run the search. The source code, as usual, comes with the plugin: findcrypt.zip Have (cryptic) fun! |
| The Following User Gave Reputation+1 to sh3dow For This Useful Post: | ||
The Old Pirate (12-27-2014) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Identify an unknown 64 bit Packer | Kurapica | General Discussion | 1 | 07-06-2021 01:05 |
| Help me for identify and unpack .net programm | ranadharm | General Discussion | 11 | 04-24-2018 22:52 |
| Trying to identify crypto algorithm | SiNTAX | General Discussion | 4 | 06-17-2010 03:23 |