Forum Settings
       
Reply To Thread

Reassigning the Secure Attention Sequence in Windows XPFollow

#1 Mar 14 2008 at 6:13 AM Rating: Good
Living on a Prayer
******
30,114 posts
Does anyone know a way to change the Secure Attention Sequence in Windows XP from "Control-Alternate-Delete" to something else?
In before "Why do you want to change it?"
#2 Mar 14 2008 at 12:50 PM Rating: Decent
Lunatic
******
30,086 posts
You can't "change" it, it's kernel bound. You could replace it with something else using a custom GINA library, which is how biometric devices or what have you initialize SAS for login.

Depending on the library, you could remap the key sequence using registry keys to whatever you wanted.

good luck.
____________________________
Disclaimer:

To make a long story short, I don't take any responsibility for anything I post here. It's not news, it's not truth, it's not serious. It's parody. It's satire. It's bitter. It's angsty. Your mother's a *****. You like to jack off dogs. That's right, you heard me. You like to grab that dog by the bone and rub it like a ski pole. Your dad? Gay. Your priest? Straight. **** off and let me post. It's not true, it's all in good fun. Now go away.

#3 Mar 20 2008 at 10:42 AM Rating: Decent
**
265 posts
The reason that CTRL-ALT-DEL is used is because it is the only keyboard command that cannot be intercepted by other programs - it always sends an "interrupt" to the system itself. This has to do with the computer architecture itself (e.g. how all of the components are hard-wired).

Any other keyboard combination can be intercepted by other programs instead of passing it along to the operating system. Typically, this would be an annoyance (I accidentally triggered my 1-hour ability), but it could also be abused by malicious programs (to harvest your passwords, etc).
#4Smasharoo, Posted: Mar 21 2008 at 2:21 AM, Rating: Sub-Default, (Expand Post) [b]
#5 Mar 21 2008 at 4:47 AM Rating: Excellent
**
265 posts
Smasharoo wrote:

This has to do with the computer architecture itself (e.g. how all of the components are hard-wired).


No.



Actually, yes. CTRL-ALT-DEL sends a hardware interrupt to the system. Not software, hardware. Software can't catch or stop it. The hardware receives the interrupt and asks the top-level application (your operating system) what to do with it.

References:

http://codingforums.com/archive/index.php?t-79499.html (posts 4&5, as well as further down).
http://www.mp3car.com/vbulletin/input-devices/112348-mapping-ctrl-alt-del-alt-tab-f6-f7-tc.html (posts 7&8 discuss the hardware-basis preventing remapping of CTRL-ALT-DEL keys)
http://cboard.cprogramming.com/archive/index.php/t-43942.html (this post talks about how, to generate CTRL-ALT-DEL in program code, you have to write it to the keyboard input flow. There is no method for software to trigger this hardware interrupt without pretending to be the physical keyboard).

Better, more concrete references are available in assembly language and computer architecture textbooks, but I don't know of any that are freely available on the internet to use for easy-access citation.


In my brief research here, I did find out that I was incorrect about one item in my previous post: CTRL-ALT-DEL is not the only hardware interrupt. Many CTRL- combinations are hardware interrupts, that then ask the operating system what to do. Most of the time, the operating system passes the interrupt to the currently active program, making this transparent to the user. Here is a link to an MSDN blog discussing why CTRL-ALT-DEL was chosen instead of a different hardware interrupt: http://blogs.msdn.com/larryosterman/archive/2005/01/24/359850.aspx.


Edited, Mar 21st 2008 2:54pm by garfunkel
#6Smasharoo, Posted: Mar 21 2008 at 9:35 AM, Rating: Sub-Default, (Expand Post) [b]
#7 Mar 21 2008 at 12:16 PM Rating: Excellent
**
265 posts
Smasharoo wrote:
I think you're unclear what "hardware interrupt" means. Good luck at Full Sail, though.


Then please enlighten me Smasheroo. Seriously. I do not intend or desire to go around spreading misinformation.

I am giving you the benefit of the doubt and looking up further information when you claim something, but you don't provide any references to back up what you say. So I'm left to find information on my own.

For example, I consulted wikipedia's entry on interrupts (http://en.wikipedia.org/wiki/Interrupt), which says the following:

Quote:
Hardware interrupts were introduced as a way to avoid wasting the processor's valuable time in polling loops, waiting for external events.

Interrupts may be implemented in hardware as a distinct system with control lines, or they may be integrated into the memory subsystem.


Note that the memory subsystem would be hardware as well, so either implementation indicates a hardware-based interrupt system.


In an attempt to look further, I looked at the wikipedia entry on interrupt handlers (http://en.wikipedia.org/wiki/Interrupt_handler) and found the following:

Quote:
An interrupt handler, also known as an interrupt service routine (ISR), is a callback subroutine in an operating system or device driver whose execution is triggered by the reception of an interrupt.


This interrupt handler is a piece of software ("...callback routine in an operating system or device driver..."). However, this piece of software is triggered by the interrupt itself, which is generated by the hardware that handles the interrupts.

Since the interrupt handler is software, it could potentially be affected or corrupted by viruses, malware, etc, causing the interrupts to not behave as normal. But the hardware still generates the interrupt. It is the interrupt handler software that does not process the interrupt.


One more thing I found: Phoenix BIOS even includes error beeps for when the programmable interrupt controller goes bad. The solution: replace it. If the interrupt controller was software, I don't think you would need to replace it (ref: http://www.speedguide.net/read_articles.php?id=1576, under Phoenix Biox codes, beep pattern 1-2-1).
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 10 All times are in CST
Anonymous Guests (10)