Hogyan találja meg a "Last Modified" Dátumot a Windows szolgáltatásaihoz?

Tartalomjegyzék:

Hogyan találja meg a "Last Modified" Dátumot a Windows szolgáltatásaihoz?
Hogyan találja meg a "Last Modified" Dátumot a Windows szolgáltatásaihoz?

Videó: Hogyan találja meg a "Last Modified" Dátumot a Windows szolgáltatásaihoz?

Videó: Hogyan találja meg a
Videó: Macintosh SE Restoration and SD-2-SCSI upgrade - YouTube 2024, Április
Anonim
Ha van egy kompromisszumos Windows rendszer, és elemezni szeretné a szolgáltatások telepítését vagy módosítását, akkor hogyan teheti meg? A mai SuperUser Q & A hozzászólás a kíváncsi olvasó kérdéseire ad választ.
Ha van egy kompromisszumos Windows rendszer, és elemezni szeretné a szolgáltatások telepítését vagy módosítását, akkor hogyan teheti meg? A mai SuperUser Q & A hozzászólás a kíváncsi olvasó kérdéseire ad választ.

A mai Kérdések és válaszok munkamenetét a SuperUser - a Stack Exchange, a Q & A weboldalak közösség által irányított csoportosulásának részlegével - köszönheti.

Notepad screenshot a Flyk (SuperUser) jóvoltából.

A kérdés

A SuperUser olvasó, Lucas Kauffman szeretné tudni, hogyan találja meg Létrehozás dátuma (vagy Utolsó módosítás dátuma) a Windows szolgáltatásaihoz:

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?

Hogyan találod meg Létrehozás dátuma vagy Utolsó módosítás dátuma a Windows szolgáltatásaihoz?

A válasz

A SuperUser közreműködők, Flyk és Andrew Medico válaszolnak nekünk. Először is, 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.

Ezt követte Andrew Medico válasza:

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

Van valami a magyarázathoz? Hangzik ki a megjegyzésekben. Szeretne többet válaszolni a többi technikus-tudós Stack Exchange felhasználóiról? Nézze meg a teljes vitafonalat itt.

Ajánlott: