Results 1 to 33 of 33

Thread: ctrl+alt+del

  1. #1

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266

    ctrl+alt+del

    I have searched the net all over, everywhere, but have given up hope. I'm looking for a way to disable the CTRL+ALT+DEL Keystrokes on Windows NT/2000/XP, but all I find is ways to do it with Windows 9x/ME and so forth. I know I can disable many keystrokes on Windows NT based systems, heck, EVERYTHING but CTRL+ALT+DEL.

    I have posted in this category because I thought that the only way that it may be possible is through direct hardware access or that sort of stuff. I am not an assembly programmer, and does not know anything about it. I have seen the coding styles, but am frightended by it. I do Visual Basic and C++.

    But maybe one of you guru dudes here have a piece of code (that I will not neccessarily understand) that may help me in my searching and learning quest for this.

    I know there is a way to do it, because I have seen demostrations of it in other security related applications. But nobody on this entire Internet seems to be willing to share his/her knowledge about it. Hopefully I will find such a person in this forum.

    Thanks.
    jovton

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You might try to contact MS directly...
    It seems as this is your last hope.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Did you get an answer from MS yet?

  4. #4

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    nah.
    jovton

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It's not possible. And a good thing too, from a security standpoint. You wonder why they get you to press CTRL+ALT+DEL to login on NT-based operating systems?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    whulaadeedauh... don't you think I know that by now? of course it's for security measures. But, I was thinking more like...

    I don't want my proggy to capture the c-a-d sequence and prevent NT from protecting passwords, nooo! I was thinking more like: Preventing ANY program, even NT OS from ... no wait... preventing the press of c-a-d ALLTOGETHER. So, if nobody can press c-a-d, how can someone (or any program) capture the password?
    jovton

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    If nobody can press CAD, what if an application crashes?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    Disabling c-a-d will not be permanent. Gheeez. If my proggy unloads, c-a-d will be available again. same goes for if the pc restarts.
    jovton

  9. #9
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Yeah, IF it does

    What if while your app is running, another app hangs in a way that prevents the user from closing your app? What is he supposed to do then?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  10. #10

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    myyy goodness... have you never wanted to achieve anything that breaks the OS? (i.e. hack, for the sake of knowing more, being able to do more) NEVER? Do you work for Microsoft?
    Last edited by jovton; Jun 18th, 2003 at 01:45 PM.
    jovton

  11. #11
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    lol. This is becoming an interesting thread, isn't it?

    There might exist a way where you can stop it in assembler or DirectInput. (I am not that intimately familar with DI to know that if you bypass Windows (there is a way do accomplish this that is well advised for you not to but), you can also bypass Ctrl - Alt - Delete)

    Check it out and tell us if you have a solution.

  12. #12

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    hmmm, it rings a bell. I'm not firmiliar with DI either, but desperation yields strange results
    jovton

  13. #13
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Um, no, actually never wanted to crash windows, it crashes easily enough without me helping . I'm not a destructive nature.
    And I don't work for MS, I actually don't work for any company at all, I'm still a student.


    DirectInput doesn't really bypass windows either. Yes, you bypass most of the windows stuff, but windows still gets the first call on the keyboard - to catch CAD.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  14. #14

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    catch? catch? I don't want to catch it. I want to disable it! (So that not even I can catch it )
    jovton

  15. #15
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I was talking about windows.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  16. #16
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Here's a tip: take the keys off your keyboard
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  17. #17

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    hey good idea.
    jovton

  18. #18
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    idk. Some of the documentation that I fould told me that you can essentially bypass Windows (but we all know how well MS's documents features of their products. )

    Now CornedBee's comment begs the question: how are you going to get the user to take the keys off of the keyboard?

  19. #19

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    hmmm, i'm downloading the source code for doomsday. it contains the DI code for disabling c-a-d. Whether it contains the Win 9x/ME code or the code for NT or maybe both, I don't know yet. Let's see...
    jovton

  20. #20
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Tell me how it turns out.

  21. #21

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    damnation!!! It uses SystemParametersInfo that only disables c-a-d one Win9x-based systems.
    Last edited by jovton; Jun 18th, 2003 at 06:38 PM.
    jovton

  22. #22
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Originally posted by Darkwraith
    Now CornedBee's comment begs the question: how are you going to get the user to take the keys off of the keyboard?
    Include life threats in the product if they won't.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  23. #23
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    ...disables c-a-d one Win9x-based systems.
    "On," right? Well, its a start...

  24. #24

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    Originally posted by Darkwraith
    "On," right? Well, its a start...
    I already knew that one. See first post.

    In one of my other posts somewhere, I came up with an idea of analyzing, and desecting the Win32 core dll's, to see if there may be an exported function that does the trick. The name of the function may not be obvious. Microsoft's theory: Security through obscurity.

    The reason I think that there exists a function like that is because I will prove it to you now... Please follow the following steps:
    [list=1][*]Log into your NT box and wait until your desktop finishes loading.[*]Now press Ctrl+Alt+Del. If you see a Task Damager or Security or Fast Switching Window, then it works, and we will know that some other dude has not yet accomplished this dream of mine.[*]Now press Ctrl+Alt+Del while still at this window. What happens?[*]If nothing happens, then I have proved my theory. If something happens, then I have proved myself wrong. Why?[/list=1]

    If nothing happens, then it is because windows knows that it is already in the c-a-d security mode, and does not have to act on c-a-d again. If we can deceive windows into thinking it is already in this mode, it will not act on the c-a-d sequence when we press it.

    Better theories are welcome
    Last edited by jovton; Jun 19th, 2003 at 02:52 PM.
    jovton

  25. #25
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    There is no CAD secure mode. Pressing CAD again while in Task Manager reboots the system.

    There is a specific file that does the CAD stuff, but it is loaded into secure memory that can only be accessed by the kernel itself.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  26. #26
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Which leads me to a thought...

    Suppose a CAD gets caught by Windows. It then must decide what to do. It will bring up the Task Manager unless Task Manager is already running, in which case it will do a reboot.

    Given that the Task Manager is not running, it has to look up Task Manager and start it. This can still be done in a protected area, but the manager itself - you might be able to intercept its loading and prevent it. No Task Manager -> no reaction to CAD.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  27. #27

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    Originally posted by CornedBee
    There is no CAD secure mode. Pressing CAD again while in Task Manager reboots the system.
    You're not quite getting it yet, now are you... It will NOT, I repeat, it will NOT, I repeat again, it will NOT NOT NOT do a reboot on an NT system. What kind of NT box do you have? I already know how to stop c-a-d in Win9x/ME. Am I getting through to you?

    There is a specific file that does the CAD stuff, but it is loaded into secure memory that can only be accessed by the kernel itself.
    Like... what file is that? Is it the gina? Sure! The gina can be re-written or modified, but I'm sure not every user would approve of that.
    Last edited by jovton; Jun 20th, 2003 at 03:02 AM.
    jovton

  28. #28

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    hmmm, if that protected memory could somehow be accessed in r/w mode through a dangerous int call, then memory can be modified. Does programs like "Game Shark" not have that ability? If the keyboard driver can be modified dynamically in the memory, then interupt 09H handler can be modified. then problems might be solved

    does I sounds too much likes a wannabes?
    Last edited by jovton; Jun 20th, 2003 at 06:21 AM.
    jovton

  29. #29
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Much like wannabes. WinNT runs in Protected Mode, so you can't replace interrupt handlers.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  30. #30
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Strange, it really doesn't reboot. I was absolutly sure it did that even in 2k...


    Ok, still I think that's it some sort of protected area where this stuff is done - maybe you can write a driver to do your stuff?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  31. #31
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Whoa, you are going to try to change BIOS?!

    That is not the best idea. You can reallllly do major damage, and I don't just mean to INT 09h. You could mess all of the BIOS routines!

  32. #32
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Did you finally accomplish your task?
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  33. #33

    Thread Starter
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    Nope.
    jovton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width