Cisco MARS Configuration


For Cisco IPS 5.x, 6.x, and 7.x devices, MARS pulls the logs using SDEE over SSL. Therefore, MARS must have HTTPS access to the sensor. In order to prepare the sensor, you must enable the HTTP server on the sensor, enable TLS to allow HTTPS access, and make sure that the IP address of MARS is defined as an allowed host, one that can access the sensor and pull events. If the sensors have been configured to allow access from limited hosts or subnets on the network, you can use the access-list ip_address/netmask command in order to enable this access.
Components Used
The information in this document is based on these software and hardware versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Related Products
This configuration can also be used with these sensors:
Configure
In this section, you are presented with the information on how to add and configure a Cisco Secure Intrusion Prevention System (IPS) sensor to a Cisco Security Monitoring, Analysis, and Response System (CS-MARS) device.
Add and Configure a Cisco IPS 6.x or 7.x Device in MARS
When you define a Cisco IPS 6.x or 7.x device in MARS, you can discover any virtual sensors configured on the device. When you discover these virtual sensors, this allows MARS to separate the reported events by virtual sensor. It also allows you to tune the list of monitored networks to each virtual sensor, which improves the accuracy of the desired reporting.
Complete these steps in order to add and configure a Cisco IPS 6.x or 7.x device in MARS:
  1. Choose Admin > System Setup > Security and Monitor Devices. Then, click on Add.


  2. Now enter the administrative IP address in the Reporting IP field. The Reporting IP address is the same address as the administrative IP address.


  3. Note: While it is possible to configure HTTP only, MARS requires HTTPS.



  4. This setting applies to the entire sensor, which includes those logs generated for virtual sensors alerts.



  5. Note: MARS is unaware of changes made to the sensor. Anytime you make changes to the virtual sensor settings, you must click Discover on that sensor configuration page in order to refresh the virtual sensor details in MARS.

    1. Enter the network address in the Network IP field.
    2. Enter the corresponding network mask value in the Mask field.
    3. Click Add in order to move the specified network into the Monitored Networks field.


    4. Note: This is an optional feature available and can be skipped if not required.
    1. Choose a network from the Select a Network list.
    2. Click Add in order to move the specified network into the Monitored Networks field.


    3. Note: This is an optional feature available and can be skipped if not required.
  6. Repeat step 8 through step 10 for each virtual sensor.
  7. Click Submit in order to save your changes. The device name appears under the Security and Monitoring Information list. The submit operation records the changes in the database tables. But, it does not load the changes into working memory of the MARS Appliance. The activate operation loads submitted changes into working memory.
  8. MARS begins to sessionize events generated by this module and evaluate those events using the defined inspection and drop rules. Any events published by the device to MARS before activation can be queried with the reporting IP address of the device as a match criterion..
Verify that MARS Pulls Events from a Cisco IPS Device
It is common to create benign events on the network in order to verify the data flow. Complete these steps in order to verify the data flow between a Cisco IPS device and MARS:
  1. On the Cisco IPS device, enable and alert on the signatures 2000 and 2004. The signatures monitor ICMP messages (pings).
  2. Ping a device on the subnet on which the Cisco IPS device is listening. The events are generated and pulled by MARS.
  3. Verify that the events appear in the MARS web interface. You can perform a query with the Cisco IPS device.
  4. Once the dataflow is verified, you can disable the 2000 and 2004 signatures on the Cisco IPS device.
Note: If the Test Connectivity operation does not fail during the configuration of a Cisco IPS device in the MARS web interface, then communications are enabled. This task allows you to further verify the alerts are generated and pulled correctly.

Configuring DHCP


DHCP supports three mechanisms for IP address allocation:

the basic steps that occur when a DHCP client requests an IP address from a DHCP Server. The client, Host A, sends a DHCPDISCOVER broadcast message to locate a Cisco IOS DHCP Server. A DHCP Server offers configuration parameters (such as an IP address, a MAC address, a domain name, and a lease for the IP address) to the client in a DHCPOFFER unicast message.

Note A DHCP client may receive offers from multiple DHCP Servers and can accept any one of the offers; however, the client usually accepts the first offer it receives. Additionally, the offer from the DHCP Server is not a guarantee that the IP address will be allocated to the client; however, the server usually reserves the address until the client has had a chance to formally request the address.

 


 
Note The formal request for the offered IP address (the DHCPREQUEST message) that is sent by the client is broadcast so that all other DHCP Servers that received the DHCPDISCOVER broadcast message from the client can reclaim the IP addresses that they offered to the client.

If the configuration parameters sent to the client in the DHCPOFFER unicast message by the DHCP Server are invalid (a misconfiguration error exists), the client returns a DHCPDECLINE broadcast message to the DHCP Server.

The DHCP Server will send to the client a DHCPNAK denial broadcast message, which means the offered configuration parameters have not been assigned, if an error has occurred during the negotiation of the parameters or the client has been slow in responding to the DHCPOFFER message (the DHCP Server assigned the parameters to another client) of the DHCP Server.

 
•If the client is directly connected (the gi-addr field is zero), the DHCP Server matches the DHCPDISCOVER with DHCP pool(s) that contain the subnet(s) configured on the receiving interface. If the interface has secondary IP addresses, the subnets associated with the secondary IP addresses are examined for possible allocation only after the subnet associated with the primary IP address (on the interface) is exhausted.
The Cisco IOS DHCP Server feature offers the following benefits:
Because the DHCP Server maintains configurations for several subnets, an administrator only needs to update a single, central server when configuration parameters change.
Before you configure the Cisco IOS DHCP Server feature, complete the following tasks:
•Decide on a DNS domain name.
DHCP Client Overview
The DHCP Server database is organized as a tree. The root of the tree is the address pool for natural networks, branches are subnetwork address pools, and leaves are manual bindings to clients. Subnetworks inherit network parameters and clients inherit subnetwork parameters. Therefore, common parameters, for example the domain name, should be configured at the highest (network or subnetwork) level of the tree.

Note Inherited parameters can be overridden. For example, if a parameter is defined in both the natural network and a subnetwork, the definition of the subnetwork is used.

Address leases are not inherited. If a lease is not specified for an IP address, by default, the DHCP Server assigns a one-day lease for the address.

 
To configure the Cisco IOS DHCP Server feature, perform the tasks described in the following sections. First configure a database agent or disable conflict logging, then specify IP addresses that the DHCP Server should not assign (excluded addresses) and should assign (a pool of available IP addresses) to requesting clients. The tasks in the first three sections are required. The tasks in the remaining sections are optional.
•Enabling the Cisco IOS DHCP Server and Relay Agent Features (Optional)
•Excluding IP Addresses (Required)
•Configuring a DHCP Address Pool (Required)
•Configuring a DHCP Server Boot File (Optional)
•Configuring the Number of Ping Packets (Optional)
•Configuring the Timeout Value for Ping Packets (Optional)
•Enabling the Cisco IOS DHCP Client on Ethernet Interfaces (Optional)

 

 

 

 

 

 


 
Note You can not configure manual bindings within the same pool that is configured with the network command. To configure manual bindings, see the "Configuring Manual Bindings" section.

 

 

 

 

 

 

 
  
.
.
.

 

 

 

 
  
  

 

 

 

 

 
Note Use this command in privileged EXEC mode.

 

 
!
!
!


!
! name to ip address
!
!
!