Rapid7 Vulnerability & Exploit Database

Microsoft Office Word MSDTJS

Back to Search

Microsoft Office Word MSDTJS

Disclosed
05/29/2022
Created
06/07/2022

Description

This module generates a malicious Microsoft Word document that when loaded, will leverage the remote template feature to fetch an `HTML` document and then use the `ms-msdt` scheme to execute `PowerShell` code.

Author(s)

  • nao sec
  • mekhalleh (RAMELLA Sébastien)
  • bwatters-r7

Platform

Windows

Architectures

x86, x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/fileformat/word_msdtjs_rce
msf exploit(word_msdtjs_rce) > show targets
    ...targets...
msf exploit(word_msdtjs_rce) > set TARGET < target-id >
msf exploit(word_msdtjs_rce) > show options
    ...show and set options...
msf exploit(word_msdtjs_rce) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;