Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Can Graphical Passwords Keep Us Secure Online?

· 7 min read · Home Tech

In this article
  1. What Are Graphical Passwords?
  2. How Do Graphical Passwords Work?
  3. Common Problems and Vulnerabilities
  4. How to Choose a Secure Graphical Password
  5. Graphical vs. Text Passwords: A Comparison
  6. Real-World Usage and Alternatives
  7. Are Graphical Passwords Safe for Everyday Use?
  8. Frequently Asked Questions

Yes, graphical passwords can be secure online, but only when designed and implemented correctly—many current systems are vulnerable to shoulder surfing and smudge attacks, making them less secure than a well-chosen text password with two-factor authentication. The core idea is that humans remember images far better than random strings, which can lead to stronger passwords, but the practical security depends heavily on the specific scheme and how it is deployed.

What Are Graphical Passwords?

Graphical passwords replace (or supplement) typed characters with image-based authentication. Instead of entering a string of letters, numbers, and symbols, you might click on specific points in a picture, draw a pattern, or select a sequence of images. The underlying principle is picture superiority effect—people retain visual information much longer than verbal or textual information. This means a user can remember a complex sequence of clicks or drawings more easily than a 12-character random password, which often gets written down or reused.

There are three main categories of graphical passwords:

  • Recognition-based: You identify previously chosen images from a grid of decoys (e.g., Passfaces).
  • Recall-based: You reproduce a drawing or pattern on a grid (e.g., Android's pattern lock).
  • Cued-recall: You click on specific points within a single image (e.g., PassPoints).

Each type has different security and usability trade-offs, which we'll explore below.

How Do Graphical Passwords Work?

In a typical cued-recall system, the user selects a sequence of points on an image during enrollment. For example, you might choose three spots on a photo of a city skyline—the top of a tower, a window on the left building, and a streetlamp. To log in, you must click those same points in the same order, within a tolerance zone (usually a small square around the original point) to account for imprecise clicking.

Recognition-based systems work differently: the user is shown a grid of images (e.g., 3x3) and must pick the ones they selected during setup, often across multiple rounds. The Android pattern lock is a simplified recall-based system where you connect dots in a sequence.

The security relies on the entropy of the chosen sequence. For a 3x3 grid with 9 points, the number of possible patterns is about 389,112 (if you use 4–9 points). That's far less than a 10-character alphanumeric password (about 10^60 possibilities), but the memorability advantage allows users to choose longer sequences. However, the actual security depends on the user's choices—humans tend to pick predictable patterns (e.g., starting at the top-left, or drawing a simple shape).

Common Problems and Vulnerabilities

Despite the memorability benefit, graphical passwords have several well-documented weaknesses:

  • Shoulder surfing: An attacker can watch you click or draw your pattern, especially in public places. This is much easier than reading typed characters from a distance.
  • Smudge attacks: On touchscreens, oily residue from your fingers can reveal the pattern or click points. A study on Android patterns showed that smudges can often be reconstructed with a photo taken at a low angle.
  • Limited password space: The number of possible patterns or click points is often smaller than text passwords, making brute-force attacks more feasible.
  • Predictable choices: Users tend to choose symmetric patterns or click on salient features of an image (e.g., a face, a bright object), which reduces entropy.
  • Phishing and keylogging: While graphical passwords resist keyloggers, they are still vulnerable to screen capture malware or fake login screens that record click coordinates.

These issues have prevented widespread adoption beyond niche applications like the Windows 8/10 picture password, which is optional and often disabled by users due to these concerns.

How to Choose a Secure Graphical Password

If you do use a graphical password (e.g., on a device that offers it), follow these guidelines to maximize security:

  1. Choose a complex image: Use a photo with many distinct, non-obvious features. Avoid images with a single focal point (like a face) because users tend to click on it.
  2. Select points that are not visually salient: Pick spots that are not the first thing an observer would notice—like a shadow, a corner of a building, or a patch of texture.
  3. Use a long sequence: The more points or images in your sequence, the harder it is to guess. Aim for at least 5–6 points if the system allows.
  4. Avoid predictable patterns: Don't start at the top-left, don't draw a straight line, and don't use symmetrical shapes.
  5. Change your password periodically: If you suspect shoulder surfing or smudge exposure, change it immediately.

Remember, even the best graphical password is only as strong as your ability to keep it secret. If you're in a public space, consider using a text password or covering your screen.

Graphical vs. Text Passwords: A Comparison

When comparing security, the answer isn't clear-cut. Text passwords have a larger theoretical entropy, but users often choose weak ones (like "password123") or reuse them across sites. Graphical passwords can achieve high entropy if users choose well, but the practical entropy is often lower due to predictable choices.

Usability studies show that graphical passwords are easier to remember, especially for infrequent logins. However, they take longer to enter—clicking five points is slower than typing a short password. On mobile devices, pattern locks are convenient but offer weak security; a simple pattern can be cracked in a few attempts.

Two-factor authentication (2FA) is a critical factor. A graphical password alone is rarely sufficient for high-security accounts. Pairing it with a one-time code from an authenticator app or a hardware token adds a layer that mitigates shoulder surfing and smudge attacks.

Real-World Usage and Alternatives

Graphical passwords are not widely used on the web. The most notable implementations are:

  • Windows Picture Password: Available on Windows 8 and 10, but only for local accounts, and it's often disabled by users.
  • Android Pattern Lock: Used on many Android devices, but it's considered a convenience feature, not a high-security option.
  • Mobile banking apps: Some use a grid-based pattern or image selection, but usually as a secondary factor after a PIN.

For online accounts, the industry has moved toward password managers that generate and store strong random passwords, combined with 2FA. This approach solves the memorability problem without the security flaws of graphical passwords. If you're concerned about remembering complex passwords, a password manager is a more secure alternative than relying on a graphical scheme.

Are Graphical Passwords Safe for Everyday Use?

For low-security scenarios like unlocking your phone at home, a graphical password (pattern) is acceptable, but it should not be your only line of defense. For online banking or email, graphical passwords are not recommended because of shoulder surfing and smudge risks. If a website offers graphical passwords, ensure it also supports 2FA and has a lockout policy after multiple failed attempts.

Also, consider the device. On a desktop with a mouse, smudge attacks are irrelevant, but shoulder surfing is still a risk. On a touchscreen, both are concerns. In public places, use a privacy screen filter or switch to a text password.

If you do use a graphical password, never use it for multiple accounts. Reusing any password—graphical or text—amplifies the damage if one account is compromised.

Frequently Asked Questions

Can graphical passwords be stolen by keyloggers?

No, traditional keyloggers that record keystrokes cannot capture mouse clicks or touch patterns. However, advanced malware can record screen coordinates or take screenshots, so graphical passwords are not immune to all forms of logging.

Are pattern locks on Android secure?

Pattern locks are relatively weak. A 3x3 grid has a maximum of 389,112 possible patterns, and users tend to choose predictable ones. They are also vulnerable to smudge attacks. For better security, use a PIN or alphanumeric password with at least 6 digits.

Do graphical passwords resist phishing?

They can resist some phishing attempts because a fake login page would need to replicate the exact image and clickable areas, which is harder than simply capturing typed text. However, a sophisticated phisher could still create a fake page that records click coordinates and then replays them on the real site.

What is the most secure type of graphical password?

Cued-recall systems with a large image and a long sequence of points are generally more secure than recognition-based or pattern systems, provided the user chooses non-obvious points. However, even these are less secure than a randomly generated 16-character password stored in a password manager.

Should I use a graphical password for my online bank account?

No, unless your bank specifically offers it as an optional layer alongside strong authentication. Most banks avoid graphical passwords due to shoulder surfing risks. Use a unique, complex text password and enable 2FA instead.