lborup
December 9th, 2008, 09:13
Hi
I'm fiddling around with a piece of malware in Ida Pro. At some point the malware binary is copied to a new location, and started by a CreateProcess call. The original process then sleeps a while before Exiting.
I assume that the new process at some point test to se wheter it is the "original" process or the newly created process, and then forks in another direction than the file duplication business.
I am wondering what the best option is for debugging the newly created file, since i will probably have to search for this forking point, if i just start the new process after closing the debugging session of the first process. (I hope i still make some sense...).
Could i allow the CreateProcess call to run and then catch the new process in some way, or will i have to manually find the point where the desicion to duplicate is taken and divert the flow?
Regards,
Lasse
I'm fiddling around with a piece of malware in Ida Pro. At some point the malware binary is copied to a new location, and started by a CreateProcess call. The original process then sleeps a while before Exiting.
I assume that the new process at some point test to se wheter it is the "original" process or the newly created process, and then forks in another direction than the file duplication business.
I am wondering what the best option is for debugging the newly created file, since i will probably have to search for this forking point, if i just start the new process after closing the debugging session of the first process. (I hope i still make some sense...).
Could i allow the CreateProcess call to run and then catch the new process in some way, or will i have to manually find the point where the desicion to duplicate is taken and divert the flow?
Regards,
Lasse