Didier Stevens

Syndicate content Didier Stevens
(blog \'DidierStevens)
Updated: 24 weeks 2 days ago

Compiling a Windows Service With Mono on Kali

Wed, 2017/09/06 - 02:00
The Windows service I used in my previous blog post can also be compiled on Kali (or other Linux distros or OSX) using Mono. First I install Mono on Kali: sudo apt-get install mono-devel Then I can use Mono’s C# compiler mcs. Unlike .NET’s C# compiler csc.exe, mcs requires a reference to compile a Windows service: mcs -reference:System.ServiceProcess.dll service.cs  
Categories: Security Posts