The SERVICE Micro-Engine
Of all the different service micro-engines (see Table
7.5), SERVICE.DNS and SERVICE.RPC are two of the more important engines.
SERVICE works at layer 5 and above to analyze traffic between two hosts. Service
engine signatures are one-to-one signatures that interpret the payloads similar
to the way the live services would interpret them. The result of the
interpretation is the decoded fields of the protocol used in comparison against
the signatures. These engines only decode enough of the data to make
comparisons. Once a comparison can be made, the alarm is triggered and keeps
resource utilization to a minimum.
Table 7.5: Service Micro-Engines
|
SERVICE.DNS |
Analyzes the DNS service. |
|
SERVICE.FTP |
FTP service special decode alarms. |
|
SERVICE.GENERIC |
Custom service/payload decode. For expert use
only. |
|
SERVICE.HTTP |
HTTP protocol decode-based string engine.
Includes anti-evasive URL deobfuscation. |
|
SERVICE.IDENT |
IDENT service (client and server) alarms. |
|
SERVICE.MSSQL |
Microsoft SQL service inspection engine. |
|
SERVICE.NTP |
Network Time Protocol–based signature engine. |
|
SERVICE.RPC |
Analyzes the RPC service. |
|
SERVICE.SMB |
SMB SuperInspector signatures. |
|
SERVICE.SMTP |
Inspects SMTP protocol. |
|
SERVICE.SNMP |
Inspects SNMP traffic. |
|
SERVICE.SSH |
SSH header decode signatures. |
|
SERVICE.SYSLOG |
Processes SYSLOGS. |
The SERVICE.DNS micro-engines specialize in
traffic on both TCP (see Figure 7.9) and UDP (see Figure 7.10) port 53. Port
53 is the standard port for DNS traffic. The SERVICE.DNS does not have any
required parameters, but for full coverage on DNS, you must specify TCP or UDP.
Other than that necessity, the engine is open for full customization of the
signatures.
|
Note |
You need to add UDP and TCP signatures to have full
coverage. |
The SERVICE.RPC engine decoder has full decode as an anti-evasive
strategy. It handles fragmented messages or batch messages. The RPC port mapper
operates on port 111. Regular RPC messages are on any port greater than 550. RPC
sweeps are very similar to TCP port sweeps with one exception: they only count
unique ports when valid RPC messages are sent. One other unique characteristic
of the SERVICE.RPC engine is they segregate on each RPC program type for sweep
unique counting. In other words, counting occurs on an individual program basis.
Figure
7.11 shows the signatures that fall into this category.