Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 13:56

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: steam.dll
PostPosted: 06 Aug 2009 00:21 

Joined: 06 Aug 2009 00:15
Posts: 6
did steam change the way it decrypted the stored password by calling the "SteamDecryptDataForThisMachine" function in steam.dll?


Top
 Profile  
 
 
 Post subject: Re: steam.dll
PostPosted: 06 Aug 2009 02:04 

Joined: 16 Aug 2007 06:25
Posts: 367
Still works fine here. Latest stable release of steam, fresh install too.


Top
 Profile  
 
 Post subject: Re: steam.dll
PostPosted: 06 Aug 2009 22:44 

Joined: 06 Aug 2009 00:15
Posts: 6
im on windows7 i loaded windowsxp in virtualbox and it works, so its a problem with windows7 and calling the function

Code:
.586
.MODEL FLAT, STDCALL
OPTION CASEMAP:NONE

INCLUDE C:\MASM32\INCLUDE\WINDOWS.INC
INCLUDE C:\MASM32\INCLUDE\KERNEL32.INC
INCLUDELIB C:\MASM32\LIB\KERNEL32.LIB
INCLUDE C:\MASM32\INCLUDE\USER32.INC
INCLUDELIB C:\MASM32\LIB\USER32.LIB

.DATA
Encrypted   DB "24EFEC132692C63CF934083B6D6F2EB9A2B0310BFFB92B0639782F0297DED722FB509F236DAFCC7AAFD4707079A9", 0 ; "steampass"
TheDir      DB "C:\Program Files\Steam\",0
TheDLL      DB "steam.dll",0
TheFunction DB "SteamDecryptDataForThisMachine",0
EncryptedL  DD 5Ch
Decrypted   DB 20 DUP(0)
DecryptedL  DD ?
DecryptBufL DD sizeof Decrypted
Buffer      DB 100 DUP(0)

.CONST
Message     DB "Encrypted Str: %s", 13
            DB "Encrypted Len: %i", 13, 13
            DB "Decrypted Str: %s", 13
            DB "Decrypted Len: %i", 0

.CODE
START:

   invoke SetCurrentDirectory, addr TheDir  ;/// C:\Program Files\Steam\
   push OFFSET TheDLL
   call LoadLibrary   ;///  Load steam.dll
   push OFFSET TheFunction
   push eax
   call GetProcAddress   ;///  Get address of SteamDecryptDataForThisMachine function
   push OFFSET DecryptedL
   push  DecryptBufL
   push OFFSET Decrypted
   push EncryptedL
   push OFFSET Encrypted   ;/// Encrypted pass from blob
   call eax   ;/// Call CryptDecodeString function (returned from GetProcAddress)
    INVOKE wsprintf, OFFSET Buffer, OFFSET Message, OFFSET Encrypted, EncryptedL, OFFSET Decrypted, DecryptedL
    INVOKE MessageBoxA, NULL, OFFSET Buffer, NULL, NULL
    INVOKE ExitProcess, NULL
END START



Top
 Profile  
 
 Post subject: Re: steam.dll
PostPosted: 07 Aug 2009 01:07 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
maybe the cause is the lack of the needed manifest, you can find it in the src folder of steampwd (steampwd.exe.manifest), rename it as your executable and it will use the same privileges of Steam in the building of the key


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: