Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› Windows Event 7045
Threats, Abuse & Incident Response

Windows Event 7045

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Threats, Abuse & Incident Response

Windows Event 7045 is a Windows System log event that records when a new service is installed. It shows the service name, the executable path and how the service was configured, which helps administrators detect persistence, remote service creation and other service-based changes.

What Windows Event 7045 Tells You

Windows Event 7045 is most useful as a service-installation record, not just a log entry. It tells you that something created or registered a new Windows service, and that can mark legitimate administration, software deployment, or a persistence technique that deserves immediate scrutiny.

Because services run with elevated operating context and start automatically, a newly installed service can become a durable foothold. The event is especially valuable when the service binary path, account context, or service name looks unusual, inconsistent with the environment, or unrelated to any approved change.

Why Service Creation Is Security-Relevant

Service installation matters because it often creates execution that survives reboots and blends into normal system administration. Attackers and administrators both use services, which means defenders need to judge intent from context, not from the event alone.

Event 7045 is often part of the evidence chain for persistence, remote service creation, and post-compromise tooling. It becomes more suspicious when it appears alongside admin-share activity, remote execution, logon anomalies, or a binary path that points into writable or unexpected locations.

How to Read the Event in Context

Use 7045 as a starting point, then compare it with other Windows telemetry to understand what actually changed. The service name, executable path, start type, and service account details can reveal whether the installation matches an approved application or whether it looks like lateral movement or defender evasion.

Correlating the record with process creation, network activity, and nearby logon events helps separate routine installation from suspicious behaviour. In practice, the strongest signal is not the event by itself, but the combination of a new service plus an execution path and parent activity that do not fit the host’s normal baseline.

Detection and Investigation Workflow

Event 7045 is most effective when it is triaged quickly and paired with service-control and host evidence. A useful review asks who created the service, where the binary lives, whether the path is signed or expected, and whether the service appeared during a maintenance window or outside it.

For fast triage, this is exactly the kind of event that benefits from structured log analysis and service-focused hunting. Pairing the record with broader Windows logging guidance and service-install detections makes it easier to spot persistence, tampering, and hidden follow-on activity.

One practical place to start is the Windows Services and Service Account Security Guide, because service creation often intersects with account choice, service configuration, and detection. For deeper service-install hunting, the T1543 Create or Modify System Process Defensive Guide shows how Event 7045 fits persistence tradecraft. For broader event correlation, the Windows Event Log Guide helps place the alert inside a wider Windows telemetry strategy.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AU-6 — Audit Record Review, Analysis, and ReportingEvent 7045 is an audit record that must be reviewed and correlated for suspicious service installation.
SI-4 — System MonitoringThe event supports host monitoring for new services that may indicate persistence or compromise.
CM-3 — Configuration Change ControlA new service is a configuration change that should be authorized and tracked.
Recommendation — Review service-install audit records and correlate them with surrounding host activity to identify unauthorized persistence. Monitor for new service creation events and alert on unexpected service installations. Require approval and traceability for service creation and other system configuration changes.
MITRE ATT&CKT1543.003 — Windows ServiceWindows Event 7045 commonly evidences service-based persistence under ATT&CK.
Recommendation — Map suspicious 7045 events to T1543.003 and hunt for service-based persistence on the host.
CIS Controls v8CIS-8 — Audit Log ManagementThe term depends on reliable logging and review of service-install audit data.
Recommendation — Centralize and review Windows service-install logs to detect unauthorized changes quickly.

Practitioner Guidance

Why practitioners should care: Event 7045 is one of the clearest Windows signals that a machine has gained a new always-on execution path, so it deserves a change-review mindset rather than a passive log-review mindset. Treat unusual service installs as both an operations issue and a potential compromise indicator.

Common misunderstanding: Teams sometimes assume a service-install event is benign if it came from an administrator account. That assumption can fail when attackers abuse valid admin access, remote tools, or packaging systems to register a service that later becomes the persistence mechanism.

Practitioner takeaway: Make 7045 reviewable in context, not in isolation, and ensure the resulting investigation always checks the binary location, the service account, and the host’s expected change window.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org