Microsoft SRV.SYS Pipe Transaction No Null - Metasploit
This page contains detailed information about how to use the auxiliary/dos/windows/smb/ms06_063_trans metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Microsoft SRV.SYS Pipe Transaction No Null
Module: auxiliary/dos/windows/smb/ms06_063_trans
Source code: modules/auxiliary/dos/windows/smb/ms06_063_trans.rb
Disclosure date: -
Last modification time: 2020-05-13 16:34:47 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: microsoft-ds, netbios-ssn
Target network port(s): 139, 445
List of CVEs: CVE-2006-3942
This module exploits a NULL pointer dereference flaw in the SRV.SYS driver of the Windows operating system. This bug was independently discovered by CORE Security and ISS.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/dos/windows/smb/ms06_063_trans
msf auxiliary(ms06_063_trans) > show targets
... a list of targets ...
msf auxiliary(ms06_063_trans) > set TARGET target-id
msf auxiliary(ms06_063_trans) > show options
... show and set options ...
msf auxiliary(ms06_063_trans) > exploit
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Go back to menu.
Msfconsole Usage
Here is how the dos/windows/smb/ms06_063_trans auxiliary module looks in the msfconsole:
msf6 > use auxiliary/dos/windows/smb/ms06_063_trans
msf6 auxiliary(dos/windows/smb/ms06_063_trans) > show info
Name: Microsoft SRV.SYS Pipe Transaction No Null
Module: auxiliary/dos/windows/smb/ms06_063_trans
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
hdm <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 445 yes The SMB service port (TCP)
Description:
This module exploits a NULL pointer dereference flaw in the SRV.SYS
driver of the Windows operating system. This bug was independently
discovered by CORE Security and ISS.
References:
OSVDB (27644)
https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2006/MS06-063
https://nvd.nist.gov/vuln/detail/CVE-2006-3942
http://www.securityfocus.com/bid/19215
Module Options
This is a complete list of options available in the dos/windows/smb/ms06_063_trans auxiliary module:
msf6 auxiliary(dos/windows/smb/ms06_063_trans) > show options
Module options (auxiliary/dos/windows/smb/ms06_063_trans):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 445 yes The SMB service port (TCP)
Advanced Options
Here is a complete list of advanced options supported by the dos/windows/smb/ms06_063_trans auxiliary module:
msf6 auxiliary(dos/windows/smb/ms06_063_trans) > show advanced
Module advanced options (auxiliary/dos/windows/smb/ms06_063_trans):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
ConnectTimeout 10 yes Maximum number of seconds to establish a TCP connection
NTLM::SendLM true yes Always send the LANMAN response (except when NTLMv2_session is specified)
NTLM::SendNTLM true yes Activate the 'Negotiate NTLM key' flag, indicating the use of NTLM responses
NTLM::SendSPN true yes Send an avp of type SPN in the ntlmv2 client blob, this allows authentication on Windows 7+/Server 2008 R2+ when SPN is required
NTLM::UseLMKey false yes Activate the 'Negotiate Lan Manager Key' flag, using the LM key when the LM response is sent
NTLM::UseNTLM2_session true yes Activate the 'Negotiate NTLM2 key' flag, forcing the use of a NTLMv2_session
NTLM::UseNTLMv2 true yes Use NTLMv2 instead of NTLM2_session when 'Negotiate NTLM2' key is true
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
SMB::AlwaysEncrypt true yes Enforces encryption even if the server does not require it (SMB3.x only). Note that when it is set to false, the SMB client will still encrypt the communication if the server requires it
SMB::ChunkSize 500 yes The chunk size for SMB segments, bigger values will increase speed but break NT 4.0 and SMB signing
SMB::Native_LM Windows 2000 5.0 yes The Native LM to send during authentication
SMB::Native_OS Windows 2000 2195 yes The Native OS to send during authentication
SMB::VerifySignature false yes Enforces client-side verification of server response signatures
SMBDirect true no The target port is a raw SMB service (not NetBIOS)
SMBDomain . no The Windows domain to use for authentication
SMBName *SMBSERVER yes The NetBIOS hostname (required for port 139 connections)
SMBPass no The password for the specified username
SMBUser no The username to authenticate as
SSL false no Negotiate SSL/TLS for outgoing connections
SSLCipher no String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"
SSLVerifyMode PEER no SSL verification method (Accepted: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER)
SSLVersion Auto yes Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the dos/windows/smb/ms06_063_trans module can do:
msf6 auxiliary(dos/windows/smb/ms06_063_trans) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the dos/windows/smb/ms06_063_trans auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(dos/windows/smb/ms06_063_trans) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
SMB::obscure_trans_pipe_level 0 yes Obscure PIPE string in TransNamedPipe (level 0-3)
SMB::pad_data_level 0 yes Place extra padding between headers and data (level 0-3)
SMB::pad_file_level 0 yes Obscure path names used in open/create (level 0-3)
SMB::pipe_evasion false yes Enable segmented read/writes for SMB Pipes
SMB::pipe_read_max_size 1024 yes Maximum buffer size for pipe reads
SMB::pipe_read_min_size 1 yes Minimum buffer size for pipe reads
SMB::pipe_write_max_size 1024 yes Maximum buffer size for pipe writes
SMB::pipe_write_min_size 1 yes Minimum buffer size for pipe writes
TCP::max_send_size 0 no Maxiumum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
Error: <E.CLASS> > <E>
Here is a relevant code snippet related to the "Error: <E.CLASS> > <E>" error message:
51: end
52: rescue ::Interrupt
53: return
54:
55: rescue ::Exception => e
56: print_error("Error: #{e.class} > #{e}")
57: end
58:
59:
60: disconnect
61: end
Go back to menu.
Related Pull Requests
- #13417 Merged Pull Request: SMBv3 integration with Framework
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #4768 Merged Pull Request: Reorganize SMB mixins
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- OSVDB (27644)
- MS06-063
- CVE-2006-3942
- BID-19215
See Also
Check also the following modules related to this module:
- auxiliary/dos/windows/smb/ms06_035_mailslot
- auxiliary/dos/windows/smb/ms05_047_pnp
- auxiliary/dos/windows/smb/ms09_001_write
- auxiliary/dos/windows/smb/ms09_050_smb2_negotiate_pidhigh
- auxiliary/dos/windows/smb/ms09_050_smb2_session_logoff
- auxiliary/dos/windows/smb/ms10_006_negotiate_response_loop
- auxiliary/dos/windows/smb/ms10_054_queryfs_pool_overflow
- auxiliary/dos/windows/smb/ms11_019_electbowser
- auxiliary/dos/windows/smb/rras_vls_null_deref
- auxiliary/dos/windows/smb/vista_negotiate_stop
- auxiliary/admin/scada/modicon_stux_transfer
- auxiliary/admin/tftp/tftp_transfer_util
- auxiliary/dos/http/apache_tomcat_transfer_encoding
- auxiliary/dos/samba/lsa_transnames_heap
- exploit/freebsd/samba/trans2open
- exploit/linux/misc/qnap_transcode_server
- exploit/linux/samba/lsa_transnames_heap
- exploit/linux/samba/trans2open
- exploit/osx/samba/lsa_transnames_heap
- exploit/osx/samba/trans2open
- exploit/solaris/samba/lsa_transnames_heap
- exploit/solaris/samba/trans2open
- exploit/windows/http/bea_weblogic_transfer_encoding
- exploit/windows/tftp/futuresoft_transfermode
- post/hardware/rftransceiver/transmitter
- auxiliary/dos/samba/read_nttrans_ea_list
- exploit/multi/samba/nttrans
- exploit/windows/browser/tumbleweed_filetransfer
- exploit/windows/misc/nettransport
- post/hardware/rftransceiver/rfpwnon
- auxiliary/dos/windows/smtp/ms06_019_exchange
- auxiliary/dos/pptp/ms02_063_pptp_dos
Authors
- hdm
Version
This page has been produced using Metasploit Framework version 6.1.28-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.