Skip to content

simeononsecurity/Oracle-JRE-8-STIG-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate Oracle JRE 8 (JAVA) STIGS

VirusTotal Scan

The following script is an automation process for installing Java deployment configurations using PowerShell. The script first elevates the privileges of the current process and sets the directory to the location of the script. It then checks if the "deployment.config" file is present in the default JRE installation directory and the Windows directory. If not, the script installs the "deployment.config" file in the Windows directory, and checks for the "deployment.properties" and "exception.sites" files. If these files are not present, the script installs them in the Windows directory. The status of the installations is displayed with appropriate messages.

Notes:

This will bring you to 100% compliance on the applicable STIG and might break your JAVA applications. As with any STIG, testing should be done before a full roleout.

Ansible:

We now offer a playbook collection for this script. Please see the following:

STIGS/SRGs Applied:

Sources:

Download the files:

Download the required files from the GitHub Repository

How to run the script:

The script may be lauched from the extracted GitHub download like this:

.\sos-install-java-config.ps1
    SimeonOnSecurity Logo

Links: