דילוג לתוכן
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/unpacking-upx-and-common-packersניתוח נוזקות וכופרות

unpacking-upx-and-common-packers

⁨Identifies and unpacks packed binaries: detecting packers from section names and⁩

v1.0.03 התקנות⁦+3⁩ ב-7 ימים24 כוכביםApache-2.0סונכרן לפני 10 שעות

התקנה

עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/unpacking-upx-and-common-packers

נכתב אל ⁦~/.notholy/skills⁩ אחרי בדיקת החתימה וה-SHA-256.

חתימהחתום, ed25519
aVniTClNQK…RI0Ts8DQ==ה-CLI בודק את ה-SHA-256 ואת החתימה לפני שהוא כותב קובץ כלשהו.
חבילה14408d55…ebe3013d
14408d55fdb9…35e9ebe3013d4 קבצים · ⁦3.4 KB⁩
סריקהבינונישני ממצאים
  • סקריפט הרצה שמגיע עם הסקילscripts/analyst.py
  • קישורים לדומיינים חיצוניים
לסריקה המלאה
מקורgithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/unpacking-upx-and-common-packers@da7600a

הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.

When to Use

  • A sample shows high entropy, few imports, or packer section names, and you need the original code for static analysis or RE.
  • You want to unpack UPX automatically or manually unpack a custom/modified packer.
  • You are preparing a sample for Ghidra/IDA (decompiling packed code is pointless).

Do not use generic unpackers as a guarantee — modified UPX and custom packers defeat upx -d. Fall back to debugger-based manual unpacking.

Prerequisites

  • Packer detection (Detect It Easy, or the bundled section/entropy heuristics).
  • upx for standard UPX; x64dbg + Scylla for manual unpacking (see the x64dbg skill).
  • Isolated lab.

Workflow

Step 1: Detect the packer

bash
python scripts/analyst.py detect sample.bin

Signals: section names (UPX0/UPX1, .aspack, .themida), high section entropy, a tiny import table, and a small .text with a large high-entropy section.

Step 2: Try automated UPX unpacking

If standard UPX:

bash
upx -d -o sample_unpacked.bin sample.bin

If upx -d fails on a UPX-like sample, the header was likely tampered (e.g. UPX! magic or version bytes altered) — repair the marker or unpack manually.

Step 3: Manual unpacking for custom packers

In x64dbg: break on VirtualAlloc/VirtualProtect, run until the unpacked region is written and made executable, find the tail jump to the original entry point (OEP), and dump there.

Step 4: Dump and rebuild imports

Use Scylla to dump the process and reconstruct the Import Address Table (IAT) so the dumped PE loads in a disassembler.

Step 5: Verify the unpacked result

Confirm the dump is a clean PE with a populated import table and readable strings/code.

Validation

  • The unpacked file has restored imports and meaningful strings absent from the packed sample.
  • Entropy of the unpacked .text drops to normal code levels.
  • The disassembler resolves API calls (IAT rebuilt correctly).

Pitfalls

  • Running upx -d on tampered UPX and concluding it is not UPX; check for renamed/edited markers.
  • Dumping before reaching the OEP, capturing still-encrypted code.
  • Forgetting IAT reconstruction, leaving the dump unusable in Ghidra/IDA.

References

  • See references/api-reference.md for the packer detector.
  • UPX and Detect It Easy (linked in frontmatter).

הקבצים בגרסה הזו

הרשאות

הרשאההוצהרנמצא בסריקה
קורא קבציםלאלא
כותב קבציםכןכן
מריץ פקודות shellכןכן
משתמש ברשתכןכן
משתמש במחבריםלאלא
שולט בדפדפןלאלא

ממצאי הסריקה

נבדק ב-13 בנוב׳ 2026

  1. בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילscripts/analyst.py
  2. מידעקישור · קישורים לדומיינים חיצוניים

סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.

גרסהפורסמהCommitSHA-256חתימהשינוי בהרשאות
v1.0.013 בנוב׳ 2026da7600a14408d55חתומה–

שאלו כל מה שהסקופ מאפשר.

יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.

  1. 1/3

    יצירת חשבון

    פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.

    פרטיחברה
  2. 2/3

    הוספת קרדיטים

    בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.

    $5.00טעינה מינימלית
  3. 3/3

    שאלה ראשונה

    בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.

    $ notholy login