Home

Awesome

Automate Oracle JRE 8 (JAVA) STIGS

Sponsor 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
<a href="https://simeononsecurity.ch" target="_blank" rel="noopener noreferrer">   <h2>Explore the World of Cybersecurity</h2> </a> <a href="https://simeononsecurity.ch" target="_blank" rel="noopener noreferrer">   <img src="https://simeononsecurity.ch/img/banner.png" alt="SimeonOnSecurity Logo" width="300" height="300"> </a>

Links: