EXPLORE
← Back to Explore
crowdstrike_cqlHunting

List of attachments sent from Outlook

Detection Query

#event_simpleName=ProcessRollup2
| CommandLine=/content.outlook/i
| aid=?aid
| ImageFileName=/(\/|\\)(?<FileName>\w*\.?\w*)$/
| FileName=/(winword|excel|powerpnt)\.exe/i
| CommandLine=/Outlook\\(?<ShortFile>\w*\\.*)$/i
| table([@timestamp, aid, TargetProcessId, ShortFile, CommandLine], limit=1000)

Author

CrowdStrike

Data Sources

Endpoint

Platforms

windowslinux

Tags

Huntingcs_module:Insight
Raw Content
# --- Query Metadata ---
# Human-readable name for the query. Will be displayed as the title.
name: List of attachments sent from Outlook
# MITRE ATT&CK technique IDs
#mitre_ids:

# Description of what the query does and its purpose.
#description:

# The author or team that created the query.
author: CrowdStrike

# The required log sources to run this query successfully in Next-Gen SIEM.
log_sources:
  - Endpoint

# Tags for filtering and categorization.
tags:
  - Hunting

cs_required_modules: 
  - Insight
  
# --- Query Content ---
# The actual CrowdStrike Query Language (CQL) code.
# Using the YAML block scalar `|` allows for multi-line strings.
cql: |
  #event_simpleName=ProcessRollup2
  | CommandLine=/content.outlook/i
  | aid=?aid
  | ImageFileName=/(\/|\\)(?<FileName>\w*\.?\w*)$/
  | FileName=/(winword|excel|powerpnt)\.exe/i
  | CommandLine=/Outlook\\(?<ShortFile>\w*\\.*)$/i
  | table([@timestamp, aid, TargetProcessId, ShortFile, CommandLine], limit=1000)