XingLo SkillSearch

恶意样本威胁情报关联分析

用于把恶意样本分析结果与外部威胁情报进行关联,围绕哈希、域名、IP、证书、基础设施和ATT&CK技战术进行交叉验证,辅助判断已知家族、攻击活动和潜在威胁主体。支持离线分析并可选接入VirusTotal、OTX、Shodan、MISP等情报源,适合在技术分析完成后进一步扩大关联范围和形成上下文结论。

在 AI 中使用此 Skill将本页链接复制给 AI,即可让 AI 获取完整 Skill 内容并按此执行
安全提示: 本站 Skill 均经 ChatGPT 最新模型扫描,未发现恶意脚本及危险指令、未检出已知恶意行为特征,但不保证绝对安全,使用即表示接受此风险

Skill 文件

版本 20260301 · 79ecc16cc7ed65c48910354200492ef9

references/
scripts/
SKILL.md
---
name: threat-intelligence
description: >
  Correlate malware analysis findings with threat intelligence sources. Use when
  mapping observed behaviors to MITRE ATT&CK, attributing malware to threat
  actors or campaigns, enriching IOCs with external intelligence, or assessing
  strategic threat context.
---

# Threat Intelligence Correlation

Systematic approach to contextualizing malware analysis findings with threat intelligence.

## When to Use

- Map observed malware behaviors to MITRE ATT&CK
- Attribute malware to known threat actors or campaigns
- Enrich IOCs with external intelligence sources
- Assess strategic significance of findings
- Track campaign infrastructure evolution

## Prerequisites

- **Python 3.10+** with `json` (standard library)
- **MITRE ATT&CK framework** knowledge for TTP mapping
- **API keys** (via environment variables) for one or more intelligence sources: VirusTotal, OTX AlienVault, AbuseIPDB, Shodan
- **IOCs and behavioral observations** from prior analysis stages (e.g., `ioc-extraction` output)

## Step-by-Step Instructions

### Step 1: Map to MITRE ATT&CK

```bash
# Map observed behaviors to ATT&CK techniques
python3 scripts/attack_mapper.py --behaviors behaviors.json --output attack_mapping.json

# Or provide behaviors inline
python3 scripts/attack_mapper.py --techniques T1566.001,T1059.001,T1547.001
```

Document each mapping with:
- Technique ID and name
- Observed evidence supporting the mapping
- Confidence level (high/medium/low)

### Step 2: Enrich IOCs

```bash
# Enrich IOCs with threat intelligence
python3 scripts/threat_enrichment.py --iocs ioc_list.json --output enriched.json

# Supports: VirusTotal, OTX AlienVault, AbuseIPDB, Shodan
# Requires API keys via environment variables
# Falls back gracefully when APIs unavailable
```

### Step 3: Search for Related Intelligence

Query threat intelligence sources for:
- **Hash lookups**: Known family/campaign association
- **Domain/IP reputation**: Hosting history, related malware
- **YARA rule matches**: Similarity to known threats
- **Code similarity**: Shared code with known families

### Step 4: Attribution Assessment

Consider multiple attribution indicators:

**Strong indicators:**
- Code signing certificates matching known threat actor
- Shared C2 infrastructure with attributed campaigns
- Identical custom tools/implants
- Language artifacts (compiler, debug strings, locale)

**Weak indicators (corroborate, don't rely on alone):**
- Similar TTPs (can be copied)
- Geographic targeting (multiple actors target same regions)
- Time-of-day activity (can be manipulated)
- False flags (deliberately planted attribution)

### Step 5: Campaign Tracking

If part of a broader campaign:
1. Identify campaign infrastructure (domains, IPs, certificates)
2. Track infrastructure changes over time
3. Correlate with other incidents using same infrastructure
4. Map campaign timeline and evolution
5. Identify victim profile/targeting pattern

### Step 6: Strategic Assessment

Provide context:
- Threat actor motivation (financial, espionage, sabotage, hacktivism)
- Target sector/geography alignment
- Sophistication level
- Operational tempo
- Likely next steps based on historical patterns

### Step 7: Defensive Recommendations

Based on ATT&CK mapping:
- Detection rules for each observed technique
- Monitoring recommendations per data source
- Mitigation controls per ATT&CK technique
- Priority based on technique prevalence and impact

## Intelligence Sources

### Open Source (Free)
| Source | Type | Best For |
|--------|------|---------|
| MITRE ATT&CK | Framework | TTP mapping |
| VirusTotal | File/URL/IP intel | Sample and IOC lookup |
| OTX AlienVault | Pulse-based intel | Community threat data |
| AbuseIPDB | IP reputation | Malicious IP identification |
| URLhaus | URL intel | Malware distribution URLs |
| Shodan | Internet scan data | Infrastructure analysis |
| CIRCL MISP | Sharing platform | Community threat sharing |

### Commercial
- CrowdStrike Falcon X
- Recorded Future
- Mandiant Advantage
- ThreatConnect
- IBM X-Force Exchange

## Confidence Levels

| Level | Criteria |
|-------|---------|
| **High** | Multiple independent sources confirm; strong technical evidence |
| **Medium** | Some corroborating evidence; technical indicators align |
| **Low** | Single source or circumstantial evidence; alternative explanations exist |

## Related Skills

- `mitre-attack-mapping` — Detailed ATT&CK technique mapping
- `ioc-extraction` — Extract indicators for enrichment
- `stix-report-generation` — Format intelligence in STIX 2.1
- `malware-report-writing` — Include intel context in reports