Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: HeroCat on January 14, 2016, 10:04:09 AM



Title: Share Your Experience With Mining In VirtualBox
Post by: HeroCat on January 14, 2016, 10:04:09 AM
Please share your experience in BTC mining in VirtualBox   ;D


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: notlist3d on January 14, 2016, 05:54:26 PM
Please share your experience in BTC mining in VirtualBox   ;D

As in the the Virtualbox that you run an OS in?   I would guess not to great on mining as you would be passing through any usb miners you were using.   You would be better off just running what ever OS your emulating in it as a full os.

But it would not be my first suggested way to mine with it.  Have you had any luck with USB miners passing through it to the OS in virtualbox?


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: whizz94 on January 14, 2016, 06:01:04 PM
Please share your experience in BTC mining in VirtualBox   ;D
I don't do that, as any virtualisation technology gets in the way of direct gpu calls. 
I did run a stratum proxy within a single core x 75% virtualbox to collate shares from various gpu and cpu miners scattered about my LAN in 2013.

This year I use an Antminer ASIC, which has its own controller card and does not need to go through a stratum proxy.  The ASIC is better than the 2013 collection.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: mxnsch on January 14, 2016, 06:12:48 PM
Why would anyone do that? If you really have to, put it in a docker Container. I have dockerized multiple cgminer, bfgminer and stratum-proxy versions for testing.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: pjsonowal on January 14, 2016, 06:34:24 PM
Well i never did that mining on Vitualisation softwares and instead I would suggest not to go mining with virtualisation until or unless you have a computer or a lappie with high specs because virtualisation softwares like Virtual Box or VMWare takes up huge amt of processes and at the same time the current OS also works on some processes or services, so sometimes virtualisation software may stop up giving response and will crash. Well i used graphic card for mining purpose, so i always used to get a crash. : p


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: Amph on January 15, 2016, 07:42:33 AM
it make sense only with altcoin, i've used it for that because altcoin are full of virus some times, and i needed a way to be secure about infection

i remember i was running the client in the VMware(much better than virtual box) and connect my cgminer from the host to the virtual machine


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: mxnsch on January 16, 2016, 08:12:11 PM
If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: notlist3d on January 16, 2016, 08:50:19 PM
If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

It at least is a step twords it.  Is it true some have been able to jump to host... yes.   But it's better security then running directly on host if you think it is infected (and truth be told if you suspect it is infected I would use a machine you can blow away after).

Mining with drivers and passing through is not always greatest with virtualbox.   I still want to know what kind of mining OP means.  Mining cpu/gpu is a waste of time.  But if mining usb sticks he might look at a RPI.   I have become to love RPI for mining on stick miners at this point.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: KodesCrew on January 16, 2016, 11:26:53 PM
i tried once upon a time.
i dont remember the exact hash rates but the scheme was virtualized core2quad cpu on esxi on 4 vm with 1vcpu
before virtualizing with all cpus hash more than 4 vm


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: Amph on January 17, 2016, 07:49:19 AM
If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

it is, if you think otherwise you're being a bit dense here, VMware is a greater tool than virtualbox, you cna even encrypt your virtual machine

you need a pretty strong exploit to bypass the virutal machine, 90% of virus can not do that

If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

It at least is a step twords it.  Is it true some have been able to jump to host... yes.   But it's better security then running directly on host if you think it is infected (and truth be told if you suspect it is infected I would use a machine you can blow away after).

Mining with drivers and passing through is not always greatest with virtualbox.   I still want to know what kind of mining OP means.  Mining cpu/gpu is a waste of time.  But if mining usb sticks he might look at a RPI.   I have become to love RPI for mining on stick miners at this point.

can you point me the case where vmware was bypassed by a virus, i'm curious


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: mxnsch on January 17, 2016, 07:53:12 AM
If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

It at least is a step twords it.  Is it true some have been able to jump to host... yes.   But it's better security then running directly on host if you think it is infected (and truth be told if you suspect it is infected I would use a machine you can blow away after).
Just dont on any critical hardware. Use an old machine and boot from CD if need be, but still with great care. I have infected DNS servers, routers and whole networks through VMs during multiple Penetration Testing. The attack surface is just too big.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: mxnsch on January 17, 2016, 07:59:39 AM
If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

it is, if you think otherwise you're being a bit dense here, VMware is a greater tool than virtualbox, you cna even encrypt your virtual machine

you need a pretty strong exploit to bypass the virutal machine, 90% of virus can not do that

If you think running a virus in a vanilla virtual machine makes your host more secure, you are wrong.

It at least is a step twords it.  Is it true some have been able to jump to host... yes.   But it's better security then running directly on host if you think it is infected (and truth be told if you suspect it is infected I would use a machine you can blow away after).

Mining with drivers and passing through is not always greatest with virtualbox.   I still want to know what kind of mining OP means.  Mining cpu/gpu is a waste of time.  But if mining usb sticks he might look at a RPI.   I have become to love RPI for mining on stick miners at this point.

can you point me the case where vmware was bypassed by a virus, i'm curious
https://vimeo.com/6595148 (https://vimeo.com/6595148)

This is a video showing one specific vulnerability. There are dozens of them every year, in every CPU and hypervisor Implementation.

This was 2009.


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: Amph on January 17, 2016, 08:03:30 AM
https://vimeo.com/6595148 (https://vimeo.com/6595148)

This is a video showing one specific vulnerability. There are dozens of them every year, in every CPU and hypervisor Implementation.

This was 2009.
[/quote]

well that was old and was on xp, so it's make sense, but i'm want to see soemthing on a more recent OS which is also supported, on windows 10, for example i believe it would be much more difficulty, especially if combined with vmware 12


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: mxnsch on January 17, 2016, 08:57:38 AM
https://vimeo.com/6595148 (https://vimeo.com/6595148)

well that was old and was on xp, so it's make sense, but i'm want to see soemthing on a more recent OS which is also supported, on windows 10, for example i believe it would be much more difficulty, especially if combined with vmware 12
Did you actually read the vulnerability anouncements in the past years? The attack surface and attack techniques got bigger and better, especially with Intel releasing new CPUs every 6 months.

http://www.networkworld.com/article/2358488/microsoft-subnet/researchers-call-on-hackers-to-find-ways-of-exploiting-hyper-v-s-huge-attack.html (http://www.networkworld.com/article/2358488/microsoft-subnet/researchers-call-on-hackers-to-find-ways-of-exploiting-hyper-v-s-huge-attack.html)

No, i am not going to throw a recent 0day at you for Free  ;D


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: Amph on January 17, 2016, 12:36:28 PM
i don't want that soemone say me that it can be done, of course it's possible, i never said otherwise, no system is secure, minus vernam cipher but ok..

what i'm asking is if those are carried on a large scale, until now those attacks are very rare, because as you said they cost money, so they must be secure of the target

and i doubt the average hacker has access to them for free...


Title: Re: Share Your Experience With BTC Mining In VirtualBox
Post by: xerophyte on December 27, 2017, 10:35:57 PM
Wouldn't the advantage for something with a fast cpu would be being able to run multiple miners therefore increasing his return?