Apple TV Image Remote Control - Metasploit


This page contains detailed information about how to use the auxiliary/admin/appletv/appletv_display_image metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: Apple TV Image Remote Control
Module: auxiliary/admin/appletv/appletv_display_image
Source code: modules/auxiliary/admin/appletv/appletv_display_image.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: http, https
Target network port(s): 80, 443, 3000, 7000, 8000, 8008, 8080, 8443, 8880, 8888
List of CVEs: -

This module will show an image on an AppleTV device for a period of time. Some AppleTV devices are actually password-protected, in that case please set the PASSWORD datastore option. For password brute forcing, please see the module auxiliary/scanner/http/appletv_login.

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/admin/appletv/appletv_display_image
msf auxiliary(appletv_display_image) > show targets
    ... a list of targets ...
msf auxiliary(appletv_display_image) > set TARGET target-id
msf auxiliary(appletv_display_image) > show options
    ... show and set options ...
msf auxiliary(appletv_display_image) > exploit

Required Options


  • RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'

  • FILE: Image to upload and show

Go back to menu.

Msfconsole Usage


Here is how the admin/appletv/appletv_display_image auxiliary module looks in the msfconsole:

msf6 > use auxiliary/admin/appletv/appletv_display_image

msf6 auxiliary(admin/appletv/appletv_display_image) > show info

       Name: Apple TV Image Remote Control
     Module: auxiliary/admin/appletv/appletv_display_image
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  0a29406d9794e4f9b30b3c5d6702c708
  sinn3r <[email protected]>

Check supported:
  No

Basic options:
  Name          Current Setting  Required  Description
  ----          ---------------  --------  -----------
  FILE                           yes       Image to upload and show
  HttpPassword                   no        The password for AppleTV AirPlay
  Proxies                        no        A proxy chain of format type:host:port[,type:host:port][...]
  RHOSTS                         yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT         7000             yes       The target port (TCP)
  SSL           false            no        Negotiate SSL/TLS for outgoing connections
  TIME          10               yes       Time in seconds to show the image

Description:
  This module will show an image on an AppleTV device for a period of 
  time. Some AppleTV devices are actually password-protected, in that 
  case please set the PASSWORD datastore option. For password brute 
  forcing, please see the module auxiliary/scanner/http/appletv_login.

References:
  http://nto.github.io/AirPlay.html

Module Options


This is a complete list of options available in the admin/appletv/appletv_display_image auxiliary module:

msf6 auxiliary(admin/appletv/appletv_display_image) > show options

Module options (auxiliary/admin/appletv/appletv_display_image):

   Name          Current Setting  Required  Description
   ----          ---------------  --------  -----------
   FILE                           yes       Image to upload and show
   HttpPassword                   no        The password for AppleTV AirPlay
   Proxies                        no        A proxy chain of format type:host:port[,type:host:port][...]
   RHOSTS                         yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT         7000             yes       The target port (TCP)
   SSL           false            no        Negotiate SSL/TLS for outgoing connections
   TIME          10               yes       Time in seconds to show the image

Advanced Options


Here is a complete list of advanced options supported by the admin/appletv/appletv_display_image auxiliary module:

msf6 auxiliary(admin/appletv/appletv_display_image) > show advanced

Module advanced options (auxiliary/admin/appletv/appletv_display_image):

   Name                  Current Setting                                     Required  Description
   ----                  ---------------                                     --------  -----------
   FingerprintCheck      true                                                no        Conduct a pre-exploit fingerprint verification
   HttpClientTimeout                                                         no        HTTP connection and receive timeout
   HttpRawHeaders                                                            no        Path to ERB-templatized raw headers to append to existing headers
   HttpTrace             false                                               no        Show the raw HTTP requests and responses
   HttpTraceColors       red/blu                                             no        HTTP request and response colors for HttpTrace (unset to disable)
   HttpTraceHeadersOnly  false                                               no        Show HTTP headers only in HttpTrace
   HttpUsername          AirPlay                                             no        The HTTP username to specify for authentication
   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)
   UserAgent             Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)  no        The User-Agent header to use for all requests
   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 admin/appletv/appletv_display_image module can do:

msf6 auxiliary(admin/appletv/appletv_display_image) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the admin/appletv/appletv_display_image auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(admin/appletv/appletv_display_image) > show evasion

Module evasion options:

   Name                          Current Setting  Required  Description
   ----                          ---------------  --------  -----------
   HTTP::version_random_invalid  false            no        Use a random invalid, HTTP version for request
   HTTP::version_random_valid    false            no        Use a random, but valid, HTTP version for request

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.

The request failed due to an unknown reason


Here is a relevant code snippet related to the "The request failed due to an unknown reason" error message:

105:	    if !res
106:	      print_status("The connection timed out")
107:	    elsif res.code == 200
108:	      print_status("Received HTTP 200")
109:	    else
110:	      print_error("The request failed due to an unknown reason")
111:	    end
112:	  end
113:	
114:	
115:	  def run

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • 0a29406d9794e4f9b30b3c5d6702c708
  • sinn3r

Version


This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.