Skip to content

marcoadasilvaa/JShielder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JShielder

=========================

###JShielder Secure LAMP Deployer for Linux Servers

JSHielder is an Open Source tool developed to help SysAdmin and developers secure there Linux Servers in which they will be deploying any web application. This tool automates the process of installing all the necessary packages to host a web application and Hardening a Linux server with little interaction from the user.

This tool is a Bash Script with a little python script that hardens the Linux Server security automatically and the steps followed are:

  • Configures a Hostname
  • Reconfigures the Timezone
  • Updates the entire System
  • Creates a New Admin user so you can manage your server safely without the need of doing remote connections with root.
  • Generates Secure RSA Keys, so that remote access to your server is done exclusive from you local pc and no Conventional password
  • Configures, Optimize and secures the SSH Server
  • Configures IPTABLES Rules to protect the server from common attacks
  • Protects the server against Brute Force attacks by installing a configuring fail2ban
  • Stop Portscans by blocking intrusive IP via IPTABLES using portsentry
  • Install, configure, and optimize MySQL
  • Install the Apache Web Server
  • Install, configure and secure PHP
  • Secure Apache via configuration file and with installation of the Modules ModSecurity, ModEvasive, Qos and SpamHaus
  • Installs RootKit Hunter
  • Secures Root Home and Grub Configuration Files
  • Installs Unhide to help Detect Malicious Hidden Processes
  • Installs Tiger, A Security Auditing and Intrusion Prevention system
  • Restrict Access to Apache Config Files
  • Disable Compilers
  • Creates Daily Cron job for System Updates
  • Kernel Hardening via sysctl configuration File

Recently Added Hardening Steps

==========================================================

  • Added PHP Suhosin Installation to protect PHP Code and Core for Known and Unknown flaws

  • Use of Function for code execution customization

  • Distro Selection Menu

  • Function Selection Menu

  • Deployment Selection Menu (LAMP, LEMP, Reverse Proxy)

  • Added LEMP Deployment with ModSecurity

  • Added /tmp folder Hardening

  • Added PSAD IDS installation

  • Added Process Accounting

  • Added Unattended Upgrades

  • Added MOTD and Banners for Unauthorized access

  • Disable USB Support for Improved Security (Optional)

  • Restrictive Default UMASK

  • Added Additional Hardening Steps

To Run the tool

==================================================

./jshielder.sh

As the Root user

ChangeLog

============================== v2.0 More Deployment Options, Selection Menu, PHP Suhosin installation, Cleaner Code,

v1.0 - New Code

Developed by Jason Soto, jason_soto***[AT]jsitech[DOT]***com

JsiTech

JsiTech_US

https://github.com/jsitech

Twitter = @JsiTech

About

Secure LAMP Deployer for Linux Servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.9%
  • Shell 24.6%
  • Roff 0.8%
  • C 0.8%
  • CSS 0.6%
  • Perl 0.2%
  • Other 0.1%