Wireshark vs. The Cloud :



Similar documents
How to monitor network traffic inside an ESXi host

Vmware VSphere 6.0 Private Cloud Administration

vsphere Private Cloud RAZR s Edge Virtualization and Private Cloud Administration

Network Troubleshooting & Configuration in vsphere VMware Inc. All rights reserved

Monitoring VMware ESX Virtual Switches

VMware vsphere-6.0 Administration Training

VMware vsphere 4.1 with ESXi and vcenter

Securely Architecting the Internal Cloud. Rob Randell, CISSP Senior Security and Compliance Specialist VMware, Inc.

Ixia Phantom vtap. Overview. Virtual Taps Phantom Monitoring Solution DATA SHEET

Architektur XenServer

VMware vsphere Design. 2nd Edition

Running a VSM and VEM on the Same Host

Citrix XenServer Design: Designing XenServer Network Configurations

Expert Reference Series of White Papers. VMware vsphere Distributed Switches

AN INTRODUCTION TO SERVER VIRTUALIZATION

How To Set Up A Virtual Network On Vsphere (Vsphere) On A 2Nd Generation Vmkernel (Vklan) On An Ipv5 Vklan (Vmklan)

Preparation Guide. How to prepare your environment for an OnApp Cloud v3.0 (beta) deployment.

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

VMware vsphere 5.0 Evaluation Guide

Virtualization & Cloud Computing (2W-VnCC)

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

What s New in VMware vsphere 5.5 Networking

Installing & Using KVM with Virtual Machine Manager COSC 495

Configuring Virtual Switches for Use with PVS. February 7, 2014 (Revision 1)

How to Configure an Initial Installation of the VMware ESXi Hypervisor

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Security. Environments. Dave Shackleford. John Wiley &. Sons, Inc. s j}! '**»* t i j. l:i. in: i««;

NETWORK SECURITY. Scott Hand. Melanie Rich-Wittrig. Enrique Jimenez

How to Create VLANs Within a Virtual Switch in VMware ESXi

RUNNING vtvax FOR WINDOWS

How To Make A Virtual Machine Aware Of A Network On A Physical Server

The Impact of Virtualization on Cloud Networking Arista Networks Whitepaper

vsphere Networking vsphere 5.5 ESXi 5.5 vcenter Server 5.5 EN

Altor Virtual Network Security Analyzer v1.0 Installation Guide

Aerohive Networks Inc. Free Bonjour Gateway FAQ

EXAM Installing and Configuring Windows Server Buy Full Product.

Set Up a VM-Series Firewall on an ESXi Server

IOS110. Virtualization 5/27/2014 1

VMWARE Introduction ESX Server Architecture and the design of Virtual Machines

Virtualization Technologies. Embrace the new world of healthcare

Install Guide for JunosV Wireless LAN Controller

vsphere Networking vsphere 6.0 ESXi 6.0 vcenter Server 6.0 EN

Asigra Cloud Backup V13.0 Provides Comprehensive Virtual Machine Data Protection Including Replication

HP Virtual Connect Ethernet Cookbook: Single and Multi Enclosure Domain (Stacked) Scenarios

Definitions. Hardware Full virtualization Para virtualization Hosted hypervisor Type I hypervisor. Native (bare metal) hypervisor Type II hypervisor

SharePoint 2013 Best Practices

Xen Virtualization: Xen (source) and XenServer

Nutanix Tech Note. VMware vsphere Networking on Nutanix

Hyper-V Networking. Aidan Finn

Windows Server 2012 R2 Hyper-V: Designing for the Real World

Capturing Network Traffic With Wireshark

New Data Center architecture

Configuring iscsi Multipath

Set Up a VM-Series Firewall on an ESXi Server

Remote PC Guide Series - Volume 1

Hypervisor Software and Virtual Machines. Professor Howard Burpee SMCC Computer Technology Dept.

CSE 501 Monday, September 09, 2013 Kevin Cleary

Trusteer Rapport Virtual Implementation Scenarios

VMware vsphere 5.1 Advanced Administration

The Future of Computing Cisco Unified Computing System. Markus Kunstmann Channels Systems Engineer

Running vtserver in a Virtual Machine Environment. Technical Note by AVTware

The safer, easier way to help you pass any IT exams. Exam : TS: Windows Server 2008 R2, Server Virtualization. Title : Version : Demo 1 / 7

Network Access Control in Virtual Environments. Technical Note

Virtualization Backup/Replication Solution Comparison:

Storage Sync for Hyper-V. Installation Guide for Microsoft Hyper-V

Data Center Manager (DCM)

Special Edition for Loadbalancer.org GmbH

Network Virtualization

Enabling Technologies for Distributed Computing

VMWARE VSPHERE 5.0 WITH ESXI AND VCENTER

In addition to their professional experience, students who attend this training should have technical knowledge in the following areas.

Expert Reference Series of White Papers. VMware vsphere Essentials

Networking for Caribbean Development

Restricted Document. Pulsant Technical Specification

Veeam Backup and Replication Architecture and Deployment. Nelson Simao Systems Engineer

9/26/2011. What is Virtualization? What are the different types of virtualization.

How To Create A Cloud Based System For Aaas (Networking)

