Re: Privilege-escalation attacks on NT-based Windows are unfixable

From:
Date: 08/22/02


Date: Thu, 22 Aug 2002 02:59:22 -0400

David Hopwood wrote:
[snip]
> Compare with, say, X-Windows, where it's perfectly possible to have
> windows owned by processes with different privilege levels on the same
> desktop. If by design, any process could simulate keystrokes in an
> xterm where the user was logged into an administrative account, we'd
> consider X-Windows to be hopelessly insecure and unfit for purpose.

Actually, any process *can* send keystrokes to xterm. The *real*
difference is that xterm can ignore simulated keystrokes if it chooses
to, whereas on windows, one can't tell the difference between real and
fake keystrokes, and therefor can't ignore the fake ones. Another
difference is that xterm can prevent real keystrokes from being
intercepted by a keylogger, since it can grab the keyboard.

PS: I have no idea whether or not xterm ignores fake keystrokes... does
it? I recall that there's a menu that lets you turn keyboard grabbing
on and off, but I don't recall any option for ignoring sent events.

-- 
tr/`4/ /d, print "@{[map --$| ? ucfirst lc : lc, split]},\n" for
pack 'u', pack 'H*', 'ab5cf4021bafd28972030972b00a218eb9720000';



Relevant Pages

  • Re: Privilege-escalation attacks on NT-based Windows are unfixable
    ... > windows owned by processes with different privilege levels on the same ... > xterm where the user was logged into an administrative account, ... > consider X-Windows to be hopelessly insecure and unfit for purpose. ... difference is that xterm can ignore simulated keystrokes if it chooses ...
    (comp.security.misc)
  • Re: emacs Vs Eclipse?
    ... > activate them using the keyboard. ... > Seeing emacs modes as Windows applications, ... Well, when coming from Emacs, it seems quite poor. ... >>keystrokes accomplish what they need done. ...
    (comp.lang.java.programmer)
  • Re: Can Ruby be a keylogger on Win/Mac?
    ... Is it possible to write an Ruby program that will intercept keystrokes on ... I'm on Windows at the moment, but I'm switching to Mac soon. ... jay at jay dot fm | cry or shout or hit. ... Ruby in Practice ...
    (comp.lang.ruby)
  • Re: Sendkeys to DOS application
    ... How would I send the keystrokes to the CMD.exe? ... Some command need to be processed before they reach the ... or other kind of method make use of Windows system message. ... but this yields the same results as the SendKeys method: ...
    (microsoft.public.dotnet.framework)
  • Re: To identify fields / button of another application using MFC
    ... This will solve my problem of sending text / commands to Calculator ... Since Java does not create distinct child windows for every control, ... foreground app (the one receiving keystrokes) and stuff the keystrokes using ...
    (microsoft.public.vc.mfc)

Loading