if (cpuid(1).ECX & (1 << 31)) ~= 0 then print("You are inside a known virtual machine. There should be an option to turn it of somewhere") else print("'IF' you are inside a VM, it's hiding itself from you") end
copy success
1
2
3
4
5
6
2
3
4
5
6
bcdedit /set hypervisorlaunchtype off
copy success
1
local r=cpuid(0) local s1=byteTableToString(dwordToByteTable(r.EBX)) local s2=byteTableToString(dwordToByteTable(r.EDX)) local s3=byteTableToString(dwordToByteTable(r.ECX)) print(s1..s2..s3) if (r.EBX~=0x756e6547) or (r.EDX~=0x49656e69) or (r.ECX~=0x6c65746e) then print("This is NOT an Intel CPU") else print("This is an Intel CPU") local r=cpuid(0x80000002) local s1=byteTableToString(dwordToByteTable(r.EAX)) local s2=byteTableToString(dwordToByteTable(r.EBX)) local s3=byteTableToString(dwordToByteTable(r.ECX)) local s4=byteTableToString(dwordToByteTable(r.EDX)) r=cpuid(0x80000003) local s5=byteTableToString(dwordToByteTable(r.EAX)) local s6=byteTableToString(dwordToByteTable(r.EBX)) local s7=byteTableToString(dwordToByteTable(r.ECX)) local s8=byteTableToString(dwordToByteTable(r.EDX)) r=cpuid(0x80000004) local s9=byteTableToString(dwordToByteTable(r.EAX)) local s10=byteTableToString(dwordToByteTable(r.EBX)) local s11=byteTableToString(dwordToByteTable(r.ECX)) local s12=byteTableToString(dwordToByteTable(r.EDX)) print(s1..s2..s3..s4..s5..s6..s7..s8..s9..s10..s11..s12); local r=cpuid(1) print(string.format("cpuid(1):\nEAX=%.8x\nEBX=%.8x\nECX=%.8x\nEDX=%.8x",r.EAX, r.EBX, r.ECX,r.EDX)) if (r.ECX and (1 << 5))~=0 then print("Your system supports DBVM") else print("Your CPU does not support DBVM") end end
copy success
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41