【问题标题】:What are the windows station and desktop objectswindows站和桌面对象是什么
【发布时间】:2016-11-05 13:48:17
【问题描述】:

我读过这个链接https://msdn.microsoft.com/en-us/library/windows/desktop/ms687098(v=vs.85).aspx,但我不明白,它们是什么,它们的功能。

【问题讨论】:

    标签: windows


    【解决方案1】:

    Windows 工作站和桌面是安全对象。它们的主要功能是充当各种资源和功能的安全分区/屏障,例如剪贴板、hooksregistered messagesglobal atom table。当Terminal Services/Remote 桌面功能添加到 Windows 时,会话被添加到此树的顶部。快速用户切换功能也使用会话。

    层次结构如下所示:

    + Session for services (Session 0)
    | + Window Station  ("Service-xyz...")
    |    + Desktop
    |
    + Session for user "Foo"
    |  + Window Station ("winsta0")
    |    + Desktop ("Default")
    |    | + Taskbar and applications
    |    + Desktop ("Winlogon")
    |    | + Logon/lock screen
    |    + Desktop ("Screen-saver", created on demand)
    |      + Secure screen saver
    |
    + Session for user "Bar"
    |  + Window Station ("winsta0")
    |    + Desktop ("Default")
    |    | + Taskbar and applications
    |    + Desktop ("Winlogon")
    |      + Logon/lock screen
    

    交互式窗口站名为winsta0,为the only 可以从交互式接收鼠标和键盘输入的工作站 用户。

    在 Vista 及更高版本中,services run in their own session

    由于日志记录和挂钩是针对每个桌面的,因此当您输入登录密码或接受 UAC prompt 时,普通应用程序无法侦听键盘输入,因为 Windows (winlogon.exe) 在这些情况下会切换到不同的桌面。

    various tools 工具可让您探索 Window Station 和 Desktop 对象。 Sysinternals 还 wrote a tool 使用/滥用桌面对象来创建虚拟桌面。

    虽然它是 2000 年的,但如果您想了解更多信息,Keith Brown 的“Programming Windows Security”书可能仍然是最好的资源......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-26
      • 1970-01-01
      • 2011-06-16
      • 1970-01-01
      • 1970-01-01
      • 2011-01-24
      • 2018-11-02
      • 2012-06-28
      相关资源
      最近更新 更多