Hashdb-Ida - HashDB API Hash Lookup Plugin For IDA Pro


HashDB IDA Plugin

Malware string hash lookup plugin for IDA Pro. This plugin connects to the OALABS HashDB Lookup Service.


Adding New Hash Algorithms

The hash algorithm database is open source and new algorithms can be added on GitHub here. Pull requests are mostly automated and as long as our automated tests pass the new algorithm will be usable on HashDB within minutes.


Using HashDB

HashDB can be used to look up strings that have been hashed in malware by right-clicking on the hash constant in the IDA disassembly view and launching the HashDB Lookup client.


Settings

Before the plugin can be used to look up hashes the HashDB settings must be configured. The settings window can be launched from the plugins menu Edit->Plugins->HashDB.


 

Hash Algorithms

Click Refresh Algorithms to pull a list of supported hash algorithms from the HashDB API, then select the algorithm used in the malware you are analyzing.


Optional XOR

There is also an option to enable XOR with each hash value as this is a common technique used by malware authors to further obfuscate hashes.


API URL

The default API URL for the HashDB Lookup Service is https://hashdb.openanalysis.net/. If you are using your own internal server this URL can be changed to point to your server.


Enum Name

When a new hash is identified by HashDB the hash and its associated string are added to an enum in IDA. This enum can then be used to convert hash constants in IDA to their corresponding enum name. The enum name is configurable from the settings in the event that there is a conflict with an existing enum.


Hash Lookup

Once the plugin settings have been configured you can right-click on any constant in the IDA disassembly window and look up the constant as a hash. The right-click also provides a quick way to set the XOR value if needed.



Bulk Import

If a hash is part of a module a prompt will ask if you want to import all the hashes from that module. This is a quick way to pull hashes in bulk. For example, if one of the hashes identified is Sleep from the kernel32 module, HashDB can then pull all the hashed exports from kernel32.


 

Algorithm Search

HashDB also includes a basic algorithm search that will attempt to identify the hash algorithm based on a hash value. The search will return all algorithms that contain the hash value, it is up to the analyst to decide which (if any) algorithm is correct. To use this functionality right-click on the hash constant and select HashDB Hunt Algorithm.


 

All algorithms that contain this hash will be displayed in a chooser box. The chooser box can be used to directly select the algorithm for HashDB to use. If Cancel is selected no algorithm will be selected.



Dynamic Import Address Table Hash Scanning

Instead of resolving API hashes individually (inline in code) some malware developers will create a block of import hashes in memory. These hashes are then all resolved within a single function creating a dynamic import address table which is later referenced in the code. In these scenarios the HashDB Scan IAT function can be used.


 

Simply select the import hash block, right-click and choose HashDB Scan IAT. HashDB will attempt to resolve each individual integer type (DWORD/QWORD) in the selected range.


Installing HashDB

Before using the plugin you must install the python requests module in your IDA environment. The simplest way to do this is to use pip from a shell outside of IDA.
pip install requests

Once you have the requests module installed simply copy the latest release of hashdb.py into your IDA plugins directory and you are ready to start looking up hashes!


Compatibility Issues

The HashDB plugin has been developed for use with the IDA 7+ and Python 3 it is not backwards compatible.




Related posts


  1. Hacking Tools For Mac
  2. Nsa Hack Tools
  3. Hacking Tools 2020
  4. Pentest Tools Url Fuzzer
  5. Hacking Tools Name
  6. Pentest Tools Find Subdomains
  7. Hacking Tools 2019
  8. Hacker Tools Apk
  9. Hacking Tools For Beginners
  10. Hacking Tools Download
  11. Top Pentest Tools
  12. Pentest Tools Port Scanner
  13. Hack Tools 2019
  14. Hackers Toolbox
  15. Hacks And Tools
  16. Hacker Tools For Ios
  17. Tools 4 Hack
  18. Pentest Tools Port Scanner
  19. New Hack Tools
  20. Hack Tools Github
  21. Hacking Tools For Windows Free Download
  22. Hacking Tools
  23. Hack Tools Pc
  24. Nsa Hack Tools
  25. Hacker Hardware Tools
  26. Hack Apps
  27. Termux Hacking Tools 2019
  28. Hack Tools For Games
  29. Hacking Tools Usb
  30. Hacking Tools Github
  31. Hacking Tools For Windows
  32. Hack Tools For Games
  33. Github Hacking Tools
  34. Hack Tools Github
  35. Hacker Tools For Mac
  36. Hacking Tools Pc
  37. Kik Hack Tools
  38. Hacking Tools Hardware
  39. How To Install Pentest Tools In Ubuntu
  40. Hacking Tools For Games
  41. Pentest Tools Linux
  42. Hacker Tools For Ios
  43. Hack Tools For Windows
  44. Pentest Box Tools Download
  45. Best Hacking Tools 2020
  46. Pentest Tools Alternative
  47. Hack Tools
  48. Hacker Tools Apk Download
  49. Hacker Tools For Windows
  50. Pentest Tools Github
  51. Hack Tools For Mac
  52. Hacker Security Tools
  53. Hacking Tools For Pc
  54. Computer Hacker
  55. Hacker Tools 2020
  56. Hack Tools Pc
  57. Hack Tool Apk No Root
  58. Hacker Security Tools
  59. Hacking Tools For Pc
  60. Pentest Tools For Ubuntu
  61. Wifi Hacker Tools For Windows
  62. Hack Website Online Tool
  63. Hack Tools Github
  64. Hackers Toolbox
  65. Hacking Tools And Software
  66. Hacker Tools Apk Download
  67. Hacker Tools For Ios
  68. Hacker Tools For Mac
  69. Hack Tools Download
  70. How To Install Pentest Tools In Ubuntu
  71. Pentest Tools Kali Linux
  72. Hacking Tools 2020
  73. Pentest Tools Apk
  74. Hacker Tools For Mac
  75. Hacking Tools For Beginners
  76. Hacker Tools Windows
  77. Hacking Tools Windows
  78. Physical Pentest Tools
  79. Computer Hacker
  80. Hack Tools For Windows
  81. Pentest Box Tools Download
  82. Hacking Tools Kit
  83. Pentest Tools For Windows
  84. Hacking Tools Hardware
  85. Hacker Tools Online
  86. Hack Tools Download
  87. Hacker Tools For Mac
  88. Hack Tools For Ubuntu
  89. Black Hat Hacker Tools
  90. Hacking Tools Free Download
  91. New Hack Tools
  92. What Is Hacking Tools
  93. Hacker Tool Kit
  94. Hack Tools For Mac
  95. Pentest Tools Port Scanner
  96. Hacking Tools Hardware
  97. Pentest Tools For Windows
  98. Growth Hacker Tools
  99. Pentest Reporting Tools
  100. Hacker Tools Apk
  101. Hack Apps
  102. Pentest Tools Kali Linux
  103. Hacker
  104. Pentest Tools Alternative
  105. Pentest Tools Alternative
  106. Pentest Tools Kali Linux
  107. Pentest Tools
  108. Hacking Tools For Windows Free Download
  109. Hacking Tools For Windows Free Download
  110. Hack And Tools
  111. Hacking Tools 2019
  112. Easy Hack Tools
  113. Easy Hack Tools
  114. Tools For Hacker
  115. Hack Tools Mac
  116. Hack Tools Online
  117. Hacking Tools For Pc