Right click on ubuntu, select setting, navigate to networking, select NAT you're done.
Now just connect your desktop to Internet and it will be automatically connected.
If you are using Virtual Box 3.2.4 and above, just start your virtual ubuntu and connect usb drive to a usb port, it will get detected automatically in ubuntu.