الترتيب ولماذاThe order, and why
القاعدة بسيطة: أصلح ما هو مكسور اليوم أولًا، لأن كسره لا ينتظر حاسوبًا كمّيًا. ثم عالج ما يهدد البيانات طويلة العمر (تبادل المفاتيح)، لأن ما يُسجَّل اليوم يمكن فكّه لاحقًا. ثم انتقل إلى التوقيعات والشهادات، وأخيرًا إلى ما تبقى.The rule is simple: fix what is broken today first, because that break does not wait for a quantum computer. Then fix what threatens long-lived data (key exchange), because traffic recorded today can be decrypted later. Then move to signatures and certificates, and last to everything else.
هذا ترتيب تخطيطي مبني على قواعد الأداة وعلى الوثائق الرسمية المذكورة في آخر الصفحة. ليس نصًا تنظيميًا ولا يثبت الامتثال لأي جهة.This is a planning order built on the tool rules and the official documents listed at the end. It is not a regulation and it does not prove compliance with any regulator.
اليوم: ما يُصلح بلا انتظار (P0)Today: fix without waiting (P0)
- MD5 وSHA-1 في التوقيعات. أزلها من الشهادات وتوقيع الشيفرة والرموز الموقّعة. استخدم SHA-256 أو أقوى. التحقق:
openssl x509 -noout -text | grep "Signature Algorithm"MD5 and SHA-1 in signatures. Remove them from certificates, code signing and signed tokens. Use SHA-256 or stronger. Check:openssl x509 -noout -text | grep "Signature Algorithm" - DES و3DES وRC4. عطّلها في TLS وSSH. التحقق: testssl.sh أو
nmap --script ssl-enum-ciphers، وابحث عن أسطر 3DES وRC4.DES, 3DES and RC4. Disable them in TLS and SSH. Check: testssl.sh ornmap --script ssl-enum-ciphers, then look for 3DES and RC4 lines. - SSLv3 وTLS 1.0 وTLS 1.1. أوقفها (RFC 8996 يعدّها متقادمة). أبقِ TLS 1.2 وفعّل TLS 1.3. التحقق: قسم البروتوكولات في testssl.sh.SSLv3, TLS 1.0 and TLS 1.1. Turn them off (RFC 8996 deprecates them). Keep TLS 1.2 and enable TLS 1.3. Check: the protocol section in testssl.sh.
- مفاتيح RSA أقل من 2048 بت. أعد إصدارها الآن بحجم 2048 أو أكبر. التحقق:
openssl x509 -noout -text | grep "Public-Key"RSA keys under 2048 bits. Reissue them now at 2048 or larger. Check:openssl x509 -noout -text | grep "Public-Key" - شهادات منتهية أو على وشك الانتهاء. جدّدها. انتهاء الشهادة يعطّل الخدمة اليوم، بلا علاقة بالكمّي.Expired or soon-expiring certificates. Renew them. An expired certificate breaks service today, with no quantum involved.
التالي: تبادل المفاتيح والبيانات طويلة العمر (P1)Next: key exchange and long-lived data (P1)
- تبادل مفاتيح RSA الثابت. انتقل إلى ECDHE الآن، وإلى التبادل الهجين مثل X25519MLKEM768 حيث يدعمه نظامك. لماذا: الحركة المسجّلة اليوم تُفكّ إذا كُسر مفتاح الخادم لاحقًا.Static RSA key transport. Move to ECDHE now, and to hybrid key exchange such as X25519MLKEM768 where your stack supports it. Why: traffic recorded today is decrypted if the server key is later broken.
- البيانات السرية طويلة العمر (خمس سنوات أو أكثر). اعتبر تبادل المفاتيح أول ما ينتقل. التحقق: اكتب عمر بيانات كل نظام في الجرد.Confidential data with long lifetimes (five years or more). Treat key exchange as the first thing to migrate. Check: record each system data lifetime in the inventory.
- VPN وبوابات البريد والنسخ الاحتياطي وروابط قواعد البيانات. اسأل كل مورد عن تاريخ دعم ML-KEM وسجّل الجواب كمخاطرة، لا كخطة.VPNs, email gateways, backups and database links. Ask every vendor for their ML-KEM support date and record the answer as a risk, not as a plan.
- الجرد نفسه. لكل أصل: المالك، وعمر البيانات، والطرف الثالث الذي يعتمد عليه. صيغة CBOM من CycloneDX 1.6 واحدة من الصيغ المقبولة.The inventory itself. For each asset: the owner, the data lifetime and the third party it depends on. A CycloneDX 1.6 CBOM is one usable format.
ثم: التوقيعات والشهادات (P2)Then: signatures and certificates (P2)
- توقيع الشيفرة والبرامج الثابتة. انتقل إلى ML-DSA (FIPS 204) أو SLH-DSA (FIPS 205) حيث يمكن تحديث الطرف المتحقق. لماذا: التوقيع المزوّر خطر يبقى بعد انتهاء صلاحية الشهادة.Code signing and firmware. Move to ML-DSA (FIPS 204) or SLH-DSA (FIPS 205) where the verifier can be updated. Why: a forged signature stays a problem long after the certificate expires.
- الشهادات الجذرية والوسيطة. خطط الانتقال مع جهة الإصدار؛ متاجر الثقة في المتصفحات وأنظمة التشغيل تحدد الإيقاع.Root and intermediate certificates. Plan the move with your CA; browser and operating-system trust stores set the pace.
- توقيع المستندات والطوابع الزمنية. مدة التحقق الطويلة تجعل الانتقال أعجل. اسأل مزوّدك عن دعم FIPS 204.Document signing and timestamps. Long validation periods make the move more urgent. Ask your provider about FIPS 204 support.
وأخيرًا: الباقي (P3)Finally: everything else (P3)
- ما لا يمس بيانات حساسة ولا توقيعات. راجعه دوريًا وأعد المسح كل ربع سنة.Anything that touches neither sensitive data nor signatures. Review it periodically and re-scan each quarter.
- أعد المسح وقارن الأرقام. أداة تحصين تعرض قبل/بعد لكل مسح حتى ترى الفرق بالأرقام.Re-scan and compare the numbers. Tahsin shows before/after for each scan so you can see the change in numbers.
كيف تتأكد أن الإصلاح تمHow to confirm a fix landed
- تطابق الاسم ليس هجرة. رؤية ML-KEM في إعداد لا تثبت أن الاتصال يستخدمه بشكل صحيح.A name match is not a migration. Seeing ML-KEM in a configuration does not prove the connection uses it correctly.
- افحص المجموعة المتفاوض عليها، لا القائمة.
openssl s_client -connect host:443يعرض المجموعة المتفاوض عليها في TLS 1.3.Check the negotiated group, not the list.openssl s_client -connect host:443prints the negotiated TLS 1.3 group. - اختبر في بيئة اختبار أولًا. لا تنشر تغيير تشفير مباشرة على الإنتاج.Test in staging first. Do not push a crypto change straight to production.
- أعد المسح وقارن. استخدم قسم قبل/بعد في الأداة، وسجّل التاريخ.Re-scan and compare. Use the before/after section in the tool and record the date.
أخطاء شائعةCommon mistakes
- TLS 1.3 ليس مقاومًا للكمّي بذاته. هو الناقل الذي يمكن أن يحمل تبادلًا هجينًا.TLS 1.3 is not post-quantum by itself. It is the transport that can carry hybrid key exchange.
- AES-256 وSHA-256 لا يكسرها Shor. المخاطرة فيها مرتبطة بحجم المفتاح، وليست هجرة عاجلة.AES-256 and SHA-256 are not broken by Shor. Their risk is about key size, not an urgent migration.
- الماسح يرى ما وُجّه إليه فقط. الأصل الذي لم يدخل في المدخلات غير موجود في التقرير.A scanner sees only what it was pointed at. An asset that was not in the input is not in the report.
- مواعيد اللوائح ليست موعد خطرك. موعد NIST في IR 8547 يخص معاييره الفيدرالية، وسنوات بياناتك قد تكون أطول.Regulation dates are not your risk date. The NIST dates in IR 8547 concern its federal standards, and your data lifetimes may be longer.
المصادر وتواريخهاSources and their dates
- FIPS 203 (ML-KEM) وFIPS 204 (ML-DSA) وFIPS 205 (SLH-DSA)، أغسطس 2024. csrc.nist.gov/pubs/fips/203/finalFIPS 203 (ML-KEM), FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA), August 2024. csrc.nist.gov/pubs/fips/203/final
- NIST IR 8547 (النسخة النهائية، أكتوبر 2026): إيقاف الاستخدام بعد 2030 ومنع بعد 2035. تواريخ NIST هذه تخص المعايير الفيدرالية الأمريكية وليست تنبؤًا بموعد الحاسوب الكمّي. nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdfNIST IR 8547 (final, October 2026): deprecated after 2030 and disallowed after 2035. These are NIST dates for US federal standards, not a forecast of when a quantum computer arrives. nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf
- NIST SP 800-131A Rev.2 (2019): SHA-1 غير مسموح للتوقيعات الرقمية، و3DES متقادم. csrc.nist.gov/pubs/sp/800/131/a/r2/finalNIST SP 800-131A Rev.2 (2019): SHA-1 is not allowed for digital signatures and 3DES is deprecated. csrc.nist.gov/pubs/sp/800/131/a/r2/final
- RFC 8996 (2021): إهمال TLS 1.0 وTLS 1.1. rfc-editor.org/rfc/rfc8996RFC 8996 (2021): deprecates TLS 1.0 and TLS 1.1. rfc-editor.org/rfc/rfc8996
- CycloneDX 1.6 مع CBOM: صيغة جرد للأصول التشفيرية. cyclonedx.org/capabilities/cbom/CycloneDX 1.6 with CBOM: an inventory format for cryptographic assets. cyclonedx.org/capabilities/cbom/
راجع الوثائق الأصلية بنفسك قبل الاعتماد عليها: الحالة والتواريخ قد تتغير. هذه الصفحة ليست استشارة قانونية.Read the original documents before relying on them: status and dates can change. This page is not legal advice.