Fanatic Live: Decrypting Messenger Id2 files - Fanatic Live

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Decrypting Messenger Id2 files Rate Topic: -----

#1 User is offline   E-ternal

  • I'm getting there
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 07-May 05

Posted 02 July 2007 - 09:54 PM

Since Messenger decided to change their storage path of Messenger content and also the decryption type, the program ive written to backup content doenst work anymore because of the new storage methode. The decrypting formula wich Ive got from here on msnfanatic doesnt work on the new files Messenger creates.

Im talking about the files dt2 and id2. The first one contains the content in cab compression but the id2 files is encrypted
These files can be found in:
C:\Documents and Settings\%User%\Local Settings\Application Data\Microsoft\Messenger\<emailadres>\ObjectStore\

My question is: is there someone who can write me a function to decrypt these id2 files in Visual Basic?

Thanks in Advance

E-ternal

This post has been edited by E-ternal: 02 July 2007 - 10:40 PM

0

#2 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 03 July 2007 - 02:52 AM

VB is Evil :P

Here is a VB6 sample I whipped up just for you.

Attached File(s)


0

#3 User is offline   E-ternal

  • I'm getting there
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 07-May 05

Posted 03 July 2007 - 08:38 PM

Many many thanks for this VB decryption code Steve. Im not sure what you mean by "whipped" because Im not native english speaking (Dutch) but I assume you wrote this code especially for me? How can I thank you? PM me your banknumber so I can give you some credit :)

There is only one question, stupid maybe, but what kind of value is PUID? How do one get this or calculate this?

Oh and what do you mean by "VB is evil?" :P

Greets E-ternal

and btw if I use this code in my project, shall I give some credits to you in the program? Not sure about this because reverse MS encyption is probably illegal. What do you think? Shall I mention your name in a about section?

This post has been edited by E-ternal: 03 July 2007 - 10:19 PM

0

#4 User is offline   E-ternal

  • I'm getting there
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 07-May 05

Posted 03 July 2007 - 10:43 PM

I found my PUID on http://account.live.com >settings >credentials >Unique ID But there must be a way to automate this. In the help of the windows live site they say:

"About your unique ID
The unique identifier (ID) is a 64-bit number that the Windows Live ID assigns to you at registration. The Windows Live ID stores your unique ID in a cookie on your computer"

So I must get this value from a cookie or can get this value by connecting to MessengerApi?

greets E.
0

#5 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 03 July 2007 - 11:34 PM

As I said in the other thread, when you authenticate to Windows Live ID, the PUID is included in the xml for success.

See this page for some more information:
http://msnpiki.msnfa....php/MSNP15:SSO

You don't need to worry about computing the return value if you're not verifying the authentication to passport.

the information you need is in this section in the PUID tag.

Quote

<S:Header>
There is really data here, but for space it has be removed
</S:Header>

0

#6 User is offline   Cato

  • I'm getting there
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 23-July 07

Posted 23 July 2007 - 04:23 PM

Hi TheSteve, why don't you update your ObjectStore.cs class too?

it would be very helpful!!!

thank you for all
0

#7 User is offline   Danmx

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 09-April 08

Posted 09 April 2008 - 06:43 AM

View PostTheSteve, on Jul 3 2007, 11:34 PM, said:

As I said in the other thread, when you authenticate to Windows Live ID, the PUID is included in the xml for success.

See this page for some more information:
http://msnpiki.msnfa....php/MSNP15:SSO

You don't need to worry about computing the return value if you're not verifying the authentication to passport.

the information you need is in this section in the PUID tag.


Hi, I feel really dumb, but heck, I'm new to encryption. I read the post you mention but seriously don't understand anything. I can understand the vb code you posted. But for now I can't test it until I get VB6 installed on my pc.

Well, basically I wanted to ask you how to get the PUID from an authenticated user? I can get the user id which is a 10 digit number I understand comes from an encrypted or decrypted or modified form of the PUID, is there a way to get it from there?
Or is there a way to get it somehow else?

mmm, well I know this post is a bit old, but I hope you'll reply :)

Well, thanks in advance :)
0

#8 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 10 April 2008 - 12:27 AM

