Metasploitable2 running on Hyper-V

Written by employee #33. Posted in just going through the motions

TODO: Convert the Metasploitable2 VMDK (VMWare image) to a VHD/VHDX (Hyper-v) image.

What you need: Except an running Hyper-v setup, all you need to download and install is Microsoft Virtual Machine Converter 3.0 (it really is 3.1) Luckily you don’t really need to use this - it is somewhat half baked and not what you expect, but the convert module is excellent, and that is the only thing we care about here. If you have a running VMware/Citrix setup running, the MS converter application could work.

Volumio - bookshelf edition

Written by employee #33. Posted in just going through the motions

Some note about my take on a Raspberry/Volumio box. This is not a expert how-to or anything like that, but just stuff that would be nice to avoid; things I would have liked to know before i started. I.e. if you are not super electricity minded, you might find something useful.

Bookshelf size Volumio box.

Export and ... upgrade host

Written by employee #33. Posted in just going through the motions

Export and import VM from Hyper-V Manager. Host running Hyper-V server 2012R2. Hyper-V Manager running on 2012R2.

Does not work :( Source and copy have identical SID. The ‘GenerateNewId’ parameter does not change this. You avoid running all these updates again, but no way of getting round not sysprepping the imported vm. Damn.

Running a Server 2012R2 Hyper-V Server. Exported a VM and absolutely 100% failed to import the exported VM again. Looks like running a Hyper-V manager from Windows 10 is a bad place to be. So install a fresh 2012R2 - only for running the manager. Exported from a Hyper-V manager installed on a 2012R2, from a host running 2012R2 Hyper-V Server. What could go wrong with this? Export is running fine (again), and export format is version 8 again. So Hyper-V Manager is exporting a format it cannot import. That is ... beyond strange. So MS is thinking something like: Export, update host OS and then import. As the Eurovision judges from Belarus say, “nil point” (stole that quote).2016 should be able to import version 8 VMs, but have to try.

In short: Export from Hyper-V Manager and import with Powershell Import-VM cmdlet.

Running Hyper-v on ESXi 6.5

Written by employee #33. Posted in just going through the motions

Trying to install Hyper-v feature on 2012R2 Core Standard, running on ESXi 6.5 (not the Microsoft Hyper-V server 2012 R2 barebone version).

Install-WindowsFeature –Name Hyper-V -IncludeManagementTools -Restart

Adding the feature, result in the error message below: A hypervisor is already running.

Clone an existing VM (ESXi 6.5)

Written by Super User. Posted in just going through the motions

Project: Clone an existing VM and register the clone as a new VM. Using both WinSCP and Putty. You need to enable and start SSH on the host to be able to do this.

Source: Existing VM called ‘197-2012r2’. Source directory is: ‘/vmfs/volumes/datasstore0/197-2012r2/’ and source file is ‘197-2012r2.vmdk’
Clone is ‘196-2012r2’ and use a directory called: ‘/vmfs/volumes/datasstore0/196-2012r2/’

Remote synchronization from FreeNAS to Amazon S3

Written by employee #33. Posted in just going through the motions

A simple enough job: You do some backup to your CIF share on a local FreeNAS box and some of this data needs to be replicated someplace else.

As oure NAS boxes tend to get very big these day, it is properly a good idea to check Amazon storage prices before creating your backup plan and bear in mind what kind of internet access you have available. What you need, or what you are willing to pay for. I my case i move around 60 Gb data to Amazon - out of 1.2 TB backup data in all. Test thoroughly how much data you actually is moving, and start with something small and simple.