Järjestelmän käyttämää Windows-tiliä, kun kukaan ei ole kirjautunut sisään?

Sisällysluettelo:

Järjestelmän käyttämää Windows-tiliä, kun kukaan ei ole kirjautunut sisään?
Järjestelmän käyttämää Windows-tiliä, kun kukaan ei ole kirjautunut sisään?

Video: Järjestelmän käyttämää Windows-tiliä, kun kukaan ei ole kirjautunut sisään?

Video: Järjestelmän käyttämää Windows-tiliä, kun kukaan ei ole kirjautunut sisään?
Video: Bruna Karla - AS MELHORES (músicas mais tocadas) [[MÚSICA GOSPEL]] - YouTube 2024, Huhtikuu
Anonim
Jos olet utelias ja jos haluat lisätietoja siitä, miten Windows toimii hoodin alla, saatat joutua miettimään, mitkä "aktiiviset" prosessit käynnissä ovat, kun kukaan ei ole kirjautunut Windowsiin. Tämän vuoksi tämän päivän SuperUser Q & A -postilla on vastauksia utelias lukija.
Jos olet utelias ja jos haluat lisätietoja siitä, miten Windows toimii hoodin alla, saatat joutua miettimään, mitkä "aktiiviset" prosessit käynnissä ovat, kun kukaan ei ole kirjautunut Windowsiin. Tämän vuoksi tämän päivän SuperUser Q & A -postilla on vastauksia utelias lukija.

Tämän päivän kysymys- ja vastausistunto tulee meihin SuperUserin hyväksi - Stack Exchangein alaosasto, joka on yhteisöllinen Q & A-sivustojen ryhmittely.

Kysymys

SuperUser-lukija Kunal Chopra haluaa tietää, mitä tiliä Windows käyttää, kun kukaan ei ole kirjautunut sisään:

When no one is logged into Windows and the log in screen is displayed, which user account are the current processes running under (video & sound drivers, login session, any server software, accessibility controls, etc.)? It cannot be any user or the previous user because no one is logged in.

What about processes that have been started by a user but continue to run after logging off (for example, HTTP/FTP servers and other networking processes)? Do they switch over to the SYSTEM account? If a user-started process is switched over to the SYSTEM account, then that indicates a very serious vulnerability. Does such a process run by that user continue to run under that user’s account somehow after they have logged off?

Is this why the SETHC hack allows you to use CMD as SYSTEM?

Mihin tiliin Windows käyttää, kun kukaan ei ole kirjautunut sisään?

Vastaus

SuperUser-avustajan grawity on meille vastaus:

When no one is logged into Windows and the log in screen is displayed, which user account are the current processes running under (video & sound drivers, login session, any server software, accessibility controls, etc.)?

Almost all drivers run in kernel mode; they do not need an account unless they start user-space processes. Those user-space drivers run under SYSTEM.

With regard to the login session, I am sure that it uses SYSTEM as well. You can see logonui.exe using Process Hacker or SysInternals Process Explorer. In fact, you can see everything that way.

As for server software, see Windows services below.

What about processes that have been started by a user but continue to run after logging off (for example, HTTP/FTP servers and other networking processes)? Do they switch over to the SYSTEM account?

There are three kinds here:

  1. Plain Old Background Processes: These run under the same account as whoever started them and do not run after logging off. The logoff process kills them all. HTTP/FTP servers and other networking processes do not run as regular background processes. They run as services.
  2. Windows Service Processes: These are not launched directly, but via the Service Manager. By default, services run as LocalSystem (which isanae says equals SYSTEM) can have dedicated accounts configured. Of course, practically nobody bothers. They just install XAMPP, WampServer, or some other software and let it run as SYSTEM (forever unpatched). On recent Windows systems, I think services can also have their own SIDs, but again I have not done much research on this yet.
  3. Scheduled Tasks: These are launched by the Task Scheduler Service in the background and always run under the account configured in the task (usually whoever created the task).

If a user-started process is switched over to the SYSTEM account, then that indicates a very serious vulnerability.

It is not a vulnerability because you must already have Administrator privileges to install a service. Having Administrator privileges already lets you do practically everything.

See Also: Various other non-vulnerabilities of the same kind.

Varmista, että lue loput tästä mielenkiintoisesta keskustelusta alla olevan linkin kautta!

Onko jokin asia lisättävä selitykseen? Kuulkaa kommentit. Haluatko lukea lisää vastauksia muilta tech-tajuilta Stack Exchange-käyttäjiltä? Katso koko keskusteluketju täältä.

Suositeltava: