Miten löydät Windowsin palveluiden viimeisen muutetun päivämäärän?

Sisällysluettelo:

Miten löydät Windowsin palveluiden viimeisen muutetun päivämäärän?
Miten löydät Windowsin palveluiden viimeisen muutetun päivämäärän?
Anonim
Jos sinulla on vaarallinen Windows-järjestelmä ja haluat analysoida, milloin palvelut on asennettu tai muokattu, niin miten teet sen? Tänään SuperUser Q & A -postilla on vastauksia utelias lukijan kysymykseen.
Jos sinulla on vaarallinen Windows-järjestelmä ja haluat analysoida, milloin palvelut on asennettu tai muokattu, niin miten teet sen? Tänään SuperUser Q & A -postilla on vastauksia utelias lukijan kysymykseen.

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.

Notepad-kuvakaappaus Flyk (SuperUser) -toiminnolla.

Kysymys

SuperUser-lukija Lucas Kauffman haluaa tietää, miten löytää Luomispäivä (tai Viimeisin muutettu päivämäärä) Windows-palveluissa:

If you have a compromised operating system that you are trying to analyze for newly installed services or when services were installed, how do you do that? Where can I find the Creation Date for a particular service in the Windows registry?

Miten löydät Luomispäivä tai Viimeisin muutettu päivämäärä palveluissa Windowsissa?

Vastaus

SuperUser-avustajat Flyk ja Andrew Medico ovat meille vastauksemme. Ensin ylös, Flyk:

There is no way to determine the Creation Date for a particular Windows service as both the services applet and Windows registry do not store any dates related to creation.

There is, however, a Last Modified Date that is hidden away from view (even in the Windows registry editor), but it can be accessed using RegQueryInfoKey. Since all Windows services are stored in the registry, you can check the Last Modified Date against the registry keys related to the service in question by looking in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices.

Alternatively, if you export the registry keys you want information about as text file, you will see the Last Modified Date for each key is written in the text file.

Image
Image

Finally, a solution using PowerShell to return the Last Modified Date has already been discussed on Stack Overflow.

Seuraaja vastaus Andrew Medico:

Starting with Vista, service creation is logged to the System Event Log under Service Control Manager Event ID 7045.

For example, the following command:

Produced the following event log entry:
Produced the following event log entry:
Image
Image

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: