Course contentsShow
← Security
Lesson 2800 of 3,05252. Embedded and IoT SecurityFree lesson

Default Credentials and Weak Authentication

Why default passwords remain the primary IoT compromise vector and techniques to prevent credential-based takeovers.

Default Credentials and Weak Authentication

What You'll Learn

You'll discover why factory-default passwords remain the #1 entry point for IoT compromises and how to systematically eliminate credential-based takeovers.

The Persistent Plague of "admin/admin"

Despite decades of security awareness, default credentials remain the single most exploited vulnerability in IoT devices. Manufacturers ship devices with predictable usernames like admin, root, or user and trivial passwords like admin, password, or even blank strings. Once attackers know a device model, they can find default credentials in product manuals, online databases, or through automated scanning.

Why This Problem Persists

The analogy: Imagine every house in a neighborhood shipped with the same key, and homeowners never changed their locks. That's the IoT credential landscape.

Manufacturers prioritize ease-of-setup over security. Users often can't or won't change defaults because:

  • No forced password change on first boot
  • No visibility into device configuration (headless devices)
  • Users unaware devices even have credentials
  • Physical access required for changes in some cases

Weak authentication extends beyond defaults: short password limits, no complexity requirements, lack of account lockout, and exposed management interfaces amplify the risk.

Automated Exploitation at Scale

IoT botnets like Mirai (covered in your previous lesson) scan the entire IPv4 space testing 60+ default credential pairs per device. A single vulnerable device becomes a foothold for network compromise, DDoS participation, or lateral movement.

Prevention Techniques

  1. Enforce password change on initial setup (prevent first-boot with defaults)
  2. Generate unique per-device passwords (printed on device label)
  3. Implement account lockout after failed attempts
  4. Disable or restrict remote management interfaces
  5. Certificate-based authentication where supported
  6. Network segmentation to isolate IoT devices

Key Takeaway: Default credentials are low-hanging fruit for attackers. Eliminating them requires forcing unique credentials per device, disabling unnecessary access, and educating users that IoT devices are network computers requiring authentication hardening.