SlideShare une entreprise Scribd logo
1  sur  69
VMs All The Way Down
BUILDING AN INEXPENSIVE, ADVANCED INFOSEC LAB
BSIDES DELAWARE 2016
JOHN HUBBARD
http://xkcd.com/1416/ 1
Who Am I?
John Hubbard
Lead Analyst for GlaxoSmithKline’s US SOC
Community SANS Instructor
◦ GMON, GPEN, GREM
Guy who has set up LOTS of labs
Twitter: @JHub908
Blog: 909Research.com
http://xkcd.com/1416/
2
Topics
Why?
Types of virtualization – Type 1 vs. Type 2
Software options for virtualization
Virtual switches, VLANs, and routers
Suggested hardware
Suggested virtual machines
Balancing requirements, price, and complexity
Suggestions & sources for cheap or free hardware/software
3
Why? Learning!
Attack
◦ One on one type attacks
◦ Pivoting through environment
Prevention, detection & response
◦ Firewalling & OS hardening
◦ NSM (IDS, SIEM) & CSM (Log Collection, Vulnerability Scanning/Analysis)
◦ Malware reverse engineering and forensics
System Administration | Engineering | Design
◦ Virtualization, networking, secure architecture
◦ Operating Systems
Emulate a company infrastructure in one computer!
4
Where We’re Going
5
Where We’re Going
6
Consider Your Goals
Infosec
◦ Attack centric
◦ Defense centric
◦ Secure architecture
Learn how to use production Hypervisors?
◦ ESXi, XenServer, Hyper-V
Stationary or portable all-in-one lab?
In-line, or lab as host on home network?
Do you care about power/noise?
7
The Focus Of This Talk
Get as close to a “real” network as possible…
While minimizing cost for
◦ Software
◦ Hardware
◦ Power
Maximize
◦ Flexibility
◦ Efficiency / silence
◦ Significant other acceptance factor
8
How Are We Going To Do It?
Software
◦ Use FOSS to save on software cost
◦ Leverage free “home” licenses when possible
◦ Leverage trials intelligently when no free option exists
Hardware
◦ Use virtualization to cut hardware / power cost
◦ Virtualize endpoints
◦ Virtual network infrastructure
◦ Virtualize security & Monitoring infrastructure
◦ Minimize hardware purchase
◦ Alton Brown theory for hardware – NO to uni-taskers
9
Hypervisors
TYPE 1 VS. TYPE 2
10
Virtualization Options
https://upload.wikimedia.org/wikipedia/commons/e/e1/Hyperviseur.png 11
Type 2 Options
VMware Workstation (not player)
◦ Great choice, not free
Oracle VirtualBox
◦ Great choice, free
QEMU/KVM
◦ Free, supports other architectures
MS Windows Client Hyper-V
◦ Works, but not recommended
Parallels
◦ Works, but not recommended
12
VMware Workstation / Fusion
Player
◦ No simultaneous VMs or snapshots, won’t work for us
Workstation (PC), Fusion (Mac)
◦ Great choice, “industry standard”
◦ Workstation $250/$99 upgrades, Fusion $80/$50 upgrades
◦ Integrates with ESXi – Use VMs over network like local
◦ 64bit host CPU required, VT-X required for 64bit guest
Recommended if:
◦ You’re willing to pay for it
◦ Want to control local and remote ESXi VMs
◦ Need compatibility with almost any prepacked VM
13
Oracle VirtualBox
Free!
PC, Linux, macOS
The other “standard”
Hardware virtualization not required for 32bit
Can run headless
◦ VRDP over network for VMware like experience
Recommended if:
◦ You like free things that work very well
◦ You want to use old hardware for lab
14
Other Type 2 Options
Windows Client Hyper-V
◦ Free with Windows 8/10 Professional
◦ Don’t see any benefits over VirtualBox
◦ You might like the OS integration
QEMU/KVM (Linux only)
◦ Generic FOSS virtualization solution
◦ BYOGUI – Virt-manager makes like VMware / VirtualBox
◦ Run different architectures (ARM, PowerPC, MIPS)
◦ Recommended if: You like virtual Raspberry Pi
Parallels (macOS only)
◦ Should work fine
◦ Same price as VMware and less compatible
15
Type 1 Options
ESXi aka vSphere Hypervisor
◦ Business “standard”, free for home use, limited features, HW
compatibility issues, Windows required*
XenServer
◦ Business “standard”, free, Windows required for mgmt., HW
Compatibility Issues
Proxmox
◦ Free, supports most HW, no feature restrictions, web management
Hyper-V Server
◦ Free, supports most HW, Windows required, wants Active
Directory, painful
16
vSphere Hypervisor (ESXi)
“Industry standard” solution for Type 1
Picky about hardware
◦ Can build a whitebox, use custom network drivers
Windows thick client management*
◦ New web front-end available, still slightly buggy
Free version has feature restrictions – shouldn’t matter
Recommended if:
◦ Your hardware is compatible (Server HW or whitebox, check HCL)
◦ Want most user friendly experience
◦ Want to learn an industry standard
17
Proxmox VE
Free, can buy support - think “VirtualBox of type 1 hypervisors”
Debian based, uses KVM
No restrictions – VM migration, clustering, unlimited cores
Compatible with most hardware
Web front-end
Recommended If:
◦ Want totally open and free solution
◦ Hardware isn’t compatible with ESXi
◦ You are comfortable with some CLI and Google
◦ Clustering / centralized management wanted
◦ Don’t want to manage your lab with a Windows PC
18
XenServer
The other “industry standard” (AWS, Linode, Rackspace)
Picky about hardware
Free
No restrictions
Managed by XenCenter Windows thick client 
Recommended if:
◦ ESXi doesn’t work, still want “professional solution”
◦ Hardware is compatible
◦ Don’t mind using Windows to manage it
19
Microsoft Hyper-V Server
Might use it at work
Free
Frustrating if not on a domain
Obviously – Windows based management
Recommended if:
◦ You like pain
◦ You have a good reason
◦ You have a specific need for this
◦ Running active directory at home
20
Type 1 vs. Type 2 Considerations
Extra computer? Travel?
◦ Use Type 2 if you don’t have an extra computer, need it to travel
Is your hardware compatible?
◦ You probably can’t run ESXi / Xen on a laptop, lucky if desktop works
Networking Gear
◦ Do you have a ”real” Router/firewall/access point, can you make one?
What VMs are you running?
◦ QEMU enables non-x86 VMs
How do you want to manage it? Windows?
Cost?
Recommendation: VMware all around, or VirtualBox / Proxmox
21
Still Not Sure?
Try them all...with nested
virtualization!
Use type 2 to run type 1!
Install VMs in that!
Test your test lab, move
VM’s when ready!
5 minutes of clicking “next”
to Install them all
◦ Enable VT-X for VMs (in
processor settings)
◦ Add 2 virtual NICs
(Required by most, 1 for
mgmt., 1 for VMs)
◦ Ensure enough RAM,
might not boot without
it
22
Lab Hardware
WHAT DO I NEED?
23
Planning Your Lab - Hardware
RAM – MOST important, 1st limiting factor
HDD – 2nd limiting factor, speed is nice, size most important
CPU
◦ VT-X – Consider this a requirement (some super cheap old servers lack it)
◦ VT-D – Can pass PCI devices through to VM, might want
◦ AES-NI – Efficient drive encryption
Package
◦ If it needs to travel – Laptop/NUC
◦ If you want quiet, expandable - Desktop
◦ Turn down for what?! – Rack Mount!
Minimum specs: 16GB RAM, 500GB HDD, i5+ from last few years
Ideal: 32GB+ RAM, 1TB+ SSD, quad core i7+
24
My Favorite Hardware
Whatever you already have + Proxmox
Laptop: Refurbished ThinkPad from Newegg
◦ X220+ (small), T420+ (mid-size, extra HDD)
◦ $185-$400 + RAM upgrade
Tower: Lenovo TS140 / TS150 (new version)
◦ Super Quiet
◦ $289 for i3 version + more RAM / HDD
◦ $389 for Xeon (preferred) + more RAM / HDD
◦ Need NIC for ESXi – read Lenovo notes
Rack Mount:
◦ Consult reddit.com/r/homelab wiki
◦ Many considerations
25
Lab Network
26
Planning Your Network
Goal: Take fewest pieces of hardware – emulate any network
Pieces you need:
◦ Firewall / Router – Virtual, or multiple interfaces with VLAN support
◦ “Smart” switch – Capable of VLANs (802.1q) & traffic mirroring
◦ Wi-Fi access point – VLAN / multi-SSID capable
◦ Server
Depending on what you want, the first three might be one item
27
Decision Time
Do I have …
◦ An extra machine and want it to be IN-LINE in my network?
◦ Win: Almost everything is Virtual, least hardware
◦ Issue: “The internet doesn’t work, what do I do?”
◦ “Just log in to ESXi go to console and restart our router VM, obviously!”
◦ An extra machine, want it to be another host on my home network
◦ Pro: Won’t ruin your tubes
◦ Con: Might have to buy stuff
◦ Have a dedicated laptop, lab can travel
◦ Whole lab on my primary computer
This will drive your network setup
28
My Physical Network Setup
29
Why This?
Splits core components into pieces for flexibility
VLANs allow multiple layer 3 networks without tons of NICs
Wi-Fi access to each VLAN with different SSID
Physical access through switch ports assigned to VLAN
Hypervisor allows per VM settings of VLAN
Switch mirror port sits at key location to collect ALL traffic
All inter-VLAN traffic goes through firewall
Additional networks can be virtualized
Can emulate almost anything
Talk assumes this setup when discussing VLANs
30
How This Looks To A Packet
31
Favorite Networking Gear
“Smart” switches – VLANs, port mirroring
◦ $30+ TPLink “easy smart” series* – Windows required before V2
◦ $78 Cisco SG200-08 – Works for me
Router/Firewall:
◦ DIY with PfSense - Free & unrestricted, can run snort too
◦ Sophos XG FW (VM) - Free, polished, and tons of security features, 50 IP limit
◦ Ubiquiti EdgeRouter X - $50, integrated FW, VLANs, VPN, DHCP, DNS, etc.
Wi-Fi:
◦ Need a pure AP only
◦ Free - Use your current one in AP mode, bonus switch, DD-WRT?
◦ $90-$150 - Ubiquiti UniFi AC Series – ”enterprise grade”, with VLAN support
32
So I Have
To Buy All
That?
No, you COULD do it all
with 1 server!
◦ PfSense/Sophos VM =
Firewall & Router
◦ Virtual switches for all
zones
◦ Virtual switch port
mirroring
◦ Challenge mode:
HostAPD for Wi-Fi
access point
Details coming…
33
Virtual Networking Concepts
Need to understand virtual networking concepts
Note: Assume “NIC” == real/virtual card with 1 interface
Our lab server will have
◦ Virtual machines, with multiple virtual NICs, that connect to…
◦ Multiple virtual switches, that connect to…
◦ Multiple physical NICs, that might connect to…
◦ A virtual router VM
Type 2 names connection modes – you’ve likely seen this
◦ Bridged
◦ Nat
◦ Host-Only
◦ Internal (host-only, minus host connection)
34
Type 2 Virtual Networking
35
Type 2 Virtual Networking
36
Type 1 Virtual Networking
Same idea - manual implementation without these names
For type 1 hypervisor setups, usual mode is bridged
Can use other types by not connecting virtual switch to phys. NIC
General Process
◦ Define VLANs/segments (ex: DMZ, Desktops, Internal Servers)
◦ Create a group/switch for each VLAN
◦ Map virtual switches to physical NICs
◦ Create VMs and connect virtual adapters to correct VLAN switch/group
Idea: Traffic from each VM gets tagged by virtual switch, exits onto
actual network with VLAN tag that router acts on
◦ VLANs not needed if lab is your router, just use more NICs / vSwitches
37
VLANs & Trunking
38
ESXi – How To
Port Groups – One for each “zone”, VLAN tags apply here
Virtual Switches – One / physical NIC (vSwitch0, etc.)
◦ Note: To tap virtual switch - set Promiscuous mode to “accept”
Physical NICs – Your actual hardware (vmnic0, etc.)
Vmkernel NICs – Where ESXi management page is served at (vmk0)
39
ESXI – How To
Create port groups for each zone
Assign port groups to correct
switch
Ensure switch is connected to
correct physical NIC
Create VMs and assign to groups
40
Proxmox – How To
Note: ”Linux Bridge” == virtual switch, I’ll use this term
vSwitches assigned to physical NICs
IP CAN be assigned to vSwitch, not needed
◦ Note: You can manage Proxmox from all vSwitch IPs – be careful!
Check “VLAN Aware” box for each vSwitch
To tap virtual traffic – # brctl setageing vmbr0 0
◦ Makes vSwitch a hub – VMs can see all traffic
41
Proxmox Steps
Create VMs, create as many virtual NICs as needed
Connect virtual NICS to vSwitches
Enter VLAN tags for each virtual NIC
42
XenServer – How To
”Network [x]” is auto-made for each physical NIC
Create new virtual switch for each VLAN
Assign a VLAN tag & assign new switch to correct physical NIC
Google ovs-vsctl command for port mirroring instructions
43
XenServer – How To
Create VMs and virtual NICs
Assign virtual NICs to VLAN enabled switches
44
VMware Workstation – How To
45
VMware Workstation – How To
46
VirtualBox – How To
47
Virtual Machines
48
What To Install
We’ve got hardware, hypervisors, and network. Now?
Define capabilities and pick VMs accordingly
Connect to network as needed
SNAPSHOT!
Which VMs to use?
Everything! –Windows Desktop/Server, Linux, apps, BSD…
Where do you get it? Isn’t that complicated & expensive?
49
Free Virtual Machine Sources
Windows
◦ Student? Many free options – collect every server license you can
◦ DigitalRiver, Dreamspark, OnTheHub
◦ Modern.ie site – Free Windows VMs, XP-10! (expire after 90 days)
◦ Download, snapshot BEFORE use, re-arm, revert
◦ TechNet Evaluation Center – 180 day server licenses
◦ Bottom of your laptop?, IT Friends, Craigslist, eBay – 2008R2 = $90
Linux – prebuilt apps ready, without install & setup pain
◦ Bitnami.com
◦ Turnkeylinux.org
50
Offense
HACK ALL THE THINGS
51
Offense
Emulate corporate infrastructure
◦ Multi-segment network – DMZ, Desktops, Servers, Guest, etc.
Pick a distro - Kali, Pentoo, BlackArch, Backbox
Set up network, install OS’s and services
Set up virtualized defense – IDS, AV, Firewall, etc.
Snapshot!
Then…
52
Offense
Attack from outside (internet based attack)
Attack from Inside (unauthorized device on network)
Attack from DMZ, VPN, Wi-Fi, anywhere else
Try to pivot around, stop yourself, get around it
Bring physical devices into mix - IoT, printers, slow cooker
Did your defense pick it up?
Script to revert whole environment!!
◦ VMware: Vmrun / vim-cmd
◦ VirtualBox: VBoxManage
53
Offensive
Setup
Lab is a corp. network
Attack machine can be VM
You can attack from any
point by changing VLANs
54
Defense
55
Network Security Monitoring
What is NSM? Network based, data-in-motion focused analysis
Security Onion is the king of NSM distros
Full packet capture - Netsniff-NG
Snort / Suricata / Bro IDS
Sguil / Squert IDS front-end
ELSA – Log collection and searching (SIEM)
Xplico, NetworkMiner, etc. for PCAP forensics
EASY install
56
Security Onion – How To
Make sure you have resources
◦ 3GB+ RAM required
◦ CPU needs based on traffic
◦ Enough space to save it all
◦ Check current router for bandwidth usage / month
Plan what you want to monitor
◦ Whole network? Tap at physical switch with everything behind it
◦ Just your server? Use virtual tap from vSwitches
◦ Just a couple VMs in type 2 setup? Connect to same vSwitch
57
Security
Onion /
NSM Setup
Add server for Security
Onion
Copy ALL traffic from
network to 2nd NIC
NIC only connects to Sec.
Onion VM
58
Log Management VMs
Splunk Free
◦ Collect logs from your environment
◦ 500MB / day
Windows Log Collection Server
◦ Not often done, but can consolidate logs in windows for free
◦ NSA Guide: “Spotting the Adversary with Windows Event Log Monitoring”
OSSIM
◦ Free SIEM from AlienVault
ELK
◦ ElasticSearch, Logstash, Kibana
◦ FOSS stack for log analytics
59
Malware Analysis
Want to run malware in contained environment
Internal mode or host-only (isolated from internet) mode
Multiple hosts options is ideal
◦ Malware may do different things based on OS version / domain or not
REMnux is perfect distro for analysis – Think Kali for malware RE
◦ Created by Lenny Zeltser – SANS FOR610 Author
◦ Tools built in and auto-update
Built for static and dynamic analysis
Can easily intercept traffic, pretend to be network services
◦ Fakedns, inetsim
60
REMnux – How To
Use an isolated vSwitch with host-only / internal networking
Connect REMnux VM
Install victim VMs - Linux, Win XP, Win 7/10, Win Server, etc.
Set all VMs to use REMnux VM IP as gateway
Install tools for analysis
Snapshot everything - multiple times along tool install path
Begin traffic interception
Infect, analyze hosts and traffic “outbound”
Revert snapshots, rinse and repeat
61
Malware
Analysis
Setup
All VMs have REMnux IP as
gateway
No internet connection to
any VM
Host PC connection still
active for VM control
62
All-in-one Lab
Lab box is your home router, firewall, lab switches, and all VMs
2-3 physical NICs required
◦ To internet
◦ To switch (for normal network devices) or Wi-Fi AP if all wireless
◦ Cheap win - switch / AP could be your old router with DD-WRT in AP mode
◦ VLAN support unlikely, use 3rd NIC to plug directly in to VLANs
Inline with your network – beware down time!
◦ Mitigate with simple home Wi-Fi router, ready to go as backup
63
Kitchen Sink Mode
64
Other VM Ideas
WebGoat / Security Shepherd / SamauriWTF – Web app attack training
SamauriSTFU – SCADA, smart meter, other energy sector
Cybatiworks – ICS with physical kit. Would make interesting demo
Vulnhub, Metasploitable
Forensics – SIFT / DEFT
Huge list: amanhardikar.com/mindmaps/Practice.html
65
Taking It Further
Containers
◦ Built in to Proxmox, even MORE efficiency
Automation
◦ Vagrant – building your VM
◦ Scripts to bring up and down whole environment at once
Cloning
◦ Make a bunch of “users”, pivot
Virtualize your real infrastructure & test that
Honeypot VMs
Reference: reddit.com/r/homelab Wiki
66
Further Reference
“Setting up a Test Lab with VMware” – Nicholas Chapel (BSides MSP)
◦ https://archive.org/details/BSidesMsp201611NicholasChapel
◦ Focused on walkthrough of installing ESXi and setting up a VM
“EC2 or Bust - How to Build Your Own Pen Testing Lab in Amazon EC2” –
Grecs (BSides LV)
◦ https://www.youtube.com/watch?v=h4XHgXBEaho
◦ Focused on cloud lab setup
“Building a Cyber Range” – Kevin Cardwell (ShowMeCon)
◦ https://www.youtube.com/watch?v=zA0_lAsxC84
◦ Focused on pen testing and ideas for making your lab emulate customer
environments
◦ Book: “Building Virtual Pentesting Labs for Advanced Penetration Testing”
“Proxmox Cookbook” – Wasim Ahmed
67
TL;DR – Free Full Type 1 or 2 Lab
Extra computer or refurb laptop - i5+, 500GB HDD, 16GB RAM
Proxmox or VirtualBox with Linux OS
Define network segments, make vSwitches
Install PfSense with multiple virtual NICS, one for each segment
Get VMs and connect vNIC’s where needed
◦ Modern.ie / TechNet Eval center free windows VMs
◦ Bitnami / Turnkeylinux easy install app VMs
Install defense / offense VMs (Kali / Security Onion)
Tap virtual traffic with virtual tap or ”smart” switch
Hack the planet!
68
Thanks!
SLIDES WILL BE POSTED SOON
@JHUB908 / 909RESEARCH.COM
69

