5 ms·
At college, we had AIX Unix terminals that ran in character mode. I wrote a program to simulate the login screen. It would record your user/password to a file a
by statictype 14y ago
At college, we had AIX Unix terminals that ran in character mode. I wrote a program to simulate the login screen. It would record your user/password to a file and then throw an 'Invalid Login' error and then actually logoff and give you the real login screen. So no one suspected anything.
After I was done with a terminal, I'd run this program and leave (knowing full well, that someone could Ctrl-C to terminate the program and get access to my account though no one ever did)
I got more than a few passwords with this. But didn't actually do anything with them. I felt bad and deleted the program and passwords after some time.
- billpg 14y agoI suspect that's why Windows has you do a Ctrl+Alt+Del before logging in.
- TazeTSchnitzel 14y agoExactly. Only the windows login process can hook into that keystroke.
- eliasmacpherson 14y agoit might be my imagination, but i've heard of hacked winlogon.exe's, wikipedia says 'vundo'?
- eropple 14y agoThat isn't hooking Ctrl-Alt-Del, though--it's replacing the winlogon desktop that Ctrl-Alt-Del is hardcoded to switch you to.
- tallanvor 14y agoThat's more or less exactly it. Ctrl+Alt+Del causes a switch from the interactive desktop (WinSta0\Default) to the Winlogon desktop, which no other process has access to. Windows code also contains a special rule for interrupting the Ctrl+Alt+Del combination to prevent other applications from hooking into it and overriding the default functionality. Technically it is possible to get other processes to run in the Winlogon window, but that requires messing around with security tokens, among other barriers.
- voltagex_ 14y agoI think either VirtualBox or VMware Workstation can detect Ctrl-Alt-Delete - it then asks you if you meant to send that to the guest VM. Any idea how that works if there's protection on Ctrl-Alt-Delete?
- jameyc 14y agoCtrl-Alt-Del fires an IRQ. As such, it can't usually be fired remotely - although some utils work around it by making API calls at the client end to trigger the behavior, depending on context. Some flavors of VMware hooked the IRQ on the host machine and responded to that (not sure about VirtualBox, never thought to check that.) They can send it to the virtual machine easily, as they are also providing the a virtual bios/hardware layer.
- DrStalker 14y agoVmware detects it, but doesn't stop it dumping you to the lock screen. The result is you hit control Ctrl-alt-del, lock screen pops upp, you get out of the lock screen, and there is a vmware popup saying "hey! You probably meant to use Ctrl-Alt-Insert instead!"
- bcbrown 14y agoBack when my high school switched from Win 98 to one of the NTs, and Ctrl-Alt-Del started being used to log in, I thought about making an application that looked like the login UI itself, as if someone else had pressed Ctrl-Alt-Del but then got distracted before actually logging in. But I didn't have the skills to do it. The best I got was finding out how to launch cmd.exe on NT, when the system had been locked down to disallow right clicks on the desktop, no desktop icons, and only approved programs in the start menu. I think it involved navigating the help system to a certain page that had a link to Explorer. Then I explored the network until I found an unused share somewhere, where I put gcc and started teaching myself C. The command prompt also let me use the "net send" command to send messages to other computers, which was fun.
- segmond 14y agoyou could have trapped Ctrl-C. You could also check if password hashed matched what was in the password file. I use to hit ^C and enter a few wrong passwords everytime because of this. I wrote such a program too, but the most fun I had was doing it in Turbo C to get access to the mainframe of the school district while i was in high school. Unix shells were so easy back then.
- danielweber 14y agoMy BASIC teacher saw me writing a login screen program and thought it was cool. I wasn't making any attempt to hide it, though. But it did take a long time to write, because I had to make the IBM logo out of extended-ASCII by hand, and even then it was clearly running inside a BASIC interpreter really really slowly.