Saturday, June 3, 2023

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 links


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

No comments:

Post a Comment