Choices for implementing SMB 3 on non Windows Servers Dilip Naik HvNAS Pty Ltd Australians good at NAS protocols!

Exploring Layer 2 Network Security in Virtualized Environments. Ronny L. Bull & Jeanna N. Matthews

Configuring Network Load Balancing for vethernet

Implementing and Managing Windows Server 2008 Hyper-V

VMware vsphere 5.0 Boot Camp

VirtualclientTechnology 2011 July

Novell Cluster Services Implementation Guide for VMware

The safer, easier way to help you pass any IT exams. Exam : Installing and Configuring Windows Server 2012 R2.

Implementing Cisco Data Center Unified Computing (DCUCI)

Bosch Video Management System High Availability with Hyper-V

Our Cloud Backup Solution Provides Comprehensive Virtual Machine Data Protection Including Replication

Cloud Optimize Your IT

Linux KVM Virtual Traffic Monitoring

Data Centers and Cloud Computing

Leveraging Virtualization in Data Centers

ABB Technology Days Fall 2013 System 800xA Server and Client Virtualization. ABB Inc 3BSE en. October 29, 2013 Slide 1

SYNNEFO: A COMPLETE CLOUD PLATFORM OVER GOOGLE GANETI WITH OPENSTACK APIs VANGELIS KOUKIS, TECH LEAD, SYNNEFO

Transcription:

Wireshark vs. The Cloud : Capturing packets in virtual environments Jasper Bongertz Airbus Defence and Space CyberSecurity @packetjay

Topics General virtualization basics Virtual Switches (vswitch/dvswitch) Capture Scenarios Best practises See also my blog posts at: https://blog.packet-foo.com/category/vm/

Virtual Machines Two basic plattforms: Desktop virtualization: VirtualBox, VMware Workstation, Parallels Desktop, etc Enterprise virtualization: Hyper-V, VMware vsphere, XEN Server, KDE, etc. Here, we ll look at VMware vsphere as an example All others should behave more or less the same

VMs and virtualization hosts Virtualization host runs multiple Virtual Machines on a single NIC The host may use the NIC for its own data communication, too Potentially dozens of virtual servers showing up with their own virtual MAC address on the physical NIC

Internal communication There may also be internal only switches making things complicated Data on internal switches never leaves the virtualization host No physical pickup possible

NIC teaming NIC teaming means that a VM can use more than one physical adapter some virtualization hosts have dozens of NICs virtual machines are balanced over multiple NICs

Clustering virtualization hosts Groups of virtualization hosts are usually combined into a cluster provides automatic load balancing and "high" availability features

Capturing virtual servers In virtual/cloud environments virtual servers, applications, services may run everywhere multiple virtual servers on physical hosts may share a network card If you have access to the virtualization host you can SPAN/TAP its connections Challenges: Find and capture the correct NIC Isolate traffic for the virtual server/application Servers with 10GBit or even faster links Blade Centers

Migrating VMs Virtual Machines may move from host to host while running

Reasons for VMs changing hosts High Availability (sort of) Restart virtual machines on other hosts if there is a host crash Real High Availability Running an invisible hot standby VM on a secondary host that is kept in sync Fully automatic live VM moving Load Balancing virtual machines across virtualization hosts

Capture Strategies

Wireshark on the problem VM Install Wireshark on the virtual system of interest Advantages: Can capture, even on VMs with internal only NICs Sometimes your only option Disadvantage: Changes the environment Gets funny results (way too often) May crash the VM

Capturing the host uplink (1) Capture at virtualization host uplink (TAP/SPAN) Maybe your only option when you have no better access to thevirtual infrastructure Advantages: Easy to do in simple setups Usually gets good data Most familiar way to get data since its similar to physical captures

Capturing the host uplink (2) Disadvantages: May get you tons and tons of data to sort Server uplink may be too fast for your capture device or the SPAN port VM may be live-moved off the server, interupting the capture Worst case: you don t even know where to capture!

Virtual capture setups (1) VMware virtual switches come in two flavors: vswitch (always available) Distributed virtual switch/dvswitch (E+ license only) Virtual switch features helping with captures: "Promiscuous mode" on port groups SPAN sessions (dvswitch only)

Demo

Best Practises

Scenarios Problem with a single/a few VMs SPAN the problem VM traffic (if on dvswitch) isolate problem VM on a port group with a capture VM run dumpcap/tcpdump inside problem VM (only as last resort) Intermittent problems concerning multiple VMs e.g. trouble with a Citrix farm running virtualized on a cluster SPAN/Promiscuous mode is usually no option instead, capture physical uplinks

Virtual capture heads-up Promiscuous mode on vswitches puts packets on the NICs of all VMs on the same port group keep security in mind; all VMs see everything (like a hub) Storage of packets where? NAS, SAN, local storage? do NOT overload the NAS/SAN links with capture I/O Keep capture VM and problem VM on the same hosts or you'll not be able to capture the packets you want

Too much data Ways to handle too much data (a.k.a dropped frames ) on physical captures: use frame slicing if possible SPAN only as few affected ports or VLANs as possible use a filtering TAP Capture Filters on the Wireshark itself may help, too Use dumpcap on command line

Thanks. Questions? Blog: email: Twitter: https://blog.packet-foo.com jasper@packet-foo.com @packetjay