Windows Event ID 7045 — New Service Installed
Logged when a new service is installed on the system. The System log equivalent of Security Event 4697.
MITRE ATT&CK
T1543.003 · Windows Service
Persistence
Why It Matters
Service installation is a primary persistence technique. Malware frequently installs itself as a service to survive reboots. Suspicious service names, binary paths in user-writable directories, and services using cmd.exe or PowerShell are key indicators.
Key Fields
Investigation Tips
- 1.Service binaries in C:\Users, C:\Temp, C:\ProgramData, or C:\Windows\Temp are almost always malicious.
- 2.Services with command-line embedded in the binary path (e.g. cmd.exe /c powershell.exe ...) are classic persistence.
- 3.Cross-reference with 4697 (Security log) for the account that installed it.
Go deeper: the full Event ID 7045 — New Service Installed guide
Explore the related technique, investigation steps, and evidence to consider alongside this event.
Read the Event ID 7045 — New Service Installed guide →See Event ID 7045 in your logs
Copy the event details as XML and inspect them in your browser. No file upload or hosted analysis is needed.
Decode an event →