{"id":1644,"date":"2016-11-06T00:24:29","date_gmt":"2016-11-06T00:24:29","guid":{"rendered":"http:\/\/blog.paranoidprofessor.com\/?p=1644"},"modified":"2016-11-07T18:53:11","modified_gmt":"2016-11-07T18:53:11","slug":"safer-and-private-browsing-using-more-cpu-cycles","status":"publish","type":"post","link":"https:\/\/blog.paranoidprofessor.com\/index.php\/2016\/11\/06\/safer-and-private-browsing-using-more-cpu-cycles\/","title":{"rendered":"safe(r) and private browsing using more cpu cycles"},"content":{"rendered":"<blockquote>\n<h3>&#8220;You are never going to amount to a thing&#8221;<\/h3>\n<\/blockquote>\n<p>Whoever said that was apparently under-estimating just how valuable that companies in general and the internet in particular find you.<\/p>\n<p>The web companies want to know what you have been up to, <a href=\"http:\/\/blog.paranoidprofessor.com\/index.php\/2015\/11\/15\/i-am-not-paranoid\/\">I am NOT paranoid<\/a> while the bricks and mortar companies want to get a picture of your for their files in <a href=\"http:\/\/blog.paranoidprofessor.com\/index.php\/2016\/06\/30\/big-brother-is-watching-you-buy-underwear\/\">Big brother is watching (you buy underwear).<\/a><\/p>\n<p>It is pretty much impossible to not have a footprint that can be bought, sold or tracked by anyone who is really interested in you.\u00a0 The closest you could come to that would be to live in a tent or a shack in the backwoods while not owning any device with a microprocessor and only purchase things with cash.<\/p>\n<p>That would be hard and frankly rather a dull life.\u00a0 Yet, it is possible to make it harder for search engines and web sites to know consistently what things are interesting to you.<\/p>\n<p>It is possible to change your browser settings to remove all cookies after each close, or to do all of your browsing in a private or incognito window. \u00a0 The cookies provide plenty of information so deleting them is actually not a bad start but there are a few other methods that can be done as well.<\/p>\n<p>Deleting cookies and installing privacy tools is good, but what would be more secure than knowing that any virus or malware that you may have encountered since your last browsing session is removed.<\/p>\n<p>This service could be performed by any number of solutions, not limited to<\/p>\n<ul>\n<li>re-installing your operating system each day<\/li>\n<li>booting from a live boot dvd<\/li>\n<li>browsing from a virtual machine<\/li>\n<\/ul>\n<p>The first option is obviously ridiculous even if it were possible by the majority of people who surf on the internet.\u00a0 The second option is actually not a bad solution the only problem is that not only cookies and malware are gone on each boot but also every little configuration option starting with screen resolution and ending with your special \u00a0tools or browsers.<\/p>\n<h2>Browsing from a virtual machine<\/h2>\n<p>This is a pretty good option as new personal computers sold today have a lot of disk space and may also have a big processor with a oodles of ram as well.<\/p>\n<p>With a virtual machine it is possible to install your favorite Windows operating system or Linux distribution.\u00a0 Furthermore once the operating system has been installed it can be configured to have any and all unique programs or setup.<\/p>\n<p>Yet a virtual machine is not a magic.\u00a0 It would still be vulnerable to malware or viruses that would be there on the next boot and any cookies or other tracking agents would still be there as well.<\/p>\n<p>The magic comes in because it is possible to have a &#8220;reference&#8221; or &#8220;template&#8221; virtual machine that you setup to be perfectly aligned with your desires, but then you make a copy of it and use the copy each time you wish to browse the internet.<\/p>\n<p>This provides both a machine that is perfectly setup but because it is a temporary copy, it will be deleted (optimally for the) next start up.<\/p>\n<h2>VMWare Workstation<\/h2>\n<p>I hope to write up a similar guide for VirtualBox and perhaps VMPlayer in the near future but as I happen to have an older version of VMWare workstation my first discussion on this topic\u00a0will be using VMWare.<\/p>\n<p>VMWare workstation is a pretty nice program for virtualizing those old operating systems that cannot be retired because you\u00a0cannot afford the new version of the software. \u00a0It might be a useful solution if the printer drivers (as an example) are not available for the new OS.<\/p>\n<p>One day I might do a nice in depth review of what VMWare offers but today it is only important to know that VMWare can allow another operating system simultaneously on your PC.<\/p>\n<p>Up until now, I never really bothered with a virtualized machine for browsing because VMWare Workstation has all of its machines in a single tabbed pane. This makes it a bit inconvenient to switch between multiple virtual machines and your host operating system.\u00a0(more later about how to get around that limitation)<\/p>\n<h2>Creating a machine<\/h2>\n<p>I am not going to discuss each option for setting up a machine as my version of this software is a bit out of date (version 9 versus the current 12.5).\u00a0 If you have installed an operating system on a PC you will find VMWare to be reasonably similar.\u00a0 Simply boot up the new machine with your operating system (or ISO file) attached.<\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1649\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step1-300x272.png\" alt=\"create-vm-step1\" width=\"300\" height=\"272\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step1-300x272.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step1.png 442w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1650\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step2-300x272.png\" alt=\"create-vm-step2\" width=\"300\" height=\"272\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step2-300x272.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step2.png 442w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1651\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step3-300x272.png\" alt=\"create-vm-step3\" width=\"300\" height=\"272\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step3-300x272.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step3.png 442w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <\/a><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1652\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step4-300x272.png\" alt=\"create-vm-step4\" width=\"300\" height=\"272\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step4-300x272.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step4.png 442w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1653\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step5-300x272.png\" alt=\"create-vm-step5\" width=\"300\" height=\"272\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step5-300x272.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step5.png 442w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <\/a><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1654\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step6-300x271.png\" alt=\"create-vm-step6\" width=\"300\" height=\"271\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step6-300x271.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step6-768x695.png 768w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/create-vm-step6.png 819w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I have called my new virtual machine linux18-32b-template, and have installed Linux Mint 18 32bit version.\u00a0 I personally like Linux but this same technique will work for windows installations as well.<\/p>\n<p>The only other manual step that needs to be performed is to select clone from the VMWare application to create our first copy or clone of our template machine.\u00a0 (VM -&gt; Manage -&gt; Clone)<\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1646\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step1-300x262.png\" alt=\"clone-vm-step1\" width=\"300\" height=\"262\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step1-300x262.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step1.png 451w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\u00a0<a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1647\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step2-300x262.png\" alt=\"clone-vm-step2\" width=\"300\" height=\"262\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step2-300x262.png 300w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step2.png 451w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The first two steps are just verifying that we want a full copy of the current state of our virtual machine.\u00a0 Step three actually doesn&#8217;t do more than give our new clone a name as well as to decide where it will be located<\/p>\n<p>Note: It is important that you use a different directory for the clone.<\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1648 size-full aligncenter\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step3.png\" alt=\"clone-vm-step3\" width=\"451\" height=\"394\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step3.png 451w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/clone-vm-step3-300x262.png 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><br \/>\nI could have, and perhaps, should have used a new name or better name for my virtual machine in case I ever choose to run it from the VMWare application.<\/p>\n<p>By using the clone function, VMWare will do all of the hard work to make sure that the virtual machine is consistently named and all of those tiny little parameters or directory settings are properly changed.<\/p>\n<p><a href=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/vmware-machine-file-listing.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1678 size-full\" src=\"http:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/vmware-machine-file-listing.png\" alt=\"vmware-machine-file-listing\" width=\"669\" height=\"503\" srcset=\"https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/vmware-machine-file-listing.png 669w, https:\/\/blog.paranoidprofessor.com\/wp-content\/uploads\/2016\/11\/vmware-machine-file-listing-300x226.png 300w\" sizes=\"(max-width: 669px) 100vw, 669px\" \/><\/a><\/p>\n<p>The last step is actually the easiest.\u00a0 Simply create a small batch file to copy the disk drive images from the template machine to the clone machine.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n@echo off\r\ncd \/d c:\\myVirtualMachines\r\nset DST=linuxmint18-32b-clone\r\nset SRC=linuxmint18-32b-template\r\n\r\necho copying files\r\n\r\ncopy %SRC%\\linuxmint18-32b-template-s001.vmdk %DST%\\linuxmint18-32b-template-cl1-s001.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s002.vmdk %DST%\\linuxmint18-32b-template-cl1-s002.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s003.vmdk %DST%\\linuxmint18-32b-template-cl1-s003.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s004.vmdk %DST%\\linuxmint18-32b-template-cl1-s004.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s005.vmdk %DST%\\linuxmint18-32b-template-cl1-s005.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s006.vmdk %DST%\\linuxmint18-32b-template-cl1-s006.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s007.vmdk %DST%\\linuxmint18-32b-template-cl1-s007.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s008.vmdk %DST%\\linuxmint18-32b-template-cl1-s008.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s009.vmdk %DST%\\linuxmint18-32b-template-cl1-s009.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s010.vmdk %DST%\\linuxmint18-32b-template-cl1-s010.vmdk\r\ncopy %SRC%\\linuxmint18-32b-template-s011.vmdk %DST%\\linuxmint18-32b-template-cl1-s011.vmdk\r\n\r\n&quot;\\Program Files (x86)\\VMware\\VMware Workstation\\vmware.exe&quot; -x -n -q %DST%\\linuxmint18-32b-template.vmx\r\n<\/pre>\n<p>The number of disk image files and the names of the images may vary.\u00a0 You may actually only have a single large file if you choose to create your disk image at a single file when creating your virtual machine.<\/p>\n<p>Also, with some very careful machine creation it might have been able to have the same names for my disk images in both my template and my cloned virtual machines.<\/p>\n<blockquote><p><strong>** warning **<\/strong><\/p><\/blockquote>\n<p>Not every file that contains a <em>vmdk<\/em> extension seems to be part of the disk images. In my case there was one additional file that appeared to be part of the disk drives.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlinuxmint18-32b-template.vmdk\r\n<\/pre>\n<p>This file actually is a configuration file for the disk images describing their size as well as well as the disk names.\u00a0 If you accidentally copy this file as well, then you will be telling VMWare the names of the original disk files (ie linuxmint18-32b-template-s001.vmdk ) but in the location of the cloned machine (ie linuxmint18-32b-template-cl1-s001.vmdk).<\/p>\n<p>So this makes it impossible to simply copy all files with the extension of vmdk from the reference directory to the cloned directory.<\/p>\n<p>The last line of my batch file simply tells VMWare Workstation to start up and to run the machine pointed to by the configuration file.<\/p>\n<pre>\"\\Program Files (x86)\\VMware\\VMware Workstation\\vmware.exe\" -x -n -q %DST%\\linuxmint18-32b-template.vmx\r\n<\/pre>\n<p>The three parameters that VMWare will accept are so interesting that they should receive their own special description.<\/p>\n<table class=\"w3-table-all\">\n<tbody>\n<tr>\n<th>Parameter value<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>-x<\/td>\n<td>Run the machine named<\/td>\n<\/tr>\n<tr>\n<td>-n<\/td>\n<td>Open up machine in new window<\/td>\n<\/tr>\n<tr>\n<td>-q<\/td>\n<td>Quit application when machine is shutdown<\/td>\n<\/tr>\n<tr>\n<td>-X<\/td>\n<td>Run the machine named but full screen.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now that this batch file has been created, it is possible to put a shortcut for this file on the desktop. \u00a0This way it will really convenient to start our browsing virtual machine. \u00a0Simply double click on this batch file to start up a separate window running the virtual machine. \u00a0Obviously you should try and run this batch file if already have this machine running.<\/p>\n<h2>The downside<\/h2>\n<p>The downside is not too terribly great but should be mentioned for full disclosure. \u00a0It is important that periodically you run the template VM image and install any security updates. \u00a0This might be operating system, application patches or even virus software updates.<\/p>\n<p>Periodically, you might want to set up some more defaults for your browsing convenience. This might be some standard web pages that you visit often or even new browser plugins. \u00a0This is not difficult but somewhat inconvenient to have to setup permanent configuration in a separate virtual machine.<\/p>\n<p>These two situations are not difficult but may prove one reason for anyone not paranoid about his\/her security to decide against implementing this more secure browsing solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;You are never going to amount to a thing&#8221; Whoever said that was apparently under-estimating just how valuable that companies in general and the internet in particular find you. The web companies want to know what you have been up &hellip; <a href=\"https:\/\/blog.paranoidprofessor.com\/index.php\/2016\/11\/06\/safer-and-private-browsing-using-more-cpu-cycles\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[73,61,85],"_links":{"self":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/1644"}],"collection":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/comments?post=1644"}],"version-history":[{"count":9,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/1644\/revisions"}],"predecessor-version":[{"id":1680,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/1644\/revisions\/1680"}],"wp:attachment":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/media?parent=1644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/categories?post=1644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/tags?post=1644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}