rsactftool
Auth/lab ref: RSA testing automation tool for weak public keys. For targeting RSA key recovery or plaintext recovery from public data (n, e, ciphertext, partial leaks).
v2026.11.13-21cd568שתי התקנות+2 ב-7 ימים39 כוכביםMITסונכרן לפני 10 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/rsactftoolנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילהea2f0bcb…c6a20b3a
ea2f0bcbaff9…2cabc6a20b3a4 קבצים · 4.2 KBסריקהנמוךאין ממצאים
מקורgithub.com/AeonDave/malskill/tree/main/offensive-tools/cryptography/rsactftool@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
Multi-attack RSA solver for weak RSA scenarios. Best used as a triage engine: feed known key material, run constrained attacks first, escalate only when signal supports it.
Core workflow
- Normalize input (
.pem, OpenSSH pubkey, or rawn/e). - Inspect key parameters and weakness indicators.
- Select attack families by signal (not brute-force all blindly).
- Recover private key and/or decrypt ciphertext.
- Verify output format and cryptographic consistency.
Quick commands
# Recover private key (auto attack selection)
RsaCtfTool --publickey key.pub --private
# Force a specific attack
RsaCtfTool --publickey key.pub --attack wiener --private
# Decrypt a ciphertext file once key is recoverable
RsaCtfTool --publickey key.pub --decryptfile ciphertext.bin
# Build pubkey from n/e (for problem specifications that give integers only)
RsaCtfTool --createpub -n <n> -e <e>
# Dump key parameters for triage
RsaCtfTool --dumpkey --ext --key key.pubAttack selection heuristics
- Start with non-factorization attacks when evidence indicates weak
d, broadcast, sharedn, or partial leakage. - Prioritize factorization when
nstructure suggests close primes, smoothness, reused factors, or vulnerable keygen. - Use scenario-specific methods when custom prime construction or non-standard modulus generation is suspected.
Practical attack loop
# 1) Parse and inspect
RsaCtfTool --dumpkey --ext --key key.pub
# 2) Run fast specific checks first
RsaCtfTool --publickey key.pub --attack wiener --private
RsaCtfTool --publickey key.pub --attack hastads --private
RsaCtfTool --publickey key.pub --attack common_factors --private
# 3) Escalate to broader runs
RsaCtfTool --publickey key.pub --private
# 4) If key recovered, decrypt material
RsaCtfTool --publickey key.pub --decryptfile ct.binOutput validation checklist
- Decrypted bytes decode cleanly (UTF-8/ASCII) or have expected binary structure.
- PKCS#1 padding assumptions are consistent with implementation.
- If multiple candidate plaintexts appear, test all against oracle verification or remote service.
- Never trust a single lucky decode without re-encryption consistency checks.
Boundaries
- Tool scope is RSA semiprime attacks on weak public keys (standard asymmetric key scenarios).
- Hash cracking (MD5/SHA/bcrypt) is intentionally out of scope here (covered by
hashcatskills).
Resources
references/factorization-attacks.md— RSA attacks based on factoringn(Fermat, Pollard variants, ECM, QS, etc.).references/non-factorization-attacks.md— RSA attacks without directly factoringn(Wiener, Hastad, Boneh-Durfee, partial leaks, lattice).references/challenge-specific-attacks.md— scenario-specific attacks for non-standard RSA key patterns and triage patterns.
הקבצים בגרסה הזו
references/37.1 KB
- challenge-specific-attacks.md2.2 KB
- factorization-attacks.md2.5 KB
- non-factorization-attacks.md2.4 KB
- SKILL.md3.1 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | ea2f0bcb | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה קריפטוגרפיה ו-Web3
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login