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
  • 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."

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,

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline


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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now