Secure attention sequence

Also known as: SAS · Ctrl+Alt+Del

On this page 7

A secure attention sequence (SAS) is a key combination or hardware signal that is always handled by the trusted part of the operating system and can never be captured by an ordinary application. In operating systems, and specifically in the protection of user accounts, its purpose is to guarantee that when a person presses it, the screen that appears next is the genuine sign-in or security interface, not a program imitating it.

The best-known example is Ctrl+Alt+Del on Windows. The concept, also called a trusted path, comes from secure systems research and from the evaluation criteria that governed government computing, which required a way for users to communicate directly with the trusted computing base.

How a secure attention sequence creates a trusted path

A secure attention sequence works because the operating system intercepts the key combination at the lowest input layer, before any user-mode application receives it. On Windows, the keyboard driver and the Win32 subsystem recognize Ctrl+Alt+Del and notify Winlogon, the trusted process that owns the sign-in experience.

Winlogon then switches the display to the secure desktop, a separate desktop object that ordinary applications cannot draw on, read or inject input into. The sign-in, lock and security options screens run there, so a malicious program on the user’s desktop cannot see the password field or fake the dialog.

The sequence of events can be summarized in the following table.

StageComponent involvedSecurity effect
Key press detectedKeyboard driver and kernel input stackApplications never receive the combination
Notification sentWin32 subsystem to WinlogonOnly a trusted process is informed
Desktop switchWinlogon activates the secure desktopUser-mode programs are isolated from the screen
Credential entryLogonUI and credential providersPassword is typed into a trusted interface
AuthenticationLocal Security AuthorityCredentials are verified by the system
Stages of a secure attention sequence on Windows

The threat it addresses: credential spoofing

The secure attention sequence exists to defeat login spoofing, an attack in which a program displays a perfect replica of the sign-in screen and records the password that the victim types. Such trojan login screens were a known problem on shared terminals long before personal computers.

Because no application can intercept the SAS, a user who has been trained to press the sequence first always reaches the real interface. If a fake login window is open, pressing Ctrl+Alt+Del simply moves the user to the genuine secure desktop, and the imitation is left behind.

The protection depends on user habit. If people type passwords into whatever prompt appears, the trusted path is never invoked, which is why some organizations require the sequence before every sign-in.

Secure attention sequences across operating systems

Different operating systems implement the trusted path idea in different ways, and some desktop systems do not enforce it at all. The table below compares common implementations.

SystemSequence or mechanismDefault behavior
WindowsCtrl+Alt+Del to the secure desktopOptional on home devices, often required by policy in domains
Linux kernelMagic SysRq key with the K commandKills processes on the current console; often disabled
macOSNo user-facing SAS; protected loginwindow processIsolation enforced by the system, not a key combination
Windows UAC promptsSecure desktop without a key combinationEnabled by default for elevation prompts
Smart card systemsCard insertion can act as the attention signalConfigured by administrators
Trusted path implementations compared

On Linux, the SysRq secure access key terminates every process attached to the current virtual console, ensuring that the following login prompt is genuine. It is a blunt instrument, and many distributions restrict SysRq functions through the kernel.sysrq setting.

Configuring the requirement in Windows

Windows lets administrators decide whether users must press the secure attention sequence before signing in. The setting is the security policy Interactive logon: Do not require CTRL+ALT+DEL, and disabling that policy makes the sequence mandatory.

Microsoft accounts and consumer devices typically skip the requirement for convenience, while domain-joined computers in regulated environments often enforce it through Group Policy. The secure desktop for User Account Control elevation prompts is a separate setting and remains enabled by default.

EnvironmentRecommended settingReason
Shared or public workstationsRequire the sequenceHigh risk of planted spoofing programs
Regulated enterprise desktopsRequire the sequenceSupports audit and compliance expectations
Personal home computersOptionalLow spoofing risk, convenience preferred
Kiosk mode devicesUsually disabledUsers do not sign in interactively
Remote desktop sessionsUse the client substitute, such as Ctrl+Alt+EndThe local system captures the real sequence
Choosing a secure attention sequence policy

Limitations and misconceptions

A secure attention sequence protects only the moment of credential entry. It does not stop keyloggers running in the kernel, malicious drivers or a compromised firmware, because those components sit below the trusted path itself.

  • It is not an emergency reboot. On modern Windows, Ctrl+Alt+Del opens the security options screen rather than restarting the computer.
  • It does not replace authentication strength. A weak password typed into a genuine screen remains weak.
  • Virtualization changes the path. Virtual machine consoles and remote sessions must forward the sequence with a substitute key or menu command.
  • Touch devices lack the keys. Tablets use a hardware button combination, such as Windows key plus power, as the equivalent signal.

Despite these limits, the SAS remains a simple, low-cost safeguard that complements multifactor authentication, privilege elevation controls and a well-configured login screen.

Explained without jargon

A secure attention sequence is a special key combination that only the operating system can hear. On Windows it is Ctrl+Alt+Del. When you press it, you can be sure that the password box you see next really belongs to the computer itself.

Think of it as calling a bank using the number printed on your own card instead of the number a stranger gives you. A fake program could draw a fake sign-in screen, but it cannot answer that special call. The key takeaway: press the sequence before typing your password on a shared computer.

A typical use case

A university library runs forty public workstations that students sign in to with their campus accounts. The security team worries that someone could leave a program running that imitates the sign-in screen and collects passwords from the next student.

The administrators disable the policy that skips the sequence, so every workstation now displays a message asking users to press Ctrl+Alt+Del to sign in. Pressing it always moves the student to the genuine secure desktop, even if a fake window is open. A short notice next to each computer explains the habit. After the change, the team also sets a ten-minute idle lock, which again requires the sequence to unlock, and credential theft reports from the library drop to zero during the following semester.