Malware string hash lookup plugin for IDA Pro. This plugin connects to the OALABS HashDB Lookup Service.
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.
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!
The HashDB plugin has been developed for use with the IDA 7+ and Python 3 it is not backwards compatible.
Related posts
- Hacker Tools 2020
- Nsa Hacker Tools
- Github Hacking Tools
- Hack Tools Download
- Top Pentest Tools
- Pentest Tools Nmap
- Hack Tools Mac
- Hacking Tools Download
- Pentest Tools Kali Linux
- Hack Tools Pc
- Pentest Tools Port Scanner
- Hacking Tools Pc
- Hackrf Tools
- How To Hack
- Pentest Recon Tools
- Pentest Automation Tools
- Hack Tool Apk No Root
- Hacking Tools Usb
- Hak5 Tools
- Hacker Tools For Mac
- Hack Tools 2019
- Hacker Tools Online
- Hacker Techniques Tools And Incident Handling
- Pentest Reporting Tools
- Hack Tools Github
- Hacker Tools Online
- Hackers Toolbox
- Hacking Tools Usb
- Hacking Tools Mac
- Install Pentest Tools Ubuntu
- Nsa Hacker Tools
- Hacker Tools Apk Download
- Hack Tools For Pc
- Hacker Tools Hardware
- What Is Hacking Tools
- Pentest Tools For Ubuntu
- How To Make Hacking Tools
- Hacks And Tools
- Hackrf Tools
- Hack Tools 2019
- Hacking Tools Windows
- World No 1 Hacker Software
- Hacker Tools Mac
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Windows
- Hacking Tools For Games
- Pentest Automation Tools
- Pentest Tools Nmap
- Hacking Tools For Windows 7
- Hacker Tools List
- Pentest Tools Find Subdomains
- Hack Tool Apk
- Pentest Tools Subdomain
- Hacking Tools Mac
- Hackers Toolbox
- Blackhat Hacker Tools
- Hacker Tools Apk
- Hacker Hardware Tools
- Pentest Tools Windows
- Tools Used For Hacking
- Hack Tool Apk
- Pentest Tools Online
- Hacker Security Tools
- Hacker Tools Mac
- Beginner Hacker Tools
- Hacker Tools For Mac
- Hak5 Tools
- Wifi Hacker Tools For Windows
- Hack Tool Apk No Root
- Pentest Tools Kali Linux
- Pentest Tools Url Fuzzer
- Hacker Tools Free
- Hacking Tools For Kali Linux
- Pentest Recon Tools
- Hacker Tools 2020
- Ethical Hacker Tools
- Pentest Tools Subdomain
- Hacker Techniques Tools And Incident Handling
- Hacker Search Tools
- Wifi Hacker Tools For Windows
- World No 1 Hacker Software
- Hacker Tools 2019
- Black Hat Hacker Tools
- Usb Pentest Tools
- Hack Website Online Tool
- Pentest Tools Free
- Hacking Tools For Beginners
- Hacker Tools Apk Download
- Hack And Tools
- Hacker
- Hacker Tools Online
- Hacker
- Hacks And Tools
- Hacker Tools For Mac
- Hacker Tools For Mac
- Pentest Tools Alternative
- Hacking Tools For Beginners
- Hacker Tools Online
- Hack Tools For Windows
- Pentest Tools Github
- Usb Pentest Tools
- Pentest Tools For Android
- Hacking Tools Name
- Growth Hacker Tools
- Hacking Tools Windows 10
- Pentest Tools Free
- Hacking Tools Software
- Beginner Hacker Tools
- Hacker Hardware Tools
- Hacker
- Hacker Hardware Tools
- Hacking Tools For Kali Linux
- Hacker Search Tools
- Hacker Tool Kit
- Pentest Tools Free
- What Is Hacking Tools
- Pentest Automation Tools
- Hacks And Tools
- Hacker Tools Windows
- Pentest Tools Linux
- Hack Tool Apk No Root
- Pentest Reporting Tools
- Hack Tools For Windows
- Pentest Tools Open Source
- Hacking Tools For Pc
- Pentest Tools Nmap
- New Hacker Tools
- Hacking Apps
- Game Hacking
- Pentest Tools Nmap
- Hack Tools
- Hack Tools For Windows
- Hacking Tools Free Download
- Hacker Tools Mac
- Blackhat Hacker Tools
- Hack Rom Tools