module

Outlook ATTACH_BY_REF_RESOLVE File Execution

Disclosed
Jun 1, 2010
Created
May 30, 2018

Description

It has been discovered that certain e-mail message cause Outlook to create Windows
shortcut-like attachments or messages within Outlook. Through specially crafted TNEF
streams with certain MAPI attachment properties, it is possible to set a path name
to files to be executed. When a user double clicks on such an attachment or message,
Outlook will proceed to execute the file that is set by the path name value. These
files can be local files, but also file stored remotely for example on a file share.
Exploitation is limited by the fact that its is not possible for attackers to supply
command line options.

Author

Yorick Koster [email protected]

Platform

Windows

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/email/ms10_045_outlook_ref_resolve
msf exploit(ms10_045_outlook_ref_resolve) > show targets
...targets...
msf exploit(ms10_045_outlook_ref_resolve) > set TARGET < target-id >
msf exploit(ms10_045_outlook_ref_resolve) > show options
...show and set options...
msf exploit(ms10_045_outlook_ref_resolve) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.