reverse-engineering-nim-and-other-exotic-binaries
Reverse engineers malware written in less-common compiled languages (Nim, Crystal,
v1.0.03 התקנות+3 ב-7 ימים24 כוכביםApache-2.0סונכרן לפני 10 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/reverse-engineering-nim-and-other-exotic-binariesנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה95fdba00…732aa782
95fdba008e05…c0cb732aa7824 קבצים · 2.9 KBסריקהבינונישני ממצאים
- סקריפט הרצה שמגיע עם הסקילscripts/analyst.py
- קישורים לדומיינים חיצוניים
מקורgithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-nim-and-other-exotic-binaries@da7600a
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
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).
הקבצים בגרסה הזו
references/11.2 KB
- api-reference.md1.2 KB
scripts/11.9 KB
- analyst.py1.9 KB
- LICENSE340 B
- SKILL.md2.8 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | כן | כן |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
- בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילscripts/analyst.py
- מידעקישור · קישורים לדומיינים חיצוניים
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v1.0.0 | 13 בנוב׳ 2026 | da7600a | 95fdba00 | חתומה | – |
עוד מ-meltedinhex
הכול מהמפרסם הזה- 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
עוד בקטגוריה הנדסה לאחור ו-fuzzing
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login