Làm thế nào để bạn tìm thấy "Ngày sửa đổi lần cuối" cho các dịch vụ trong Windows?

Mục lục:

Làm thế nào để bạn tìm thấy "Ngày sửa đổi lần cuối" cho các dịch vụ trong Windows?
Làm thế nào để bạn tìm thấy "Ngày sửa đổi lần cuối" cho các dịch vụ trong Windows?

Video: Làm thế nào để bạn tìm thấy "Ngày sửa đổi lần cuối" cho các dịch vụ trong Windows?

Video: Làm thế nào để bạn tìm thấy
Video: 07 mẹo tuyệt vời trên MacBook/MacOS! - YouTube 2024, Tháng tư
Anonim
Nếu bạn có một hệ thống Windows bị xâm phạm và muốn phân tích khi các dịch vụ được cài đặt hoặc sửa đổi, thì bạn làm như thế nào? Bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc tò mò.
Nếu bạn có một hệ thống Windows bị xâm phạm và muốn phân tích khi các dịch vụ được cài đặt hoặc sửa đổi, thì bạn làm như thế nào? Bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc tò mò.

Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.

Ảnh chụp màn hình của Notepad được cung cấp bởi Flyk (SuperUser).

Câu hỏi

Người đọc siêu người dùng Lucas Kauffman muốn biết cách tìm Ngày thành lập (hoặc là Ngày sửa đổi lần cuối) cho các dịch vụ trong 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?

Làm thế nào để bạn tìm thấy Ngày thành lập hoặc là Ngày sửa đổi lần cuối cho các dịch vụ trong Windows?

Câu trả lời

Những người đóng góp của SuperUser Flyk và Andrew Medico có câu trả lời cho chúng tôi. Đầu tiên, 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.

Tiếp theo là câu trả lời từ 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

Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.

Đề xuất: