CINXE.COM
Frequently Asked Questions ~ VulnHub
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Frequently Asked Questions ~ VulnHub</title> <link rel="shortcut icon" href="/static/img/favicon.ico"/> <link rel="apple-touch-icon" href="/static/img/touch-icon-iphone.png" /> <link rel="apple-touch-icon" sizes="76x76" href="/static/img/touch-icon-ipad.png" /> <link rel="apple-touch-icon" sizes="120x120" href="/static/img/touch-icon-iphone-retina.png" /> <link rel="apple-touch-icon" sizes="152x152" href="/static/img/touch-icon-ipad-retina.png" /> <link rel="stylesheet" type="text/css" href="//necolas.github.io/normalize.css/1.1.3/normalize.css" /> <meta name="theme-color" content="#337e97"> <meta name="msapplication-navbutton-color" content="#337e97"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="/static/css/style.css" /> <link rel="stylesheet" type="text/css" href="/static/fonts/fonts.css" /> <link rel="alternate" type="application/atom+xml" title="Entries - Atom" href=":///feeds/added/atom/" /> <link rel="alternate" type="application/rss+xml" title="Entries - RSS" href=":///feeds/added/rss/" /> <link rel="alternate" type="application/atom+xml" title="Blog" href="https://blog.vulnhub.com/atom.xml" /> <link rel="alternate" type="application/atom+xml" title="Torrents - Atom" href=":///feeds/torrent/atom/" /> <link rel="alternate" type="application/rss+xml" title="Torrents - RSS" href=":///feeds/torrent/rss/" /> <link rel="author" type="text/plain" href=":///humans.txt" /> <link rel="author" type="text/plain" href=":///robots.txt" /> <link rel="sitemap" type="application/xml" href=":///sitemap.xml" /> <meta name="description" xml:lang="en" lang="en" content="" /> <meta name="keywords" content="vulnhub,vulnerable,design,digital,information,security,infosec,hacking,pentest,training,download,mirror,walkthrough,hint,spoiler,legal,free,materials,resources,learning,hands on,practical,crack,break,boot2root,vulnerable virtual machines,machine,vuln,exploit,community" /> </head> <body> <noscript> <div class="text-center"> <h4>Javascript is required to give the best user experience.</h4> </div> </noscript> <div class="navbar navbar-expand-lg fixed-top"> <div class="container "> <a class="navbar-brand" href="/"> <img src="/static/img/logo.svg" class="d-inline-block align-top" alt=""> </a> <!-- Collapse button --> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> <img src="/static/img/bars.svg" alt="bars"> </button> <div class="collapse navbar-collapse" id="navbarCollapse"> <nav class="d-flex w-100"> <ul class="navbar-nav mr-auto left-nav"> <li class="nav-item "> <a class="nav-link text-center" href="/">Virtual Machines</a> </li> <li class="nav-item dropdown active"> <a class="nav-link text-center" href="/" id="help-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Help</a> <div class="dropdown-menu" aria-labelledby="help-dropdown"> <a class="dropdown-item" href="/faq/">FAQ</a> <a class="dropdown-item" href="/difficulty/">Difficulty</a> <a class="dropdown-item" href="/lab/">Setting up a Lab</a> <a class="dropdown-item" href="/chat/">Chat</a> </div> </li> <li class="nav-item "> <a class="nav-link text-center" href="/resources/">Resources</a> </li> <li class="nav-item dropdown "> <a class="nav-link text-center" href="/" id="about-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">About</a> <div class="dropdown-menu" aria-labelledby="about-dropdown"> <a class="dropdown-item" href="/about/">About VulnHub</a> <a class="dropdown-item" href="/feeds/">Feeds</a> <a class="dropdown-item" href="/privacy/">Privacy Policy</a> </div> </li> </ul> <ul class="navbar-nav ml-auto right-nav"> <li class="nav-item nav-btn nav-btn-orange align-self-center"> <a class="nav-link" href="/submit/vm/">Submit Machine</a> </li> <li class="nav-item nav-btn nav-btn-white align-self-center"> <a class="nav-link" href="/contact/">Contact Us</a> </li> </ul> </nav> </div> </div> </div> <div class="col-12 container content-container"> <div> <h2 id="top">Frequently Asked Questions</h2> </div> <div class="panel"> <div class="span12 well"> <h6>Troubleshooting</h6> <ul> <li><a href="#download" class="scroll">Q.) I've just downloaded 'xyz', what do I do with it?</a></li> <li><a href="#troubleshoot" class="scroll">Q.) I've downloaded 'xyz', But its not working. What can I do?</a></li> <li><a href="#checksum" class="scroll">Q.) What is a checksum? How do I find a file's checksum?</a></li> <li><a href="#networking" class="scroll">Q.) Help! I can't get networking to work correctly!/I can't see the virtual machine on the network!</a></li> <li><a href="#password" class="scroll">Q.) I've started up 'xyz', and it's asking me to login. What's the password?</a></li> <li><a href="#more" class="scroll">Q.) I'm still having issues/You haven't answered my question. Where do I go from here?</a></li> </ul> <h6>Software</h6> <ul> <li><a href="#vm" class="scroll">Q.) What is a 'virtual machine'?</a></li> <li><a href="#vmvs" class="scroll">Q.) Virtualbox vs. VMware. Which one is 'the best'?</a></li> </ul> <h6>Pentesting</h6> <ul> <li><a href="#ptestatt" class="scroll">Q.) What software should I use to 'attack'?</a></li> <li><a href="#ptesttar" class="scroll">Q.) What can 'target'?</a></li> <li><a href="#ptestnext" class="scroll">Q.) Where do I start/Where do I go from here?</a></li> </ul> <h6>Formats</h6> <ul> <li><a href="#convertvb" class="scroll">Q.) How do I convert a Virtualbox machine to work with VMware?</a></li> <li><a href="#convertvm" class="scroll">Q.) How do I convert a VMware machine to work with Virtualbox?</a></li> <li><a href="#addhdd" class="scroll">Q.) What should I do with an existing virtual hard drive for an VMware machine?</a></li> </ul> <h6>Virtual Machines</h6> <ul> <li><a href="#security" class="scroll">Q.) What are the dangers/security issues of running an (unknown) virtual machine?</a></li> <li><a href="#protect" class="scroll">Q.) What can I do to protect my network and myself?</a></li> <li><a href="#move" class="scroll">Q.) VMware is telling me: 'This virtual machine might have been moved or copied'. What should I do?</a></li> <li><a href="#convert" class="scroll">Q.) VMware is telling me: 'Convert existing virtual disk to newer format'. What should I do?</a></li> </ul> <h6>Networking</h6> <ul> <li><a href="#networkvmplayer" class="scroll">Q.) VMware player: What's the difference between: 'Bridged', 'NAT', 'Host-only' and 'LAN segment'?</a></li> <li><a href="#networkvmfusion" class="scroll">Q.) VMware fusion: What's the difference between: 'Share with my Mac', 'Bridged Networking' and 'Private to my Mac'?</a></li> <li><a href="#networkvmworkstaion" class="scroll">Q.) VMware workstation: What's the difference between: 'Bridged', 'NAT', 'Host-only', 'Custom' and 'LAN segment'?</a></li> <li><a href="#networkvbox" class="scroll">Q.) Virtualbox: What's the difference between: 'NAT', 'Bridged Adapter', 'Internal Network', 'Host-only' 'Generic Driver' and 'Not attached'?</a></li> </ul> <h6>VulnHub</h6> <ul> <li><a href="#aim" class="scroll">Q.) Who are you? What's this all about?</a></li> <li><a href="#spoilers" class="scroll">Q.) Why have you given walkthroughs? Doesn't that ruin it?</a></li> <li><a href="#submit" class="scroll">Q.) Why haven't you added 'xyz'? Where can I submit an entry?</a></li> <li><a href="#walkthrough" class="scroll">Q.) Where can I submit a walkthrough?</a></li> <li><a href="#help" class="scroll">Q.) What can I do to help?</a></li> </ul> </div> </div> <div class="panel"> <h3>Troubleshooting</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="download">Q.) I've just downloaded 'xyz', what do I do with it?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Well that depends on what you have downloaded: </p> <p> <ul> <li>'.7z', '.RAR', '.TAR', '.TAR.BZ2' and '.ZIP' - <i>These are different compressed archive formats. They can be extracted to reveal additional files. <a href="http://www.7-zip.org/download.html">7-zip</a> is free, cross-platform and is able to extract all the mentioned formats.</i></li> <li>'.ISO' and '.IMG' - <i>These are disk images of an optical disc. They could be burnt onto a CD/DVD <i>(<a href="http://www.imgburn.com">IMGBurn</a>)</i>, loaded onto a USB stick <i>(<a href="http://unetbootin.sourceforge.net/">UNetbootin</a>)</i> or mounted inside a virtual machine.</i> </li> <li>'.NVRAM' - <i>The virtual machine's BIOS.</i></li> <li>'.OVA' - <i>'Open Virtualization Archive' is a single compressed archive ('.tar') which contains the entire virtual machine (Virtual machine's settings ('.OVF') & hard drive ('.VMDK')). This can be imported into virtualization software.</i></li> <li>'.OVF' - <i>'Open Virtualization Format' is the configuration file for the virtual machine. This can be imported into virtualization software.</i></li> <li>'.VMDK' and '.VHD' - <i>'Virtual Machine Disk (VMDK)' and 'Virtual Hard Disk (VHD)' are virtual hard drive formats. These can be compressed to save room and expand when required. These can be imported into an existing virtual machine.</i></li> <li>'.VMEM' - <i>The Virtual machine's paging file.</i></li> <li>'.VMSN' and '.VMSD' - <i>VMSN are VMware snapshots and VMSD file stores metadata related to the snapshots.</i> </li> <li>'.VMX' - <i>Virtual machine's settings. This can be imported into virtualization software.</i></li> </ul> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="troubleshoot">Q.) I've downloaded 'xyz', But its not working. What can I do?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> <ul> <li> <div class="underline">Did it download correctly?</div> Check the checksum of the file. For every download, we list the MD5 and SHA1 checksum of the file. You can find all the checksums <a href="http://download.vulnhub.com/checksum.txt">here</a>. Alternatively they will be individually displayed on their entry page. To check the checksum, you can do it <a href="#checksum" class="scroll">here</a>. </li> <li> <div class="underline">Using the right software?</div> See <a href="#download" class="scroll">here</a>. </li> <li> <div class="underline">How do you know it's not working?</div> See <a href="#networking" class="scroll">here</a>. </li> </ul> If you're still having issues, see <a href="#more" class="scroll">here</a>.<br /> </p> <br /> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="checksum">Q.) What is a checksum? How do I find a file's checksum?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Below are different methods for Linux, OSX & Windows to calculate the checksum value of a file. We will use '<a href="/entry/metasploitable_2,29/#fileinfo">metasploitable-linux-2.0.0.zip</a>' in the examples below.<br /> <br /> <div class="underline">Linux</div><br /> If you have the 'coreutils' packaged install <i>(which is very common with major Linux distribution)</i>, you can use 'md5sum' & 'sha1sum' for checking files checksums.<br /> <pre>[dev@localhost ~]# md5sum metasploitable-linux-2.0.0.zip 8825f2509a9b9a58ec66bd65ef83167f metasploitable-linux-2.0.0.zip [dev@localhost ~]# sha1sum metasploitable-linux-2.0.0.zip 84133002ef79fc191e726d41265cf5ab0dfad2f0 metasploitable-linux-2.0.0.zip [dev@localhost ~]#</pre> <br /> <div class="underline">OSX</div><br /> Simlar to Linux, OSX comes with 'md5' & 'shasum' to generate files' checksums.<br /> <pre>[localhost:~ dev]$ md5 metasploitable-linux-2.0.0.zip 8825f2509a9b9a58ec66bd65ef83167f metasploitable-linux-2.0.0.zip [localhost:~ dev]$ shasum metasploitable-linux-2.0.0.zip MD5 (metasploitable-linux-2.0.0.zip) = 84133002ef79fc191e726d41265cf5ab0dfad2f0 [localhost:~ dev]$</pre> <br /> <div class="underline">Windows</div><br /> By default, windows doesn't come with a program to calculate checksums. We recommend using a 3rd party tool called '<a href="http://www.implbits.com/hashtab.aspx">hashtab</a>'.<br /> To use it:<br /> <ul> <li>Right click on the file --> Properties --> File Hashes.</li> <li>Wait a short while, as it calculates the file's checksum <i>(you can select which values to calculate by right clicking in the hash window --> settings)</i>.</li> <li>You can easily compare the hash values by pasting a known value into the text box below, and hashtab will automatically compare the values and display the outcome.</li> </ul> <div class="text-center"><a href="/static/img/guides/hash_windows.png" target="_blank"><img class="box_shadow" src="/static/img/guides/hash_windows-thumb.png" alt="hash_windows.png" /></a><br /><i>HashTab</i></div><br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="networking">Q.) Help! I can't get networking to work correctly!/I can't see the virtual machine on the network!</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> <div class="underline">Static IP? DHCP Server?</div><br /> When the author created the virtual machine, they may have chosen for the machine to have a static IP address, or for it to be assigned one via a Dynamic Host Configuration Protocol (DHCP) server.<br /> If there is a README file to go along side the machine, it might be mentioned there. It may also be discussed on the author's download page. However, there are certain cases when this hasn't been disclosed.<br /> If you're new to setting up a lab, you might be unsure if the target machine is working correctly or not, or, if you have over looked something. This is why on the entry page on VulnHub; we have listed the networking status of each machine.<br /> <br /> If it is using a static IP address it will have a pre-assigned IP address. As IP addresses are unique and shouldn't have duplicates on the same network, you will need to check that there isn't already a device using the machine's static IP address. Usually this shouldn't be a problem as these machines should be placed in an isolated network.<br /> However, if the virtual machine requires a DHCP server to assign an IP address, there needs to be a DHCP service running within the environment. Both Virtualbox and VMware products offer a DHCP service, which, when using the right 'network type', will isolate the machine from the current network. See the <a href="/lab/">lab</a> for our guide on doing this.<br /> It is highly recommended that you DO NOT run these machines on a: production network, home network, a network with Internet access and/or a network containing sensitive information <i>(VulnHub will not be responsible for any loss or damage caused)</i>. These virtual machines will work in isolated networks. See <a href="#security" class="scroll">security</a> for reasons why. Click <a href="/lab/">here</a> to see how to setup a network correctly.<br /> <br /> <div class="underline">Subnetwork</div><br /> IPv4 network addresses can be broken down into various classes:<br /> <pre> Class - Start-End Subnet Mask (Dotted)-CIDR notation - Common Ranges<br /> Class A - 0.0.0.0-127.255.255.255 255.0.0.0 /8 - 10.xxx.xxx.xxx<br /> Class B - 128.0.0.0-191.255.255.255 255.255.0.0 /16 - 172.16.xxx.xxx<br /> Class C - 192.0.0.0-223.255.255.255 255.255.255.0 /24 - 192.168.xxx.xxx<br /></pre> If the machine is using a DHCP to get an IP address, it will be placed into the same subnet as the DHCP configuration.<br /> But, if the machine is using a static IP address, the machine could lie outside the subnet. Common ranges for a class C network are 192.168.0.0/24, 192.168.1.0/24. However, if the virtual machine uses '192.168.2.50/24', or '10.10.10.100/16' as examples, the attacker will need to adjust their virtual environment so they are in the same subnet.<br /> <br /> Being the attacker, you will need to learn techniques to locate machines on a network.<br /> <br /> <div class="underline">Ping</div><br /> A common way to see if the machine is 'alive' on a network is to send a ping packet (Internet Control Message Protocol (ICMP) echo request) and see if there is a reply.<br /> However, if the machine has a firewall installed, it could be designed to drop the packet. This would result in no response to the ping request, thus failing the test to see if the machine is 'alive'.<br /> <br /> Being the attacker, you would have to discover/research other methods to see if the machine is actually online & functioning correctly.<br /> </p> <br /> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="password">Q.) I've started up 'xyz', and it's asking me to login. What's the password?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Depending on the virtual machine, that's the aim of it! You gain access to the system, with the highest user privilege you can reach, usually by exploiting a service running on the machine. Giving you the user credentials would defeat the purpose of the exercise.<br /> <br /> This isn't <i>always</i> the case, some machines have local challenges which require you to login locally.<br /> If this is the case, the username & password would be mentioned in the README file.<br /> Such machines are: '<a href="/series/damn-vulnerable-linux,1/">Damn Vulnerable Linux</a>' & '<a href="/series/exploit-exercises,11/">Exploit-Exercises</a>'.<br /> <div class="text-center"><a href="/media/img/entry/holynix-v2.tar-1.png" target="_blank"><img class="box_shadow" src="/media/img/entry/holynix-v2.tar-1-thumb.png" alt="holynix-v2.tar-1.png" /></a><a href="/media/img/entry/DVL_1.5_Infectious_Disease-1.png" target="_blank"><img class="box_shadow" src="/media/img/entry/DVL_1.5_Infectious_Disease-1-thumb.png" alt="DVL_1.5_Infectious_Disease-1.png" /></a><br /><i>Holynix v2's & Damn Vulnerable Linux's login screen</i></div><br /> </p> <br /> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="more">Q.) I'm still having issues/You haven't answered my question. Where do I go from here?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Sorry to hear that!<br /> Depending on the nature of the question:<br /> <ul> <li>You can try search the internet using a search engine.</li> <li>Contact the original author <i>(You can find contact details on their profile).</i></li> <li>Get in <a href="/contact/">touch</a> with VulnHub <i>(Please allow for 2 business days for a response).</i> </li> <li>Join the <a href="/chat/">IRC</a> channel <i>(Due to time-zone differences and/or peoples' personal lives it could take 'a while' for someone to respond).</i></li> </ul> </p> </div> <div class="panel"> <h3>Software</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="vm">Q.) What is a 'virtual machine'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> A 'virtual machine (VM)', is the simulation of a machine (called the 'guest') that is running inside another machine (the 'host').<br /> The 'guest' machine uses the 'hosts' system resources to create a virtual environment, which allows for multiple machines to be created and running at the same time.<br /> These machines behave as close as possible to a 'real' instance.<br /> Depending on the virtualization software, the virtual machine could use 'hypothetical specifications' or emulate the host's hardware.<br /> These machines can be integrated with a virtual network or interact with an existing network.<br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="vmvs">Q.) Virtualbox vs. VMware. Which one is 'the best'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> It depends what you want to get out of them:<br /> <ul> <li>Virtualbox is free & open source. VMware has a freeware and commercial products. VMware player is freeware; VMware workstation & VMware fusion are commercial.</li> <li>Both solutions work on Linux & Windows hosts, and both support Linux & Windows guests. However, Virtualbox also supports OSX as a host & guest. Whereas VMware fusion is the only product which VMware currently offers which supports OSX host & guest.<br /><br /></li> <li>VMware player has the same 'core' as workstation, but its either missing various features, or has limitations. </li> <li>Virtualbox has all the features of VMware player, including any features that are 'limited' (e.g. snapshots & virtual network control) along with additional ones (e.g. cloning).</li> <li>Virtualbox has a few features that VMware doesn't <i>(currently)</i> offer, such as, capping 'processor usage'.</li> <li>VMware workstation offers a lot more features which Virtualbox <i>(currently)</i> doesn't, for example, fully automated installations of operating systems, USB3.0 support, better USB device control (more reliable connecting & releasing devices).<br /><br /></li> <li>VMware player is free, and is a limited version of workstation. It's good if you <i>just</i> want to run a virtual machine.</li> <li>Virtualbox is free, works everywhere and has various features over VMware player that are very beneficial: this product is good if you want to run & manage various virtual machines.</li> <li>VMware workstation needs to be purchased, works everywhere and has additional features that are very beneficial. This product is great if you want to run & manage various virtual machines, especially across multiple hosts.</li> </ul> </p> </div><!-- /panel --> <div class="panel"> <h3>Pentesting</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="ptestatt">Q.) What software should I use to 'attack'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Our answer can be found <a href="/lab/pentest/#attacker">here</a>, and been touched on in the 'Lab' guide.<br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="ptesttar">Q.) What can 'target'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> We answered this question <a href="/lab/pentest/#target">here</a>, in our 'Lab' guide.<br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="ptestnext">Q.) Where do I start/Where do I go from here?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> These are our recommendations if you're completely new to this:<br /> <ul> <li><a href="/entry/de-ice_s1100-level-1,8/">De-ICE: S1.100</a>, <a href="/entry/de-ice_s1110-level-1,9/">De-ICE: S1.110</a> & <a href="/entry/de-ice_s2100-level-2,13/">De-ICE: S2.100</a> - Great way to start out.</li> <li><a href="/entry/metasploitable_1,28/">Metasploitable 1.0</a> - Lots of different ways into the box.</li> <li><a href="/entry/pwnos_10,33/">pWnOS 1.0</a> - Good introduction to <i>(fixing and)</i> using exploits outside metasploit.<br /><br /></li> <li>Damn Vulnerable Web Application - Good introduction into the basics of web application attacks.</li> <li>Webgoat - Good introduction into the basics of web application attacks.</li> <li>Mutillidae - Good introduction into the basics of web application attacks.</li> <li>sqli-labs - Good introduction into the SQL injection attacks.</li> </ul> Afterwards, that's up to you! If you're stuck for ideas/wanting to do something specific, feel free to join the <a href="/chat/">IRC</a> channel and see what someone suggests.<br /> </p> </div><!-- /panel --> <div class="panel"> <h3>Formats</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="convertvb">Q.) How do I convert a Virtualbox machine to work with VMware?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> Both Virtualbox and VMware use different virtual machine formats, but each support the 'Open Virtualization Format'. However, you can be at risk of breaking a virtual machine by doing so. The reason for this is that there may be a 'new' network card attached <i>(as each VM solution uses a different virtual network card)</i>. Because a different interface will be active, it may conflict with the setup script of the machine <i>(inside the VM itself)</i> that the author created. It really depends on how the original author designed the machine.<br /> All the virtual machines can be converted, however, some will function correctly, others will not. <i>Maybe at a later date, this is something VulnHub will look into documenting.</i><br /> <!--!!!--> <br /> In the following example, we will move a 'Windows 7' VM from Virtualbox 4.2.4 to VMware Player 5 & Workstation 9, on a windows host.<br /> To do so, we will use 'OVF Tool', which comes pre-installed with VMware player, fusion & workstaion. You can find the homepage of the tool <a href="https://www.vmware.com/support/developer/ovf/">here</a>.<br /> <i>The basic method/principle is the same when the host OS is Linux or OSX.</i><br /> <div class="underline">Virtualbox (Export)</div><br /> <ol> <li>Power off the machine <i>(Make sure it's not suspended)</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_01-thumb.png" alt="convert_vbox_vm_01.png" title="Step 1" /></a> </div><br /></li> <li>Virtualbox --> File --> Export Appliance. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_02-thumb.png" alt="convert_vbox_vm_02.png" title="Step 2" /></a> </div><br /></li> <li><Machine name> --> Next. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_03-thumb.png" alt="convert_vbox_vm_03.png" title="Step 3" /></a></div><br /></li> <li>Choose --> <path to export to> <i>(Leave the two boxes 'un-ticked')</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_04-thumb.png" alt="convert_vbox_vm_04.png" title="Step 4" /></a> </div><br /></li> <li>Check values --> Export. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_05-thumb.png" alt="convert_vbox_vm_05.png" title="Step 5" /></a></div><br /></li> <li>Wait. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_06.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_06-thumb.png" alt="convert_vbox_vm_06.png" title="Step 6" /></a></div><br /></li> </ol> <br /> <div class="underline">VMware Player (Import)</div><br /> <ol> <li>Press 'Open a Virtual Machine'. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_07.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_07-thumb.png" alt="convert_vbox_vm_07.png" title="Step 1" /></a></div><br /></li> <li>Locate exported file <i>(See stage 4 of Virtualbox)</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_08.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_08-thumb.png" alt="convert_vbox_vm_08.png" title="Step 2" /></a> </div><br /></li> <li>Check machine name & where to store the virtual machine. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_09.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_09-thumb.png" alt="convert_vbox_vm_09.png" title="Step 3" /></a> </div><br /></li> <li>Wait. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_10.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_10-thumb.png" alt="convert_vbox_vm_10.png" title="Step 4" /></a></div><br /></li> <li>The virtual machine should now work. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_11.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_11-thumb.png" alt="convert_vbox_vm_11.png" title="Step 5" /></a><a href="/static/img/guides/convert_vbox_vm_12.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_12-thumb.png" alt="convert_vbox_vm_12.png" title="Step 5" /></a> </div><br /></li> <li>The virtual machine will then detect new hardware as a result of the switch in the software. </i> <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_22.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_22-thumb.png" alt="convert_vbox_vm_22.png" title="Step 6" /></a></div><br /> </li> </ol> <br /> <div class="underline">VMware Workstation (Import)</div><br /> <ol> <li>Press 'Open a Virtual Machine'. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_13.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_13-thumb.png" alt="convert_vbox_vm_13.png" title="Step 1" /></a></div><br /></li> <li>Locate exported file <i>(See stage 4 of Virtualbox)</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_14.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_14-thumb.png" alt="convert_vbox_vm_14.png" title="Step 2" /></a> </div><br /></li> <li>Check machine name & where to store the virtual machine. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_15.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_15-thumb.png" alt="convert_vbox_vm_15.png" title="Step 3" /></a> </div><br /></li> <li>Wait. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_16.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_16-thumb.png" alt="convert_vbox_vm_16.png" title="Step 4" /></a></div><br /></li> <li><i>If 'The import failed because <path> did not pass OVF specification conformance or virtual hardware compliance checks', press 'Retry'</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_17.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_17-thumb.png" alt="convert_vbox_vm_17.png" title="Step 5" /></a> </div><br /></li> <li>The virtual machine should now work. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_18.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_18-thumb.png" alt="convert_vbox_vm_18.png" title="Step 6" /></a><a href="/static/img/guides/convert_vbox_vm_19.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_19-thumb.png" alt="convert_vbox_vm_19.png" title="Step 6" /></a> </div><br /></li> <li><i>The virtual machine will then detect new hardware as a result of the switch in the software</i>. <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_20.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_20-thumb.png" alt="convert_vbox_vm_20.png" title="Step 7" /></a></div><br /></li> </ol> <br /> You can see what files were produced as a result.<br /> <i>(First window: the original Virtualbox format. Middle: an export in OVA format. Bottom: VMware format).</i><br /> <div class="text-center"><a href="/static/img/guides/convert_vbox_vm_21.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vbox_vm_21-thumb.png" alt="convert_vbox_vm_21.png" title="" /></a></div><br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="convertvm">Q.) How do I convert a VMware machine to work with Virtualbox?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> The <a href="#convertvb" class="scroll">same</a> introduction message in converting 'Virtualbox' to 'VMware' applies here. Even if it is successfully converted it may still not function correctly due to the internal scripts not being coded to use the 'new' hardware.<br /> VMware has the ability to convert to different formats, however, it is achieved by 'Command Line Interface (CLI)', not a 'Graphical User Interface (GUI)'.<br /> <br /> In this example, we will move a 'Windows 7' VM from VMware to Virtualbox 4.2.4.<br /> <i>It doesn't matter if it's player or workstation, as they are both in the same directory.</i><br /> <i>The basic method/principle is the same when the host OS is Linux or OSX.</i><br /> <div class="underline">VMware (Export)</div><br /> <ol> <li>Power off the machine <i>(Make sure it's not suspended)</i>. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_01-thumb.png" alt="convert_vm_vbox_01.png" title="Step 1" /></a><a href="/static/img/guides/convert_vm_vbox_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_02-thumb.png" alt="convert_vm_vbox_02.png" title="Step 1" /></a> </div><br /></li> <li>Locate the working path of VMware <i>(Windows users can quickly find it by right clicking on the shortcut then 'Open file location')</i>.<br /> <i>Windows XP: 'C:\Program Files\VMware\VMware Workstation'</i><br /> <i>Windows Vista or higher: (x64) 'C:\Program Files (x86)\VMware\VMware Workstation' or (x86) 'C:\Program Files\VMware\VMware Workstation'</i><br /> <i>Linux: '/usr/lib/vmware-ovftool/'</i><br /> <i>OSX: '/Applications/VMware Fusion.app/Contents/Library/VMware OVF Tool/'</i><br /> <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_03-thumb.png" alt="convert_vm_vbox_03.png" title="Step 2" /></a></div><br /> </li> <li>Once the path of VMware is known, open a command prompt window in the same directory <i>(Window Vista or higher users can quickly do this by holding 'shift' & right clicking then press 'Open command window here')</i>. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_04-thumb.png" alt="convert_vm_vbox_04.png" title="Step 3" /></a></div><br /></li> <li>Type the following commands:<br /> <div class="underline">Windows</div>:<br /> <ul> <li>cd OVFTool</li> <li>ovftool.exe <path of the virtual machine> <path to export to> <i>For example: ovftool.exe "C:\Virtual Machines\Windows 7.vmx" "C:\Virtual Machines\Windows 7.ovf"</i></li> </ul> <div class="underline">Linux/OSX</div>:<br /> <ul> <li>./ovftool <path of the virtual machine> <path to export to> <i>For example: ./ovftool /home/user/vms/vmware/win7.vmx /home/user/vms/vbox/win7.vmx</i></li> </ul> <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_09.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_09-thumb.png" alt="convert_vm_vbox_05.png" title="Step 4" /></a></div><br /> </li> <li>Wait. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_05-thumb.png" alt="convert_vm_vbox_05.png" title="Step 5" /></a><a href="/static/img/guides/convert_vm_vbox_06.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_06-thumb.png" alt="convert_vm_vbox_06.png" title="Step 5" /></a></div><br /></li> </ol> <br /> <div class="underline">Virtualbox (Import)</div><br /> <ol> <li>Virtualbox --> File --> Import Appliance. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_07.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_07-thumb.png" alt="convert_vm_vbox_07.png" title="Step 1" /></a> </div><br /></li> <li>Open appliance --> Locate exported file <i>(See stage 4 of VMware)</i> --> Next. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_10.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_10-thumb.png" alt="convert_vm_vbox_10.png" title="Step 2" /></a><a href="/static/img/guides/convert_vm_vbox_11.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_11-thumb.png" alt="convert_vm_vbox_11.png" title="Step 2" /></a><a href="/static/img/guides/convert_vm_vbox_12.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_12-thumb.png" alt="convert_vm_vbox_12.png" title="Step 2" /></a></div><br /></li> <li>Virtualbox then displays a summary of the machine which will be imported. The settings now can be altered from the VMware values. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_14.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_14-thumb.png" alt="convert_vm_vbox_14png" title="Step 3" /></a></div><br /></li> <li>Wait. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_15.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_15-thumb.png" alt="convert_vm_vbox_15.png" title="Step 4" /></a></div><br /></li> <li>The virtual machine should now work. <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_16.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_16-thumb.png" alt="convert_vm_vbox_16.png" title="Step 5" /></a><a href="/static/img/guides/convert_vm_vbox_17.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_17-thumb.png" alt="convert_vm_vbox_17.png" title="Step 5" /></a> </div><br /></li> <li><i>The virtual machine will then detect new hardware as a result of the switch in the software.</i> <div class="text-center"><a href="/static/img/guides/convert_vm_vbox_18.png" target="_blank"><img class="box_shadow" src="/static/img/guides/convert_vm_vbox_18-thumb.png" alt="convert_vm_vbox_18.png" title="Step 6" /></a></div><br /> </li> </ol> <br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="addhdd">Q.) What should I do with an existing virtual hard drive for an VMware machine?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> In this example, we will add the virtual hard drive from <a href="/entry/kioptrix_level-13-4,25/">Kioptrix level 1.3</a> to an existing machine.<br /> If you don't have a existing machine to amend, you'll need to create a new virtual machine. This guide <div class="underline">doesn't</div> cover this.<br /> <i>It doesn't matter if it's player or workstation.</i><br /> <i>The principle is the same when the host OS is Linux or OSX.</i><br /> <ol> <li>Power off the machine <i>(Make sure it's not suspended)</i>. <div class="text-center"><a href="/static/img/guides/vm_hdd_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_01-thumb.png" alt="vm_hdd_01.png" title="Step 1" /></a></div><br /></li> <li>Edit virtual machine settings. <div class="text-center"><a href="/static/img/guides/vm_hdd_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_02-thumb.png" alt="vm_hdd_02.png" title="Step 2" /></a></div><br /></li> <li>Add --> Hard Disk --> Next <i>(You may get a UAC prompted if you're using Windows Vista or higher and have UAC enabled. Press 'Yes').</i> <div class="text-center"><a href="/static/img/guides/vm_hdd_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_03-thumb.png" alt="vm_hdd_03.png" title="Step 3" /></a></div><br /> </li> <li>Select 'Use an existing virtual disk'. <div class="text-center"><a href="/static/img/guides/vm_hdd_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_04-thumb.png" alt="vm_hdd_04.png" title="Step 4" /></a></div><br /></li> <li>Browse --> Locate the image file. <div class="text-center"><a href="/static/img/guides/vm_hdd_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_05-thumb.png" alt="vm_hdd_05.png" title="Step 5" /></a></div><br /></li> <li>Select 'Keep Existing Format'. <div class="text-center"><a href="/static/img/guides/vm_hdd_06.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_06-thumb.png" alt="vm_hdd_06.png" title="Step 6" /></a></div><br /></li> <li>Okay. <div class="text-center"><a href="/static/img/guides/vm_hdd_07.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_07-thumb.png" alt="vm_hdd_07.png" title="Step 7" /></a> </div><br /></li> <li>The virtual machine should now work. <div class="text-center"><a href="/static/img/guides/vm_hdd_08.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_hdd_08-thumb.png" alt="vm_hdd_08.png" title="Step 8" /></a></div><br /></li> </ol> </p> </div><!-- /panel --> <div class="panel"> <h3>Virtual Machines</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="security">Q.) What are the dangers/security issues of running an (unknown) virtual machine?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> <p> There are a few issues to take into consideration:<br /> <ul> <li>You're taking a machine that has known vulnerabilities in it and its purpose is to be broken into. As a result, you'll be increasing the risk of the network it's attached to.</li> <li>You're running someone else's code, so you're trusting the author hasn't made it perform/run in a malicious manner. Just like running an unknown/untrusted program, the virtual machine could:</li> <ul> <li>Try and attack the host and/or network in-which its been attached to.</li> <li>Connect back to the author, becoming a 'zombie' in botnet.</li> </ul> <li>You could end up attacking yourself or the incorrect target. For example if the virtual machine network was set to 'NAT' and uses port forwarding for the guest system, any other open ports which haven't been forwarded are services running on the host machine.</li> </ul> DigiNinja wrote a blog post on exactly this, '<a href="http://www.digininja.org/blog/untrusted_vms.php">Blindly Installing VMs and Using Live CDs</a>'. Also to highlight the issue, <a href="/author/script-junkie,13/">ScriptJunkie</a> created a VM to demonstrate these issues, called '<a href="/entry/the-hacker-games_1,35/">The Hackers Games</a>'. His blog post that explains the dangers of it can be found here '<a href="https://www.scriptjunkie.us/2012/05/malicious-VM-to-host-attacks/">Malicious VM to Host Attacks</a>'.<br /> <br /> Please see below on our recommendations on <a href="#protect" class="scroll">protecting</a> yourself.<br /> </p> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="protect">Q.) What can I do to protect my network and myself?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> <p> <ul> <li>Isolate the virtual machine from the internal network & disable external access. It is <div class="underline">highly recommended</div> these machines are not attached to a <div class="underline"> production network</div> or a <div class="underline">home network</div>. Ideally they want to be in an isolated lab environment. For our guide on creating a virtual lab, see <a href="/lab/">here</a>. Alternatively, here is a quick breakdown:</li> <ul> <li><a href="#networkvmplayer" class="scroll">VMware player</a></li> <li><a href="#networkvmfusion" class="scroll">VMware fusion</a></li> <li><a href="#networkvmworkstaion" class="scroll">VMware workstation</a></li> <li><a href="#networkvbox" class="scroll">Virtualbox</a></li> </ul> <li>For machine(s) which have network access to the virtual machine(s) in question, make sure they are:</li> <ul> <li>Fully up-to-date with patches <i>(Operating system & applications)</i>.</li> <li>Behind an internal firewall.</li> <li>Do not contain any sensitive information on them.</li> <li>Close any unneeded services.</li> <li>If possible, <i>use another virtual machine to attack them, so a snapshot can be taken in a known 'clean' state before attacking. Then it can be 'restored' once the target machine has been powered off.</i></li> <li>Have an anti-virus solution installed, working correctly and up-to-date.</li> </ul> <li>If possible, <i>use an IDS or IPS</i>. (See <a href="https://securityonion.blogspot.com/">Security Onion</a> for a 'live CD' of a collection of useful network monitoring tools).</li> </ul> For tutorials on how to set up your lab: you can find our guide <a href="/lab/">here</a>, a blog post from metasploit on '<a href="http://www.metasploit.com/help/test-lab.jsp">How to set up a penetration testing lab</a>' as well as a page from <a href="http://securityxploded.com/setup-your-pentest-hacker-network.php">SecurityXploded</a>.<br /> </p> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="move">Q.) VMware is telling me: 'This virtual machine might have been moved or copied'. What should I do?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> <p> You have two options: 'I moved it' or 'I copied it'.<br /> <div class="text-center"><a href="/static/img/guides/vm_move_copy.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_move_copy-thumb.png" alt="vm_move_copy.png" /></a></div> <div class="underline">I moved it</div><br /> This keeps the current 'Universally Unique Identifier (UUID)' for the VM. The UUID is generated from the host's identifier and the location of the VM's configuration file.<br /> If there is only a single instance of the virtual machine, it's safe to use this option. <i>For example, if you have downloaded a virtual machine from the Internet)</i><br /> You may also get this issue if you update VMware to a newer version, as the host's identifier could be updated as well.<br /> <br /> <div class="underline">I copied it</div><br /> This generates a new UUID for the VM, so that it doesn't clash with the original VM. (The UUID shouldn't clash as it could cause issues with system management).<br /> You will want to use this option if you're cloning machines. <i>For example, if you made a 'template' machine, and cloning instances of it.</i><br /> <br /> A link to VMware's answer is here <i>(<a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1541">KB: 1541</a>)</i>.<br /> </p> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="convert">Q.) VMware is telling me: 'Convert existing virtual disk to newer format'. What should I do?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> <p> This is a result of having a newer version of VMware compared to the version used to create the virtual disk (and/or machine).<br /> You have two options: 'Keep Existing Format' or 'Convert'.<br /> <div class="text-center"><a href="/static/img/guides/vm_convert.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_convert-thumb.png" alt="vm_convert.png" /></a></div> <div class="underline">Keep Existing Format</div><br /> VMware has backwards compatibility with machines that were produced by older versions. As a result, VMware is able to use an older virtual disk without having to modify it. This allows the virtual machine to be same as when the author created it <i>(as we wish to keep any modification to a minimum)</i>.<br /> We recommend selecting this option to maintain the integrity of virtual machines as much as possible.<br /> <br /> <div class="underline">Convert</div><br /> By selecting this option, it would upgrade the virtual disk to current version of VMware. This update makes sure its compatible with future versions of VMware.<br /> </p> </div> </div><!-- /panel --> <div class="panel"> <h3>Networking</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="networkvmplayer">Q.) VMware player: What's the difference between: 'Bridged', 'NAT', 'Host-only' and 'LAN segment'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> <ul> <li><a href="http://www.vmware.com/pdf/desktop/vmware_player50.pdf">Bridged</a></li> <ul> <li>This allows for the VM to connect to the same network via the host's network card <i>(You can specify which interface to use).</i></li> <li>The VM will have its own unique IP address on the network <i>(closest possible to simulating an additional node on the network)</i>.</li> <li>If there is already a DHCP service running on the network, it will be automatically assigned an IP address. Otherwise, it needs to be manually assigned one <i>(a static IP address)</i>.</li> <li>This is useful when providing services externally to/from the VM</li> <li>Any external nodes on the same network are able to interact with the VM as well as any VMs which also have access to the host network.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_bridged_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_03-thumb.png" alt="vm_network_bridged_03.png" /></a><a href="/static/img/guides/vm_network_bridged_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_02-thumb.png" alt="vm_network_bridged_02.png" /></a></div><br /> <li><a href="http://www.vmware.com/pdf/desktop/vmware_player50.pdf">NAT</a> (Network Address Translation)</li> <ul> <li>This allows for the VM to connect to the same network as the host by using the hosts PC & IP address. </li> <li>The VM only has a unique IP address between the guest OS and the host OS. When traffic is leaving from the hosts, it appears to originate from the host <i>(masking the effect of an additional node on the network)</i>. </li> <li>Between the guest OS and the host OS, the VM will have an IP address automatically assigned to it from VMware, but afterwards it uses the host's address. Therefore, no network configuration is needed.</li> <li>This is useful when IP addresses are limited/restricted. For example, dial up Internet or Wi-Fi hotspots. </li> <li>No external nodes on the same network are able to interact with the VM, however, other machines also using 'NAT' will be able to communicate with each other.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_nat_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_03-thumb.png" alt="vm_network_nat_03.png" /></a><a href="/static/img/guides/vm_network_nat_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_02-thumb.png" alt="vm_network_nat_02.png" /></a></div><br /> <li><a href="http://www.vmware.com/pdf/desktop/vmware_player50.pdf">Host-only</a></li> <ul> <li>This creates a separate network which is only connected to the host, thus causing an isolated virtual network.</li> <li>The VMs will have their own unique IP addresses on the separate network.</li> <li>VMware has its own DHCP service <i>(by default)</i> running for the clients, however, IP addresses can still be manually assigned.</li> <li>If multiple VMs use 'host-only' on the same host, they will all be able to communicate between themselves as well as the host inside the virtual network.</li> <li>This is useful for separating machines from any existing network access, whilst allowing for communication to still happen between the host and the VM.</li> <li>No external nodes are able to interact with the VM, however, other machines also using 'host-only' will be able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_host_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_03-thumb.png" alt="vm_network_host_01.png" /></a><a href="/static/img/guides/vm_network_host_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_02-thumb.png" alt="vm_network_host_02.png" /></a> </div><br /> <li><a href="http://www.vmware.com/pdf/desktop/vmware_player50.pdf">LAN segment</a></li> <ul> <li>This creates a separate network, with no network access to the host, causing an isolated virtual network. </li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>IP addresses need to be a manually assigned or a DHCP service needs to be installed, configured and running inside the segment. There isn't any communication to the host so VMware can't offer its DHCP service.</li> <li>Only machines that are in the same segments can communicate with each other. Multiple segments can be used at once, however these are separate networks so nodes can't communicate between segments.</li> <li>This is useful for separating machines from any existing network access and the host, whilst allowing for communication to still happen between VMs in their virtual segments.</li> <li>No external nodes are able to interact with the VM including the host. Only machines on the same segment are able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_lan_segment_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_05-thumb.png" alt="vm_network_lan_segment_05.png" /></a><a href="/static/img/guides/vm_network_lan_segment_06.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_06-thumb.png" alt="vm_network_lan_segment_06.png" /></a></div><br /> <div class="text-center"><a href="/static/img/guides/vm_network_lan_segment_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_02-thumb.png" alt="vm_network_lan_segment_02.png" /></a></div><br /> </ul> By enabling the option '<a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-826323AD-D014-475D-8909-DFA73B5A3A57.html">Replicate physical network connection state</a>' under 'Bridged' network type selection, when the network connection is disconnected on the host this will be reflected inside the VM. For example, if the host was using a wired connection and the cable is unplugged, or if disconnected from a wireless network, the VM will also be disconnected. By doing so, the IP address of the VM will be renewed. This is useful for mobile devices that might not always have a permitted network connection as they could be moving from wired connections or using a different wireless connection.<br /> <br /> A good guide explaining the differences in network modes can be found <a href="http://www.trainsignal.com/blog/VM-workstation-advanced-networking">here</a>.<br /> <br /> You can customise VMware player further by pressing on 'advanced', to reveal more control over the virtual network.<br /> <div class="text-center"><a href="/static/img/guides/vm_settings_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_settings_04-thumb.png" alt="vm_settings_04.png" /></a></div><br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="networkvmfusion"></span>Q.) VMware fusion: What's the difference between: 'Share with my Mac/NAT', 'Bridged Networking' and 'Private to my Mac/Host-only'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <ul> <li><a href="http://pubs.vmware.com/fusion-5/topic/com.vmware.fusion.help.doc/GUID-E498672E-19DD-40DF-92D3-FC0078947958.html">Share with my Mac/NAT</a> (Network Address Translation)</li> <ul> <li>This allows for the VM to connect to the same network as the host by using the hosts PC & IP address. </li> <li>The VM only has a unique IP address between the guest OS and the host OS. When traffic is leaving from the hosts, it appears to originate from the host <i>(masking the effect of an additional node on the network)</i>. </li> <li>Between the guest OS and the host OS, the VM will have an IP address automatically assigned to it from VMware, but afterwards it uses the host's address. Therefore, no network configuration is needed.</li> <li>This is useful when IP addresses are limited/restricted. For example, dial up Internet or Wi-Fi hotspots. </li> <li>No external nodes on the same network are able to interact with the VM, however, other machines also using 'NAT' will be able to communicate with each other.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_nat_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_05-thumb.png" alt="vm_network_nat_05.png" /></a><a href="/static/img/guides/vm_network_nat_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_04-thumb.png" alt="vm_network_nat_04.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/fusion-5/topic/com.vmware.fusion.help.doc/GUID-E498672E-19DD-40DF-92D3-FC0078947958.html">Bridged Networking</a></li> <ul> <li>This allows for the VM to connect to the same network via the host's network card <i>(You can specify which interface to use)</i>.</li> <li>The VM will have its own unique IP address on the network <i>(closest possible to simulating an additional node on the network)</i>.</li> <li>If there is already a DHCP service running on the network, it will be automatically assigned an IP address. Otherwise it needs to be manually assigned one <i>(a static IP address)</i>.</li> <li>This is useful when providing services externally to/from the VM</li> <li>Any external nodes on the same network are able to interact with the VM as well as any VMs that have external access.</li> <li>You can select which interface to use, or VMware can 'auto detect' the interface.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_bridged_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_05-thumb.png" alt="vm_network_bridged_05.png" /></a><a href="/static/img/guides/vm_network_bridged_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_04-thumb.png" alt="vm_network_bridged_04.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/fusion-5/topic/com.vmware.fusion.help.doc/GUID-E498672E-19DD-40DF-92D3-FC0078947958.html">Private to my Mac/Host-only</a></li> <ul> <li>This creates a separate network which is only connected to the host, thus causing an isolated virtual network.</li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>VMware has its own DHCP service <i>(by default)</i> running for the clients, however, IP addresses can still be manually assigned.</li> <li>If multiple VMs use 'host-only' on the same host, they will all be able to communicate between themselves as well as the host inside the virtual network.</li> <li>This is useful for separating machines from any existing network access, whilst allowing for communication to still happen between the host and the VM.</li> <li>No external nodes are able to interact with the VM, however, other machines also using 'host-only' will be able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_host_05.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_05-thumb.png" alt="vm_network_host_05.png" /></a><a href="/static/img/guides/vm_network_host_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_04-thumb.png" alt="vm_network_host_04.png" /></a> </div><br /> </ul> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="networkvmworkstaion">Q.) VMware workstation: What's the difference between: 'Bridged', 'NAT', 'Host-only', 'Custom' and 'LAN segment'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <ul> <li><a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-BAFA66C3-81F0-4FCA-84C4-D9F7D258A60A.html">Bridged</a> </li> <ul> <li>This allows for the VM to connect to the same network via the host's network card <i>(You can specify which interface to use)</i>.</li> <li>The VM will have its own unique IP address on the network <i>(closest possible to simulating an additional node on the network)</i>.</li> <li>If there is already a DHCP service running on the network, it will be automatically assigned an IP address. Otherwise it needs to be manually assigned one <i>(a static IP address)</i>.</li> <li>This is useful when providing services externally to/from the VM</li> <li>Any external nodes on the same network are able to interact with the VM as well as any VMs that have external access.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_bridged_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_01-thumb.png" alt="vm_network_bridged_01.png" /></a><a href="/static/img/guides/vm_network_bridged_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_bridged_02-thumb.png" alt="vm_network_bridged_02.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-89311E3D-CCA9-4ECC-AF5C-C52BE6A89A95.html">NAT</a> (Network Address Translation)</li> <ul> <li>This allows for the VM to connect to the same network as the host by using the hosts PC & IP address.</li> <li>The VM only has a unique IP address between the guest OS and the host OS. When traffic is leaving from the hosts, it appears to originate from the host <i>(masking the effect of an additional node on the network)</i>. </li> <li>Between the guest OS and the host OS, the VM will have an IP address automatically assigned to it from VMware, but afterwards it uses the host's address. Therefore, no network configuration is needed.</li> <li>This is useful when IP addresses are limited/restricted. For example, dial up Internet or Wi-Fi hotspots.</li> <li>No external nodes on the same network are able to interact with the VM, however, other machines also using 'NAT' will be able to communicate with each other.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_nat_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_01-thumb.png" alt="vm_network_nat_01.png" /></a><a href="/static/img/guides/vm_network_nat_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_nat_02-thumb.png" alt="vm_network_nat_02.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-93BDF7F1-D2E4-42CE-80EA-4E305337D2FC.html">Host-only</a> </li> <ul> <li>This creates a separate network which is only connected to the host, thus causing an isolated virtual network. </li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>VMware has its own DHCP service <i>(by default)</i> running for the clients, however, IP addresses can still be manually assigned.</li> <li>If multiple VMs use 'host-only' on the same host, they will all be able to communicate between themselves as well as the host inside the virtual network.</li> <li>This is useful for separating machines from any existing network access, whilst allowing for communication to still happen between the host and the VM.</li> <li>No external nodes are able to interact with the VM, however, other machines also using 'host-only' will be able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_host_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_01-thumb.png" alt="vm_network_host_01.png" /></a><a href="/static/img/guides/vm_network_host_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_host_02-thumb.png" alt="vm_network_host_02.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-AB5295E7-7EFC-4B3A-81E7-7FC444D81F07.html">Custom</a> </li> This allows for custom settings for 'Bridged', 'NAT' or 'Host-only'. For example:<br /> <ul> <li>Change which interface to use (Bridged).</li> <li>Port forwarding (NAT).</li> <li>DHCP settings (NAT & Custom).</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_custom_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_custom_01-thumb.png" alt="vm_network_host_01.png" /></a><a href="/static/img/guides/vm_network_custom_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_custom_02-thumb.png" alt="vm_network_custom_02.png" /></a></div><br /> <li><a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-DEE1E2F1-5DA4-4C83-B7C5-A1165C84C757.html">LAN segment</a></li> <ul> <li>This creates a separate network, with no network access to the host, causing an isolated virtual network.</li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>IP addresses need to be a manually assigned or a DHCP service needs to be installed, configured and running inside the segment. There isn't any communication to the host so VMware can't offer its DHCP service.</li> <li>Only machines that are in the same segments can communicate with each other. Multiple segments can be used at once, however these are separate networks so nodes can't communicate between segments.</li> <li>This is useful for separating machines from any existing network access and the host, whilst allowing for communication to still happen between VMs in their virtual segments.</li> <li>No external nodes are able to interact with the VM including the host. Only machines on the same segment are able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vm_network_lan_segment_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_01-thumb.png" alt="vm_network_lan_segment_01.png" /></a><a href="/static/img/guides/vm_network_lan_segment_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_02-thumb.png" alt="vm_network_lan_segment_02.png" /></a></div><br /> <div class="text-center"><a href="/static/img/guides/vm_network_lan_segment_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_03-thumb.png" alt="vm_network_lan_segment_03.png" /></a><a href="/static/img/guides/vm_network_lan_segment_04.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_network_lan_segment_04-thumb.png" alt="vm_network_lan_segment_04.png" /></a></div><br /> </ul> By enabling the option '<a href="http://pubs.vmware.com/workstation-9/topic/com.vmware.ws.using.doc/GUID-826323AD-D014-475D-8909-DFA73B5A3A57.html">Replicate physical network connection state</a>' under 'Bridged' network type selection, when the network connection is disconnected on the host this will be reflected inside the VM. For example, if the host was using a wired connection and the cable is unplugged, or if disconnected from a wireless network, the VM will also be disconnected. By doing so, the IP address of the VM will be renewed. This is useful for mobile devices that might not always have a permitted network connection as they could be moving from wired connections or using a different wireless connection.<br /> <br /> A good guide explaining the differences in network modes can be found <a href="http://www.trainsignal.com/blog/VM-workstation-advanced-networking">here</a>.<br /> <br /> You can customise VMware workstation further by pressing on 'advance' or going to 'virtual network editor' <i>(from either the start menu or VMware workstation --> Edit)</i>, to reveal more control over the virtual network.<br /> <div class="text-center"><a href="/static/img/guides/vm_settings_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_settings_01-thumb.png" alt="vm_settings_01.png" /></a></div><br /> <div class="text-center"><a href="/static/img/guides/vm_settings_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_settings_02-thumb.png" alt="vm_settings_02.png" /></a><a href="/static/img/guides/vm_settings_03.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vm_settings_03-thumb.png" alt="vm_settings_03.png" /></a></div><br /> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="networkvbox">Q.) Virtualbox: What's the difference between: 'NAT', 'Bridged Adapter', 'Internal Network', 'Host-only' 'Generic Driver' and 'Not attached'?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <ul> <li><a href="http://www.virtualbox.org/manual/ch06.html#networkingmodes">Not attached</a></li> <ul> <li>This has the effect of not having been plugged in, causing the machine itself to be isolated from the network. </li> <li>The VM will not be able to get an IP address.</li> <li>No machine will be able to communicate to the VM.</li> <li>Useful for separating the machine from any network access.</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_notattached_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_notattached_01-thumb.png" alt="vbox_network_notattached_01.png" /></a><a href="/static/img/guides/vbox_network_notattached_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_notattached_02-thumb.png" alt="vbox_network_notattached_02.png" /></a></div><br /> <li><a href="http://www.virtualbox.org/manual/ch06.html#network_nat">NAT</a> (Network Address Translation)</li> <ul> <li>This allows for the VM to connect to the same network as the host by using the hosts PC & IP address.</li> <li>The VM only has a unique IP address between the guest OS and the host OS. When traffic is leaving from the host's, it appears to originate from the host <i>(masking the effect of an additional node on the network)</i>. </li> <li>Between the guest OS and the host OS, the VM will have an IP address automatically assigned to it from Virtualbox, but afterwards it uses the host's address. Therefore, no network configuration is needed.</li> <li>This is useful when IP addresses are limited/restricted. For example, dial up Internet or Wi-Fi hotspots.</li> <li>No external nodes on the same network are able to interact with the VM, as well other VMs also using 'NAT' <i>(This is because each VM has the same NAT IP address)</i>.</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_nat_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_nat_01-thumb.png" alt="vbox_network_nat_01.png" /></a><a href="/static/img/guides/vbox_network_nat_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_nat_02-thumb.png" alt="vbox_network_nat_02.png" /></a> </div><br /> <li><a href="http://www.virtualbox.org/manual/ch06.html#idp12444592">Bridged Adapter</a></li> <ul> <li>This allows for the VM to connect to the same network via the host's network card <i>(You can specify which interface to use)</i>.</li> <li>The VM will have its own unique IP address on the network <i>(closest possible to simulating an additional node on the network</i>.</li> <li>If there is already a DHCP service running on the network, it will be automatically assigned an IP address. Otherwise it needs to be manually assigned one <i>(a static IP address)</i>.</li> <li>This is useful when providing services externally to/from the VM</li> <li>Any external nodes on the same network are able to interact with the VM as well as any VMs that have external access.</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_bridged_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_bridged_01-thumb.png" alt="vbox_network_bridged_01.png" /></a><a href="/static/img/guides/vbox_network_bridged_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_bridged_02-thumb.png" alt="vbox_network_bridged_02.png" /></a></div><br /> <li><a href="http://www.virtualbox.org/manual/ch06.html#network_internal">Internal Network</a></li> <ul> <li>This creates a separate network, with no network access to the host, causing an isolated virtual network.</li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>IP addresses need to be a manually assigned or a DHCP service needs to be installed, configured and running inside the virtual network. There isn't any communication to the host so Virtualbox can't offer its DHCP service.</li> <li>Only machines that are in the same 'network name' can communicate with each other. Multiple 'network names' can be used at once, however these are separate networks so nodes can't communicate between networks.</li> <li>This is useful for separating machines from any existing network access and the host, whilst allowing for communication to still happen between VMs in their virtual networks.</li> <li>No external nodes are able to interact with the VM including the host. Only machines with the name 'network name' can communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_internal_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_internal_01-thumb.png" alt="vbox_network_internal_01.png" /></a><a href="/static/img/guides/vbox_network_internal_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_internal_02-thumb.png" alt="vbox_network_internal_02.png" /></a></div><br /> <li><a href="http://www.virtualbox.org/manual/ch06.html#network_hostonly">Host-only</a></li> <ul> <li>This creates a separate network which is only connected to the host, thus causing an isolated virtual network. </li> <li>The VM will have their own unique IP addresses on the separate network.</li> <li>Virtualbox has its own DHCP service <i>(by default)</i> running for the clients, however, IP addresses can still be manually assigned.</li> <li>If multiple VMs use 'host-only' on the same host, they will all be able to communicate between themselves as well as the host inside the virtual network.</li> <li>This is useful for separating machines from any existing network access, whilst allowing for communication to still happen between the host and the VM.</li> <li>No external nodes are able to interact with the VM, however, other machines also using 'host-only' will be able to communicate.</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_host_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_host_01-thumb.png" alt="vbox_network_host_01.png" /></a><a href="/static/img/guides/vbox_network_host_02.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_host_02-thumb.png" alt="vbox_network_host_02.png" /></a></div><br /> <li><a href="http://www.virtualbox.org/manual/ch06.html#networkingmodes">Generic Driver</a></li> Requires downloading the <a href="https://www.virtualbox.org/wiki/Downloads">extension pack</a> for Virtualbox.<br /> <ul> <li><a href="http://www.virtualbox.org/manual/ch06.html#network_udp_tunnel">UDP Tunnel</a> - Enabling virtual machines to be interconnecting using different hosts machines.</li> <li>'<a href="http://www.virtualbox.org/manual/ch06.html#network_vde">Virtual Distributed Ethernet</a> (VDE)' networking - "a flexible, virtual network infrastructure system, spanning across multiple hosts in a secure way. It allows for L2/L3 switching, including spanning-tree protocol, VLANs, and WAN emulation".</li> </ul> <div class="text-center"><a href="/static/img/guides/vbox_network_generic_01.png" target="_blank"><img class="box_shadow" src="/static/img/guides/vbox_network_generic_01-thumb.png" alt="vbox_network_generic_01.png" /></a></div><br /> </ul> </p> If '<a href="">Promiscuous mode</a>' is disabled, only the traffic that was intended to receive will be passed along. It's seen as more 'secure' because only the intentional traffic for each node will forward along. This is how a 'network switch' functions.<br /> However, if it's enabled, the 'network interface controller (NIC)' will pass all the traffic which is going though. This is used for 'packet sniffing' and a single node can view all the traffic on the network, useful for inspecting & debugging the network. This is how a 'network hub' functions.<br /> Virtualbox has multiple settings regarding promiscuous mode:<br /> <ul> <li>Deny - Disables promiscuous mode. It has the effect of using a virtual switch, rather than a virtual hub.</li> <li>Allow VMs - Only the traffic between VMs will be promiscuous mode.</li> <li>Allow All - All traffic <i>(VMs & supported devices in the physical network)</i> will be promiscuous mode. </li> </ul> </div><!-- /panel --> <div class="panel"> <h3>VulnHub</h3> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="aim">Q.) Who are you? What's this all about?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> See <a href="/about/">this</a> page.<br /> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="spoilers">Q.) Why have you given walkthroughs? Doesn't that ruin it?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <p> We all learn in different ways. What works for some people, doesn't for others.<br /> Some people learn by "watching others", or "hands on experiences", other learn by "reading about it".<br /> We offer walkthroughs for various reasons:<br /> <ul> <li>If this is all new to you, you might want a helping hand to get you started.</li> <li>After giving it a go, you might become stuck for a few hours, so they offer a nudge in the right direction. </li> <li>Once completing it, you can compare methods.</li> </ul> <br /> We don't make you press the 'walkthrough' button, if you wish to 'cheat' - that's your decision and you're only 'cheating' yourself.<br /> This is the reason why we will not have a 'hall of fame' or 'user rankings' as it wouldn't be fair to the people who tried.<br /> </p> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="submit">Q.) Why haven't you added 'xyz'? Where can I submit an entry?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> Either because we don't know about it, busy or both!<br /> Please get in <a href="/contact/">contact</a> with us and make sure we are aware of it.<br /> <br /> This isn't our job & we do have personal lives to live, so don't expect it to be added instantly.<br /> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="walkthrough">Q.) Where can I submit a walkthrough?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> If you have taken the time to write up a walkthrough, we would love to mention it on the list.<br /> Either submit it on the entry page, or get in <a href="/contact/">touch</a> with us and it will be added.<br /> </div> <div class="d-flex justify-content-between mt-5"> <h4> <span class="field question header-inline" id="help">Q.) What can I do to help?</span> </h4> <a href="#top" class="back-to-top scroll">Back to the Top</a> </div> <div> You can:<br /> <ul> <li>Help out other people <i>(Check out the <a href="/chat/">IRC</a> channel)</i>.</li> <li>Create an entry for us to index & others to complete <i>(and then <a href="/contact/">submit</a> it!)</i> </li> <li>Write up a walkthrough <i>(afterwards <a href="/contact/">submit</a> it!)</i></li> <li>If you wish to help with the project (VulnHub) itself, please do get in <a href="/contact/">touch</a> <i>(We have the ideas/plans but not the time/man power to achieve them!)</i></li> </ul> </div> </div><!-- /panel --> </div> <div class="cookie-warning-container mt-5"> <div class="container cookie-warning-box d-flex justify-content-center align-items-center text-center"> <div class="cookie-warning d-flex"> <div class="warning-text"> This website uses 'cookies' to give you the best, most relevant experience. Using this website means you're happy with this. You can find out more about the cookies used by clicking this <a href='/privacy/'>link</a> (or by clicking the 'Privacy Policy' link at the top of any page). </div> <button type="button" class="btn btn-info" id="cookie-consent">OK</button> </div> </div> </div> <footer class="d-flex justify-content-center align-items-center mt-5"> <div class="text-center"> © VulnHub 2012-2025 </div> </footer> <script type="text/javascript" src="//code.jquery.com/jquery-3.4.1.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> <script type="text/javascript" src="/static/js/custom.js"></script> <script type="text/javascript" src="/static/js/cookieAlert.js"></script> <!--Google Analytics--> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-37274599-1', 'vulnhub.com'); ga('send', 'pageview'); </script> </body> </html>