Nmap Development mailing list archives

Re: POC Payloader dat


From: David Fifield <david () bamsoftware com>
Date: Mon, 21 Dec 2009 12:16:59 -0700

On Sat, Dec 19, 2009 at 12:16:59PM -0500, Jay Fink wrote:
On Mon, Dec 14, 2009 at 7:38 PM, Jay Fink <jay.fink () gmail com> wrote:
On Sun, Dec 13, 2009 at 5:32 PM, David Fifield <david () bamsoftware com> wrote:
That looks pretty good, but if we're not going to be 100% compatible
with Unicornscan's file, then there's no need for ours to look like
theirs. The braces and semicolon can be removed. I'm thinking about a
format more like we have in nmap-service-probes, with named fields
instead of positional values.

/* comment */
payload udp 1604,1645,1812
"\x1e\x00\x01\x30\x02\xfd\xa8\xe3\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
source 100

Attached is a sample of this; I guess the only question I have is do
we really need the payload label? Wouldn't it be simpler with just:

/* payload_citrix */
udp  1604,1645,1812
  "\x1e\x00\x01\x30\x02\xfd\xa8\xe3\x00\x00\x00\x00\x00\x00\x00\x00"
  "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  source 100

Thanks, that looks really good. Now that I've thought about it some
more, I think the file should use # comments instead of /* */ comments
for uniformity with the other data files. Commonents would still be
allowed between lines of the payload.

I agree with you that we don't need the "payload" specifier. "udp" works
fine as a keyword.

I'm happy with this format if you want to get started.

So basically - pending that first label - I am about ready to jump off.
I will need to do some more mining to figure out which payloads can
share dports and who might need a non-magic sport but at least with
the format down I can get started.

So far our needs for this are modest. The radius probe having two
destination ports and the ike wanting a source port of 500 are the only
examples I know of.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: