What is the Evil_DLL used to test the injection method
What this article shares with you is about the Evil_DLL used to test the injection method. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
DLL used by Evil_DLL to test the injection method
# dll uses Rust to implement DLL to test the injection method. Write a demo named pwned_ {pid} .txt to "c:\ pwned" below. {pid} = pid of process injected. The file content is as follows: [*] Pid: "7204"
[*] Process: "C:\ Windows\\ system32\\ regsvr32.exe"
[*] Args: [".\\ evil_dll.dll"]
[*] User: "user"
[*] Domain: "DOMAIN"
[*] Created file: "c:\ pwned\\ pwned_7204.txt"
To compile all dependencies on DLL, you need to create a .dependency / config.toml file at the root of the project and write the following:
[target.x86_64-pc-windows-msvc]
Rustflags = ["- Ctarget-feature=+crt-static"]
The above is what the Evil_DLL used to test the injection method is, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.