How Nested Execution Can Abuse a Trusted Windows Application

Summary
A walkthrough shows how Windows Server Essentials’ signed WseClientSvc.exe can load a .NET pass-through program that launches another executable, potentially making arbitrary execution appear to use a legitimate service.
Key points
- The author found multiple unfamiliar services sharing the same executable while reviewing a suspicious item on a partner’s host.
- WseClientSvc.exe, a signed Microsoft binary included with Windows Server Essentials Connector for Windows Server 2012 R2, attempts to load a file passed as an argument.
- Directly passing calc.exe failed because the application expected a .NET assembly.
- A simple .NET pass-through program allowed WseClientSvc.exe to launch calc.exe when invoked with both programs as arguments.
- The article suggests the Windows Server 2012 Essentials SDK’s service-hosting components could be used to create a pass-through service that calls arbitrary executables.
Article Details
- Topic
- Abusing a signed Windows service host to launch an arbitrary executable through nested execution
Vendors
Products
Windows Server 2012 Essentials SDKThis is all included with the Windows Server 2012 Essentials SDK.Windows Server 2012 R2The WseClientSvc.exe and the services we found are all installed as part of the Windows Server Essentials Connector for Windows Server 2012 R2.Windows Server Essentials ConnectorThe WseClientSvc.exe and the services we found are all installed as part of the Windows Server Essentials Connector for Windows Server 2012 R2.
