Get MSN Messenger passwords for each user stored on computer

Posted on 2004-10-11
Last Modified: 2010-05-18
Hello experts!.

Is it possible to get MSN passwords using Delphi routine (custom made)?

Like this program can :

Question by:visexpert
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12275674
If that would be possible, it would be a major security leak in Messenger, which would be patched with the next version of Messenger... :-)

Oh, well... It should be possible. The information is stored on your system thus all you have to do is discover where it is stored and then decrypt the information. Just remember that whatever solution you might find, it could be version-dependant.
And, as the tool says, it can only find the password for the currently logged in user, basically because Windows doesn't store the passwords for non-active users. Only for the last user who was active, if that user allowed Messenger to store this information. If not, it is impossible unless the user is logged in.
LVL 11

Expert Comment

ID: 12276267
Your software messenpass only retrieves passwords from Trillian, Netscape,AIM,GAIM and Miranda.
Where is the MS Messenger part? Or the Yahoo part?
Does it work for your yahoo messenger password? Did you test it?
LVL 11

Expert Comment

ID: 12276280
Anyway...(from the download site)
"MessenPass can only be used to recover the passwords for the current logged-on user on your local computer. You cannot use it for grabbing the passwords of other users."
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 12277503
yes and i am interesting to get code for the messenger MSN part for current logged in user.
Can anyone here supply some code?

Accepted Solution

-Karamja- earned 500 total points
ID: 12278354
Well all I know is that the password will be encrypted,
If the password would be anyway it would be in the Protected Storage;
Hope this helps,


Author Comment

ID: 12280574

Expert Comment

ID: 12284261
Im just going to add my two cents worth here, but I think this sort of thing doesn't need any encouragement at all on Experts Exchange.  There should be absolutely no legitimate reason for anyone to need to obtain the password of someone elses Messenger account.  If it can only be obtained by the logged in user, then that user should be asked for their password.  Retrieving it via code makes your program no different than a mallicious virus in my opinion.

Sorry, but I can't see any real reason for it, and all i can see is bad things happening.  Like harvesting MSN usernames and passwords and using them for the wrong reasons.

That's all.

Author Comment

ID: 12286399
Yes we all agree.
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12287347
While I do agree with this too, I think that if it's that easy to hack a product then I'm more worried about all those security specialists failing at their jobs than the hackers trying to hack it. But as I said, many messenger applications just store the password of the currently logged in user, not for all users. And many messengers have an option that would force them to NOT store passwords at all.

Also, whenever hackers ask for a vulnerability here at EE, all experts will soon realise that this vulnerability exists and either close the leak in some way or stop using some product. Ignorance is a bliss but it also keeps you open for attacks.

As this question turns out, Windows seems to have some Protected Storage service and it can be cracked. That's a good reason to not use auto-completion in your projects, for example, since sensitive data would be open for all hackers. But in this case it's just about how to access the protected storage and it's not some undocumented feature. All you have to do in Delphi is import the type library in C:\WINNT\system32\pstorec.dll and you're halfway there already. Oh, and you have to import the PStoreCreateInstance function from the same library. You can even find information about this all in the MSDN site. Barely secret information, I would say. But MSDN does say this too: "The PStoreCreateInstance function is available for use in the Microsoft Windows 2000 and Windows XP operating systems. It may be altered or unavailable in subsequent versions. The CryptProtectData and CryptUnprotectData functions are recommended over the use of this function."
Hey... MS might have already patched this problem already. :-)

I'm not impressed by people who access encrypted data ithrough the normal techniques. Just be aware that people can access it, though.

Author Comment

ID: 12641165

This program is not remotely?

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DBGrid or StringGrid ? 6 136
How to make Sign in, using Clientdataset? 1 43
DBCtrlGrid, Delphi, Scroll 7 35
Delphi Firemonkey : user drawing in window 3 56
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question