Windows Event ID · System log

Event ID 7045: A service was installed in the system

Written in the System log by the Service Control Manager when a new service is installed. Remote execution tools and a lot of malware install a service to run their code as SYSTEM.

Key fields

Service Name
Often random or made to look like Windows.
Service File Name (ImagePath)
The program the service runs.
Service Start Type
auto start, demand start and so on.
Service Account
Usually LocalSystem.

What looks suspicious

  • A service installed seconds after a remote logon and ADMIN$ access.
  • ImagePath in C:\Windows\ with an unknown name, in Temp, or running cmd or PowerShell.
  • PSEXESVC, or random names.

Practise with real logs

These labs give you an .evtx file where Event ID 7045 is part of the story.

Related Event IDs

Questions people ask

What is Event ID 7045?

Event ID 7045 (System log) means "A service was installed in the system". Written in the System log by the Service Control Manager when a new service is installed. Remote execution tools and a lot of malware install a service to run their code as SYSTEM.

What should I look for in Event ID 7045?

A service installed seconds after a remote logon and ADMIN$ access. ImagePath in C:\Windows\ with an unknown name, in Temp, or running cmd or PowerShell. PSEXESVC, or random names.

Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.