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

No hay comentarios: