News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

RunAsSys

Started by aw27, January 02, 2020, 10:06:59 PM

Previous topic - Next topic

JonasS

I am completely lost.  :undecided:
I am not much into native API.  :nie:

aw27

Quote from: JonasS on January 26, 2020, 05:57:34 PM
I am completely lost.  :undecided:
I am not much into native API.  :nie:

I will post it here, just need to find it and clean it up.

aw27

This is the version using the Native API and works from Windows 2003 onwards. The Native API is needed for Windows 2003 because we have to impersonate a thread of Winlogon.exe in order to be allowed to access and duplicate its token. This does not happen in later Windows versions.

While I have used the Masm32 SDK, some libs will need to be updated (see comments in the source). There is also a structure that is wrong in Windows.inc causing a fail that took me some time to figure out.


JonasS

Quote from: AW on January 27, 2020, 05:37:45 PM
This is the version using the Native API and works from Windows 2003 onwards. The Native API is needed for Windows 2003 because we have to impersonate a thread of Winlogon.exe in order to be allowed to access and duplicate its token. This does not happen in later Windows versions.

While I have used the Masm32 SDK, some libs will need to be updated (see comments in the source). There is also a structure that is wrong in Windows.inc causing a fail that took me some time to figure out.
Thank you SO MUCH!!!!!  :thumbsup: