qemu-anti-detection icon indicating copy to clipboard operation
qemu-anti-detection copied to clipboard

look

Open qiufengyaya opened this issue 1 year ago • 6 comments

编译之后会屏蔽looking-glass的IVSHMEM Device驱动,可有办法解决吗,谢谢

qiufengyaya avatar Feb 01 '24 18:02 qiufengyaya

没用过这个软件,不清楚,但是vgpu肯定是不能用了,设备信息都带个v字,你直接大方承认自己是虚拟机就行了不用反检测。

zhaodice avatar Feb 02 '24 10:02 zhaodice

行,谢谢啦

qiufengyaya avatar Feb 02 '24 18:02 qiufengyaya

可能本问题和这个有关 https://github.com/zhaodice/qemu-anti-detection/issues/48

zhaodice avatar Feb 05 '24 05:02 zhaodice

I'm having this problem too, it's not vgpu software, IVSHMEM (https://www.qemu.org/docs/master/system/devices/ivshmem.html) is for shared memory and looking glass uses it to copy the VM's screen to host machine for viewing. (like remote desktop but very very fast)

Is there no way to use ivshmem?

Weroxig avatar Mar 19 '24 02:03 Weroxig

I'm having this problem too, it's not vgpu software, IVSHMEM (https://www.qemu.org/docs/master/system/devices/ivshmem.html) is for shared memory and looking glass uses it to copy the VM's screen to host machine for viewing. (like remote desktop but very very fast)

Is there no way to use ivshmem?

IVSHMEM is a special device from virtual machine that can be detectected so maybe I removed it?

zhaodice avatar Mar 19 '24 03:03 zhaodice

Something about this section causes ivshmem to stop working.:

diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index abdc1ef103..dafcefb503 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -72,9 +72,9 @@ extern bool pci_available;
 #define PCI_DEVICE_ID_INTEL_82801IR      0x2922
 
 /* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
-#define PCI_VENDOR_ID_REDHAT_QUMRANET    0x1af4
-#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4
-#define PCI_SUBDEVICE_ID_QEMU            0x1100
+#define PCI_VENDOR_ID_REDHAT_QUMRANET    0x8086
+#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x8086
+#define PCI_SUBDEVICE_ID_QEMU            0x8086
 
 /* legacy virtio-pci devices */
 #define PCI_DEVICE_ID_VIRTIO_NET         0x1000
@@ -95,7 +95,7 @@ extern bool pci_available;
  */
 #define PCI_DEVICE_ID_VIRTIO_10_BASE     0x1040
 
-#define PCI_VENDOR_ID_REDHAT             0x1b36
+#define PCI_VENDOR_ID_REDHAT             0x8086
 #define PCI_DEVICE_ID_REDHAT_BRIDGE      0x0001
 #define PCI_DEVICE_ID_REDHAT_SERIAL      0x0002
 #define PCI_DEVICE_ID_REDHAT_SERIAL2     0x0003

(LookingGlass's usage of ivshmem stops working, i'm not sure if ivshmem itself breaks)

Weroxig avatar Mar 23 '24 13:03 Weroxig