Rapid7 Vulnerability & Exploit Database

Generic DLL Injection From Shared Resource

Back to Search

Generic DLL Injection From Shared Resource

Disclosed
03/04/2015
Created
05/30/2018

Description

This is a general-purpose module for exploiting conditions where a DLL can be loaded from a specified SMB share. This module serves payloads as DLLs over an SMB service.

Author(s)

  • Matthew Hall <hallm@sec-1.com>

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

;