rapid7/metasploit-framework — pull request #2584 by jvazquez-r7 (2013-10-25 21:53:26+00:00)
Title: [FixRM #4397] Add reporting for energizer_duo_detect

Add reporting for the service and the vulnerability as requested on: https://dev.metasploit.com/redmine/issues/4397

* Verification

- [ ] Install the vulnerable app from: http://www.exploit-db.com/exploits/16390/

- [ ] Run the module, and check services and vulns, info should be populated:

```
workspace -msf auxiliary(energizer_duo_detect) > workspace -a energizer5
[*] Added workspace: energizer5
msf auxiliary(energizer_duo_detect) > run

[*] 192.168.172.244:7777 FOUND: [["F", "AUTOEXEC.BAT"], ["F", "boot.ini"], ["F", "CONFIG.SYS"], ["D", "Documents and Settings"], ["F", "eula.1028.txt"], ["F", "eula.1031.txt"], ["F", "eula.1033.txt"], ["F", "eula.1036.txt"], ["F", "eula.1040.txt"], ["F", "eula.1041.txt"], ["F", "eula.1042.txt"], ["F", "eula.2052.txt"], ["F", "eula.3082.txt"], ["F", "globdata.ini"], ["F", "install.exe"], ["F", "install.ini"], ["F", "install.res.1028.dll"], ["F", "install.res.1031.dll"], ["F", "install.res.1033.dll"], ["F", "install.res.1036.dll"], ["F", "install.res.1040.dll"], ["F", "install.res.1041.dll"], ["F", "install.res.1042.dll"], ["F", "install.res.2052.dll"], ["F", "install.res.3082.dll"], ["F", "IO.SYS"], ["F", "MSDOS.SYS"], ["F", "NTDETECT.COM"], ["F", "ntldr"], ["F", "pagefile.sys"], ["D", "Program Files"], ["D", "Python27"], ["D", "symbols"], ["F", "vcredist.bmp"], ["F", "VC_RED.cab"], ["F", "VC_RED.MSI"], ["D", "WINDOWS"]]
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf auxiliary(energizer_duo_detect) > services

Services
========

host port proto name state info
---- ---- ----- ---- ----- ----
192.168.172.244 7777 tcp energizer_duo open

msf auxiliary(energizer_duo_detect) > vulns
[*] Time: 2013-10-25 21:51:10 UTC Vuln: host=192.168.172.244 name=Energizer DUO USB Battery Charger Software Arucer.dll Trojaned Distribution refs=CVE-2010-0103,OSVDB-62782,US-CERT-VU-154421
msf auxiliary(energizer_duo_detect) > notes
[*] Time: 2013-10-25 21:51:10 UTC Note: host=192.168.172.244 service=energizer_duo type=Energizer DUO Trojan data="[[\"F\", \"AUTOEXEC.BAT\"], [\"F\", \"boot.ini\"], [\"F\", \"CONFIG.SYS\"], [\"D\", \"Documents and Settings\"], [\"F\", \"eula.1028.txt\"], [\"F\", \"eula.1031.txt\"], [\"F\", \"eula.1033.txt\"], [\"F\", \"eula.1036.txt\"], [\"F\", \"eula.1040.txt\"], [\"F\", \"eula.1041.txt\"], [\"F\", \"eula.1042.txt\"], [\"F\", \"eula.2052.txt\"], [\"F\", \"eula.3082.txt\"], [\"F\", \"globdata.ini\"], [\"F\", \"install.exe\"], [\"F\", \"install.ini\"], [\"F\", \"install.res.1028.dll\"], [\"F\", \"install.res.1031.dll\"], [\"F\", \"install.res.1033.dll\"], [\"F\", \"install.res.1036.dll\"], [\"F\", \"install.res.1040.dll\"], [\"F\", \"install.res.1041.dll\"], [\"F\", \"install.res.1042.dll\"], [\"F\", \"install.res.2052.dll\"], [\"F\", \"install.res.3082.dll\"], [\"F\", \"IO.SYS\"], [\"F\", \"MSDOS.SYS\"], [\"F\", \"NTDETECT.COM\"], [\"F\", \"ntldr\"], [\"F\", \"pagefile.sys\"], [\"D\", \"Program Files\"], [\"D\", \"Python27\"], [\"D\", \"symbols\"], [\"F\", \"vcredist.bmp\"], [\"F\", \"VC_RED.cab\"], [\"F\", \"VC_RED.MSI\"], [\"D\", \"WINDOWS\"]]"
```