Lesson 9 Flashcards
_________ are used to look for certain things in the application - layer payload; they can be used to qualify a Layer 3/4 class map, which identifies the Layer 3 addresses, the protocol, and the port numbers of the application involved.
Application layer class maps
Application layer class maps fall under two categories: _____ and ______ .
inspection class maps
regular expressions
When using MPF, you can inspect at the application layer by using the ________ command and/or by using the _________ command .
class-map type inspect
policy-map type inspect
Advanced Protocol Inspection (aka ______________ )
deep packet inspection
App layer attacks:
–
Blocking .exe attachments
–
Prohibiting peer-to-peer file sharing
–
Setting limits on URL lengths (buffer overflow)
–
Prohibiting file transfer as part of IM sessions
–
Protecting web services by ensuring XML schema is valid
–
Resetting a TCP session if a string is known to be malicious
–
Dropping sessions with packets that are out of order (SIP).
class-map type inspect =
used to match criteria specific to an application
policy-map type inspect =
used to define special actions for inspection application traffic
class-map supported apps
dns, ftp, h323, http, im , and sip
The _________ parameter specifies that all the match commands must be matched to classify the traffic and associate a policy to it
match-all
the _________ parameter specifies that only one match command has to be matched; if you omit it, the parameter defaults to match-all .
match-any
Inspection Class Map config
fw1(config )# class-map type inspect http match-any EXAMINE- PUT-AND-POST
fw1( config-cmap )# match request method put
fw1( config-cmap )# match request method post
policy-map supported apps
dcerpc , dns, esmtp, ftp, gtp , h323, http, im , mgcp , netbios, radius - accounting, rtsp, sip, skinny, and snmp .
Policy Map Example
fw1(config )# policy - map type inspect http OUTPOL
fw1( config - pmap )# match request header length gt 512
fw1( config - pmap - c )# log
fw1( config - pmap - c )# exit
fw1( config - pmap )# match request header length gt 1024
fw1( config - pmap - c)# reset
Regular Expressions
fw1( config )# regex
fw1( config )# class-map type regex match-any
fw1( config - cmap )# match regex
If the policy is applied _______ , actions are applied to traffic in the ingress direction only
globally