reverse-engineering-nim-and-other-exotic-binaries
Reverse engineers malware written in less-common compiled languages (Nim, Crystal,
v1.0.03 installazioni+3 in 7 giorni24 StelleApache-2.0sincronizzato 10 ore fa
Installa
Non hai ancora la CLI di NotHoly? Installala prima.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/reverse-engineering-nim-and-other-exotic-binariesScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchetto95fdba00…732aa782
95fdba008e05…c0cb732aa7824 file · 2.9 KBScansioneMedio2 segnalazioni
- Script eseguibile incluso nella skillscripts/analyst.py
- Link a domini esterni
Sorgentegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-nim-and-other-exotic-binaries@da7600a
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
When to Use
- You have a compiled binary that is not C/C++/Go/Rust/.NET and need to identify its source language (Nim, Crystal, V, Zig, D) to orient analysis.
- Symbol/runtime patterns are unfamiliar and you want language-specific landmarks.
Do not use this for already-supported languages (Go/Rust have dedicated skills). This skill reads the binary statically and executes nothing.
Prerequisites
- The binary (read inertly).
Safety & Handling
- Read bytes statically; treat strings as untrusted.
Workflow
Step 1: Detect the source language
python scripts/analyst.py detect sample.binScans for language runtime signatures: Nim (@m..nim, nimrtl, fatal.nim, stack trace,
@ /nim), Crystal (Crystal::, crystal-lang), V (vlib/, _vinit), Zig (zig, panic: ,
std.builtin), and D (_Dmain, core.runtime, TypeInfo_).
Step 2: Locate runtime landmarks
Use the detected language's panic/exception and module strings to find main/init and error paths.
Step 3: Handle name mangling
Apply the language's mangling convention (e.g., Nim's proc__module_NNN) to recover readable
names.
Step 4: Proceed with analysis
With the language identified, analyze logic; many exotic-language samples wrap the same C2/loader behavior.
Validation
- Language detection is based on multiple corroborating runtime strings, not one weak hit.
- Identified landmarks (panic/init) are consistent with the language.
- Name demangling matches the language's documented scheme.
Pitfalls
- Statically linked C runtime strings causing misclassification — weight language-specific markers.
- Stripped binaries with few runtime strings.
- Stagers in exotic languages that quickly hand off to shellcode.
References
- See
references/api-reference.mdfor the detector. - Nim manual and ATT&CK T1027 references (linked in frontmatter).
File di questa versione
references/11.2 KB
- api-reference.md1.2 KB
scripts/11.9 KB
- analyst.py1.9 KB
- LICENSE340 B
- SKILL.md2.8 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | No | No |
| Scrive file | No | No |
| Esegue comandi shell | Sì | Sì |
| Usa la rete | Sì | Sì |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- MediaFile · Script eseguibile incluso nella skillscripts/analyst.py
- InfoLink · Link a domini esterni
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v1.0.0 | 13 nov 2026 | da7600a | 95fdba00 | Firmata | – |
Altro da meltedinhex
Tutto da questo editore- 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
Altro in Reverse engineering e fuzzing
Vai alla categoriaChiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login