Java Configuration Audit - Windows
0 Votes |
Versioning - This is the latest version.
1 | Java Configuration Audit - Windows | 2/6/2014 10:18:54 AM |
2 | Java Configuration Audit - Windows | 2/7/2014 2:43:45 PM |
Description
This is a work in progress
This analysis is to examine various aspects of Java installation and configuration.
References:
http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment-guide/properties.html
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/exception_site_list.html
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/properties.html
http://jdmsysadmin.wordpress.com/2014/01/16/java-7-update-51-global-exceptions-list/
https://blogs.oracle.com/java-platform-group/entry/updated_security_baseline_7u45_impacts
deployment.user.security.exception.sites
Property Details
2994637 | |
Alpha - Code that was just developed | |
Java Configuration Audit - Windows | |
BESC | |
jgstew on 2/7/2014 2:43:45 PM | |
jgstew on 2/7/2014 2:43:45 PM | |
10404 Views / 81 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Properties
Versions
Period
12 hours
* Results in a true/false |
unique values of (names of keys of keys "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" of (registry;native registry))
exception.sites - per user
Period
12 hours
* Results in a true/false |
unique values of (it as string) of lines of files "exception.sites" of folders "AppData\LocalLow\Sun\Java\Deployment\security" of folders whose(exists folders "AppData\LocalLow\Sun\Java\Deployment\security" of it) of folder "C:\Users"
baseline.timestamp - per user
Period
12 hours
* Results in a true/false |
modification times of files "baseline.timestamp" of folders "AppData\LocalLow\Sun\Java\Deployment\security" of folders whose(exists folders "AppData\LocalLow\Sun\Java\Deployment\security" of it) of folder "C:\Users"
update.timestamp - per user
Period
12 hours
* Results in a true/false |
modification times of files "update.timestamp" of folders "AppData\LocalLow\Sun\Java\Deployment\security" of folders whose(exists folders "AppData\LocalLow\Sun\Java\Deployment\security" of it) of folder "C:\Users"
baseline.versions - per user
Period
12 hours
* Results in a true/false |
unique values of (it as string) of lines of files "baseline.versions" of folders "AppData\LocalLow\Sun\Java\Deployment\security" of folders whose(exists folders "AppData\LocalLow\Sun\Java\Deployment\security" of it) of folder "C:\Users"
deployment.properties - per user
Period
12 hours
* Results in a true/false |
unique values of (it as string) of lines of files "deployment.properties" of folders "AppData\LocalLow\Sun\Java\Deployment" of folders whose(exists folders "AppData\LocalLow\Sun\Java\Deployment\security" of it) of folder "C:\Users"
Java Folders
Period
2 days
* Results in a true/false |
folders "Java" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")
folders of Java
Period
2 days
* Results in a true/false |
folders of folders "Java" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")
Missing alt-rt.jar? JRE7
Period
2 days
* Results in a true/false |
if (not exists folders "Java\jre7" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")) then FALSE else ((number of files "lib\alt-rt.jar" of folders "Java\jre7" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")) != (number of folders "Java\jre7" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")))
# of BinFiles
Period
2 days
* Results in a true/false |
((number of files whose((it ends with ".dll" OR it ends with ".exe") of name of it) of folders "bin" of it) as string & " " & name of it & (if (x64 of operating system AND pathname of it as lowercase contains "\program files\") then "_x64" else "_x32")) of folders whose(name of it as lowercase starts with "jre") of folders "Java" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")
# of LibJarFiles
Period
2 days
* Results in a true/false |
((number of files whose((it ends with ".dll" OR it ends with ".exe" OR it ends with ".jar") of (name of it as lowercase)) of folders "lib" of it) as string & " " & name of it & (if (x64 of operating system AND pathname of it as lowercase contains "\program files\") then "_x64" else "_x32")) of folders whose(name of it as lowercase starts with "jre") of folders "Java" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")
Corrupt JRE7 32bit install?
Period
2 days
* Results in a true/false |
(exists key whose (value "DisplayName" of it as string contains "Java 7" AND (it >= "7.0.450" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry) AND (12 != (number of files whose(name of it as lowercase ends with ".jar") of folders "Java\jre7\lib" of (if (x64 of operating system) then (folders "C:\Program Files (x86)") else (folders "C:\Program Files"))))
Relevance
Windows Only (Relevance 2997197)
/* Windows Only */ windows of operating system
/* Windows Vista or Higher */ version of operating system >= "6.0"
Used in 2 analyses | * Results in a true/false |
/* Java is Installed */ (exists keys "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" of (registry;native registry)) OR (exists keys whose(value "DisplayName" of it as string starts with "Java") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (registry;native registry)) OR (exists folders "Java" of (folders "C:\Program Files" ; folders "C:\Program Files (x86)")) OR (exists folders whose(exists folders "AppData\LocalLow\Sun\Java" of it) of folder "C:\Users")
Sharing
Social Media: |