TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Every Linux screen locker bypassed with a keypress

316 pointsby Jonhooover 13 years ago

22 comments

tmhedbergover 13 years ago
For Arch Linux users, a patch has already been applied [1] to the xkeyboard-config package in [extra] this morning which corrects this issue by disabling the problematic "debug keys" in the X keymap. Update your system and restart X, and the issue should go away.<p>[1] <a href="http://mailman.archlinux.org/pipermail/arch-general/2012-January/024297.html" rel="nofollow">http://mailman.archlinux.org/pipermail/arch-general/2012-Jan...</a>
stewbrewover 13 years ago
The headline is simply wrong.<p>"So from a superficial analysis anything since 1.10.99.902 could be vulnerable."<p>That's not _every_ linux screen locker. E.g. ubuntu 10.04 isn't affected.
评论 #3487672 未加载
评论 #3485495 未加载
评论 #3486726 未加载
评论 #3490477 未加载
评论 #3486272 未加载
zokierover 13 years ago
How did this happen? I mean, I understand the debug key combinations, but how did they get mapped to actual keys? The commit says <i>To use these, you need to modify your XKB maps</i>.
评论 #3487783 未加载
utefan001over 13 years ago
Here is the commit. <a href="http://cgit.freedesktop.org/xorg/xserver/commit/?id=7d2543a3cb3089241982ce4f8984fd723d5312a1" rel="nofollow">http://cgit.freedesktop.org/xorg/xserver/commit/?id=7d2543a3...</a>
评论 #3485613 未加载
nanerover 13 years ago
I don't understand the key presses used. Is the "Multiply" key the asterisk (Shift+8)?<p>And also the + key on the numpad works?<p>I was unable to get slock to crash, using a US laptop keyboard. :/
评论 #3485101 未加载
评论 #3485087 未加载
评论 #3486117 未加载
lucian1900over 13 years ago
Doesn't appear to work on Ubuntu Oneiric. Perhaps because it's running LightDM?
评论 #3485485 未加载
评论 #3485344 未加载
rbanffyover 13 years ago
Since it's been demonstrated not every Linux screen locker is vulnerable, how about changing the title?
评论 #3487194 未加载
mrinterwebover 13 years ago
Just tried it on Ubuntu 11.10. Did not work.
评论 #3485498 未加载
cookiecaperover 13 years ago
Man, that is pretty crazy. Ctrl+Alt+* and the whole screensaver goes away just like that and everything on the workstation is accessible. Glad this vulnerability is getting more attention; I think it's obvious the feature should only be enabled in debug builds.
评论 #3486545 未加载
mrbover 13 years ago
Of course, if you think you are safe because your keyboard does not have a numeric keypad: you are not. The attacker can just plug in a USB keyboard with a numpad and use it. Yay plug-n-play!
评论 #3486906 未加载
Dylan16807over 13 years ago
While this may be a 'debug' feature it sounds useful for when a fullscreen app locks up. If not these key combinations, what are you intended to do in such a situation?
评论 #3485126 未加载
评论 #3485448 未加载
评论 #3485779 未加载
评论 #3486375 未加载
评论 #3485108 未加载
评论 #3485110 未加载
Tinned_Tunaover 13 years ago
I attempted to replicate this (attempted being the operative word, I could've been doing it wrong) with Ubuntu 11.10 and a GB keyboard layout. It didn't seem to work.<p>Key combos:<p>Ctrl+Alt+* (num pad) Ctrl+Alt+Shift+8<p>Both with numlock on and off.
评论 #3485338 未加载
评论 #3485337 未加载
Adaptiveover 13 years ago
I often use physlock from X. It drops you to a virtual console and locks from there.<p><a href="https://github.com/muennich/physlock" rel="nofollow">https://github.com/muennich/physlock</a>
评论 #3487903 未加载
NanoWarover 13 years ago
Very interesting. How do you find things like this?
评论 #3485920 未加载
评论 #3485341 未加载
评论 #3485026 未加载
评论 #3485280 未加载
clebioover 13 years ago
For some reason, I read 'Android' when I scanned this headline. But since Android is a linux variant, would this be possible? My phone doesn't have a physical keyboard, but maybe the Asus Transformer with the attachable keyboard, for example?
评论 #3485440 未加载
评论 #3489241 未加载
评论 #3485432 未加载
Ubersoldatover 13 years ago
Doesn't work in Ubuntu Maverick with X.Org 1.7.5
评论 #3485346 未加载
patricklynchover 13 years ago
Doesn't appear to work on Linux Mint 11 (katya)
评论 #3486368 未加载
zalewover 13 years ago
Just tested on Debian sid. Damn, it worked.
评论 #3485855 未加载
shmerlover 13 years ago
Posted workaround doesn't really work.
评论 #3485928 未加载
literalusernameover 13 years ago
Never use an X11 screen locker. Use vlock -san. Problem solved, and several other problems with it.
评论 #3487276 未加载
drivebyacct2over 13 years ago
Just reminds me of more usability/security concerns in GNOME.<p>If you have any popup dialog box open anywhere, it completely inhibits the screensaver. Try it. Open Rhythmbox and open the volume slider and walk away from your computer. Open Chrome and open the Google Voice popopen box. Your computer will not go to sleep. Also, it breaks mouse focus and more. The GNOME developers don't seem to care at all.
评论 #3488899 未加载
评论 #3488945 未加载
CPlatypusover 13 years ago
I tried this on my very recently installed Fedora 16 desktop at home, and it worked. All of my applications were accessible, alt-tab and other selection methods worked, etc. The only thing that was missing was the panel at the top, and I couldn't be bothered figuring out how to bring it back so I just rebooted. Good thing I don't rely on that feature too much.