Lucene search
+L

Check VM / Sandbox (Python)

🗓️ 19 Aug 2026 05:37:22Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

KittySploit module exits early if common VM or sandbox indicators are detected.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from typing import Any, Dict

from kittysploit import *


class Module(Prestage):
    PRESTAGE_ID = "check_vm"

    __info__ = {
        "name": "Check VM / Sandbox (Python)",
        "description": "Exit early when common VM or sandbox indicators are detected",
        "author": "KittySploit Team",
        "version": "1.0.0",
        "platform": Platform.MULTI,
        "languages": ["python"],
        "dependencies": [],
        "tags": ["evasion", "prestage", "offline", "python"],
    }

    def generate_python(self, context: Dict[str, Any] = None) -> str:
        return """
import os
import sys

_vm_markers = (
    "vmware", "virtualbox", "vbox", "qemu", "xen", "hyper-v",
    "kvm", "parallels", "bochs", "innotek", "virtual",
)
_hit = False
try:
    import platform as _plat
    blob = " ".join(
        filter(None, [
            _plat.platform().lower(),
            _plat.machine().lower(),
            _plat.processor().lower(),
        ])
    )
    if any(m in blob for m in _vm_markers):
        _hit = True
except Exception:
    pass
if not _hit:
    for _path in ("/sys/class/dmi/id/product_name", "/sys/class/dmi/id/sys_vendor"):
        try:
            with open(_path, "r", encoding="utf-8", errors="ignore") as _f:
                _txt = _f.read().lower()
            if any(m in _txt for m in _vm_markers):
                _hit = True
                break
        except Exception:
            continue
if _hit:
    sys.exit(0)
""".strip()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Aug 2026 05:37Current
5.9Medium risk
Vulners AI Score5.9
0