hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
483 stars 120 forks source link

Can I set the disk size? #116

Closed chrisdoman closed 6 years ago

chrisdoman commented 7 years ago

Im using the option to set the ram size but can't see an option to set the disk size. The issue is when running a large number of cuckoo machines in parallel, some (likely when running ransomware) fill up the whole disk and cuckoo crashes out

razuz commented 7 years ago

isn't this related to cuckoo storage not vm disk ? Or probably you shouldn't fill up that much of files in vm ...

chrisdoman commented 7 years ago

Hehe well I could politely ask the malware to not encrypt all the files on the disk and write large junk files :)

The issue is the VMs are growing in size. I can fix this with a hack, just might be worth something to consider in vmcloak itself

razuz commented 7 years ago

yeah well sure :) let me see if I can make this option available for you in couple days as this feature could be used for other cases aswell

razuz commented 7 years ago

@chrisdoman I'm guessing PR #117 is what you're looking for ... new key --hddsize during vm init

chrisdoman commented 7 years ago

Sweet - thanks :D

jbremer commented 6 years ago

The PR mentioned above has now been merged (sorry for the delay).

pdodia commented 3 years ago

@chrisdoman I'm guessing PR #117 is what you're looking for ... new key --hddsize during vm init

Is the default unit MB/ GB for the hard disk key in this command?