Ako nájdeš dátum poslednej úpravy služieb v systéme Windows?

Obsah:

Ako nájdeš dátum poslednej úpravy služieb v systéme Windows?
Ako nájdeš dátum poslednej úpravy služieb v systéme Windows?

Video: Ako nájdeš dátum poslednej úpravy služieb v systéme Windows?

Video: Ako nájdeš dátum poslednej úpravy služieb v systéme Windows?
Video: The Fetch-Execute Cycle: What's Your Computer Actually Doing? - YouTube 2024, Apríl
Anonim
Ak máte ohrozený systém Windows a chcete analyzovať, kedy boli služby nainštalované alebo upravené, ako to urobíte? Dnešný príspevok SuperUser Q & A má odpovede na otázku zvedavého čitateľa.
Ak máte ohrozený systém Windows a chcete analyzovať, kedy boli služby nainštalované alebo upravené, ako to urobíte? Dnešný príspevok SuperUser Q & A má odpovede na otázku zvedavého čitateľa.

Dnešná relácia otázok a odpovedí sa k nám pridelí zdvorilosťou SuperUser - podskupiny Stack Exchange, skupín webových stránok týkajúcich sa otázok a odpovedí.

Poznámkový obrázok obrazovky s láskavým dovolením Flyk (SuperUser).

Otázka

Čítačka SuperUser Lucas Kauffman chce vedieť, ako nájsť Dátum vytvorenia (alebo Posledný zmenený dátum) pre služby v systéme Windows:

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?

Ako nájdeš Dátum vytvorenia alebo Posledný zmenený dátum pre služby v systéme Windows?

Odpoveď

Príslušníci SuperUser Flyk a Andrew Medico majú odpoveď pre nás. Prvýkrát, 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.

Nasledujúca odpoveď od Andrewa Medica:

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

Máte niečo doplniť vysvetlenie? Znížte komentáre. Chcete si prečítať viac odpovedí od iných používateľov technológie Stack Exchange? Pozrite sa na celý diskusný príspevok tu.

Odporúča: