ArticleslgStudy

computer science

ACARM-ng

ACARM-ng is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ACARM-ng rather than just read about it. In short: ACARM-ng (Alert Correlation, Assessment and Reaction Module - next generation) is an open source IDS/IPS system. ACARM-ng is an alert correlation software which can significantly facilitate analyses of traffic in computer networks.

ACARM-ng — main illustration
ACARM-ng — illustration

Key takeaways

  • ACARM-ng belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ACARM-ng to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ACARM-ng from memory before moving on to harder problems.

Reference excerpt

ACARM-ng (Alert Correlation, Assessment and Reaction Module - next generation) is an open source IDS/IPS system. ACARM-ng is an alert correlation software which can significantly facilitate analyses of traffic in computer networks. It is responsible for collection and correlation of alerts sent by network and host sensors, also referred to as NIDS and HIDS respectively. Correlation process aims to reduce the total number of messages that need to be viewed by a system administrator to as few as possible by merging similar events into groups representing logical pieces of malicious activity.

History The initial version of ACARM was being developed in the frame of POSITIF European research project between 2004 and 2007. It has been written in Java as a practical proof of concept, presented in the article. Despite its poor scalability and efficiency issues, the software proved to be highly useful. At the end of 2009 it became obvious that the current design had serious shortcomings with poor performance in the first place. As a result of that the project was discontinued. Later that year, a new project nicknamed ACARM-ng was launched aiming to replace the original ACARM. ACARM-ng was to bring the alert correlation to a new dimension thank to its scalability and plug-in-based architecture. It has been actively developed since 2009 by Wroclaw Centre for Networking and Supercomputing as a part of the PL-Grid project.

Features ACARM-ng's main features include:

generic framework (system can be easily extended with plug-ins) multi-threaded implementation low CPU utilisation and memory footprint implementation using state-of-art, object oriented design methods recurrent alerts processing real-time informing and reaction web-based data visualisation long correlation time windows, that do not delay reporting

Architecture ACARM-ng consists of 3 main elements: correlation daemon, WUI and (optional) a database engine. ACARM-ng's daemon has been designed from scratch as a framework solution. It provides core system functionalities, like logging, alerts and correlated meta-alerts passing between system parts, error recovery, multi-threading, etc.. The rest of the package are plug-ins, separated into following classes:

persistency (data abstraction) input (data gathering) filter (data correlation and modification) trigger (automatic reporting and reaction) Built-in software watchdog provides up-to-date information on system status.

WUI makes browsing of correlated data easy via graphical and tabular representation of gathered and correlated events. System administrator can easily see what is going on at every moment of system's lifetime.

The WUI and the daemon interoperate through a database. Daemon stores gathered data along with the correlation results and its runtime configuration. WUI is entitled to read and display this data. Notice that even though data base engine is not required for running daemon, it is strongly recommended to save data persistently. Rejecting to use database makes it impossible to obtain system information via WUI and leads to a loss of historical data when system is restarted. Events that are no longer processed by the daemon are discarded as well.

Preprocessor It is often required to limit the amount of incoming data (for example: remove alerts raised periodically by cron scripts). In order to allow users to adapt system's input to their own needs a special "preprocessor" component is provided. It allows to define a chain of accept-if-match and reject-if-match rules to accept or reject incoming alerts before they enter the correlation engine.

Plugins ACARM-ng's daemon allows addition and removal of new plug-ins without the need to recompile the core package. It makes system development and testing much easier. Each plug-in to be used, has to be configured in the main configuration file first.

Persistency Persistency provides abstraction at the storage level. This generic interface can be used to implement any data-saving back-end, as long as transaction mechanism is provided. Recent, stable release of ACARM-ng provides following persistency implementations:

stubs (ignores all write requests - data is not saved) postgres (uses PostgreSQL data base for storing information)

Input An input provides an abstraction of a data gathering mechanism. The only requirement on the implementation is to output alerts in an ACARM-ng-compatible form. Recent, stable release of ACARM-ng provides following input implementations:

file (reads XML files in IDMEF format) prelude (read alerts from Prelude-Manager data gathering point)

Filter A filter provides an abstraction of the correlation and data update mechanism. There are no restrictions on what the filter can do with the meta-alert, though the most common use is to correlate similar alerts (specially tuned API is provided for this special case). Recent, stable release of ACARM-ng provides following filter implementations:

one to one (correlates events between a pair of hosts) one to many (correlates events, where the source host is the same for all alerts) many to one (correlates events, where the destination host is the same for all alerts) many to many (correlates events, where a set of source and destination hosts of correlated alerts are similar) DNS resolver (resolves IP addresses to DNS names, if possible) IP black list (changes the priority of alerts with source/destination addresses belonging to suspicious networks) same name (correlates events with the same name) event chain (correlates events that happened in a chronological order, on next-in-line machines; such a solution is rare and may indicate "scan, brake-in, escalation" sequence) users monitor (correlates events triggered by actions of one user) similarity (correlates events similar to each other, above a given threshold; all data is taken into consideration during comparison of two elements) new event (changes priority of events, that were not previously seen on the system) python (uses user-provided Python script for event correlation)

… excerpt ends here. Continue reading the full article.

Illustrations

ACARM-ng illustration
ACARM-ng: Internal architecture of ACARM-ng showing bundled plug-ins.
Internal architecture of ACARM-ng showing bundled plug-ins.
ACARM-ng: Alert time series plot showing the number of incoming messages during given time period.
Alert time series plot showing the number of incoming messages during given time period.
ACARM-ng: The alert's page showing a sample alert.
The alert's page showing a sample alert.

Worked examples

Example 1 — a first encounter with ACARM-ng

Start with the simplest possible case. Write down what ACARM-ng claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ACARM-ng before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ACARM-ng ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ACARM-ng

In research
ACARM-ng appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ACARM-ng in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ACARM-ng is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer network security, Free security software, Unix security software, so understanding it makes those chapters shorter.
In everyday life
Look for ACARM-ng outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ACARM-ng” →

How to study ACARM-ng in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ACARM-ng means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ACARM-ng out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ACARM-ng in simple terms?

ACARM-ng (Alert Correlation, Assessment and Reaction Module - next generation) is an open source IDS/IPS system. ACARM-ng is an alert correlation software which can significantly facilitate analyses of traffic in computer networks.

Why does ACARM-ng matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ACARM-ng?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ACARM-ng.

Tags

  • Computer network security
  • Free security software
  • Unix security software

Keep exploring