A factory password is a default password set on a device, system, or embedded component before it is first used. It is often shared across units or known to the manufacturer, so it should be changed or removed during provisioning to prevent unauthorised access to accounts, consoles, or management interfaces.
What a factory password is and why it exists
A factory password is a default credential or access value that ships with a device, embedded controller, or management interface before first use. It exists to make manufacturing, testing, and initial setup possible, but it is only safe as a temporary placeholder. Once the device enters service, that shared starting point becomes a predictable access path unless it is changed or removed.
How factory passwords create security exposure
The core problem is predictability. If many units leave the factory with the same password, or if the value is known to the manufacturer, an attacker only needs to discover one working default to try it across many devices. That makes the password less like a secret and more like an inherited weak link in the trust chain. For device classes that are routinely scanned on the internet, such as cameras, routers, and other embedded systems, default credentials are a common entry point.
Factory passwords also become risky when they are exposed through documentation, service tooling, leaked manuals, or support workflows. If the password protects a console, admin panel, or remote management path, successful use can grant direct administrative access without first defeating stronger controls. This is why default credentials are treated as a provisioning risk, not just a password hygiene issue.
Where organisations should check for them
Exposure review starts with an accurate asset inventory. Teams need to know which devices, appliances, embedded components, and management interfaces were delivered with factory credentials and whether those credentials were changed during onboarding. The review should include devices already in production, because defaults sometimes survive installation, imaging, or field replacement.
Internet exposure matters as well. If a management interface, remote console, or API remains reachable from untrusted networks, default passwords become much easier to exploit. Vendor advisories and product documentation should be checked for default credential behaviour, first-login requirements, and any model-specific reset or provisioning guidance. Mirai and IoT Botnet Families Guide is a useful reference for understanding how default device passwords are abused at scale in IoT environments.
Provisioning and remediation expectations
The safest pattern is to replace the factory password during first boot or provisioning, before the device is exposed to users or networks that matter. If a device cannot support unique credentials, a forced change at initial activation is still better than leaving the default intact. Organisations should also treat any shared default value as high risk until proven otherwise, because one leaked value can affect every unit of that model.
When a change cannot be made immediately, compensating controls should reduce the blast radius. That usually means isolating the device, restricting management access to trusted networks, disabling unnecessary remote administration paths, and using stronger surrounding controls such as segmentation or gateway mediation. The point is to stop the factory password from remaining a live, routable access mechanism.
Detection and post-compromise review
Detection should look for evidence that default credentials were tried or accepted, especially on exposed management interfaces. Repeated login failures from the same source, unusual first-time logins shortly after deployment, or new administrative sessions on low-value devices can all be warning signs. Monitoring should extend beyond the login event itself to configuration changes, because a successful login is often only the first step in turning the device into a foothold.
If exploitation is suspected, review the device for altered settings, new users, changed network destinations, and persistence mechanisms. In embedded and IoT environments, compromise can quickly become a platform for scanning, proxying, or botnet enrolment, so post-incident review should also check for lateral movement or outbound abuse from the device.
Risk and Threat Considerations
Factory passwords create a repeatable attack path because the same credential state can exist across many assets, often with a known or guessable starting value. That makes them attractive for opportunistic scanning, credential stuffing against device interfaces, and mass compromise of unmanaged or exposed equipment.
Failure mechanism: A default password survives provisioning, or the same factory value is reused across multiple units, allowing an attacker to authenticate directly to a management interface or embedded console.
Impact: Successful access can expose administrative control, configuration data, device telemetry, and in some cases a launch point for botnet enrolment, lateral movement, or broader network abuse.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Factory passwords are credential lifecycle material for device access. |
| IA-3 — Device Identification and Authentication | Embedded devices and appliances need unique device authentication, not shared defaults. | |
| Recommendation — Replace factory credentials before deployment and manage their lifecycle as authenticators. Use unique device authentication instead of shared factory passwords. | ||
| CIS Controls v8 | CIS-5 — Account Management | Default passwords are an account and access provisioning failure that CIS Controls directly addresses. |
| Recommendation — Remove or change default credentials during asset provisioning and onboarding. | ||
| NIST CSF 2.0 | PR.AA-05 — Identity Management, Authentication, and Access Control | Factory passwords affect how access is established and controlled on deployed assets. |
| Recommendation — Enforce authentication controls that eliminate factory-default access paths. | ||
Practitioner Guidance
Why practitioners should care: Factory passwords are one of the simplest ways a device can arrive secure on paper but exposed in practice. The operational question is whether provisioning actually removes the shared starting secret before the device becomes reachable or important.
Governance implication: Ownership for first-login credential changes should be explicit in onboarding, build, or field-service procedures, with clear evidence that defaults were replaced or disabled before release to production use.
Practitioner takeaway: If a device still trusts its factory password, treat it as incomplete provisioning, not a minor configuration detail.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org