Virtual Machine and VirtualBox

Slides:



Advertisements
Similar presentations
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Advertisements

ITP 457 Network Security Network Hacking 101. Hacking Methodology (review) 1. Gather target information 2. Identify services and ports open on the target.
hotEx RADIUS Manager Installation
Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi Upon completion of this module, you should be able to: Export.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
1 Virtualization and Virtual Machines Sarah Diesburg 1/10/2013 COP 5641.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Network+ Guide to Networks 6 th Edition Chapter 10 Virtual Networks and Remote Access.
To run the program: To run the program: You need the OS: You need the OS:
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Space Science and Engineering Center University of Wisconsin-Madison Virtual Machines: A method for distributing DB processing software Liam Gumley.
Virtualization and Open source Software Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9 th, 21 st, 22 nd March, 2011.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
TAX-AIDE Network Router Setup Network Printer Setups July SMT/TCS Training - Dallas1.
Advanced Networking for DVRs
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Network+ Guide to Networks 6 th Edition Chapter 10 Virtual Networks and Remote Access.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Tutorial 11 Installing, Updating, and Configuring Software
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
Hands-On Virtual Computing
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
Implementing Hyper-V®
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
Port Forwarding in VM brief intro
HotEx Radius Manager Installation. hotEx RADIUS Manager Network Diagram.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
VApp Product Support Engineering Rev E VMware Confidential.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Unit 2 - Hardware Networking. What is a network? A computer network is essentially a connection between two or more computers. This connection can be.
WEEK 11 – TOPOLOGIES, TCP/IP, SHARING & SECURITY IT1001- Personal Computer Hardware System & Operations.
Hands-On Virtual Computing
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
“Build that Virtual Lab you always wanted” Information Assurance Group 2011.
XenClient Enterprise 4.5 Engine Network Addressing Modes.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
Using Virtualization in the Classroom
Penetration Testing Exploiting 2: Compromising Target by Metasploit tool CIS 6395, Incident Response Technologies Fall 2016, Dr. Cliff Zou
Virtual Machine and VirtualBox
Vulnerable Web Server g Network Setup Guide
Network customization
Holland Computing Center STAT802 Create and access Anvil Windows 10 SAS instance 01/23/2017.
Guide to Operating Systems, 5th Edition
Penetration Testing Scanning
CSC227: Operating Systems
Penetration Testing Armitage: Metasploit GUI and Machine-Gun Style Attack CIS 6395, Incident Response Technologies Fall 2016, Dr. Cliff Zou
Desktop Virtualization
Creating a Windows Server 2016 Datacenter Virtual machine
Creating a Windows 10 Virtual machine
Create A Virtual Machine
Hands-On Virtualization in the Classroom
Network+ Guide to Networks 6th Edition
Chapter 2. Malware Analysis in VMs
Download and Install Windows XP Virtual Machine in VirtualBox
DHCP, DNS, Client Connection, Assignment 1 1.3
Guide to Operating Systems, 5th Edition
NETWORK SECURITY LAB Lab 8. Firewall and VPN.
Cyber Operation and Penetration Testing Online Password Cracking Cliff Zou University of Central Florida.
Cyber Operation and Penetration Testing Armitage: Metasploit GUI and Machine-Gun Style Attack Cliff Zou University of Central Florida.
How To Configure Hotspot in Virtual Mikrotik on VMware
Virtual Machine and VirtualBox
Virtual Machine and VirtualBox
Port Forwarding ( VirtualBox / VMware Player )
Presentation transcript:

Virtual Machine and VirtualBox Cyber Operation and Penetration Testing Virtual Machine and VirtualBox Dr. Cliff Zou University of Central Florida

Acknowledgement Univ. Northern Iowa, COP 4610 Intro Operating Systems http://www.cs.uni.edu/~diesburg/courses/cop4610_fall10/ http://www.dedoimedo.com/computers/virtualbox- network-sharing.html Creating a Test Lab Using VirtualBox / NAT networking (by Peter Sylvester) https://www.pythian.com/blog/test-lab-using-virtualbox-nat- networking/

Virtualization Software Runs operating systems in fully emulated environment Vmware (Vmware Inc.) VirtualBox (Oracle) Virtual PC (Microsoft) Xen (open source project)

Virtualization Terminology Host OS – running on physical computer Only one host OS may run at a time “Hosts” the other running operating systems Guest OS – running in emulated environment Can run multiple guests at the same time Guest thinks it is running on actual hardware Virtual machine – set of files that make up a guest OS

Virtual Machine Advantages Can distribute a pre-configured OS Run VM, install/configure it, then export to another VM image Easy to create multiple snapshots If something goes wrong, roll-back to a previously saved snapshot Portable Run on any host OS Store on portable hard drive or laptop

Virtual Machine Advantages Sandbox Does not affect anything on host OS Networked Can access over the network