Contenu connexe

Tendances

Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...
Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...
Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...Spiceworks
 
SpiceWorld London 2012 Presentation Matthieu Jaeger
SpiceWorld London 2012 Presentation Matthieu JaegerSpiceWorld London 2012 Presentation Matthieu Jaeger
SpiceWorld London 2012 Presentation Matthieu JaegerSpiceworks
 
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMHypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMvwchu
 
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE Systems
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE SystemsXPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE Systems
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE SystemsThe Linux Foundation
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirtplarsen67
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
LCA13: Xen on ARM
LCA13: Xen on ARMLCA13: Xen on ARM
LCA13: Xen on ARMLinaro
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology OverviewOpenCity Community
 
KVM tools and enterprise usage
KVM tools and enterprise usageKVM tools and enterprise usage
KVM tools and enterprise usagevincentvdk
 
Lessons On Hyper V
Lessons On Hyper VLessons On Hyper V
Lessons On Hyper VAidan Finn
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Stefano Stabellini
 
Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Wan Leung Wong
 
Intel demo on movidius
Intel demo on movidiusIntel demo on movidius
Intel demo on movidiusJoseph Pareti
 
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...The Linux Foundation
 
Kvm virtualization platform
Kvm virtualization platformKvm virtualization platform
Kvm virtualization platformAhmad Hafeezi
 

