beefproject/beef — Issue #297: ERROR Invalid browser plugins
Author: passbe
Created: 2011-12-10 22:34:36+00:00
State: open

What steps will reproduce the problem?
1. Run BeEF and login on the BeEF admin interface.
2. Hook a victim browser.
3. Intercept the victim browser requests/responses to identify the failure.

Browser request:

--
POST http://192.168.1.42:8080/init HTTP/1.1
Host: 192.168.1.42:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729) Paros/3.2.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://192.168.1.42:8080/demos/basic.html
Content-Length: 1118
Content-Type: text/plain; charset=UTF-8
Cookie: BEEFHOOK=uKlt5ltNE3M1jMDhP0C2KYN10kN3BgSM90bt4kazHd0HNNWFeeXPcgeoFW5tL8qnRJgaoSUyUae4XJnI
Pragma: no-cache
Cache-Control: no-cache

BrowserName=RkY=&BrowserVersion=My42&BrowserReportedName=TW96aWxsYS81LjAgKFdpbmRvd3M7IFU7IFdpbmRvd3MgTlQgNS4xOyBlbi1VUzsgcnY6MS45LjIuMTApIEdlY2tvLzIwMTAwOTE0IEZpcmVmb3gvMy42LjEwICguTkVUIENMUiAzLjUuMzA3Mjkp&PageTitle=QmVFRiBCYXNpYyBEZW1v&HostName=MTkyLjE2OC4xLjQy&BrowserPlugins=TW96aWxsYSBEZWZhdWx0IFBsdWctaW4sU2hvY2t3YXZlIEZsYXNoLFdpbmRvd3MgUHJlc2VudGF0aW9uIEZvdW5kYXRpb24sSmF2YShUTSkgUGxhdGZvcm0gU0UgNiBVMTQsSmF2YSBEZXBsb3ltZW50IFRvb2xraXQgNi4wLjE0MC44LEFkb2JlIEFjcm9iYXQsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsUXVpY2tUaW1lIFBsdWctaW4gNy4zLjEsTWljcm9zb2Z0riBEUk0sV2luZG93cyBNZWRpYSBQbGF5ZXIgUGx1Zy1pbiBEeW5hbWljIExpbmsgTGlicmFyeSxNaWNyb3NvZnSuIERSTQ==&OsName=V2luZG93cyBYUA==&InternalIP=MTkyLjE2OC4xLjk=&InternalHostname=MTkyLjE2OC4xLjk=&HookSessionID=dUtsdDVsdE5FM00xak1EaFAwQzJLWU4xMGtOM0JnU005MGJ0NGthekhkMEhOTldGZWVYUGNnZW9GVzV0TDhxblJKZ2FvU1V5VWFlNFhKbkk=&command_id=0&BEEFHOOK=uKlt5ltNE3M1jMDhP0C2KYN10kN3BgSM90bt4kazHd0HNNWFeeXPcgeoFW5tL8qnRJgaoSUyUae4XJnI
--

Response received: (no actions pending for the hooked browser)
--
HTTP/1.1 404 Not Found
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
Date: Sat, 01 Jan 2011 12:20:46 GMT
Server: BeEF 0.4.2-alpha
Content-Length: 628
--

What is the expected output? What do you see instead?

- No error expected, but the error is generated on the BeEF console:
ERROR Invalid browser plugins
- This issue can be related with BeEF performance problems.

What version of the product are you using? On what operating system?

- BeEF 0.4.2.1-alpha rev 630 running on Samurai WTF 0.9
- Hooked browser: FFox 3.6.10 on Windows
- URL used for hooking:
http://192.168.1.42:8080/demos/basic.html

Please provide any additional information below.

- Browser plugins available on the hooked browser:
Adobe Acrobat 9.0.0.332
Java Deployment Toolkit 6.0.140.8
Java SE 6U14 6.0.140.8
Microsoft DRM x 2 ...
Mozilla default 1.0.0.15
QuickTime 7.3.1.70
Shockwave Flash 10.0.12.36
Windows Media Player 3.0.2.629
Windows Presentation foundation 3.5.30729.1
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=220