D-Link DIR-605L Hardware Revision B2 (End-of-Life, EOL) contains a hardcoded telnet backdoor. The device starts a telnet daemon at boot via /bin/telnetd.sh with the username "Alphanetworks" and the static password "wrgn76_dlwbr_dir605L" read from /etc/alpha_config/image_sign. The custom telnetd binary accepts a -u user:password flag, and the custom login binary uses strcmp() to validate credentials. Successful authentication grants an unauthenticated attacker on the local network a root shell with full administrative control. The device has reached End-of-Life (EOL) and will not receive patches.
D-Link DIR-605L (Hardware Revision B2) contains a critical hardcoded telnet backdoor with static credentials embedded in the firmware, allowing unauthenticated attackers on the local network to gain root shell access. The device is End-of-Life with no patches available, making this a permanent vulnerability. This affects legacy network infrastructure across Saudi organizations, particularly in banking, government, and healthcare sectors where older networking equipment may still be deployed.
Immediate Actions:
1. Conduct urgent inventory of all D-Link DIR-605L devices across the organization, particularly Hardware Revision B2
2. Isolate affected devices from production networks immediately or implement strict network segmentation
3. Disable telnet access if possible through device configuration (though backdoor may persist)
4. Implement network-level controls: block telnet port 23 at firewall/ACL level, restrict device access to authorized management networks only
5. Monitor for unauthorized telnet connections to these devices using SIEM/IDS
Compensating Controls (No Patch Available):
6. Replace affected devices with current-generation D-Link or alternative vendor equipment with active security support
7. If replacement not immediately possible: implement strict network segmentation, place devices on isolated VLAN with no internet access
8. Deploy IDS/IPS rules to detect telnet connections to these devices and alert on suspicious authentication patterns
9. Implement network access control (NAC) to prevent unauthorized devices from connecting to management ports
10. Disable UPnP and other auto-discovery protocols on affected devices
11. Change any accessible configuration if device allows local password modification (though backdoor account may remain)
Detection Rules:
12. Monitor for telnet connections (port 23) to DIR-605L devices from unexpected sources
13. Alert on any successful telnet authentication to these devices
14. Track failed login attempts to telnet service
15. Monitor for SSH/HTTP access attempts if device supports these protocols
16. Implement network flow monitoring for devices communicating with DIR-605L on management ports
الإجراءات الفورية:
1. إجراء جرد عاجل لجميع أجهزة D-Link DIR-605L عبر المنظمة، خاصة مراجعة الأجهزة B2
2. عزل الأجهزة المتأثرة عن شبكات الإنتاج فوراً أو تطبيق تقسيم شبكة صارم
3. تعطيل وصول telnet إن أمكن من خلال تكوين الجهاز (على الرغم من أن الباب الخلفي قد يستمر)
4. تطبيق عناصر تحكم على مستوى الشبكة: حظر منفذ telnet 23 على مستوى جدار الحماية/ACL، تقييد وصول الجهاز بالشبكات الموثوقة فقط
5. مراقبة اتصالات telnet غير المصرح بها لهذه الأجهزة باستخدام SIEM/IDS
عناصر التحكم البديلة (لا توجد تصحيحات متاحة):
6. استبدال الأجهزة المتأثرة بمعدات D-Link من الجيل الحالي أو معدات بديلة من مورد آخر مع دعم أمان نشط
7. إذا لم يكن الاستبدال ممكناً على الفور: تطبيق تقسيم شبكة صارم، ضع الأجهزة على VLAN معزول بدون وصول إنترنت
8. نشر قواعد IDS/IPS للكشف عن اتصالات telnet لهذه الأجهزة والتنبيه على أنماط المصادقة المريبة
9. تطبيق التحكم في وصول الشبكة (NAC) لمنع الأجهزة غير المصرح بها من الاتصال بمنافذ الإدارة
10. تعطيل UPnP والبروتوكولات الأخرى للاكتشاف التلقائي على الأجهزة المتأثرة
11. تغيير أي تكوين يمكن الوصول إليه إذا سمح الجهاز بتعديل كلمة المرور المحلية (على الرغم من أن حساب الباب الخلفي قد يبقى)
قواعد الكشف:
12. مراقبة اتصالات telnet (المنفذ 23) لأجهزة DIR-605L من مصادر غير متوقعة
13. التنبيه على أي مصادقة telnet ناجحة لهذه الأجهزة
14. تتبع محاولات تسجيل الدخول الفاشلة لخدمة telnet
15. مراقبة محاولات وصول SSH/HTTP إذا كان الجهاز يدعم هذه البروتوكولات
16. تطبيق مراقبة تدفق الشبكة للأجهزة التي تتصل بـ DIR-605L على منافذ الإدارة