-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 2016-05-22 11:52,
boromi...@sigaint.org wrote:
>
> I tooled around in 3.1 and got the basic understanding that you
> arent running OS VMs like vmware but instead app VM's, but im not
> familiar with how these work in respect to isolation.
>
> If i am running two app vms under the same template and one app
> gets infected, does everything in that template get infected?
>
No, each AppVM has only read-only access to its TemplateVM. A
compromised TemplateVM can compromise all AppVMs based on it, but not
vice versa. Furthermore, two AppVMs do not pose any risk to each other
merely in virtue of sharing the same TemplateVM.
More information:
https://www.qubes-os.org/doc/software-update-vm/#tocAnchor-1-1-3
> I am running a disposable app vm and i assume its infected, is it
> possible to retrieve files from it without cross contamination?
> Where are the instructions on how to do this?
>
It's not really possible to answer that question in the abstract. It
always depends on the situation, and in general it is difficult to do
and almost always impossible to verify.
One case Qubes currently supports its the trusted PDF converter. This
is a reasonably secure way to produce a trusted PDF from one which is
untrusted.
> Is there a way to set my printer to be preconfigured when spawning
> vm's so i dont have to configure it everytime?
>
Yes. In general, you should be able to configure it in the TemplateVM,
then have it work in any AppVM based on this template. However, the
new AppVMs may have to be created after the configuration in the
TemplateVM is completed, depending on where files are stored, since
changes to certain directories in the TemplateVM do not propagate to
AppVMs which already exist.
You can read more about this here:
https://www.qubes-os.org/doc/templates/#tocAnchor-1-1-3
> How do i install a program so that it is availble to other
> templates?
>
You cannot do this by design. If you want a program to be available in
two templates, you must install it in both templates.
The reason for this is that if it were possible for an installed
program to be available to other templates, then a single malicious
program could potentially compromise every template in a Qubes
installation, and therefore every TemplateBasedVM in the system, which
would almost entirely defeat the point of Qubes (security by
compartmentalization).
> In respect to network functions, i see that there is the whonix gw,
> and the sys-gw, and it appears i can spawn other gw's, assuming
> these are all running Tor how do i prevent Tor->Tor-Tor etc... from
> happening? How do i determine which vm is using which gw?
>
Did you mean "sys-net" instead of "sys-gw"? There should be no
"sys-gw" by default.
Unless you configure things in a special way, generally only ProxyVMs
based on whonix-gw will route traffic through Tor. If you choose to
create one by default, it will be called "sys-whonix". sys-net will
generally be a clearnet (non-Tor) connection to your local network,
and sys-firewall will generally be a ProxyVM for enforcing firewall
rules. The typical network topology looks something like this:
personal -------------------
\
work ------------------------> sys-firewall ---> sys-net
/
anon-web ---> sys-whonix ---
In this sort of setup, there will be no Tor-over-Tor traffic.
You can see what a VM's NetVM is by right-clicking it in Qubes
Manager, clicking "VM settings," and reading the "NetVM" box.
> Id like qubes to be universally torified but then there may be
> times where i need to spawn a clearnet vm alongside a torified vm,
> how do i configure this?
>
As mentioned above, you can set the NetVMs of any desired VMs to
"sys-whonix" (or another ProxyVM based on whonix-gw) in order to
Torify all traffic from those VMs.
In order to cause a VM's traffic to use your clearnet connection, set
its NetVM to "sys-firewall" (again, assuming the default setup).
For update checks, you may wish to disable automatic template checks
for any templates with child AppVMs using clearnet connections. (Those
update checks are done by the child AppVMs, so if you don't want those
update checks go out in the clear, disable them.) For dom0 updates,
you can create or select a ProxyVM which uses sys-whonix as its NetVM,
then go into the global settings in Qubes Manager and select that as
the UpdateVM.
- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJXQoG8AAoJENtN07w5UDAwzNgP/26yTwDnNCpLX8vwhmchowpM
s8bAckJsxhFg9Sr0qm/wTA1M6I9TyTOrCLEHHULk+pnc+uZKRdrfwR9VJnzZIstb
9kQvA9JGNXCBunmQInToZc7nyIAAJsD9/pPkcxA6oNtml3SGfsZNQwTZFTHhzu8H
cSKhM7SYaU+qdJLHCr+ByViwGASj4wYanb3F5PsHsFHihMjVLkqytvfpbQPs/SCE
LcG4Oe79aYDWkDEUSecyXgaeG9pDQ/8FHrmg/8JpkZLNgBzRwlZ8U14dMzetmw6n
WwlQyrCHGAeslw+xs7epEuhK0DxbPpaWDIIk5U3iiu6rTGgaE2tjSvdsBoS74pdh
JA+QLguk5BDG7ngBURn4vLCUQZkRh3/OUpmcCxTZmzuItRo/Bsml11j4Jd+2b73K
NRlx5GUiXv3TBOqrrFMMUL22w1f6nz2bh5sUTCkey1kM0h9WjBKsgYvrOSE7sZsx
N9SD/FamH6KaagH+LQgmbQgjqTB58cwEFTwUwdCrUykBk/cv1Cqg0XFHWQMbIPvP
UzBHAGni6Ky9h3U1UdzJyAyadyP5P+R3hnxAHlna8nWrJglZYIQP3LqW8esrPtbr
JUa9wfBqFTr2iMrdJ7HpbC6Wxg5rOm3W89a5sR8SMvvanUiHRlwD5Oe/qPFQ2xzW
Gon1PQfoVEwaWg1srEGB
=ww6E
-----END PGP SIGNATURE-----