Net memory Assembly General shelling implementation principle (1 injection)

Source: Internet
Author: User
Tags dotnet

As mentioned above, DOTNETProgramThe shelling is closely related to the shelling of common PE files.
Most of the Traditional PE file dump is out-of-process dump. Here we will introduce the DOTNET Assembly shelling.
Use in-process dump.

So the first step is to inject the problem. How can we run our program in the target process?
I believe everyone is familiar with the traditional Win32 injection DLL,
Thanks to the features of C ++/CLI, we can inject our program into the target process in a traditional way.

Use vs2005 to create an mfc dll and enable CLR support in the project properties so that CLR can be used in this DLL.
This dll can be injected into the target process like a traditional DLL.

For how injection works, see here
Http://bbs.pediy.com/showthread.php? S = & threadid = 21123.
Another method of shellcode (Remote thread injection shellcode)

After the injection is started, our dumper dialog box is displayed.
Here, I use reflection to enumerate all programs in the current process and display their paths in the list.

You can refer to the textures in the previous post.

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.