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.
- SystemLog
- Service Control ManagerSource
- 4Cases and alerts that use it
Fields to read
| Field | What it tells you |
|---|---|
ServiceName | The name of the service. |
ImagePath | The program the service runs (ServiceFileName in the event XML). |
StartType | Auto start, demand start and so on. |
AccountName | The 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 == 7045Splunk (SPL)
index=wineventlog source="XmlWinEventLog:System" EventCode=7045Table, index and source names as CyberSim uses them; your workspace may name them differently.
Where you meet it in CyberSim
Cases
- The Adobe update that came with remote access Intermediate · Endpoint
- VPN account brute forced, admin access to file server Advanced · Network
Alerts in the shift
- Admin network logon, then a new service on that host
- New service installed
The L3 war room
- Macro to domain takeover
- Web shell to domain ransomware
ATT&CK techniques it can show
- T1021.001 Remote Services: Remote Desktop Protocol
- T1021.002 Remote Services: SMB/Windows Admin Shares
- T1053.005 Scheduled Task/Job: Scheduled Task
- T1543.003 Create or Modify System Process: Windows Service
In the glossary
Other System events
- 19 Installation Successful: Windows successfully installed the following update.
- 1502 The Group Policy settings for the computer were processed successfully.
- 20001 Driver Management concluded the process to install driver … for Device Instance ID … with the following status: ….
Microsoft Learn has no page of its own for this event; the description follows the event’s message text.