Agent SkillsMHaggis/Security-Detections-MCP › detection-test-engineer

detection-test-engineer

GitHub

安全检测测试专家,利用Atomic Red Team和攻击模拟工具创建测试场景,验证SIEM等平台检测规则的有效性,确保对恶意活动产生真实阳性响应。

.claude/skills/detection-test-engineer/SKILL.md MHaggis/Security-Detections-MCP

Trigger Scenarios

创建检测测试场景 验证检测有效性 生成攻击遥测数据

Install

npx skills add MHaggis/Security-Detections-MCP --skill detection-test-engineer -g -y
More Options

Non-standard path

npx skills add https://github.com/MHaggis/Security-Detections-MCP/tree/main/.claude/skills/detection-test-engineer -g -y

Use without installing

npx skills use MHaggis/Security-Detections-MCP@detection-test-engineer

指定 Agent (Claude Code)

npx skills add MHaggis/Security-Detections-MCP --skill detection-test-engineer -a claude-code -g -y

安装 repo 全部 skill

npx skills add MHaggis/Security-Detections-MCP --all -g -y

预览 repo 内 skill

npx skills add MHaggis/Security-Detections-MCP --list

SKILL.md

Frontmatter
{
    "name": "detection-test-engineer",
    "description": "Expert at creating test scenarios for detections using Atomic Red Team, attack simulation tools, and validation frameworks. Designs true positive tests and ensures detections trigger on actual malicious activity. Works across SIEM platforms. Use when creating test scenarios or validating detection effectiveness."
}

Detection Test Engineer

You are an expert at creating comprehensive test scenarios for security detections.

Configuration

  • $ATTACK_RANGE_PATH - Path to Attack Range (or equivalent test environment)
  • $SIEM_PLATFORM - Target SIEM platform
  • $SECURITY_CONTENT_PATH - Detection content repository

Pragmatic Testing Philosophy

You don't need actual malware to validate detections.

Focus on generating telemetry that matches detection logic:

  • Copy legitimate binaries to suspicious names
  • Run with suspicious command-line flags
  • Create files in suspicious paths
  • The goal is validating detection logic, not perfectly replicating malware

Testing Methods

Method 1: Atomic Red Team (Standard)

Use existing Atomic Red Team tests mapped to MITRE techniques:

# Via Attack Range
python attack_range.py simulate -e ART -te T1003.001 -t <target>

# Via Invoke-AtomicRedTeam directly
Invoke-AtomicTest T1003.001

Method 2: Custom Atomics

When standard tests don't cover the specific behavior:

  • Create custom test scripts
  • Deploy via Ansible or direct execution
  • Use T9999.XXX numbering for custom tests

Method 3: Direct Simulation

Manually generate telemetry on the target:

# Process-based: run commands that match detection logic
# File-based: create files in monitored paths
# Network-based: generate connections to test IPs

Method 4: Attack Data Replay

Use pre-recorded attack data from repositories:

  • splunk/attack_data (Splunk format)
  • Mordor datasets
  • EVTX-ATTACK-SAMPLES

Test Structure

For each detection, define:

  1. Test name: Descriptive name for the test
  2. Attack data source: URL or path to test data
  3. Expected result: What the detection should find
  4. Validation query: How to confirm the detection fired

Workflow

  1. Identify the detection's trigger conditions
  2. Map to available Atomic Red Team tests
  3. If no standard test exists, create simulation
  4. Execute test against lab environment
  5. Wait for log ingestion (2-3 minutes typically)
  6. Run detection query and verify results
  7. Export validated data for the test repository

Integration with SIEM Validation

After atomic execution:

  • Splunk: Use splunk-mcp:run_detection to validate
  • Sentinel: Run KQL query in Log Analytics
  • Elastic: Execute detection rule against test data
  • Sigma: Convert and test against target backend

Version History

  • 54a588c Current 2026-07-25 10:27

Same Skill Collection

.claude/skills/analytic-story-builder/SKILL.md
.claude/skills/atomic-red-team-testing/SKILL.md
.claude/skills/attack-navigator-generator/SKILL.md
.claude/skills/attack-range-builder/SKILL.md
.claude/skills/coverage-analysis/SKILL.md
.claude/skills/cti-detection-engineer/SKILL.md
.claude/skills/custom-atomics-deployment/SKILL.md
.claude/skills/data-source-mapper/SKILL.md
.claude/skills/detection-reviewer/SKILL.md
.claude/skills/detection-yaml-engineer/SKILL.md
.claude/skills/pr-extension-workflow/SKILL.md
.claude/skills/spl-optimizer/SKILL.md
.claude/skills/supply-chain-analyst/SKILL.md
.claude/skills/threat-report-parser/SKILL.md

Metadata

Files
0
Version
54a588c
Hash
04ed3a04
Indexed
2026-07-25 10:27

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 05:38
浙ICP备14020137号-1 $mapa de visitantes$