Friday, 26 January 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 links


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

No comments:

Post a Comment