Rapid7 Vulnerability & Exploit Database

Microsoft SRV2.SYS SMB Negotiate ProcessID Function Table Dereference

Back to Search

Microsoft SRV2.SYS SMB Negotiate ProcessID Function Table Dereference



This module exploits an out of bounds function table dereference in the SMB request validation code of the SRV2.SYS driver included with Windows Vista, Windows 7 release candidates (not RTM), and Windows 2008 Server prior to R2. Windows Vista without SP1 does not seem affected by this flaw.


  • Laurent Gaffie <laurent.gaffie@gmail.com>
  • hdm <x@hdm.io>


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 auxiliary/dos/windows/smb/ms09_050_smb2_negotiate_pidhigh
msf auxiliary(ms09_050_smb2_negotiate_pidhigh) > show actions
msf auxiliary(ms09_050_smb2_negotiate_pidhigh) > set ACTION < action-name >
msf auxiliary(ms09_050_smb2_negotiate_pidhigh) > show options
    ...show and set options...
msf auxiliary(ms09_050_smb2_negotiate_pidhigh) > run 

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