Windows Event ID · System log
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.
These labs give you an .evtx file where Event ID 7045 is part of the story.
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.
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.