Decrypt my World

Cryptography, Security, Debugging and more!

Browse by Tags

Tagged Content List
  • Blog Post: Why is my process in a Job if I didn't put it there?

    Hi all, The other day a customer of mine was having this issue on Windows 7 : CreateProcessAsUser fails with error 5 (Access Denied) when using Jobs . So he had a Windows service running as System in Session 0, that service created a process running as System in Session 0 too, and this process tried...
  • Blog Post: CreateProcessAsUser fails with error 5 (Access Denied) when using Jobs

    Hi all, The other day I worked on a support case where a Windows service running as System in Session 0 was creating a process also running as System in Session 0 , and this new process failed to create another process in the logged-on user's session (Session 2 in this particular case). And it failed...
  • Blog Post: SCardEstablishContext fails with SCARD_E_NO_SERVICE error

    Hi all, If you call SCardEstablishContext API in a Windows service running under a specific user account (domain\user) or NETWORK SERVICE , you may get the following error on Vista/Server 2008 or Windows 7/Server 2008 R2 : 0x8010001d - SCARD_E_NO_SERVICE - "The Smart card resource manager is not...
  • Blog Post: Process created with CreateProcessAsUser won't initialize properly

    Hi all Some time ago a customer of mine had an issue with his client/server application when using CreateProcessAsUser . The process that they were creating was starting but closing immediately and unexpectedly without executing a single line of code in its "main" function. This was the scenario...
  • Blog Post: How to debug Windows services with Windbg

    Hi all, If you want to know how to debug a Windows service , the following article will be of great assistance: How to debug Windows services . I suggest you read this article before you continue reading this post. Also, you should have Debugging Tools for Windows installed in your machine; the tools...
  • Blog Post: How To Host an NT Service on svchost.exe

    Hi all, welcome back, This How To will be very short, because the answer is plain and simple: it's not supported to host non-windows services in svchost.exe , it's for MS Windows Services only. I hope this helps. Cheers, Alex (Alejandro Campos Magencio) PS: Happy New Year to you...
Page 1 of 1 (6 items)