Tendances (20)

Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...
Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...
Virtualization: A Case Study from the IT Trenches - Darren Schoen, Broward Ce...
 
SpiceWorld London 2012 Presentation Matthieu Jaeger
SpiceWorld London 2012 Presentation Matthieu JaegerSpiceWorld London 2012 Presentation Matthieu Jaeger
SpiceWorld London 2012 Presentation Matthieu Jaeger
 
BSDCan2013
BSDCan2013BSDCan2013
BSDCan2013
 
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMHypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
 
Qemu
QemuQemu
Qemu
 
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE Systems
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE SystemsXPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE Systems
XPDS16: The OpenXT Project in 2016 - Christopher Clark, BAE Systems
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirt
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
LCA13: Xen on ARM
LCA13: Xen on ARMLCA13: Xen on ARM
LCA13: Xen on ARM
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology Overview
 
KVM tools and enterprise usage
KVM tools and enterprise usageKVM tools and enterprise usage
KVM tools and enterprise usage
 
Lessons On Hyper V
Lessons On Hyper VLessons On Hyper V
Lessons On Hyper V
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)
 
Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)
 
The kvm virtualization way
The kvm virtualization wayThe kvm virtualization way
The kvm virtualization way
 
Intel demo on movidius
Intel demo on movidiusIntel demo on movidius
Intel demo on movidius
 
Cloud.pptm
Cloud.pptmCloud.pptm
Cloud.pptm
 
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...
XPDDS17: Virtualization at Huawei: Usage, Value-add and Challenges - Jinsong ...
 
Kvm virtualization platform
Kvm virtualization platformKvm virtualization platform
Kvm virtualization platform
 

En vedette

