Skip to content
CyberSimStart training

Windows System log

7045 A service was installed in the system.

A new Windows service was registered. Remote-execution tools and remote-access software install themselves as services, so this is one of the most useful events on a server.

Fields to read

FieldWhat it tells you
ServiceNameThe name of the service.
ImagePathThe program the service runs (ServiceFileName in the event XML).
StartTypeAuto start, demand start and so on.
AccountNameThe account it runs as, often LocalSystem.

Normal

  • Software installs and agent updates during patching or a rollout.

Suspicious

  • A random-looking name, or a program in Temp, AppData or C:\Users\Public.
  • cmd.exe or PowerShell in the image path; a service created right after a network logon by an administrator account.
  • Remote-access tools installed as a service on a machine that has no ticket for them.

Find it

Microsoft Sentinel (KQL)

Event
| where EventLog == "System" and EventID == 7045

Splunk (SPL)

index=wineventlog source="XmlWinEventLog:System" EventCode=7045

Table, index and source names as CyberSim uses them; your workspace may name them differently.

Where you meet it in CyberSim

Cases

Alerts in the shift

The L3 war room

ATT&CK techniques it can show

In the glossary

Other System events

Microsoft Learn has no page of its own for this event; the description follows the event’s message text.