Asterisk Password Detection Tool-Simple application of code remote thread injection

Source: Internet
Author: User

Sneak in, see the snow forum above saw someone released a "Win7 Asterisk password Detection Tool", found that "there is a little" small use.

The reason is not very useful: This program's ability is quite limited, can only see a portion of the software is not high-security password box inside the program,

If you want to take it to see the QQ password, for granted, it is impossible.

The program uses a very old technique to get the contents of another process's password box: After a remote thread is injected, use the Wm_gettext message to get

Specifies the content of the edit. It is very old, because this method in 2003, as early as a man in the CodeProject published such an article,

A very classic article that leads many people to get started:

Three Ways to Inject Your Code into another Process

Most of my code for this program comes from the above article, but basically all I have to re-write, write only the core part, to achieve the function. Also considered

I learned to learn the methods of remote thread injection.

Working principle:

As we all know, in the current process by sending Wm_gettext messages to a control, you can get the text of the control, but when you get a not belonging to the current

Handle to the control of the process, do you think it is possible to get its text? As early as the Win98, it was possible, but to the back of Win2000, WinXP,

This method can also be used, however, if the edit control is added with the Es_password property, this method will fail ...

So the way the author mentions it is to inject a thread into a remote process, execute wm_gettext, and have the remote thread communicate with the current process process to get the password.

The reason to get the password is because the password work has been given to the remote thread, the remote thread is running in the remote process's address space, belongs to the same process, so no problem.

:

 

 


Program and source code download: http://files.cnblogs.com/nbsofer/asterisk.7z

Asterisk Password Detection Tool-Simple application of code remote thread injection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.