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

No comments:

Post a Comment