Closed 3ntr0phy closed 3 years ago
Hello, I am trying to extract more information from the API NtCreateUserProcess in particular from the argument AttributeList . I defined the PPS_ATTRIBUTE_LIST as following, taking the definition from https://github.com/processhacker/processhacker/blob/master/phnt/include/ntpsapi.h
NtCreateUserProcess
AttributeList
typedef struct _PS_ATTRIBUTE { ULONG_PTR Attribute; SIZE_T Size; union { ULONG_PTR Value; PVOID ValuePtr; }; PSIZE_T ReturnLength; } PS_ATTRIBUTE, *PPS_ATTRIBUTE; typedef struct _PS_ATTRIBUTE_LIST { SIZE_T TotalLength; PS_ATTRIBUTE Attributes[1]; } PS_ATTRIBUTE_LIST, *PPS_ATTRIBUTE_LIST;
I am trying to log and print the ULONG_PTR VALUE but all my trials failed. Do you have any suggestion on how to do that? Cheers
nvm done
Did you find anything of interest?
I needed this extra logs for debugging reason :) It may includes interesting info as well !
Hello, I am trying to extract more information from the API
NtCreateUserProcess
in particular from the argumentAttributeList
. I defined the PPS_ATTRIBUTE_LIST as following, taking the definition from https://github.com/processhacker/processhacker/blob/master/phnt/include/ntpsapi.hI am trying to log and print the ULONG_PTR VALUE but all my trials failed. Do you have any suggestion on how to do that? Cheers