Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL

Subscribers:
1,230
Published on ● Video Link: https://www.youtube.com/watch?v=M190tJAr8jQ



Duration: 24:36
70 views
3


In this video we install metasploit, firewalld, and httpd to get started with an ethical hacking server.

We open up the security groups and the host based firewall to allow the connections we are interested in.

Sorry history does not allow angled brackets

I am not paid to promote any thing. Rapid 7 is just a great company. https://www.rapid7.com/

[ec2-user@ip-172-31-57-157 ~]$ history
1 sudo yum -y update
2 curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb NOTALLOWED msfinstall && chmod 755 msfinstall && ./msfinstall
3 sudo yum -y update
4 sudo yum install firewalld
5 sudo systemctl enable firewalld
6 sudo reboot
7 sudo yum -y install httpd
8 sudo systemctl enable httpd
9 sudo systemctl start httpd.service
10 netstat -tnlp
11 sudo netstat -tnlp
12 sudo firewall-cmd --list-all
13 sudo firewall-cmd --zone=public --add-service=http
14 sudo firewall-cmd --zone=public --add-service=https
15 sudo su -
16 history

[ec2-user@ip-172-31-57-157 ~]$ history
1 sudo yum -y update
2 curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb NOTALLOWED msfinstall && chmod 755 msfinstall && ./msfinstall
3 sudo yum -y update
4 sudo yum install firewalld
5 sudo systemctl enable firewalld
6 sudo reboot
7 sudo yum -y install httpd
8 sudo systemctl enable httpd
9 sudo systemctl start httpd.service
10 netstat -tnlp
11 sudo netstat -tnlp
12 sudo firewall-cmd --list-all
13 sudo firewall-cmd --zone=public --add-service=http
14 sudo firewall-cmd --zone=public --add-service=https
15 sudo su -
16 history




Other Videos By Information Technology


2023-06-29Test days part2 and taking them at home
2023-06-28Test day.... time for some fun
2023-03-16A few thoughts on AI and ML due to the increased interest as of late
2023-03-15Understanding a bit how init files work and the different run control targets in Linux.
2023-03-13Install openJDK Java and then Installing Oracle Java with an RPM
2023-03-08Playing on our aws ec2 linux with scheduling jobs with at and cron
2023-03-07Selinux Broke Apache - I change httpd to run on another port and selinux did not like it.
2023-03-06Setting Up SELINUX on aws ec2 as well as installing audit2allow
2023-03-03Setting up admin users to use sudo on Amazon Web Services EC2
2023-02-27AWS S3 and Python Lambda with an API Gateway for a simple web form
2023-02-24Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL
2023-02-23What is the cost for me to switch to Amazon Web Services (AWS)
2023-02-22Why are there so many different Elastic Compute Cloud (EC2) options in AWS
2023-02-21What are some of the other properties of Amazon Web Service (AWS) Simple Storage Service (S3)
2023-02-20AWS S3 finding prior versions of deleted files
2023-02-17Creating Amazon Web Services (AWS) Simple Storage Service (S3) Bucket and enabling versioning
2023-02-16What else can we do with firewalld... masquerade and forward incoming requests
2023-02-14Linux Firewalld and Amazon Security Group (network firewall) change to allow httpd (apache)
2023-02-13Learn and use Amazon Web Services for free with AWS Educate... It has a new focus
2023-02-10AWS Elastic File System (EFS)(NFS) goes away after reboot. Lets add it to the /etc/fstab
2023-02-10Mounting Elastic File System(EFS)(NFS) to an EC2 Instance AWS, Beware of Security Groups blocking