SecurityEvent | where (EventID == 4697 and ServiceFileName matches regex "^%systemroot%\\\\[a-zA-Z]{8}\\.exe$" and ServiceName matches regex "(^[a-zA-Z]{4}$)|(^[a-zA-Z]{8}$)|(^[a-zA-Z]{16}$)" and ServiceStartType == 3 and ServiceType =~ "0x10") and (not(ServiceName =~ "PSEXESVC"))