Trends at JavaOne 2016: Microservices, Docker and Cloud-Native Middleware
Trends at JavaOne 2016: Microservices, Docker and Cloud-Native MiddlewareTrends at JavaOne 2016: Microservices, Docker and Cloud-Native Middleware
Trends at JavaOne 2016: Microservices, Docker and Cloud-Native MiddlewareKai Wähner
 
Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Jon Petter Hjulstad
 
Big data for cio 2015
Big data for cio 2015Big data for cio 2015
Big data for cio 2015Zohar Elkayam
 
Philips Big Data Expo
Philips Big Data ExpoPhilips Big Data Expo
Philips Big Data ExpoBigDataExpo
 
Global Azure Bootcamp - Azure OMS
Global Azure Bootcamp - Azure OMSGlobal Azure Bootcamp - Azure OMS
Global Azure Bootcamp - Azure OMSBruno Lopes
 
(SEC320) Leveraging the Power of AWS to Automate Security & Compliance
(SEC320) Leveraging the Power of AWS to Automate Security & Compliance(SEC320) Leveraging the Power of AWS to Automate Security & Compliance
(SEC320) Leveraging the Power of AWS to Automate Security & ComplianceAmazon Web Services
 
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...Lucidworks
 
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...SPS Paris
 
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...liela_stunda
 
Business model cavans nl-sep-2014
Business model cavans nl-sep-2014Business model cavans nl-sep-2014
Business model cavans nl-sep-2014RolandSyntens
 
Info qiy foundation digital me - dappre-eng-aug17
Info qiy foundation   digital me - dappre-eng-aug17Info qiy foundation   digital me - dappre-eng-aug17
Info qiy foundation digital me - dappre-eng-aug17BigDataExpo
 
SRE Study Notes - CH2,3,4
SRE Study Notes - CH2,3,4SRE Study Notes - CH2,3,4
SRE Study Notes - CH2,3,4Rick Hwang
 
Understanding Camouflage
Understanding CamouflageUnderstanding Camouflage
Understanding CamouflageEmily Kissner
 
Opensource Search Engines
Opensource Search EnginesOpensource Search Engines
Opensource Search Enginescusy GmbH
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridJohan Louwers
 
Becoming the master of disaster... with asr
Becoming the master of disaster... with asrBecoming the master of disaster... with asr
Becoming the master of disaster... with asrnj-azure
 

En vedette (20)

Trends at JavaOne 2016: Microservices, Docker and Cloud-Native Middleware
Trends at JavaOne 2016: Microservices, Docker and Cloud-Native MiddlewareTrends at JavaOne 2016: Microservices, Docker and Cloud-Native Middleware
Trends at JavaOne 2016: Microservices, Docker and Cloud-Native Middleware
 
Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17
 
Big data for cio 2015
Big data for cio 2015Big data for cio 2015
Big data for cio 2015
 
Philips Big Data Expo
Philips Big Data ExpoPhilips Big Data Expo
Philips Big Data Expo
 
Global Azure Bootcamp - Azure OMS
Global Azure Bootcamp - Azure OMSGlobal Azure Bootcamp - Azure OMS
Global Azure Bootcamp - Azure OMS
 
Voetsporen 38
Voetsporen 38Voetsporen 38
Voetsporen 38
 
