resolving-dynamic-api-hashing
Resolves dynamically hashed Windows API names by brute-forcing observed hash constants
v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/resolving-dynamic-api-hashingWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package0ef6dbed…2a82345b
0ef6dbed1c97…539c2a82345b4 files · 3.3 KBScanMedium3 findings
- injection.no_confirmationSKILL.md:77
- Executable script shipped with the skillscripts/analyst.py
- Links to outside domains
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/resolving-dynamic-api-hashing@da7600a
On this page
When to Use
- A sample resolves APIs by hash (no plaintext import names) and you have the hash constants from disassembly.
- You need to map each hash back to an API/DLL name to understand functionality.
Do not use this to execute the resolver — it computes hashes over a name wordlist statically and matches them to your observed constants.
Prerequisites
- The hash constants observed in the binary and (optionally) a names wordlist.
Workflow
Step 1: Identify the algorithm
python scripts/analyst.py id 0x6A4ABC5BComputes the constant under each supported algorithm against a built-in seed list to suggest which algorithm/seed reproduces known API hashes.
Step 2: Resolve hashes against a wordlist
python scripts/analyst.py resolve hashes.txt --algo ror13 --wordlist names.txtBrute-forces the provided hashes against the wordlist using the chosen algorithm and reports matches.
Step 3: Annotate the disassembly
Label resolved call sites with their API names to recover behavior.
Step 4: Document the routine
Record the algorithm, seed/initial value, and any key so the routine is reusable.
Validation
- The chosen algorithm reproduces at least one known API hash (sanity anchor).
- Resolved names are real exported symbols of plausible DLLs.
- Unresolved hashes are reported, not silently dropped.
Pitfalls
- Wrong endianness/rotation direction producing no matches — try variants.
- Algorithms seeded with a per-sample key; without the key, matches fail.
- Case sensitivity: some routines hash uppercased names, others as-is.
References
- See
references/api-reference.mdfor the resolver. - ATT&CK T1027.007 and the Windows API Index (linked in frontmatter).
Files in this version
references/11.2 KB
- api-reference.md1.2 KB
scripts/13.3 KB
- analyst.py3.3 KB
- LICENSE340 B
- SKILL.md2.6 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumPrompt injection · injection.no_confirmationSKILL.md:77
- MediumFile · Executable script shipped with the skillscripts/analyst.py
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v1.0.0 | Nov 13, 2026 | da7600a | 0ef6dbed | Signed | – |
More from meltedinhex
All from this publisher- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
More in APIs, SaaS and identity
See the category- testing-for-sensitive-data-exposuremukul975/testing-for-sensitive-data-exposure5
- performing-jwt-none-algorithm-attackmukul975/performing-jwt-none-algorithm-attack5
- sharp-edgestrailofbits/sharp-edges4
- hydraaeondave/hydra4
- implementing-google-workspace-admin-securitymukul975/implementing-google-workspace-admin-security4
- implementing-api-security-posture-managementmukul975/implementing-api-security-posture-management4
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login