correlating-security-events-in-qradar

Correlates security events in IBM QRadar using AQL queries, custom rules, and offense management.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill correlating-security-events-in-qradar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: correlating-security-events-in-qradar
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/soc-operations/correlating-security-events-in-qradar
Command: npx skills add https://github.com/xalgord/xalgorix --skill correlating-security-events-in-qradar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SOC analysts struggle to connect isolated alerts into coherent attack narratives and drown in false positive offenses. This Skill provides a structured workflow for investigating QRadar offenses, building correlation rules with AQL, and tuning detection logic to surface real multi-stage attacks.

Core Features & Use Cases

  • Offense Investigation with AQL: Query contributing events, pivot on source IPs, and reconstruct attack timelines across log sources.
  • Custom Correlation Rules: Build building blocks and correlation rules to detect patterns like brute force followed by successful login.
  • Cross-Source Correlation: Join events with network flows to detect lateral movement and DNS-based data exfiltration.
  • False Positive Tuning: Use reference sets and closed-offense analysis to identify noisy rules and reduce alert fatigue.
  • Use Case: An analyst investigating offense #12345 uses the AQL queries to trace 234 failed logins followed by a successful authentication from one source IP, confirms a true positive brute-force compromise, and escalates to incident response.

Quick Start

Investigate QRadar offense 12345 by listing its contributing events in chronological order and pivoting on the source IP to find related activity in the last 24 hours.

Frequently Asked Questions about correlating-security-events-in-qradar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I investigate a QRadar offense with AQL?

Query the events table with the INOFFENSE function, selecting startTime, sourceIP, destinationIP, username, and QIDNAME(qid), ordered by startTime. Then pivot on the source IP with a time-bounded query to find all related activity across log sources.

How to create a correlation rule in QRadar for brute force attacks?

Create a building block rule that fires when 10 or more authentication failure events share the same source IP within 5 minutes. Then build a correlation rule matching that building block plus a successful authentication event from the same source and destination within 10 minutes.

Why is my QRadar correlation rule not firing?

Common causes include DSM parsing failures leaving username or sourceIP fields NULL, events mapped to wrong QIDs, and event coalescing collapsing distinct failures into fewer records. Validate field extraction with a simple AQL SELECT and check for events in the Stored or Unknown category.

How do I reduce false positive offenses in QRadar?

Add known scanners and service accounts to reference sets and exclude them in rule tests. Analyze closed offenses with closeReason False Positive to find noisy QID and log source pairs, then raise thresholds or add NOT-in-reference-set conditions rather than disabling rules.

Can AQL correlate QRadar events with network flows?

Yes, AQL supports LEFT JOIN between the events and flows tables on sourceIP and destinationIP with a time window condition. This enables detecting lateral movement and data exfiltration by linking authentication events to flow byte volumes.

What are the limitations of QRadar event correlation?

Correlation depends entirely on proper DSM parsing and QID mapping; unparsed log sources produce NULL fields that break rule conditions. Coalescing can hide event counts needed for threshold rules, and log source onboarding requires administrator access outside this workflow's scope.