Monday, January 22, 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.




More articles


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

No comments:

Post a Comment