Malicious Applets: The Web Programs That Crossed a Boundary
In an earlier era of the web, some pages brought along Java programs that ran on the visitor's computer. A browser needed an extra component, called a plug-in, to run them. These programs were applets. A malicious applet used that route onto the computer to do harm.
The website supplied the program, but the visitor's machine ran it. That raised a question: how much access should code from a web page have to the computer opening it?
This historical use of applet concerns Java browser programs. Java and JavaScript are different languages; JavaScript on a modern page is not a Java applet.
How a Sandbox Keeps a Bad Page Contained
The rules around downloaded code
Oracle's Java 8 tutorial describes a sandbox: restrictions on what an applet could do, such as accessing files on the visitor's computer or connecting to unrelated servers. The idea was to let a downloaded program perform useful work within those limits.
A visitor could grant broader permissions through a security prompt. Persuading someone to approve the request could therefore give harmful code more access. The person's approval changed what the program was allowed to do, not what its author had designed it to do.
An attacker could also exploit a software vulnerability to bypass the restrictions. Instead of asking for a wider opening, the malicious applet broke through the rules meant to contain it.
A flaw attackers used in 2013
Oracle's 2013 alert for CVE-2013-0422 reported that attackers were exploiting the flaw. A specially crafted page could expose information, alter it or disrupt the visitor's system.
The affected software was Java 7 Update 10 and earlier releases within Java 7, when used through a browser. Oracle's warning did not apply to server-side Java, standalone desktop applications or embedded Java uses. The same programming language served many purposes; this warning concerned the browser route.
- Catch the threats a built-in antivirus can miss.
- Get blocked from malicious sites before they load.
- Protect your devices around the clock, not only when you run a scan.
The browser machinery went away first
Oracle's migration guide records the removal of the old browser deployment components in Java Development Kit (JDK) 11. Those included the Java plug-in and support for running applets.
Some programming interfaces remained longer. An application programming interface, or API, defines features that code can use. Its presence alone does not supply a browser plug-in. Java Standard Edition 26 removed the remaining Applet API.
These were separate changes to Java, rather than one date when every browser stopped supporting plug-ins. Retiring applets also left the Java language and other Java applications in use.
An organization with an applet-dependent system still needs to identify the old browser and Java components it relies on, then plan to retire or restrict that environment. Installing an obsolete plug-in to satisfy an old page would bring the old execution environment back with it.
Applets: The Little Programs That Once Powered Web Pages

Drive-by Downloads: Can a Web Visit Infect Your Device?

Sandboxing: Deciding What a Program Can Reach

QUOTE:
"Amateurs hack systems, professionals hack people."
