TO UNSUBSCRIBE: email "unsubscribe issforum" in the body of your message to
[EMAIL PROTECTED] Contact [EMAIL PROTECTED] for help with any problems!
----------------------------------------------------------------------------
The service scan works by tracking the number of destinations which
have been contacted on a common port, and works irrespective of the
source address or source port used. This is done as 1) the source
address and port are easily spoofed during a scan, and the source port
involved typically has no bearing on the results of the scan and 2)
tracking this information increases the cost of the decode dramatically.
The theoretical maxim for the amount of state required to provide this
information is 2^32(source addresses) * 2^16(source ports) * 2^24
(destination masks) * 2^10(destination ports 1-1024), as opposed to
just 2^24 * 2^10 if only the destination mask and port is tracked.
The latter approach is more accurate if spoofed addresses are utilized
in the port sweep (less chance of a false negative due to a dropped
packet), and less expensive in terms of system resources.
To collect the information you wish, there are two approaches -
1) use the user defined connection event, as you currently do. This will
collect the source address and port used for each and every connection,
which seems to be the desired result. I realize that the result truly
desired is that this logging only be enabled within the context of an
actual service scan, but unfortunately reflexive policies are not (yet)
supported.
2) change the default manner in which this event is filtered. The event
currently filters (ie, does not show a new event) if the source address
and destination port are the same in the new event as it was in the
previous event. This allows for all addresses used in an nmap decoy
scan to be seen, for instance, while preventing a flood of events from
being generated by a single source ip scanning a large number of
destination hosts.
To change this default filter property, go to the advanced tab for this
signature in the policy editor, and uncheck the "use defaults" property
under "Event Propogation". The result will not be as detailed as the
information collected via the user defined connection event, but events
will no longer be filtered based upon the source address and destination
port. So, for instance, when the defaults are not used, a single user
scanning a class A will result in 2^16 ServiceScan events, rather than
just 1.
Hope this helps,
Jacob Langseth
-----Original Message-----
From: Wilkerson, John W. - Contractor
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 18:30
To: Langseth, Jacob (ISSAtlanta)
Subject: Accurately determining a Service Scan
CLASSIFICATION:
How does ServiceScan (service release 1.1) work?
For example, we have a user defined event for any TCP (not UDP) traffic
going to source port 53 and we've seen a lot of the Lion/Ramen worm scans
this way. We also see this in the ServiceScan signature as well with one
difference. With our user defined event we'll see 1000s of events coming
from a single source IP. Now this does fill up our dB but we can easily
determine whether the source that scanned us was legit or not. With the
ServiceScan, we don't get a start and stop time, the number of IPs scanned
(or which IPs were scanned), the source ports used, number of events, etc.
Because of this, it is difficult to determine if we are seeing a false
positive or not. With the user defined event, we can even catch false
negatives with our user defined event but there's the dB size issue to deal
with. Also, is there anyway to incorporate more data fields so RealSecure
and give us more info as the above is only an example of some of the
obstacles we face when trying to legally determine the intent of the source
IP (yes, I'm aware of the possibility of IP spoofing).
Thanks and keep up the great work,
John Wilkerson
Classification:
DRV FM:
Dated:
DECL ON: X1, X3, X5, X6, X7, X8
RE: Accurately determining a Service Scan
Langseth, Jacob (ISSAtlanta) Thu, 31 May 2001 10:21:33 -0700
- Accurately determining a Service Scan Wilkerson, John W. - Contractor
- Stealth mode on Win2k Langseth, Jacob (ISSAtlanta)
- Stealth mode on Win2k Eduardo Palacio
- RE: Accurately determining a Servic... ofriese2