In the reply to a successful authentication with the server, you will receive something that looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
	<S:Header>
		<psf:pp xmlns:psf="http://schemas.microsoft.com/Passport/SoapServices/SOAPFault">
			<psf:serverVersion>1</psf:serverVersion>
			<psf:PUID>****************</psf:PUID>
			<psf:configVersion>4.0.5633.0</psf:configVersion>
			<psf:uiVersion>3.100.2179.0</psf:uiVersion>
			<psf:authstate>0x48803</psf:authstate>
			<psf:reqstatus>0x0</psf:reqstatus>
			<psf:serverInfo Path="Live1" RollingUpgradeState="ExclusiveNew" LocVersion="0" ServerTime="2008-04-10T00:18:47Z">server info here</psf:serverInfo>
			<psf:cookies />
			<psf:browserCookies>
				<psf:browserCookie Name="MH" URL="http://www.msn.com">MH=MSFT; path=/; domain=.msn.com; expires=Wed, 30-Dec-2037 16:00:00 GMT</psf:browserCookie>
				<psf:browserCookie Name="MHW" URL="http://www.msn.com">MHW=; path=/; domain=.msn.com; expires=Thu, 30-Oct-1980 16:00:00 GMT</psf:browserCookie>
				<psf:browserCookie Name="MH" URL="http://www.live.com">MH=MSFT; path=/; domain=.live.com; expires=Wed, 30-Dec-2037 16:00:00 GMT</psf:browserCookie>
				<psf:browserCookie Name="MHW" URL="http://www.live.com">MHW=; path=/; domain=.live.com; expires=Thu, 30-Oct-1980 16:00:00 GMT</psf:browserCookie>
			</psf:browserCookies>
			<psf:credProperties>
				<psf:credProperty Name="MainBrandID">MSFT</psf:credProperty>
				<psf:credProperty Name="BrandIDList" />
				<psf:credProperty Name="IsWinLiveUser">true</psf:credProperty>
				<psf:credProperty Name="CID">0000000000000000</psf:credProperty>
			</psf:credProperties>
			<psf:extProperties>
				<psf:extProperty Name="ANON" Expiry="Mon, 27-Oct-2008 07:18:47 GMT" Domains="" IgnoreRememberMe="false"><<data removed>></psf:extProperty>
				<psf:extProperty Name="NAP" Expiry="Sat, 19-Jul-2008 07:18:47 GMT" Domains="" IgnoreRememberMe="false"><<data removed>></psf:extProperty>
				<psf:extProperty Name="LastUsedCredType">1</psf:extProperty>
			</psf:extProperties>
			<psf:response />
		</psf:pp>
	</S:Header>
<!--More data here that I left out for clarity-->
</S:Envelope>


The main point of interest here is the psf:PUID field. This field is your passport user ID. Make sure it's in lower case before attempting to use it as a decryption password.
0

#9 User is offline   LÔPÂN

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 08-January 08

Posted 15 July 2008 - 01:02 AM

Hi TheSteve!

Your VB code seems to be not working with WLM v8.5's id2 files... can you confirm that?
0

#10 User is offline   Palentir

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 30-August 08

Posted 30 August 2008 - 10:29 PM

ahhhhhhhhhahaha, it worked!!

PUID has moved btw: https://account.live...;rp=SummaryPage
its at the bottom of the page

thanks very much for the code steve, I don't suppose you have the Encrypt functions laying around anywhere??
Are the .id2 filenames encrypted as well? they look strange or are they just randomly created?

:blink:
0

#11 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 31 August 2008 - 02:08 PM

View PostPalentir, on Aug 31 2008, 07:29 AM, said:

I don't suppose you have the Encrypt functions laying around anywhere??

I've got a C++ example if you want it. Converting it to VB would be a little bit more difficult that the Decrypt functions though. If you want it, let me know and I'll

View PostPalentir, on Aug 31 2008, 07:29 AM, said:

Are the .id2 filenames encrypted as well? they look strange or are they just randomly created?

The file names are a base64 encoded SHA-1 hash of the data file.
0

#12 User is offline   alexander.uv

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 01-September 08

Posted 01 September 2008 - 05:38 PM

I've converted the VB file to C# code.
It works!

Here it is, if you want it =)

BTW, I'm look for a way to programatically import emoticons hehehe.
It's a pain in the a** when you move from one pc to another.......

Attached File(s)


0

#13 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 02 September 2008 - 07:34 AM

View Postalexander.uv, on Sep 2 2008, 02:38 AM, said:

BTW, I'm look for a way to programatically import emoticons hehehe.
It's a pain in the a** when you move from one pc to another.......

