Thursday, January 25, 2024

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 Windows 7
  2. Hacker Search Tools
  3. Hacker Tools Free Download
  4. Hacking Tools Mac
  5. Pentest Tools List
  6. Hacking Tools Download
  7. Blackhat Hacker Tools
  8. Growth Hacker Tools
  9. Hacking Tools For Windows Free Download
  10. Growth Hacker Tools
  11. Hack Website Online Tool
  12. Hacker Hardware Tools
  13. World No 1 Hacker Software
  14. Hacking Tools Kit
  15. Hacking Tools Mac
  16. Hacking Tools Usb
  17. Best Hacking Tools 2019
  18. Black Hat Hacker Tools
  19. Hack Tools For Mac
  20. Hacking Tools Free Download
  21. Hackers Toolbox
  22. Tools 4 Hack
  23. Android Hack Tools Github
  24. Hacker Tools Free Download
  25. What Are Hacking Tools
  26. Hacker Tools For Windows
  27. Hacking Tools Kit
  28. Pentest Tools Website
  29. Github Hacking Tools
  30. Hacking Tools Github
  31. Hack Tools
  32. Hacking Tools 2020
  33. Hacker Tools
  34. Pentest Tools Free
  35. Hacking Tools For Windows Free Download
  36. Hacker Tools Windows
  37. Hacker Hardware Tools
  38. Hack Tools 2019
  39. Nsa Hacker Tools
  40. Best Hacking Tools 2020
  41. Hack Tools
  42. Pentest Automation Tools
  43. New Hack Tools
  44. What Is Hacking Tools
  45. Top Pentest Tools
  46. Nsa Hack Tools Download
  47. Pentest Tools Subdomain
  48. Hacker Tools Software
  49. Hacker Tools For Ios
  50. What Are Hacking Tools
  51. What Is Hacking Tools
  52. Pentest Tools Tcp Port Scanner
  53. Usb Pentest Tools
  54. New Hacker Tools
  55. Top Pentest Tools
  56. Hacking Tools For Mac
  57. Hack Tool Apk No Root
  58. Hack Tools 2019
  59. Install Pentest Tools Ubuntu
  60. Hacker Hardware Tools
  61. Hacker Tools 2019
  62. Hacker Tools Apk
  63. Hacker Tools 2020
  64. Hacking Tools 2020
  65. How To Make Hacking Tools
  66. Easy Hack Tools
  67. Hacking Tools Kit
  68. Hack Rom Tools
  69. Hacker Tools For Pc
  70. Nsa Hack Tools
  71. Easy Hack Tools
  72. Pentest Tools Linux
  73. Hacker Tools Hardware
  74. Hacker Tools Mac
  75. Black Hat Hacker Tools
  76. Hack Tools
  77. Pentest Tools Website
  78. Hacking Tools For Windows Free Download
  79. Best Hacking Tools 2019
  80. Pentest Tools Review
  81. Hacking Apps
  82. Hack Tool Apk No Root
  83. Pentest Tools Bluekeep
  84. Best Hacking Tools 2020
  85. Hacker Tools 2019
  86. Hacking Tools
  87. Hack Tools For Ubuntu
  88. How To Hack
  89. Pentest Tools Tcp Port Scanner
  90. Pentest Tools Url Fuzzer
  91. Pentest Tools
  92. How To Make Hacking Tools
  93. How To Hack
  94. Tools 4 Hack
  95. Hacking Tools For Windows 7
  96. Hacker Tools Software
  97. Hacking Tools For Pc
  98. Hacking Tools For Pc
  99. Hacking Tools Online
  100. Top Pentest Tools
  101. Hacker Tools 2019
  102. Pentest Tools For Windows
  103. Install Pentest Tools Ubuntu
  104. Android Hack Tools Github
  105. Hacking Tools Free Download
  106. Hacking Tools Windows 10
  107. Pentest Tools Online
  108. Hacker Tools Software
  109. Hacker Techniques Tools And Incident Handling
  110. Hack Tools
  111. Hacker Hardware Tools
  112. Hacker Tools List
  113. Tools For Hacker
  114. How To Make Hacking Tools
  115. Pentest Tools Free
  116. Hacking Tools 2020
  117. Underground Hacker Sites
  118. Hacking App
  119. Hack Tools Mac
  120. Pentest Tools Alternative
  121. Pentest Tools Github
  122. Hack And Tools
  123. Hacker Hardware Tools
  124. Hacking Tools 2020
  125. Pentest Tools Find Subdomains
  126. Pentest Tools Android
  127. Hacker Tools Software
  128. Usb Pentest Tools
  129. What Is Hacking Tools
  130. Pentest Tools
  131. Hacker Tool Kit
  132. Hackrf Tools
  133. Hackrf Tools
  134. Hacking Tools For Kali Linux
  135. Hacker Tools Free Download
  136. Pentest Tools Apk
  137. Hacking Tools Windows
  138. Pentest Tools Free
  139. Pentest Tools Android
  140. Hacking Apps
  141. Pentest Tools For Android
  142. Ethical Hacker Tools
  143. Tools For Hacker
  144. Tools 4 Hack
  145. Hacking Tools For Pc
  146. Install Pentest Tools Ubuntu
  147. Pentest Tools Linux
  148. Hack Tool Apk No Root
  149. Hacking Tools 2020
  150. Android Hack Tools Github
  151. Hack And Tools
  152. Pentest Tools List
  153. Top Pentest Tools

No comments:

Post a Comment