Wednesday, July 15, 2015

Salutations,

This blog will be focused on penetration testing and setting up various related environments.  My colleagues and I recently setup a Hyper-V server with Microsoft 2012 R2. The end goal of this project is to create a safe environment for students to practice networking and penetration testing according to the specifications of faculty. My position is transitional and so making it easy to manage is ideal.  This blog is a work in progress. I plan on updating this regularly with pictures, tutorials, and more details. 

The following describes each work station:
All Hacking Station
        Students can use this computer to do any exploit.  The computers have hard drive bays that allow hard drives to be swapped out. Obviously they can use a Hard drive , USB, or CD to run their operating system. Each station has two desktops. One desktop is on the Fly network and the other is on the Spider network.


KVM
        Keyboard, video mouse students can switch between the All In One Computer  with this device.


USB Switch
        This can be used to transfer data that students get from the internet, or materials the students need to turn in.
All In One

        This is the machine that is connected to the Internet, students can use this to research, download, and upload (turn in necessary information) to the internet.  

Network Share Drive
A network shared drive is used between faculty and students to exchange software.

Repository
A repository was created to support Opensuse and Ubuntu.


The following servers are configured:

Ubuntu 14.04

Samurai Linux

Scientific Linux 7

Microsoft 2012 r2


Networking:

I setup the DNS on a virtual server using MS Server 2012 R2.  Currently the DHCP, switching, and routing is done through two Cisco 3560 switches.
Altogether 36 computers exist in the lab.  Half the spider network (attackers) and half for the fly network (defenders).

A Nagios server is running Ubuntu 12.04 to monitor the network.


Computer NameOS
XphackmeXP
PITAWindows Server
LampstackDebian
Win7Windows 7 machine
Hackquartersdomain IP
WikiScientific Linux 7
LabswebsiteScientific Linux 7
SearchUbuntu
DNS1Scientific linux
DNS DHCPMS Server 2012 r2
Hyper-V ServerDefault Gateway
NagiosMonitoring
Repo.hackquarters.comSL96 Repo
DNS2Scientific Linux
DVWADebian









Hyper -V Experience
Hyper-V Pros:
Hyper-V was straight forward in regards to creating and managing virtual machines.


Hyper-V Cons:
I found it too complicated to mount storage for the virtual machines to use. I tried mounting additional hard drives and USBs but it is not straight forward enough to expect someone to learn as fast as they may need to.

An atom server was configured which stands alone from the Hyper -V host but on the same subnet. The atom server has four hot swap bays. The storage hard drives can be swapped without having to reboot the server.  Currently this is only housing the repository.  It runs on Ubuntu 12.04 and has.




Video:

Links: