I have both installed (including Derby). >:-D
Here are my JRE D+ rules (notice there’s only one thing allowed to run the JRE Updater):
Java Runtime Environment components
JRE Update checkers:
%PROGRAMFILES%\Common Files\Java\Java Update\jaucheck.exe
%PROGRAMFILES%\Common Files\Java\Java Update\jucheck.exe
%PROGRAMFILES%\Common Files\Java\Java Update\jusched.exe
JRE Updater:
C:\Documents and Settings[user]\Local Settings\Temp\jre-6u??-windows-i586-iftw-rv.exe
JRE components
%PROGRAMFILES%\Java\jre6\bin\jqs.exe
%PROGRAMFILES%\Java\jre6\bin\java.exe
%PROGRAMFILES%\Java\jre6\bin\javacpl.exe
%PROGRAMFILES%\Java\jre6\bin\javaw.exe
%PROGRAMFILES%\Java\jre6\bin\javaws.exe
%PROGRAMFILES%\Java\jre6\bin\deploy.jar
Permissions
jucheck:
registry
HKLM\SYSTEM\ControlSet???\Services*
files
\Device\Afd\Endpoint
allow DNS client service
jaucheck:
execute
%PROGRAMFILES%\Java\jre6\bin\java.exe
%PROGRAMFILES%\Java\jre6\bin\javacpl.exe
C:\Documents and Settings\puser]\Local Settings\Temp\jre-6u??-windows-i586-iftw-rv.exe
registry
HKLM\SYSTEM\ControlSet???\Services*
files
\Device\Afd\Endpoint
jusched:
execute
%PROGRAMFILES%\Common Files\Java\Java Update\jaucheck.exe
%PROGRAMFILES%\Common Files\Java\Java Update\jucheck.exe
%PROGRAMFILES%\Java\jre6\bin\java.exe
%PROGRAMFILES%\Java\jre6\bin\javaws.exe
registry
HKLM\SYSTEM\ControlSet???\Services*
files
\Device\Afd\Endpoint
allow DNS client service
jqs.exe
registry
HKLM\SYSTEM\ControlSet001\Services\Eventlog\Application\JavaQuickStarterService
HKLM\SYSTEM\ControlSet001\Services\Eventlog\Application\JavaQuickStarterService\EventMessageFile
HKLM\SYSTEM\ControlSet001\Services\Eventlog\Application\JavaQuickStarterService\TypesSupported
files
\Device\Afd\Endpoint
java.exe
messages
C:\Program Files\Internet Explorer\IEXPLORE.EXE
registry
HKLM\SYSTEM\ControlSet???\Services*
files
\Device\Afd\Endpoint
allow DNS client service
allow keyboard
javacpl.exe
execute
%JAVA%\bin\javaw.exe
javaw.exe
execute
%JAVA%\bin\jqs.exe
registry
HKLM\SYSTEM\ControlSet???\Services*
HKUS\S-1-5-21-1355546302-2387749449-1072945706-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Start Menu
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Start Menu
files
\Device\Afd\Endpoint
javaws.exe
execute
%JAVA%\bin\javaw.exe
%JAVA%\bin\javaws.exe
\Device\Afd\Endpoint
deploy.jar
%JAVA%\bin\javaw.exe
registry
HKLM\SYSTEM\ControlSet???\Services\JavaQuickStarterService
files
\Device\Afd\Endpoint
X:\JRE_temp_IE\6.0??\various\various .dll
====================
The JRE updater image has a very specfc name, it and only it is executed by one app.
SVCHost is not a Windows System Application. I posted on how to set that up a while back. You have to configure D+ for SVCHost before pulling it out of that file group. This way SVCHost can not be invoked to arbitrarily run executables out of the temp folders.
Finally, I have Content_IE blocked for all executables and archive files. That prevents drive by downloads.
The firewall rules for JRE update checkers, JRE Updaters and JRE components is a totally seperate topic. Essentially you only allow internet access for the JRE update checkers to those ip addresses you know to be legit for Java, and Java access for the components is granted on case by case basis (as needed, e.g., during browsing).