Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Need resources for learning about injections

Hey,

Do any of you have any experience with or know any good references to resources where I could learn more about C++ injections to running processes? Or malware development resources in general?
At the moment I think process hollowing and process doppelganging are the de-facto injection methods involving trusted process hijacks. The latter also introduces a locking system in the form of NTFS transactions which makes the memory unreadable until the transaction is complete which will roll itself back and make it look like nothing ever happened in the first place.

A quick Google search can find you numerous PE loaders written to load arbitrary code into 32-bit or 64-bit processes. rohitab seems to have a lot of capable malware programmers that release their code for free and is a good place to find some examples to analyze.
Is this process injection also possible on linux with elf binaries?
(Feb 19, 2020 11:11 AM)ModernJS Wrote:  Is this process injection also possible on linux with elf binaries?

On Linux you could likely just fork, exec, SIGSTOP and then replace the memory of the new process and then inject your shellcode or ELF file and then rebuild the import tables and addresses to mimic process hollowing.
(Feb 19, 2020 11:42 AM)Shisho Wrote:  On Linux you could likely just fork, exec, SIGSTOP and then replace the memory of the new process and then inject your shellcode or ELF file and then rebuild the import tables and addresses to mimic process hollowing.

Yup you're right

https://security.stackexchange.com/quest...unix-macos
Google has all the information in the world.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by rammstein091Feb 8, 2024 11:44 PM 11 277 Feb 8, 2024 11:44 PM
Last Post: peolsolutions
[C] by rikkaJul 22, 2022 12:30 AM 1 156 Jul 22, 2022 12:30 AM
Last Post: Demigod123
[C] by om3gaJan 26, 2022 10:23 AM 3 180 Jan 26, 2022 10:23 AM
Last Post: mose3c