Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webcam_start: Operation failed: 14007 with PS3 Camera on Windows #8731

Closed
ghost opened this issue Jul 17, 2017 · 2 comments
Closed

webcam_start: Operation failed: 14007 with PS3 Camera on Windows #8731

ghost opened this issue Jul 17, 2017 · 2 comments
Labels
bug meterpreter Stale Marks an issue as stale, to be closed if no action is taken

Comments

@ghost
Copy link

ghost commented Jul 17, 2017

Firstly, my system info:
Machine: EliteBook 8760w
OS: Kali Linux 2017.1
Metasploit Version: metasploit v4.14.28-dev
Installation: pre-installed (updated via Kali Rolling repository)

The prologue to the problem

I managed to "infect" my test device, so I decided to try out some of meterpreter custom commands. This tool is awesome: I can copy, download, upload and manipulate the infected device, spy through countless peripherals etc. At first, everything seemed to be just fine, but when I tried to take a snapshot through my webcam, this happened:

meterpreter > webcam_snap
[*] Starting...
[*] Stopped
[-] webcam_start: Operation failed: 14007

I'm particularly interested in the error documentation (if you can provide any, that would be very helpful). Even after 3 hours of searching I haven't been able to track down any similar recorded occurrence. I backtracked a bit, and found another error:

meterpreter > run webcam

[!] Meterpreter scripts are deprecated. Try post/windows/manage/webcam.
[!] Example: run post/windows/manage/webcam OPTION=value [...]
[*] Starting webcam 1: PS3Eye Camera
[-] Error: Rex::Post::Meterpreter::RequestError webcam_start: Operation failed: 14007 ["/usr/share/metasploit-framework/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb:41:in `webcam_start'", "/usr/share/metasploit-framework/lib/rex/script/base.rb:120:in `run'", "/usr/share/metasploit-framework/lib/rex/script/base.rb:44:in `eval'", "/usr/share/metasploit-framework/lib/rex/script/base.rb:44:in `run'", "/usr/share/metasploit-framework/lib/msf/base/sessions/meterpreter.rb:227:in `execute_file'", "/usr/share/metasploit-framework/lib/msf/base/sessions/scriptable.rb:173:in `execute_script'", "/usr/share/metasploit-framework/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb:1152:in `cmd_run'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:430:in `run_command'", "/usr/share/metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:105:in `run_command'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:392:in `block in run_single'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `each'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `run_single'", "/usr/share/metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:68:in `block in interact'", "/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:195:in `run'", "/usr/share/metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:66:in `interact'", "/usr/share/metasploit-framework/lib/msf/base/sessions/meterpreter.rb:481:in `_interact'", "/usr/share/metasploit-framework/lib/rex/ui/interactive.rb:49:in `interact'", "/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/core.rb:1378:in `cmd_sessions'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:430:in `run_command'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:392:in `block in run_single'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `each'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `run_single'", "/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:141:in `cmd_exploit'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:430:in `run_command'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:392:in `block in run_single'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `each'", "/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `run_single'", "/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:205:in `run'", "/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'", "/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'", "/usr/bin/msfconsole:48:in `<main>'"]

I followed the advice, but nothing changed:

meterpreter > run post/windows/manage/webcam OPTION=1

Webcam List
===========

Index  Name
-----  ----
1      PS3Eye Camera

meterpreter > webcam_snap
[*] Starting...
[*] Stopped
[-] webcam_start: Operation failed: 14007
meterpreter >

Speculations

I don't know if this is due to the fact that my camera is PS3Eye (manufactured by Sony and therefore can't run on PC without illegal software) or the deprecation of some of my commands. What is very interesting though is that I can record audio from the PS3Eye device (with record_mic command), so the problem probably lies within webcam's drivers.

I should also inform you that I plugged in my webcam after Meterpreter created first session (that is after I successfully ran the infected .bat file on my test computer; the latter is NOT a virtual machine, rather physical). Maybe this is the source of the problem (Meterpreter successfully detected it though).

I posted almost the exact same question on Information Security SE, but no one answered, so now I'm counting on GitHub community (I desperately need your help, please). I'm also questioning my installation; it's very probable that my meterpreter packages (and commands) are deprecated and can't synchronise.

Any comments, criticism and helpful answers are warmly welcome. Thank you in advance.

@busterb busterb changed the title webcam_start: Operation failed: 14007 webcam_start: Operation failed: 14007 with PS3 Camera on Windows Aug 29, 2017
@github-actions
Copy link

github-actions bot commented Jan 6, 2021

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

@github-actions github-actions bot added the Stale Marks an issue as stale, to be closed if no action is taken label Jan 6, 2021
@github-actions
Copy link

github-actions bot commented Feb 8, 2021

Hi again!

It’s been 60 days since anything happened on this issue, so we are going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error please feel free to reopen this issue or create a new one if you need anything else.

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

@github-actions github-actions bot closed this as completed Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug meterpreter Stale Marks an issue as stale, to be closed if no action is taken
Projects
None yet
Development

No branches or pull requests

1 participant