(SEC320) Leveraging the Power of AWS to Automate Security & Compliance
(SEC320) Leveraging the Power of AWS to Automate Security & Compliance(SEC320) Leveraging the Power of AWS to Automate Security & Compliance
(SEC320) Leveraging the Power of AWS to Automate Security & Compliance
 
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...
Events Processing and Data Analysis with Lucidworks Fusion: Presented by Kira...
 
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...
I1 - Securing Office 365 and Microsoft Azure like a rockstar (or like a group...
 
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...
“Ūdens resursi. Saglabāsim ūdeni kopā!” Pasaules lielākā mācību stunda Daugav...
 
Business model cavans nl-sep-2014
Business model cavans nl-sep-2014Business model cavans nl-sep-2014
Business model cavans nl-sep-2014
 
Info qiy foundation digital me - dappre-eng-aug17
Info qiy foundation   digital me - dappre-eng-aug17Info qiy foundation   digital me - dappre-eng-aug17
Info qiy foundation digital me - dappre-eng-aug17
 
SRE Study Notes - CH2,3,4
SRE Study Notes - CH2,3,4SRE Study Notes - CH2,3,4
SRE Study Notes - CH2,3,4
 
Understanding Camouflage
Understanding CamouflageUnderstanding Camouflage
Understanding Camouflage
 
Opensource Search Engines
Opensource Search EnginesOpensource Search Engines
Opensource Search Engines
 
Water resources
Water resourcesWater resources
Water resources
 
Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016
 
Understanding big data
Understanding big dataUnderstanding big data
Understanding big data
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
 
Becoming the master of disaster... with asr
Becoming the master of disaster... with asrBecoming the master of disaster... with asr
Becoming the master of disaster... with asr
 

Similaire à VMs All the Way Down (BSides Delaware 2016)

Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux VirtualizationOpenVZ
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation StackIQ
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to VirtualizationMuhammadRizkyFaza
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSDocker, Inc.
 
Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018Richard Clark
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorAnil Madhavapeddy
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisorsGaurav Suri
 
Unifi'd Ownage
Unifi'd OwnageUnifi'd Ownage
Unifi'd OwnageTim N
 
Developping drivers on small machines
Developping drivers on small machinesDevelopping drivers on small machines
Developping drivers on small machinesAnne Nicolas
 
20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's dayqnapivan
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare WorkstationHitesh Gupta
 
OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016Alexandru Coman
 
Are you ready for Windows 8 - Nicconf 2013
Are you ready for Windows 8 - Nicconf 2013Are you ready for Windows 8 - Nicconf 2013
Are you ready for Windows 8 - Nicconf 2013Olav Tvedt
 
OffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with XenOffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with XenTamas K Lengyel
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedStefano Stabellini
 
The Deck by Phil Polstra GrrCON2012
The Deck by Phil Polstra GrrCON2012The Deck by Phil Polstra GrrCON2012
The Deck by Phil Polstra GrrCON2012Philip Polstra
 
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowsOpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowseNovance
 

Similaire à VMs All the Way Down (BSides Delaware 2016) (20)

Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux Virtualization
 
RMLL / LSM 2009
RMLL / LSM 2009RMLL / LSM 2009
RMLL / LSM 2009
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
MIPS-X
MIPS-XMIPS-X
MIPS-X
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library Hypervisor
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisors
 
Unifi'd Ownage
Unifi'd OwnageUnifi'd Ownage
Unifi'd Ownage
 
Developping drivers on small machines
Developping drivers on small machinesDevelopping drivers on small machines
Developping drivers on small machines
 
20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare Workstation
 
OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016
 
Are you ready for Windows 8 - Nicconf 2013
Are you ready for Windows 8 - Nicconf 2013Are you ready for Windows 8 - Nicconf 2013
Are you ready for Windows 8 - Nicconf 2013
 
OffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with XenOffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with Xen
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for Embedded
 
The Deck by Phil Polstra GrrCON2012
The Deck by Phil Polstra GrrCON2012The Deck by Phil Polstra GrrCON2012
The Deck by Phil Polstra GrrCON2012
 
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowsOpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
 
Fuzzing_with_Xen.pdf
Fuzzing_with_Xen.pdfFuzzing_with_Xen.pdf
Fuzzing_with_Xen.pdf
 

Dernier

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Dernier (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

VMs All the Way Down (BSides Delaware 2016)

  • 1. VMs All The Way Down BUILDING AN INEXPENSIVE, ADVANCED INFOSEC LAB BSIDES DELAWARE 2016 JOHN HUBBARD http://xkcd.com/1416/ 1
  • 2. Who Am I? John Hubbard Lead Analyst for GlaxoSmithKline’s US SOC Community SANS Instructor ◦ GMON, GPEN, GREM Guy who has set up LOTS of labs Twitter: @JHub908 Blog: 909Research.com http://xkcd.com/1416/ 2
  • 3. Topics Why? Types of virtualization – Type 1 vs. Type 2 Software options for virtualization Virtual switches, VLANs, and routers Suggested hardware Suggested virtual machines Balancing requirements, price, and complexity Suggestions & sources for cheap or free hardware/software 3
  • 4. Why? Learning! Attack ◦ One on one type attacks ◦ Pivoting through environment Prevention, detection & response ◦ Firewalling & OS hardening ◦ NSM (IDS, SIEM) & CSM (Log Collection, Vulnerability Scanning/Analysis) ◦ Malware reverse engineering and forensics System Administration | Engineering | Design ◦ Virtualization, networking, secure architecture ◦ Operating Systems Emulate a company infrastructure in one computer! 4
  • 7. Consider Your Goals Infosec ◦ Attack centric ◦ Defense centric ◦ Secure architecture Learn how to use production Hypervisors? ◦ ESXi, XenServer, Hyper-V Stationary or portable all-in-one lab? In-line, or lab as host on home network? Do you care about power/noise? 7
  • 8. The Focus Of This Talk Get as close to a “real” network as possible… While minimizing cost for ◦ Software ◦ Hardware ◦ Power Maximize ◦ Flexibility ◦ Efficiency / silence ◦ Significant other acceptance factor 8
  • 9. How Are We Going To Do It? Software ◦ Use FOSS to save on software cost ◦ Leverage free “home” licenses when possible ◦ Leverage trials intelligently when no free option exists Hardware ◦ Use virtualization to cut hardware / power cost ◦ Virtualize endpoints ◦ Virtual network infrastructure ◦ Virtualize security & Monitoring infrastructure ◦ Minimize hardware purchase ◦ Alton Brown theory for hardware – NO to uni-taskers 9
  • 12. Type 2 Options VMware Workstation (not player) ◦ Great choice, not free Oracle VirtualBox ◦ Great choice, free QEMU/KVM ◦ Free, supports other architectures MS Windows Client Hyper-V ◦ Works, but not recommended Parallels ◦ Works, but not recommended 12
  • 13. VMware Workstation / Fusion Player ◦ No simultaneous VMs or snapshots, won’t work for us Workstation (PC), Fusion (Mac) ◦ Great choice, “industry standard” ◦ Workstation $250/$99 upgrades, Fusion $80/$50 upgrades ◦ Integrates with ESXi – Use VMs over network like local ◦ 64bit host CPU required, VT-X required for 64bit guest Recommended if: ◦ You’re willing to pay for it ◦ Want to control local and remote ESXi VMs ◦ Need compatibility with almost any prepacked VM 13
  • 14. Oracle VirtualBox Free! PC, Linux, macOS The other “standard” Hardware virtualization not required for 32bit Can run headless ◦ VRDP over network for VMware like experience Recommended if: ◦ You like free things that work very well ◦ You want to use old hardware for lab 14
  • 15. Other Type 2 Options Windows Client Hyper-V ◦ Free with Windows 8/10 Professional ◦ Don’t see any benefits over VirtualBox ◦ You might like the OS integration QEMU/KVM (Linux only) ◦ Generic FOSS virtualization solution ◦ BYOGUI – Virt-manager makes like VMware / VirtualBox ◦ Run different architectures (ARM, PowerPC, MIPS) ◦ Recommended if: You like virtual Raspberry Pi Parallels (macOS only) ◦ Should work fine ◦ Same price as VMware and less compatible 15
  • 16. Type 1 Options ESXi aka vSphere Hypervisor ◦ Business “standard”, free for home use, limited features, HW compatibility issues, Windows required* XenServer ◦ Business “standard”, free, Windows required for mgmt., HW Compatibility Issues Proxmox ◦ Free, supports most HW, no feature restrictions, web management Hyper-V Server ◦ Free, supports most HW, Windows required, wants Active Directory, painful 16
  • 17. vSphere Hypervisor (ESXi) “Industry standard” solution for Type 1 Picky about hardware ◦ Can build a whitebox, use custom network drivers Windows thick client management* ◦ New web front-end available, still slightly buggy Free version has feature restrictions – shouldn’t matter Recommended if: ◦ Your hardware is compatible (Server HW or whitebox, check HCL) ◦ Want most user friendly experience ◦ Want to learn an industry standard 17
  • 18. Proxmox VE Free, can buy support - think “VirtualBox of type 1 hypervisors” Debian based, uses KVM No restrictions – VM migration, clustering, unlimited cores Compatible with most hardware Web front-end Recommended If: ◦ Want totally open and free solution ◦ Hardware isn’t compatible with ESXi ◦ You are comfortable with some CLI and Google ◦ Clustering / centralized management wanted ◦ Don’t want to manage your lab with a Windows PC 18
  • 19. XenServer The other “industry standard” (AWS, Linode, Rackspace) Picky about hardware Free No restrictions Managed by XenCenter Windows thick client  Recommended if: ◦ ESXi doesn’t work, still want “professional solution” ◦ Hardware is compatible ◦ Don’t mind using Windows to manage it 19
  • 20. Microsoft Hyper-V Server Might use it at work Free Frustrating if not on a domain Obviously – Windows based management Recommended if: ◦ You like pain ◦ You have a good reason ◦ You have a specific need for this ◦ Running active directory at home 20
  • 21. Type 1 vs. Type 2 Considerations Extra computer? Travel? ◦ Use Type 2 if you don’t have an extra computer, need it to travel Is your hardware compatible? ◦ You probably can’t run ESXi / Xen on a laptop, lucky if desktop works Networking Gear ◦ Do you have a ”real” Router/firewall/access point, can you make one? What VMs are you running? ◦ QEMU enables non-x86 VMs How do you want to manage it? Windows? Cost? Recommendation: VMware all around, or VirtualBox / Proxmox 21
  • 22. Still Not Sure? Try them all...with nested virtualization! Use type 2 to run type 1! Install VMs in that! Test your test lab, move VM’s when ready! 5 minutes of clicking “next” to Install them all ◦ Enable VT-X for VMs (in processor settings) ◦ Add 2 virtual NICs (Required by most, 1 for mgmt., 1 for VMs) ◦ Ensure enough RAM, might not boot without it 22
  • 23. Lab Hardware WHAT DO I NEED? 23
  • 24. Planning Your Lab - Hardware RAM – MOST important, 1st limiting factor HDD – 2nd limiting factor, speed is nice, size most important CPU ◦ VT-X – Consider this a requirement (some super cheap old servers lack it) ◦ VT-D – Can pass PCI devices through to VM, might want ◦ AES-NI – Efficient drive encryption Package ◦ If it needs to travel – Laptop/NUC ◦ If you want quiet, expandable - Desktop ◦ Turn down for what?! – Rack Mount! Minimum specs: 16GB RAM, 500GB HDD, i5+ from last few years Ideal: 32GB+ RAM, 1TB+ SSD, quad core i7+ 24
  • 25. My Favorite Hardware Whatever you already have + Proxmox Laptop: Refurbished ThinkPad from Newegg ◦ X220+ (small), T420+ (mid-size, extra HDD) ◦ $185-$400 + RAM upgrade Tower: Lenovo TS140 / TS150 (new version) ◦ Super Quiet ◦ $289 for i3 version + more RAM / HDD ◦ $389 for Xeon (preferred) + more RAM / HDD ◦ Need NIC for ESXi – read Lenovo notes Rack Mount: ◦ Consult reddit.com/r/homelab wiki ◦ Many considerations 25
  • 27. Planning Your Network Goal: Take fewest pieces of hardware – emulate any network Pieces you need: ◦ Firewall / Router – Virtual, or multiple interfaces with VLAN support ◦ “Smart” switch – Capable of VLANs (802.1q) & traffic mirroring ◦ Wi-Fi access point – VLAN / multi-SSID capable ◦ Server Depending on what you want, the first three might be one item 27
  • 28. Decision Time Do I have … ◦ An extra machine and want it to be IN-LINE in my network? ◦ Win: Almost everything is Virtual, least hardware ◦ Issue: “The internet doesn’t work, what do I do?” ◦ “Just log in to ESXi go to console and restart our router VM, obviously!” ◦ An extra machine, want it to be another host on my home network ◦ Pro: Won’t ruin your tubes ◦ Con: Might have to buy stuff ◦ Have a dedicated laptop, lab can travel ◦ Whole lab on my primary computer This will drive your network setup 28
  • 30. Why This? Splits core components into pieces for flexibility VLANs allow multiple layer 3 networks without tons of NICs Wi-Fi access to each VLAN with different SSID Physical access through switch ports assigned to VLAN Hypervisor allows per VM settings of VLAN Switch mirror port sits at key location to collect ALL traffic All inter-VLAN traffic goes through firewall Additional networks can be virtualized Can emulate almost anything Talk assumes this setup when discussing VLANs 30
  • 31. How This Looks To A Packet 31
  • 32. Favorite Networking Gear “Smart” switches – VLANs, port mirroring ◦ $30+ TPLink “easy smart” series* – Windows required before V2 ◦ $78 Cisco SG200-08 – Works for me Router/Firewall: ◦ DIY with PfSense - Free & unrestricted, can run snort too ◦ Sophos XG FW (VM) - Free, polished, and tons of security features, 50 IP limit ◦ Ubiquiti EdgeRouter X - $50, integrated FW, VLANs, VPN, DHCP, DNS, etc. Wi-Fi: ◦ Need a pure AP only ◦ Free - Use your current one in AP mode, bonus switch, DD-WRT? ◦ $90-$150 - Ubiquiti UniFi AC Series – ”enterprise grade”, with VLAN support 32
  • 33. So I Have To Buy All That? No, you COULD do it all with 1 server! ◦ PfSense/Sophos VM = Firewall & Router ◦ Virtual switches for all zones ◦ Virtual switch port mirroring ◦ Challenge mode: HostAPD for Wi-Fi access point Details coming… 33
  • 34. Virtual Networking Concepts Need to understand virtual networking concepts Note: Assume “NIC” == real/virtual card with 1 interface Our lab server will have ◦ Virtual machines, with multiple virtual NICs, that connect to… ◦ Multiple virtual switches, that connect to… ◦ Multiple physical NICs, that might connect to… ◦ A virtual router VM Type 2 names connection modes – you’ve likely seen this ◦ Bridged ◦ Nat ◦ Host-Only ◦ Internal (host-only, minus host connection) 34
  • 35. Type 2 Virtual Networking 35
  • 36. Type 2 Virtual Networking 36
  • 37. Type 1 Virtual Networking Same idea - manual implementation without these names For type 1 hypervisor setups, usual mode is bridged Can use other types by not connecting virtual switch to phys. NIC General Process ◦ Define VLANs/segments (ex: DMZ, Desktops, Internal Servers) ◦ Create a group/switch for each VLAN ◦ Map virtual switches to physical NICs ◦ Create VMs and connect virtual adapters to correct VLAN switch/group Idea: Traffic from each VM gets tagged by virtual switch, exits onto actual network with VLAN tag that router acts on ◦ VLANs not needed if lab is your router, just use more NICs / vSwitches 37
  • 39. ESXi – How To Port Groups – One for each “zone”, VLAN tags apply here Virtual Switches – One / physical NIC (vSwitch0, etc.) ◦ Note: To tap virtual switch - set Promiscuous mode to “accept” Physical NICs – Your actual hardware (vmnic0, etc.) Vmkernel NICs – Where ESXi management page is served at (vmk0) 39
  • 40. ESXI – How To Create port groups for each zone Assign port groups to correct switch Ensure switch is connected to correct physical NIC Create VMs and assign to groups 40
  • 41. Proxmox – How To Note: ”Linux Bridge” == virtual switch, I’ll use this term vSwitches assigned to physical NICs IP CAN be assigned to vSwitch, not needed ◦ Note: You can manage Proxmox from all vSwitch IPs – be careful! Check “VLAN Aware” box for each vSwitch To tap virtual traffic – # brctl setageing vmbr0 0 ◦ Makes vSwitch a hub – VMs can see all traffic 41
  • 42. Proxmox Steps Create VMs, create as many virtual NICs as needed Connect virtual NICS to vSwitches Enter VLAN tags for each virtual NIC 42
  • 43. XenServer – How To ”Network [x]” is auto-made for each physical NIC Create new virtual switch for each VLAN Assign a VLAN tag & assign new switch to correct physical NIC Google ovs-vsctl command for port mirroring instructions 43
  • 44. XenServer – How To Create VMs and virtual NICs Assign virtual NICs to VLAN enabled switches 44
  • 49. What To Install We’ve got hardware, hypervisors, and network. Now? Define capabilities and pick VMs accordingly Connect to network as needed SNAPSHOT! Which VMs to use? Everything! –Windows Desktop/Server, Linux, apps, BSD… Where do you get it? Isn’t that complicated & expensive? 49
  • 50. Free Virtual Machine Sources Windows ◦ Student? Many free options – collect every server license you can ◦ DigitalRiver, Dreamspark, OnTheHub ◦ Modern.ie site – Free Windows VMs, XP-10! (expire after 90 days) ◦ Download, snapshot BEFORE use, re-arm, revert ◦ TechNet Evaluation Center – 180 day server licenses ◦ Bottom of your laptop?, IT Friends, Craigslist, eBay – 2008R2 = $90 Linux – prebuilt apps ready, without install & setup pain ◦ Bitnami.com ◦ Turnkeylinux.org 50
  • 51. Offense HACK ALL THE THINGS 51
  • 52. Offense Emulate corporate infrastructure ◦ Multi-segment network – DMZ, Desktops, Servers, Guest, etc. Pick a distro - Kali, Pentoo, BlackArch, Backbox Set up network, install OS’s and services Set up virtualized defense – IDS, AV, Firewall, etc. Snapshot! Then… 52
  • 53. Offense Attack from outside (internet based attack) Attack from Inside (unauthorized device on network) Attack from DMZ, VPN, Wi-Fi, anywhere else Try to pivot around, stop yourself, get around it Bring physical devices into mix - IoT, printers, slow cooker Did your defense pick it up? Script to revert whole environment!! ◦ VMware: Vmrun / vim-cmd ◦ VirtualBox: VBoxManage 53
  • 54. Offensive Setup Lab is a corp. network Attack machine can be VM You can attack from any point by changing VLANs 54
  • 56. Network Security Monitoring What is NSM? Network based, data-in-motion focused analysis Security Onion is the king of NSM distros Full packet capture - Netsniff-NG Snort / Suricata / Bro IDS Sguil / Squert IDS front-end ELSA – Log collection and searching (SIEM) Xplico, NetworkMiner, etc. for PCAP forensics EASY install 56
  • 57. Security Onion – How To Make sure you have resources ◦ 3GB+ RAM required ◦ CPU needs based on traffic ◦ Enough space to save it all ◦ Check current router for bandwidth usage / month Plan what you want to monitor ◦ Whole network? Tap at physical switch with everything behind it ◦ Just your server? Use virtual tap from vSwitches ◦ Just a couple VMs in type 2 setup? Connect to same vSwitch 57
  • 58. Security Onion / NSM Setup Add server for Security Onion Copy ALL traffic from network to 2nd NIC NIC only connects to Sec. Onion VM 58
  • 59. Log Management VMs Splunk Free ◦ Collect logs from your environment ◦ 500MB / day Windows Log Collection Server ◦ Not often done, but can consolidate logs in windows for free ◦ NSA Guide: “Spotting the Adversary with Windows Event Log Monitoring” OSSIM ◦ Free SIEM from AlienVault ELK ◦ ElasticSearch, Logstash, Kibana ◦ FOSS stack for log analytics 59
  • 60. Malware Analysis Want to run malware in contained environment Internal mode or host-only (isolated from internet) mode Multiple hosts options is ideal ◦ Malware may do different things based on OS version / domain or not REMnux is perfect distro for analysis – Think Kali for malware RE ◦ Created by Lenny Zeltser – SANS FOR610 Author ◦ Tools built in and auto-update Built for static and dynamic analysis Can easily intercept traffic, pretend to be network services ◦ Fakedns, inetsim 60
  • 61. REMnux – How To Use an isolated vSwitch with host-only / internal networking Connect REMnux VM Install victim VMs - Linux, Win XP, Win 7/10, Win Server, etc. Set all VMs to use REMnux VM IP as gateway Install tools for analysis Snapshot everything - multiple times along tool install path Begin traffic interception Infect, analyze hosts and traffic “outbound” Revert snapshots, rinse and repeat 61
  • 62. Malware Analysis Setup All VMs have REMnux IP as gateway No internet connection to any VM Host PC connection still active for VM control 62
  • 63. All-in-one Lab Lab box is your home router, firewall, lab switches, and all VMs 2-3 physical NICs required ◦ To internet ◦ To switch (for normal network devices) or Wi-Fi AP if all wireless ◦ Cheap win - switch / AP could be your old router with DD-WRT in AP mode ◦ VLAN support unlikely, use 3rd NIC to plug directly in to VLANs Inline with your network – beware down time! ◦ Mitigate with simple home Wi-Fi router, ready to go as backup 63
  • 65. Other VM Ideas WebGoat / Security Shepherd / SamauriWTF – Web app attack training SamauriSTFU – SCADA, smart meter, other energy sector Cybatiworks – ICS with physical kit. Would make interesting demo Vulnhub, Metasploitable Forensics – SIFT / DEFT Huge list: amanhardikar.com/mindmaps/Practice.html 65
  • 66. Taking It Further Containers ◦ Built in to Proxmox, even MORE efficiency Automation ◦ Vagrant – building your VM ◦ Scripts to bring up and down whole environment at once Cloning ◦ Make a bunch of “users”, pivot Virtualize your real infrastructure & test that Honeypot VMs Reference: reddit.com/r/homelab Wiki 66
  • 67. Further Reference “Setting up a Test Lab with VMware” – Nicholas Chapel (BSides MSP) ◦ https://archive.org/details/BSidesMsp201611NicholasChapel ◦ Focused on walkthrough of installing ESXi and setting up a VM “EC2 or Bust - How to Build Your Own Pen Testing Lab in Amazon EC2” – Grecs (BSides LV) ◦ https://www.youtube.com/watch?v=h4XHgXBEaho ◦ Focused on cloud lab setup “Building a Cyber Range” – Kevin Cardwell (ShowMeCon) ◦ https://www.youtube.com/watch?v=zA0_lAsxC84 ◦ Focused on pen testing and ideas for making your lab emulate customer environments ◦ Book: “Building Virtual Pentesting Labs for Advanced Penetration Testing” “Proxmox Cookbook” – Wasim Ahmed 67
  • 68. TL;DR – Free Full Type 1 or 2 Lab Extra computer or refurb laptop - i5+, 500GB HDD, 16GB RAM Proxmox or VirtualBox with Linux OS Define network segments, make vSwitches Install PfSense with multiple virtual NICS, one for each segment Get VMs and connect vNIC’s where needed ◦ Modern.ie / TechNet Eval center free windows VMs ◦ Bitnami / Turnkeylinux easy install app VMs Install defense / offense VMs (Kali / Security Onion) Tap virtual traffic with virtual tap or ”smart” switch Hack the planet! 68
  • 69. Thanks! SLIDES WILL BE POSTED SOON @JHUB908 / 909RESEARCH.COM 69

Notes de l'éditeur

  1. Welcome everyone Thanks for coming 1st BSides talk - very excited This is "VMs all the way down" Title refers to story of world propped up on stack of turtles, and infinite regress Type of lab we’ll talk about reminds me of this / Inception You can get lost in virtualization levels Goal here: Explain advanced lab setup in 1 hour
  2. John Hubbard US SOC Lead for GlaxoSmithKline Community SANS Teach 511 / 560 Continuous Monitoring & Sec Ops. Eth. Hacking & Pen Testing These slides on blog after LOTS OF WORDS – wanted useful on it’s own
  3. We’ll cover Why? Type 1 vs. 2 Virtualization software vSwitches, routers, wifi APs Hardware for lab VMs to use Balance price, portability, and complexity ALL IN NAME OF PERFECT LAB...
  4. 1st – why do this? Learn anything Attack, defense, sysadmin Knock down and reset Test defenses Goal: emulate a the standard corp setup THIS WILL TAKE LEARNING TO NEXT LEVEL
  5. In the past Do what’s on the right Going to condense as much as possible Use FOSS to eliminate SW cost Use virtualization to eliminate hardware/power cost
  6. This is a preview Many people start with 1 VM Laptop CAN be setup to do this Let’s jump into how to do that
  7. First – requirements Don’t jump in w/o considering Attack, defend, learn what? Portability Brave enough to put in-line Can it sound like a jet?
  8. Get as close to “REAL” Minimize SW, HW, Noise, Power Maximize: Flexibility, don’t get it evicted Want 1 computer to be many Want 1 switch to be many Want 1 wifi to be many Maximize use across the board
  9. How do we do this? Free SW Home licenses Trials Use ALL your hardware Virtualize everything we can Squeeze every ounce out of computer NO UNI-TASKERS
  10. 1st – Select your hypervisor
  11. There are 2 types You know type 2 Type 1 is “professional” Lean tiny footprint OS Facilitates running VMs Designed for remote admin Don’t get too hung up on this About usage
  12. > SUMMARY - LIST We’ll talk about these VMware Workstation VirtualBox QEMU/KVM QEMU is hypervisor Uses KVM for HW virt features Hyper-V Parallels
  13. Don’t use player Great choice Standard Expensive – but potentially worth it ESXi integration > Need solid integration, compatibility
  14. The best free alternative All platforms Many VMs are compatible Headless > I’d try this first
  15. Client Hyper-V Free, works QEMU/KVM Free, BYOGUI Emulate Pi & more Parallels === What about Type 1?...
  16. > SUMMARY - LIST ONLY Here’s playing field for Type 1 ESXi is the Workstation of Type 1 Proxmox is in the free category Xen is in the middle Hyper-V - ehhh
  17. Standard issue for business HARDWARE is your hold up Build a custom whitebox Slipstream drivers on install – can work Windows client – going away Don’t worry about restrictions I would use this if HW compatible HCL LIST CHECK
  18. Awesome alternative Debian based OS, uses KVM FULL features COMPATIBLE Web front-end – No M.S. Some CLI & Google required
  19. Middle ground Feels polished like ESXi Used by AWS, Rackspace, Linode All features open HW COMPATIBILITY WINDOWS Client
  20. Might use this at work Also free Frustrating if not on domain Won’t find things in this format Don’t use unless you have good reason
  21. Ok, so which do you use? Consider: Travel Compatibility Practice for work VMs – Non x86? Management Cost Not cost sensitive – go with Vmware. Else, Vbox/ Proxmox
  22. Go meta Try them all on Type 2 All will install in VMware for sure Did it on my 8gb refurb ThinkPad Try interfaces PROTOTYPE test lab MOVE VM’S WHEN DONE!
  23. So this stuff can be picky What should you buy? Will what you have work?
  24. MOST IMPORTANT – RAM 2nd – HDD CPU VT-X, VT-D, AES, Cores Package Laptop/NUC, Desktop If your life philosophy is “turn down for what?!” Rack servers [READ] Min spec, Ideal spec Sound expensive? Not really…
  25. 1st try what you have Laptop: Refurb – everyone loves thinkpads Tower: TS140 – Run ESXi w/ new NIC Rack: Difficult, see homelab subreddit
  26. Ok so we’ve picked HW Picked a hypervisor What now? Design your lab network
  27. Goal: Few pieces – model anything 4 Main items required FW / Router – VLANs or multi-interface “Smart” switch - VLAN trunk (802.1q), port-mirroring Wi-Fi AP – Any works, SSID->VLAN convenient Your Server Some of these can be done with your server
  28. Here: critical decision point Willing to go in-line? If it breaks… Extra machine on network? Harder to monitor Possibly need more stuff Also consider Traveling? Ports available for usage Your ONLY computer?
  29. Here’s my home network Didn’t show “normal” devices, on wifi Sophos, smart switch, UniFi, server Switch & Wifi = $230 Server ON MY BLOG $800 in 2013 ESXi compatible w/ NIC driver
  30. VLAN support throughout – flexible Means multiple layer 3 networks SSID for each one Proxmox runs VMs Laptop VMs connect in assigned switch ports Inter-VLAN traffic through FW Allows monitoring of EVERYTHING Emulate almost any setup VLANS necessary for this w/o lots of NICs - ASSUME THIS
  31. Have trusted, guest Lab zones – Desktop, DMZ, Servers Isolation zone for malware Security monitoring VMs Can reconfigure stuff to be anywhere easily.
  32. ”Smart” Switch – TP-Link $30, Cisco $80 Router/FW PfSense – awesome If PfSense cool, Sophos a double-rainbow HW – Ubiquiti EdgeRouterX Wi-Fi AP Mode needed only BONUS: SSIDs to VLANs Ubiquiti again your best bet
  33. I don’t want to buy anything you say! Ok, use in-line server Your old router for AP/switch Plug directly in to VLANs with NICs Try challenge mode: hostapd for DIY wireless
  34. Let's talk networking concepts NOTE; NIC == 1 INTERFACE HOST = PHYSICAL, GUEST = VM Multiple vNICs to vSwitches vSwitches to NICs NICs to VLANs To understand, consider Type 2 terms [READ] You’ve probably seen this, here’s how it works
  35. Bridged – typical, our focus What you want for “normal” VMs Exposed to outside Host-only – alternative for isolation What you want for “risky” VMs Metasploitable etc. Exposed to your computer only
  36. Internal – Totally isolated For malware analysis NAT – outside only sees host IP “I want to use VMs on a plane” mode Don’t hack like this – gonna have a bad time
  37. Type 1 – same w/o hand holding Made switches & connections piece by piece Typically bridged Want outside connectivity, like real computers Process in general Define VLANs/segments Create vSwitches with tags Connect them to NICs Connect VMs to switches
  38. In case you’ve never dealt with VLANs Imagine as way to make virtual switches of real switch Switch multiple layer 3 networks on 1 item Ports are trunks, or add tags to untagged traffic Assign ports to a group
  39. 4 CONCEPTS Port groups – like real switch, VLAN tags Virtual switches – one per physical NIC Physical NICs - one per port you have VMkernel NICs - served here Name them accordingly for ease
  40. Why I say it’s friendly Port groups tag with VLAN # All data flows through switch Leaves physical NIC
  41. UNDERSTAND – Linux bridge = vSwitch Bridge to physical NIC, like in ESXi Check box for “VLAN aware” on bridge Can assign IP to bridge – PROXMOX MGMT Can monitor by telling it to forget port for each MAC Bridge aging 0 = virtual hub mode
  42. For VM specific setup Create your network devices Attach to virtual switch with tag # Instead of port groups, individual
  43. Note top 2 Auto created devices You make bottom 3, name well Uses “OpenVSwitch” VM as a switch Port mirroring – possible but more complex, Google it
  44. Go to VM setup Hit networking tab Connect to the network w/ correct tag
  45. Here’s your Type 2 switch setup Virtual Network Editor See 3 defaults Create more, add vmnet-X This sets up all switches
  46. Then pick which one you want connected to your VM BTW – notice these VMs? On my 8GB RAM $300 thinkpad 
  47. VirtualBox is similar Create NAT networks Create vSwitch as Host-Only network Connect VMs as needed Internal mode to isolate from PC host Next, let’s discuss VM choices…
  48. Hardware and hypervisor is set up Have bones of the network in place Time to connect VMs Once you get them up and working SNAPSHOT
  49. Windows is expensive right? Nope If you’re willing to recreate VM once / quarter Modern.ie for desktop – rearm to work 90 days Technet – even better, 180 days Do you have a work laptop? Try your sticker Linux – Bitnami and turnkeylinux Ready to deploy apps
  50. Hacking 1 VM great Attackers don’t hit gold on 1st computer You need to learn to move inside Pick a distro, set up a windows domain, servers SNAPSHOT
  51. Start on the outside, pivot your way in Start from elsewhere – Wi-Fi VLAN Play both sides – find your activity Pretend to be a gullible user, open links This makes you a TRULY great attacker
  52. Lab server is the box 1 switch, all VLANs going to it Trunking to outside switch to router Attack from any point Add defense to catch yourself What VM to use for that?
  53. NSM – data in motion Sec Onion – king of NSM distros IDS / PCAP / front ends / log storage Used heavily in SEC511 EASY install – The blue side of your lab
  54. Need resources 3GB RAM, DISK CPU for bandwidth Decide what to monitor Whole network? Lab? How are you going to access it?
  55. All we’ve added here is mirror port Connect it to another physical NIC in server Connect to Sec Onion only This will get you great network captures What about log files?...
  56. For that’s, there’s also lots of options And perhaps want something more “enterprise” Many great free ones Splunk – 500MB/day NSA Guide – Windows logs OSSIM, ELK FOSS log management solutions How about malware?...
  57. That’s a little different… Don’t want internet connection Isolated zone or adjust for isolation REMnux is the best malware RE distro FOR610 author Lenny Zeltser Static/Dynamic analysis tools built in Intercept traffic Emulate internet
  58. How to use it safely Isolated vSwitch Connect victim VMs Point them all to REMnux SNAPSHOT Begin traffic interception Infect, analyze, wipe
  59. Notice severed connection from switch Line to eth0 for mgmt console Virus thinks REMnux is internet REMnux pretends it’s all IP’s and sites
  60. Here’s ”doing it all” with ONE item You’ll need several NICs Internet/Switch/something else you’ll think of Remember – don’t bring down router VM! This will let you do it all Network infrastructure, and lab
  61. Same VMs as before Added a router Connected in front of everything else Easy to capture traffic Wi-Fi AP with VLANs is useful
  62. Here’s some other options WebGoat / Shepherd – Vuln web apps Some options for ICS / SCADA General vulnerable VMs – Vulnhub, metasploitable Forensics - SIFT / DEFT SIFT and REMnux can be built from 14.04 – in one! Not enough? Consult this list
  63. Want to go further? Containers – virtualize less than whole computer SUPER efficient Automate your lab and VM building Clone what you have to make a fleet Virtualize real stuff & hack it safely Try honeypots There’s lots to choose from – check out homelab for more
  64. There’s been a number of great talks on this topic We all cover it a bit differently Here’s some others with a different focus If interested, check these out Also, a book by Wasim Ahmed for proxmox Ok, we’re at the end!....
  65. Started daydreaming? Here’s your summary Get an i5, 16GB RAM, 500GB HDD Install Proxmox or VirtualBox Create vSwitches Install PfSense connect to switches Download free VMs, connect to network Tap traffic, mirror to SecOnion Hack the planet – THEN REVERT AND DO IT OVER AND OVER AGAIN
  66. Thanks so much everyone Slides will be posted on my blog ASAP Be around all weekend if questions