cyberstrikeus/cyberstrike/t1559-002-dynamic-data-exchange

Claude Code and agent skill by cyberstrikeus/cyberstrike

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Adversaries may use Windows Dynamic Data Exchange (DDE) to execute arbitrary commands.

Install

npx vskill@latest install cyberstrikeus/cyberstrike/t1559-002-dynamic-data-exchange

SKILL.md

The same SKILL.md was published earlier as cyberstrikeus/cyberstrike/t1559-002-dynamic-data-exchange.

T1559.002 Dynamic Data Exchange

Sub-technique of: T1559

High-Level Description

Adversaries may use Windows Dynamic Data Exchange (DDE) to execute arbitrary commands. DDE is a client-server protocol for one-time and/or continuous inter-process communication (IPC) between applications. Once a link is established, applications can autonomously exchange transactions consisting of strings, warm data links (notifications when a data item changes), hot data links (duplications of changes to a data item), and requests for command execution.

Object Linking and Embedding (OLE), or the ability to link data between documents, was originally implemented through DDE. Despite being superseded by Component Object Model, DDE may be enabled in Windows 10 and most of Microsoft Office 2016 via Registry keys.

Microsoft Office documents can be poisoned with DDE commands, directly or through embedded files, and used to deliver execution via Phishing campaigns or hosted Web content, avoiding the use of Visual Basic for Applications (VBA) macros. Similarly, adversaries may infect payloads to execute applications and/or commands on a victim device by way of embedding DDE formulas within a CSV file intended to be opened through a Windows spreadsheet program.

DDE could also be leveraged by an adversary operating on a compromised machine who does not have direct access to a Command and Scripting Interpreter. DDE execution can be invoked remotely via Remote Services such as Distributed Component Object Model (DCOM).

Kill Chain Phase

  • Execution (TA0002)

Platforms: Windows

What to Check

  • [ ] Identify if Dynamic Data Exchange technique is applicable to target environment
  • [ ] Check Windows systems for indicators of Dynamic Data Exchange
  • [ ] Verify mitigations are bypassed or absent (4 known mitigations)
  • [ ] Assess detection coverage (1 detection strategies)

How to Test

Atomic Red Team Tests

The following tests are from Atomic Red Team and provide actionable ways to test this technique:

Atomic Test 1: Execute Commands

Executes commands via DDE using Microsfot Word

Supported Platforms: windows

Atomic Test 2: Execute PowerShell script via Word DDE

When the word document opens it will prompt the user to click ok on a dialogue box, then attempt to run PowerShell with DDEAUTO to download and execute a powershell script

Supported Platforms: windows

cmd
start "$PathToAtomicsFolder\T1559.002\bin\DDE_Document.docx"
Atomic Test 3: DDEAUTO

TrustedSec - Unicorn - https://github.com/trustedsec/unicorn

SensePost DDEAUTO - https://sensepost.com/blog/2017/macro-less-code-exec-in-msword/

Word VBA Macro

Dragon's Tail

Supported Platforms: windows

Manual Testing

If Atomic Red Team tests are not applicable, manually verify the technique by:

  1. Identify Attack Surface: Determine if the target environment is susceptible to Dynamic Data Exchange by examining the target platforms (Windows).
  1. Assess Existing Defenses: Review whether mitigations for T1559.002 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
  1. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.

Remediation Guide

M1040 Behavior Prevention on Endpoint

On Windows 10, enable Attack Surface Reduction (ASR) rules to prevent DDE attacks and spawning of child processes from Office programs.

M1048 Application Isolation and Sandboxing

Ensure Protected View is enabled.

M1054 Software Configuration

Consider disabling embedded files in Office programs, such as OneNote, that do not work with Protected View.

M1042 Disable or Remove Feature or Program

Registry keys specific to Microsoft Office feature control security can be set to disable automatic DDE/OLE execution. Microsoft also created, and enabled by default, Registry keys to completely disable DDE execution in Word and Excel.

Detection

Detect Abuse of Dynamic Data Exchange (T1559.002)

Risk Assessment

FindingSeverityImpact
Dynamic Data Exchange technique applicableHighExecution

CWE Categories

CWE IDTitle
CWE-94Improper Control of Generation of Code

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,916
Repository forks
457
7-day trend score
40

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyberstrikeus/cyberstrike/t1559-002-dynamic-data-exchange/badge)](https://verified-skill.com/skills/cyberstrikeus/cyberstrike/t1559-002-dynamic-data-exchange)

Something wrong with this skill or its page? Tell us.