{"id":13710188,"url":"https://github.com/simeononsecurity/Oracle-JRE-8-STIG-Script","last_synced_at":"2025-05-06T18:34:24.058Z","repository":{"id":110918947,"uuid":"285450452","full_name":"simeononsecurity/Oracle-JRE-8-STIG-Script","owner":"simeononsecurity","description":"Apply the JAVA STIG to a Windows System.","archived":false,"fork":false,"pushed_at":"2024-07-26T23:05:17.000Z","size":58,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T20:17:36.541Z","etag":null,"topics":["automation","compliance","java","java-stig","java-technotes","jre","jre8","oracle","powershell","stigs"],"latest_commit_sha":null,"homepage":"https://simeononsecurity.com/guides/enhance-oracle-jre-8-security","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simeononsecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["simeononsecurity"],"custom":["https://simeononsecurity.com","https://simeononsecurity.com/recommendhome","https://simeononsecurity.com/affiliate","https://twitter.com/simeonsecurity","https://discord.io/cybersentinels"]}},"created_at":"2020-08-06T02:11:42.000Z","updated_at":"2024-07-26T23:05:20.000Z","dependencies_parsed_at":"2024-01-14T22:03:44.751Z","dependency_job_id":"935265a5-fee0-4e30-a2d0-a03363ab1f67","html_url":"https://github.com/simeononsecurity/Oracle-JRE-8-STIG-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2FOracle-JRE-8-STIG-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2FOracle-JRE-8-STIG-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2FOracle-JRE-8-STIG-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2FOracle-JRE-8-STIG-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simeononsecurity","download_url":"https://codeload.github.com/simeononsecurity/Oracle-JRE-8-STIG-Script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521600,"owners_count":17325264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","compliance","java","java-stig","java-technotes","jre","jre8","oracle","powershell","stigs"],"created_at":"2024-08-02T23:00:52.902Z","updated_at":"2024-11-13T20:31:22.972Z","avatar_url":"https://github.com/simeononsecurity.png","language":"PowerShell","funding_links":["https://github.com/sponsors/simeononsecurity","https://simeononsecurity.com","https://simeononsecurity.com/recommendhome","https://simeononsecurity.com/affiliate","https://twitter.com/simeonsecurity","https://discord.io/cybersentinels"],"categories":["Application STIG Automation","Application Hardening"],"sub_categories":[],"readme":"\n# Automate Oracle JRE 8 (JAVA) STIGS\n\n [![Sponsor](https://img.shields.io/badge/Sponsor-Click%20Here-ff69b4)](https://github.com/sponsors/simeononsecurity) [![VirusTotal Scan](https://github.com/simeononsecurity/Oracle-JRE-8-STIG-Script/actions/workflows/virustotal.yml/badge.svg)](https://github.com/simeononsecurity/Oracle-JRE-8-STIG-Script/actions/workflows/virustotal.yml)\n\nThe 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.\n\n## Notes:\n\nThis 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.\n\n## Ansible:\nWe now offer a playbook collection for this script. Please see the following:\n- [Github Repo](https://github.com/simeononsecurity/Windows_STIG_Ansible)\n- [Ansible Galaxy](https://galaxy.ansible.com/simeononsecurity/windows_stigs)\n\n## STIGS/SRGs Applied:\n\n- [Oracle JRE 8 V1R5](https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_JRE_8_Windows_V1R5_STIG.zip)\n\n## Sources:\n\n- [MyITGuy - deployment.properties](https://gist.github.com/MyITGuy/9628895)\n\n- [cbu.edu - Java Technotes](http://stu.cbu.edu/java/docs/technotes/guides/deploy/properties.html)\n\n- [Oracle - Java Technotes](https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/exception_site_list.html) \n\n## Download the files:\n\nDownload the required files from the [GitHub Repository](https://github.com/simeononsecurity/JAVA-STIG-Script)\n\n## How to run the script:\n\n**The script may be lauched from the extracted GitHub download like this:**\n\n```\n.\\sos-install-java-config.ps1\n```\n\u003ca href=\"https://simeononsecurity.ch\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n  \u003ch2\u003eExplore the World of Cybersecurity\u003c/h2\u003e\n\u003c/a\u003e\n\u003ca href=\"https://simeononsecurity.ch\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n  \u003cimg src=\"https://simeononsecurity.ch/img/banner.png\" alt=\"SimeonOnSecurity Logo\" width=\"300\" height=\"300\"\u003e\n\u003c/a\u003e\n\n### Links:\n- #### [github.com/simeononsecurity](https://github.com/simeononsecurity)\n- #### [simeononsecurity.ch](https://simeononsecurity.ch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeononsecurity%2FOracle-JRE-8-STIG-Script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimeononsecurity%2FOracle-JRE-8-STIG-Script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeononsecurity%2FOracle-JRE-8-STIG-Script/lists"}