Guest OSes ---- Linux Kali Linux Metasploitable Penetration testing preconfigured A lot of hacking tools preinstalled https://www.offensive-security.com/kali-linux-vmware-virtualbox- image-download/ Root Name: root password: toor Metasploitable An intentionally vulnerable Linux VM Security training, penetration testing https://sourceforge.net/projects/metasploitable/files/Metasploitable2/ The default login and password is msfadmin:msfadmin

Guest OSes ---- Windows Windows VMs Microsoft has made available a number of VMs that can be downloaded to test Microsoft Edge and different versions of IE. Download from: https://dev.windows.com/en-us/microsoft- edge/tools/vms/ Currently it has Win7, Win8, Win10 Under the webpage, “Choose your OS” means your host OS These virtual machines expire after 90 days. setting a snapshot when you first install the virtual machine which you can roll back to later.

Install VM Images in VirtualBox For VM images with .ova file type VirtualBox menu: “File””Import Appliance” Choose the *.ova image file to import the VM image Just use the default configurations

Importing Win7 VM Image…. Take a while, so be patient…. ( a few minutes)

Networking in VirtualBox VirtualBox provides the following networking options: We will introduce: NAT, NAT Network, Bridged Adapter

IP Address Checking Tool In Windows, run “ipconfig” under “cmd” window In Linux, run “ifconfig” in terminal

Networking Diagnosis Tool Use “Ping” command to check if a host is reachable In Windows, run “ping x.x.x.x” under “cmd” window In Linux, run “ping x.x.x.x” in terminal Use CTRL+C to stop the pinging action

VirtualBox Networking Setup Objective: Let multiple VMs in the same LAN This LAN is private, cannot be connected from outside (for security purpose) Each VM has Internet access So that we can download/install software on them Two types of networks: (Bridged Adapter) Host machine and VMs are in the same LAN (NAT Network) Guest VMs in the LAN, cannot see host OS

Networking in VirtualBox: NAT Default configuration Virtualbox generates NAT routers One NAT router for each VM Simplest, no configuration at all Issues: Each VM in its own private LAN, cannot see each other VirtualBox Network Engine NAT routers VM1 VM2 VM3

Networking in VirtualBox: Bridged Adapter Each VM requests its IP address just like the host OS to the default DHCP server All VMs and host OS are in the same LAN, so they can talk to each other Your home WiFi router most likely will support this DHCP/NAT server (e.g., wifi router) Host OS VM2 VM1

Networking in VirtualBox: Bridged Adapter Problem: some DHCP servers do not provide service to VMs UCF WiFi does not provide IP to VMs Your VM will not be able to obtain a valid IP Your home WiFi router most likely will support this You can use this networking setup at home, but not in UCF campus

VirtualBox Networking Option: NAT Network On VirtualBox, click “File”  “Preferences…” ”Network” If the “Net Networks” tab is empty, click to add the default “NatNetwork” You can change this NAT network name This will let VirtualBox to create a NAT router for Internal VMs that join in this NAT router

Networking in VirtualBox: NAT Network VirtualBox setup a NAT router X All VMs join this NAT router X All VMs can see each other, in the same LAN Host OS is not in this NAT router’s LAN VirtualBox can set up multiple NAT Routers for multiple isolated VM LANs NAT Router ‘Y’ NAT Router ‘X’ VirtualBox Network Engine Host OS VM1 VM2 VM3

Networking in VirtualBox: NAT Network Determine local NAT LAN subnet: Goto virtualBox menu: Filepreferences… On the NAT network, select the tool

File Transfer between VM and Host OS under VirtualBox Use online server for file upload/download Upload to an online storage (such as Google Drive, MS Onedrive) Download to the host OS or VM 2. Virtualbox support ‘drag and drop’ file transfer between host OS and a VM OS Run the Kali Linux VM under virtualBox Configure virtualBox menu “Devices”  “Drag and Drop”  enable “Bidirectional” In Kali, open “file folder” icon, in the host OS, open a folder window Now you can drag/drop files between host and VM

Shared Folder in Linux VM 3. VirtualBox supports “shared folder” between host OS and VM Run the Kali Linux VM under VirtualBox Configure virtualBox menu “Devices”  “shared folders”  “Shared folder setting…” click the “+” button In the Folder Path field, choose “Other…” to add a host OS folder as the shared folder (e.g., “Download”) In Linux VM: mkdir shared mount -t vboxsf Download ~/shared Now VM’s “~/shared” would be identical to the “Download” folder on host OS

Shared Folder in Windows VM Configure virtualBox menu “Devices”  “shared folders”  “Shared folder setting…” click the “+” button In the Folder Path field, choose “Other…” to add a host OS folder as the shared folder (e.g., “Download”) In Win VM, open folder, goto “network”, select “VBOXSVR”, then the shared folder will show up as a network drive