So this method is working flawlessly on windows 7 victims, but on xp home it seems to open up multiple instances of the server and cancels each other out. Ending up in a death loop of services starting and stopping. Any idea why it would keep trying to open the file over and over? I swear RunPE has a mind of its own sometimes.
|
.NET
How-To Make your own Scantime/Runtime Vista/7/XP crypter |
(Apr 22, 2010 08:42 PM)krayon Wrote: So this method is working flawlessly on windows 7 victims, but on xp home it seems to open up multiple instances of the server and cancels each other out. Ending up in a death loop of services starting and stopping. Any idea why it would keep trying to open the file over and over? I swear RunPE has a mind of its own sometimes. i totally agree. (Apr 23, 2010 04:59 PM)stoney666 Wrote: well i cant figure out how to get rid of the avira detection. I've been told all you need to do is change the icon of your .exe. ✌
RunPE ideas:
I bet you the reason it doesn't work on 64-bit is because of this line where it checks the registers (since the processors are structured differently, the apis will work on any processor) I'm just trying to figure out if I'm right and if I can bypass it since it looks like its just checking to see if there are any values in the thread before injecting the byte array. Code If H.GetThreadContext(PI.Thread, C) And H.ReadProcessMemory(PI.Process, C.Ebx + 8, Address, 4, 0) >= 0 And H.ZwUnmapViewOfSection(PI.Process, Address) >= 0 ThenAny one familiar with this? I did something similar in C# that injects shellcode into an existing process and it works on Win7 64 (and 32) since thats what I'm running, I just used the raw api calls, so i'm assuming I can do the same for this. Right now I'm just going through it all and seeing if I should try to convert it or start from scratch based on my program since I use c# not vb.net. Check out my program shellInjector @ http://imperiumsec.com (Apr 23, 2010 08:41 PM)imperium Wrote: RunPE ideas: Can u be more specific bro.I think ur geting to somewhere usefull.
Specifically I'm trying to make it work on a 64bit processors, right now using my own code I can inject shellcode into a process but not start a process from a full pe in 64bit. Going through this runpe module line by line I'm trying to find the areas that are 32-bit specific and the line I posted above is one place that jumps out at me. So I'm asking people who are experienced with this technique of starting a process if they know the areas we can change to make it work on both 32 and 64 bi processors.
|
|
|




![[Image: moonlight_sanctuary.png]](https://moonlight-sanctuary.org/images/moonlight_sanctuary.png)