I have a pack creator program that can do that. It does have a few limitations.
1. Do not use non-ascii characters.
2. The maximum shortcut length is 7. The program should attempt to stop you from entering more than that, but you might still be able to get more than that in there.

Link to the start of the thread:
http://forums.fanati...showtopic=11885
Link to the download:
http://forums.fanati...amp;#entry86831
0

#14 User is offline   k1r4

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 23-February 09

Posted 23 February 2009 - 08:15 PM

View Postalexander.uv, on Sep 1 2008, 06:38 PM, said:

I've converted the VB file to C# code.
It works!

Here it is, if you want it =)

BTW, I'm look for a way to programatically import emoticons hehehe.
It's a pain in the a** when you move from one pc to another.......



thanks for this code, but I wanted to ask you a favor ... I need to encrypt the data using another key (unique id)...

you can help me? :pray:
0

#15 User is offline   akoma1blog

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 07-April 09

Posted 11 April 2009 - 12:49 PM

Can anyone please post the code for encrypting .id2 files pls?
I prefer VB but anything is appreciated.
Thank you .
0

#16 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 13 April 2009 - 02:56 AM

View Postakoma1blog, on Apr 11 2009, 09:49 PM, said:

Can anyone please post the code for encrypting .id2 files pls?
I prefer VB but anything is appreciated.

... um is there something wrong with the code that I posted in the second post of this thread?
0

#17 User is offline   MaTtErEnCrYpTiOn

  • One post hero!
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-May 09

Post icon  Posted 20 May 2009 - 10:48 AM

View PostTheSteve, on Jul 3 2007, 03:52 AM, said:

VB is Evil :P

Here is a VB6 sample I whipped up just for you.


Hi Steve,

Not sure how to use these files. (I'm not a programer)

I'm wondering if you know of an open source application that will allow me to create ID2/dt2 files or custom emoticons from .gif files?

Are these the links for this?

Link to the start of the thread: http://forums.fanati...showtopic=11885
Link to the download: http://forums.fanati...amp;#entry86831

Thanks!
0

#18 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 20 May 2009 - 10:30 PM

View PostMaTtErEnCrYpTiOn, on May 20 2009, 07:48 PM, said:

Are these the links for this?

Link to the start of the thread: http://forums.fanati...showtopic=11885
Link to the download: http://forums.fanati...amp;#entry86831

Yes, they are. Create a pack, then install it with the same tool.
0

#19 User is offline   JJAcid

  • I'm getting there
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 08-November 07

Posted 21 August 2009 - 09:39 PM

View PostTheSteve, on 20 May 2009 - 10:30 PM, said:

<!--quoteo(post=108443:date=May 20 2009, 07:48 PM:name=MaTtErEnCrYpTiOn)--><div class='quotetop'>QUOTE (MaTtErEnCrYpTiOn @ May 20 2009, 07:48 PM) <a href="index.php?act=findpost&pid=108443"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Are these the links for this?

Link to the start of the thread: <a href="http://forums.fanatic.net.nz/index.php?showtopic=11885" target="_blank">http://forums.fanatic.net.nz/index.php?showtopic=11885</a>
Link to the download: <a href="http://forums.fanatic.net.nz/index.php?sho...amp;#entry86831" target="_blank">http://forums.fanatic.net.nz/index.php?sho...amp;#entry86831</a><!--QuoteEnd--></div><!--QuoteEEnd-->
Yes, they are. Create a pack, then install it with the same tool.


Hey steve, i was following this thing of "decrypting id2 files" but i can't figure it out yet.
The attachments in the others threads are broken.

Can you give a example of how to decrypt this?, I know that you wrote a guide but it's for map.dat file.

Thanks
0

#20 User is offline   TheSteve

  • The Man from Japan
  • Icon
  • Group: Moderators
  • Posts: 1,813
  • Joined: 07-May 05
  • Location:Fukuoka, Japan
  • Interests:Computer Programming

Posted 25 August 2009 - 03:32 PM

View PostJJAcid, on 22 August 2009 - 06:39 AM, said:

The attachments in the others threads are broken.

It appears the link got garbled up when the forum upgraded last. The correct link to the download post is: http://forums.fanati...indpost&p=86831

View PostJJAcid, on 22 August 2009 - 06:39 AM, said:

Can you give a example of how to decrypt this?, I know that you wrote a guide but it's for map.dat file.


I have a Visual Basic example posted at the beginning of this thread. If you want the original C++ code, I can upload that as well. What language are you working in?
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users