Hackers are able to place malicious dll(named it wsock32.dll) in jre/bin folder of desktop application.
Invoking any script(sh/bat) in application executes the dll.
There are multiple ways to restrict dll loading during startup of application but what scares that invoking java -version or java -help also executes the dll.
Is there anyway to restrict dll hijacking within jre.