Windows Dynamic Data Exchange (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 COM, DDE may be enabled in Windows 10 and most of Microsoft Office 2016 via Registry keys. (Citation: BleepingComputer DDE Disabled in Word Dec 2017) (Citation: Microsoft ADV170021 Dec 2017) (Citation: Microsoft DDE Advisory Nov 2017)
Adversaries may use DDE to execute arbitrary commands. Microsoft Office documents can be poisoned with DDE commands (Citation: SensePost PS DDE May 2016) (Citation: Kettle CSV DDE Aug 2014), directly or through embedded files (Citation: Enigma Reviving DDE Jan 2018), and used to deliver execution via phishing campaigns or hosted Web content, avoiding the use of Visual Basic for Applications (VBA) macros. (Citation: SensePost MacroLess DDE Oct 2017) DDE could also be leveraged by an adversary operating on a compromised machine who does not have direct access to command line execution.
T1173「Dynamic Data Exchange」(DDE) は、Windowsの古いプロセス間通信メカニズムである DDE(動的データ交換) を悪用して、悪意のあるコマンドを実行する手法です。
この手法で攻撃者は、「Office文書のマクロを使わずに、外部コマンドを実行させること」を実現します。
PowerShell や cmd.exe を起動させ、マルウェアをダウンロード・実行させます。DDEは、あるアプリケーション(例:Excel)から別のアプリケーション(例:外部ツール)へデータを要求するための仕組みです。攻撃者はこの「要求先」に悪意のあるコマンドを仕込みます。
{ DDEAUTO "C:\\Windows\\System32\\cmd.exe" "/c powershell.exe -ExecutionPolicy Bypass ..." }cmd.exe や PowerShell が起動し、攻撃が開始されます。DDEを完全に無効化するか、ユーザーが安易に許可しないようにすることが重要です。
winword.exe)やExcel(excel.exe)が、不自然に cmd.exe や powershell.exe を起動していないかをEDRなどで監視します。現在のOffice環境では「DDE」という用語が警告画面に直接出ないこともあります。「外部アプリケーションを起動しようとしています」という文言の警告が出た場合、それは T1173 の攻撃が進行しているサインかもしれません。
この攻撃手法を利用する脅威アクターは登録されていません。