NOTICE: Branded Content
NOTICE: Certain versions of content (“Material”) accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
ArcSight Best Practices
cancel

Practical Guide to ESM Active Lists

Introduction

Active Lists are ESM resources that store event data/fields (not entire events) for a definite or indefinite period of time. They can store defined event fields (event-based active lists) or data extracted (and maybe manipulated, i.e. converting destination usernames to uppercase) from event fields (field-based active lists).

This practical guide is intended to provide an overall overview and hands-on on how to use this valuable resource within ESM.

This guide covers:

    • Event-based vs Fields-based
    • Key Fields
    • Multi-mapped vs Non multi-mapped

 What this guide is…

  • A document to be used as a basic reference to help you effectively build your ESM content
  • A quick start guide to help you get up to speed in ESM active lists authoring

What this guide is not…

  • A written-in-stone guide. As every environment is different, different conditions or assumptions apply to them
  • A replacement for ArcSight ESM Training
  • A replacement for the ESM Console User guide or any other ArcSight official guide

 Enjoy!!!

 

When creating an active list the first and most important thing to consider, other than to include the customer resource column, is to think about what the active list is going to be used for. This will determine the type of list to be created and the fields (and their types -field-based list) to be used.  Once the list has been created you cannot modify its schema (fields and types) but if a change needs to be made then a new active list has to be created. The active list should hold the right data as other resources will be using it.

Active lists can be populated either by a rule action when a rule is triggered (either standard or lightweight rule) or manually through the ESM Console -by hand or importing a csv file. Then this data can be queried and used by other resources as part of the correlation evaluation process -rules, data monitors. Or as part of the Monitoring, Reporting and Incident Analysis phases of the event lifecycle by using queries, query viewers and reports.

In this example we have an active list that is being populated by a lightweight rule and then its data is being queried by a second standard rule, and also through a query, both a report and a query viewer are accessing its data.

AL flow.jpg

 


Event-based vs Field-based

First thing to consider is the active list type to be created. There are 2 types:

  • Event-based active lists have an explicit event field associated with every field in the active list. These are "fixed" active lists. If source address event field is included as a field in the list, this field will always be referenced as a source address (and maybe you want to match this IP address later as destination or device address in a different rule) . You cannot use variable functions, such as type-conversion functions, in this type of list. Also cumulative fields (sum,max,min) cannot be used with event-based active lists.
  • Fields-based active lists have generic fields with only a data type specified. Any event field (or part of it) or different external data (like Threat Intelligence data)  can be used to populate the active list fields as long as the data type is matched (you can use type-conversion variables to convert an IP to a string for instance). This type of list is more flexible as, for instance, you can have a field called IPAddress which is populated by the source Address field of event A, and later it can be matched to Destination/Device/Source Address fields of event B -as being evaluated by another rule. You can also use other variables (such as Concatenate,ToUpper,Add,Round) to store the data that you actually need within the active list.

You can use Key fields with both types of active lists.

Key fields

According to the ArcSight ESM Console User guide, there are 2 best practices for them:

  • For a time-partitioned active list, key fields must be a Date field and a string field
  • Cumulative (COUNT for instance) fields cannot be used as key fields

Keys allow to map one single key to more than one value (using multi-mapping). Rules can look up value fields for given key field values.

If you are going to do anything other than check an entry to see if it is in an active list, you will need to access the data through the GetActiveListValue function, which means you need to define key fields. Key fields are also required when you want multi-mapped entries, case insensitive columns, etc. Choose your key fields wisely.

Key field selection should satisfy the following conditions:

  1. Use the minimum number of key fields possible, but don’t be afraid to have multiple key fields.
  2. The key field(s) selected should uniquely identify an entry.
  3. The event fields from which the data is taken should never be null.
  4. When using IP address fields as a key field, always add the zone field as a key field, as well.
  5. Don’t forget to use the customer field as a key field.

Example 1: You want to track the version status of connectors.

You can use an AL with the following columns:

  • Customer (key)
  • ConnectorID (key)
  • ConnectorZone
  • ConnectorAddress
  • ConnectorHostName
  • ConnectorURI
  • ConnectorType
  • ConnectorVersion

The Customer field is a key field and can be used to select connectors belonging to a given customer for queries on the AL. The ConnectorID is a key field because it is an ArcSight resource ID, which is guaranteed to be unique in the system. The rest of the fields are value fields, and with respect to connectors, should be fairly stable, although things can change, especially the ConnectorURI and the ConnectorVersion.

Example 2: You want to track the version status of systems.

You can use an AL with the following column set (column set 1):

  • Customer (key)
  • SystemZone (key)
  • SystemAddress (key)
  • SystemHostName
  • SystemVersion

If your systems use DHCP, you might instead use this column set (column set 2):

  • Customer (key)
  • SystemZone (key)
  • SystemHostName (key)
  • SystemAddress
  • SystemVersion
If you find the need to check a list to see whether an entry is in it, but need to use an additional active list feature, such as case insensitive columns, use a dummy string field to be the non-key data field (value field), since you cannot have only key fields defined in a list. Your rule to add entries to the list can put whatever string is convenient, a good example would be device custom string1.

 

Multi-mapped vs Non multi-mapped

Multi-mapped active lists are used to allow multiple instances of key (fields) pairings, allowing to map them to multiple values. For instance an internal host (defined by zone and ip address - key pair) to have multiple users, files, software installed or versions (value fields). A user (customer and destination user name Key pair, for instance) can have logins to different systems (value field).

In this example, we are going to review the behavior of both Multi-mapped and non multi-mapped active lists in the same scenario by creating active lists to track how many hosts the same malware has infected in a defined period of time (defined by the active list TTL). The fields that will be used are:

  • zone: Destination Zone field (Key)
  • malware: Name field (Key)
  • client: Destination HostName field

Tip: While this is one way to solve this Use Case, it might not be the only one.

AL-NoMmappings.jpg

 

To configure a no multimapped active list we simply left unchecked the Allow multi-mappings setting:

 

 

 

 

 

MM.jpg

Multimapped active list: We use the exact same fields but we check the Allow multi-mappings setting.

 

 

 

 

 

We send 6 same-malware events for 3 different hosts (2 events each) to the ESM Server:

evetns.jpg

 

If we send a non multimapped active list we get a single entry for all events, and the count is 6:
 
non multi result.jpg

 

With the multimapped active list we get one entry for every non-key field, and for each of these entries the count is 2 as we sent 2 events per host, being the Last Modified Time column the end time for the last event received:

 multi result.jpg

 

This multimapped active list can be used:

  • In rules, to trigger when certain number of hosts (or similar use cases) have been infected by the same (or different if we change some fields) malware in the same ArcSight Zone.
  • In Reports
  • In a Dashboard, to show statistics regarding Malware Infections:
query.jpg

  

An active list query will count the number of hosts, using the COUNT function for the clients field, to actually count the number of hosts per key pairing - zone and malware.



 
 
 
This query will be used to create a query viewer for displaying the data in the suitable format within a dashboard:
 
QV.jpg

 

 

 
 
 
Version history
Revision #:
10 of 10
Last update:
‎03-06-2018 03:42 AM
Updated by: