module
Java Signed Applet Social Engineering Code Execution
Disclosed | Created |
---|---|
02/19/1997 | 05/30/2018 |
Disclosed
02/19/1997
Created
05/30/2018
Description
This exploit dynamically creates a .jar file via the
Msf::Exploit::Java mixin, then signs the it. The resulting
signed applet is presented to the victim via a web page with
an applet tag. The victim's JVM will pop a dialog asking if
they trust the signed applet.
On older versions the dialog will display the value of CERTCN
in the "Publisher" line. Newer JVMs display "UNKNOWN" when the
signature is not trusted (i.e., it's not signed by a trusted
CA). The SigningCert option allows you to provide a trusted
code signing cert, the values in which will override CERTCN.
If SigningCert is not given, a randomly generated self-signed
cert will be used.
Either way, once the user clicks "run", the applet executes
with full user permissions.
Msf::Exploit::Java mixin, then signs the it. The resulting
signed applet is presented to the victim via a web page with
an applet tag. The victim's JVM will pop a dialog asking if
they trust the signed applet.
On older versions the dialog will display the value of CERTCN
in the "Publisher" line. Newer JVMs display "UNKNOWN" when the
signature is not trusted (i.e., it's not signed by a trusted
CA). The SigningCert option allows you to provide a trusted
code signing cert, the values in which will override CERTCN.
If SigningCert is not given, a randomly generated self-signed
cert will be used.
Either way, once the user clicks "run", the applet executes
with full user permissions.
Author
natron
Platform
Java,Linux,OSX,Solaris,Windows
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:
msf > use exploit/multi/browser/java_signed_applet msf /(t) > show actions ...actions... msf /(t) > set ACTION < action-name > msf /(t) > show options ...show and set options... msf /(t) > run

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.