nsmfoo / antivmdetection

Script to create templates to use with VirtualBox to make vm detection harder
MIT License
703 stars 123 forks source link

Broken on Windows WSL Ubuntu 18.04? #63

Open dasboogles opened 3 years ago

dasboogles commented 3 years ago

Followed readme to a T, getting the following error:

--- Generate VirtualBox templates to help thwart VM detection and more .. - Mikael, @nsmfoo --- [*] Creating VirtualBox modifications .. Traceback (most recent call last): File "antivmdetect.py", line 44, in for v in dmidecode.get_by_type(0): File "/usr/local/lib/python3.6/dist-packages/dmidecode.py", line 122, in get_by_type data = parse() File "/usr/local/lib/python3.6/dist-packages/dmidecode.py", line 68, in parse _data = _parse(buffer) File "/usr/local/lib/python3.6/dist-packages/dmidecode.py", line 205, in _parse raise ParseError("Unable to parse 'dmidecode' output") dmidecode.ParseError: Unable to parse 'dmidecode' output

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "antivmdetect.py", line 52, in dmi_info['DmiBIOSReleaseDate'] = "string:" + v['Relase Date'] NameError: name 'v' is not defined

I've tried troubleshooting everything, but it just isn't working and I can't find a workaround. :(

Friend of mine ran this just fine on his Windows10 WSL, but I believe his installed dependencies are much older than mine (he did this over a year ago?).

TemeSejko commented 3 months ago

I have this exact same issue, did you ever find a solution? @dasboogles @nsmfoo

TemeSejko commented 3 months ago

Issues seems to be related to WSL, https://github.com/microsoft/WSL/issues/6874.

Any idea on how to fix this or alternatives? @nsmfoo