notParsec / 문서전체 문서

데이터·검증 자료

evidence/windows-vm-lab-validation.json

design/evidence/windows-vm-lab-validation.json

출처: 현재 작업 폴더 · 원문 다운로드

{
  "checkedAt": "2026-10-03T09:00:51.462354+00:00",
  "scope": "Windows 11 26300.9457 installed with Secure Boot/TPM; real service lifecycle, diagnostic failures and unsigned VDD package checks recorded. No VDD runtime or Privacy success claim.",
  "adminActionsExecuted": true,
  "vmCreated": true,
  "windowsInstalled": true,
  "vddInstalled": false,
  "privacyRuntimeTested": false,
  "plannedGuest": {
    "cpu": 2,
    "memoryMiB": 4096,
    "diskGiB": 80,
    "dedicatedStorageGiB": 128,
    "firmware": "Microsoft-enrolled OVMF; Confirm-SecureBootUEFI returned true in installed guest",
    "tpm": "swtpm 2.0",
    "network": "QEMU user NAT; VNC loopback only; QMP Unix socket",
    "physicalGpuPassthrough": false
  },
  "iso": {
    "source": "https://www.microsoft.com/en-us/evalcenter/download-windows-11-enterprise",
    "officialLink": "https://go.microsoft.com/fwlink/?LinkId=2382804&clcid=0x409&country=us&culture=en-us",
    "headStatus": 200,
    "reportedBytes": 8225404928,
    "filename": "26300.9457.260913-1737.26h2_ge_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_ko-kr.iso",
    "downloaded": true,
    "sha256Verified": true,
    "expectedSha256": "b7ec51f0d332ac2aa4f7faeffbefac961ce6eb7204b5876b48fa8d9f1cf0a9a6",
    "hashSource": "https://support.microsoft.com/en-us/servicing/os/windows/docs/2026/09/verify-the-authenticity-of-a-windows-11-enterprise-evaluation-iso-file",
    "status": "verified",
    "verification": {
      "checkedAt": "2026-10-03T07:38:02.639593+00:00",
      "path": "/var/lib/notparsec-vm/windows-enterprise-eval.iso",
      "url": "https://software-static.download.prss.microsoft.com/dbazure/26300.9457.260913-1737.26h2_ge_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_ko-kr.iso",
      "sha256": "b7ec51f0d332ac2aa4f7faeffbefac961ce6eb7204b5876b48fa8d9f1cf0a9a6",
      "bytes": 8225404928,
      "officialHashMatched": true
    }
  },
  "blockers": [],
  "checks": [
    {
      "name": "Windows guest collector PowerShell syntax",
      "result": "passed",
      "runtimeExecuted": false
    },
    {
      "name": "VM storage and lifecycle preservation unit tests",
      "command": "python3 -m unittest discover -s scripts/vm -p 'test_*.py' -v",
      "result": "passed",
      "tests": 30,
      "hostMutationsMocked": true,
      "guestRuntimeExecuted": false
    },
    {
      "name": "Python syntax",
      "command": "python3 -m py_compile scripts/vm/prepare_host.py scripts/vm/windows_vm.py",
      "result": "passed"
    },
    {
      "name": "Patch whitespace",
      "command": "git diff --check",
      "result": "passed"
    },
    {
      "name": "Generated feature comparison and ledger checks",
      "command": "python3 -m unittest discover -s design -p 'test_feature_comparison.py' -v",
      "result": "passed",
      "tests": 6
    },
    {
      "name": "Development status and evidence checks",
      "command": "node --test design/development-progress.test.cjs",
      "result": "passed",
      "tests": 6
    },
    {
      "name": "Installation media blank-disk and private credential guards",
      "result": "passed",
      "tests": 9,
      "guestRuntimeExecuted": false
    },
    {
      "name": "Guest service fixture and first-login PowerShell syntax",
      "result": "passed",
      "runtimeExecuted": false
    },
    {
      "name": "TPM state preservation and AppArmor-compatible path tests",
      "result": "passed",
      "additionalTests": 3,
      "totalVmPythonTests": 42
    },
    {
      "name": "Control server readiness during VM installation",
      "command": "curl --fail --max-time 10 http://127.0.0.1:18080/health/ready",
      "result": "passed",
      "exitCode": 0,
      "hostAvailableMemoryMiB": 6015
    },
    {
      "name": "VDD payload reproducibility",
      "result": "passed",
      "tests": 6,
      "actualInputFilesCompared": 14,
      "allOriginalInputHashesMatch": true
    },
    {
      "name": "Console readiness with Windows guest running",
      "command": "curl --fail --max-time 10 http://127.0.0.1:18080/health/ready",
      "httpStatus": 200,
      "result": "passed"
    },
    {
      "name": "VDD management policy regression",
      "command": "target/pwsh/pwsh -NoProfile -File scripts/vdd/test-management.ps1",
      "tests": 26,
      "result": "passed",
      "windowsApisMocked": true
    },
    {
      "name": "Final installed Windows guest collector",
      "result": "passed",
      "displayInspectionExitCode": 0,
      "videoProbeExitCode": 1,
      "videoProbeSuccess": false,
      "utf8ErrorTextPreserved": true,
      "outputCaptureErrors": []
    },
    {
      "name": "Host readiness after normal VM shutdown",
      "result": "passed",
      "httpStatus": 200,
      "availableMemoryMiB": 9858
    }
  ],
  "limitations": [
    "Basic virtual VGA does not establish hardware encode/decode or physical monitor power behavior.",
    "Signed release VDD package and service Privacy independent recovery remain incomplete.",
    "No production app build or publication was made for VM tooling."
  ],
  "hostInspectionBeforePreparation": {
    "mode": "check",
    "user": {
      "name": "ahn",
      "uid": 1000,
      "gid": 1000,
      "home": "/home/ahn"
    },
    "host": {
      "os": {
        "id": "ubuntu",
        "version": "24.04"
      },
      "architecture": "x86_64",
      "cpu_count": 4,
      "virtualization_flag": true,
      "memory_total_bytes": 16539783168,
      "memory_available_bytes": 10555158528,
      "root_free_bytes": 5691817984,
      "kvm": {
        "character_device": true,
        "gid": 994,
        "current_process_access": false,
        "user_groups": [
          1000,
          4,
          24,
          27,
          30,
          46,
          101
        ]
      },
      "tools": {
        "qemu-system-x86_64": null,
        "qemu-img": null,
        "swtpm": null,
        "swtpm_setup": null,
        "xorriso": null,
        "setfacl": null
      },
      "firmware": {
        "/usr/share/OVMF/OVMF_CODE_4M.ms.fd": false,
        "/usr/share/OVMF/OVMF_VARS_4M.ms.fd": false
      }
    },
    "storage_request": {
      "device": "/dev/ubuntu-vg/notparsec-vm",
      "bytes": 137438953472,
      "vg_margin_bytes": 8589934592,
      "mountpoint": "/var/lib/notparsec-vm"
    },
    "volume_group": {
      "inspection_error": "vgs --reportformat json --units b --nosuffix -o vg_name,vg_size,vg_free ubuntu-vg failed (5): WARNING: Running as a non-root user. Functionality may be unavailable.\n  /dev/mapper/control: open failed: Permission denied\n  Failure to communicate with kernel device-mapper driver.\n  Incompatible libdevmapper 1.02.185 (2022-05-18) and kernel driver (unknown version).\n  /run/lock/lvm/V_ubuntu-vg:aux: open failed: Permission denied\n  Can't get lock for ubuntu-vg.\n  Cannot process volume group ubuntu-vg"
    },
    "logical_volume": {
      "inspection_error": "lvs --reportformat json --units b --nosuffix -o vg_name,lv_name,lv_uuid,lv_size,lv_attr,lv_tags ubuntu-vg failed (5): WARNING: Running as a non-root user. Functionality may be unavailable.\n  /dev/mapper/control: open failed: Permission denied\n  Failure to communicate with kernel device-mapper driver.\n  Incompatible libdevmapper 1.02.185 (2022-05-18) and kernel driver (unknown version).\n  /run/lock/lvm/V_ubuntu-vg:aux: open failed: Permission denied\n  Can't get lock for ubuntu-vg.\n  Cannot process volume group ubuntu-vg"
    },
    "mount": null
  },
  "hostInspection": {
    "mode": "check",
    "user": {
      "name": "ahn",
      "uid": 1000,
      "gid": 1000,
      "home": "/home/ahn"
    },
    "host": {
      "os": {
        "id": "ubuntu",
        "version": "24.04"
      },
      "architecture": "x86_64",
      "cpu_count": 4,
      "virtualization_flag": true,
      "memory_total_bytes": 16539783168,
      "memory_available_bytes": 10496720896,
      "root_free_bytes": 5522243584,
      "kvm": {
        "character_device": true,
        "gid": 994,
        "current_process_access": true,
        "user_groups": [
          1000,
          4,
          24,
          27,
          30,
          46,
          994,
          101
        ]
      },
      "tools": {
        "qemu-system-x86_64": "/usr/bin/qemu-system-x86_64",
        "qemu-img": "/usr/bin/qemu-img",
        "swtpm": "/usr/bin/swtpm",
        "swtpm_setup": "/usr/bin/swtpm_setup",
        "xorriso": "/usr/bin/xorriso",
        "setfacl": "/usr/bin/setfacl"
      },
      "firmware": {
        "/usr/share/OVMF/OVMF_CODE_4M.ms.fd": true,
        "/usr/share/OVMF/OVMF_VARS_4M.ms.fd": true
      }
    },
    "storage_request": {
      "device": "/dev/ubuntu-vg/notparsec-vm",
      "bytes": 137438953472,
      "vg_margin_bytes": 8589934592,
      "mountpoint": "/var/lib/notparsec-vm"
    },
    "volume_group": {
      "inspection_error": "vgs --reportformat json --units b --nosuffix -o vg_name,vg_size,vg_free ubuntu-vg failed (5): WARNING: Running as a non-root user. Functionality may be unavailable.\n  /dev/mapper/control: open failed: Permission denied\n  Failure to communicate with kernel device-mapper driver.\n  Incompatible libdevmapper 1.02.185 (2022-05-18) and kernel driver (unknown version).\n  /run/lock/lvm/V_ubuntu-vg:aux: open failed: Permission denied\n  Can't get lock for ubuntu-vg.\n  Cannot process volume group ubuntu-vg"
    },
    "logical_volume": {
      "inspection_error": "lvs --reportformat json --units b --nosuffix -o vg_name,lv_name,lv_uuid,lv_size,lv_attr,lv_tags ubuntu-vg failed (5): WARNING: Running as a non-root user. Functionality may be unavailable.\n  /dev/mapper/control: open failed: Permission denied\n  Failure to communicate with kernel device-mapper driver.\n  Incompatible libdevmapper 1.02.185 (2022-05-18) and kernel driver (unknown version).\n  /run/lock/lvm/V_ubuntu-vg:aux: open failed: Permission denied\n  Can't get lock for ubuntu-vg.\n  Cannot process volume group ubuntu-vg"
    },
    "mount": {
      "target": "/var/lib/notparsec-vm",
      "source": "/dev/mapper/ubuntu--vg-notparsec--vm",
      "fstype": "ext4",
      "uuid": "2131924f-4bfc-4fbd-87e3-2974596e7451",
      "options": "rw,nosuid,nodev,relatime"
    }
  },
  "storage": {
    "schema": 1,
    "device": "/dev/ubuntu-vg/notparsec-vm",
    "lv_uuid": "2Ee1tV-Yion-ef2h-BnPU-cWpm-JsZn-6BqMeL",
    "filesystem_uuid": "2131924f-4bfc-4fbd-87e3-2974596e7451",
    "mountpoint": "/var/lib/notparsec-vm",
    "size_bytes": 137438953472,
    "user": "ahn",
    "uid": 1000,
    "gid": 1000,
    "created_at": "2026-10-03T07:20:37.075257+00:00"
  },
  "administratorPreparation": "User ran prepare_host.py --prepare --user ahn in their Ubuntu terminal; prepared:true observed and mount/KVM independently checked",
  "vmConfiguration": {
    "schema": 1,
    "iso": "/var/lib/notparsec-vm/windows-enterprise-eval.iso",
    "cpus": 2,
    "memory_mib": 4096,
    "disk_gib": 80,
    "firmware_code_sha256": "1dbb7f9b7e7285b950929bbbc1494c186bfb061cde60cf531ff9756ef87dab7a",
    "firmware_vars_template_sha256": "ece331afc5daf97ebb45099f3414a0894e45e3508a672c1aa0452406119bbdaf",
    "firmware_source": {
      "code": "/usr/share/OVMF/OVMF_CODE_4M.secboot.fd",
      "vars": "/usr/share/OVMF/OVMF_VARS_4M.ms.fd"
    },
    "secure_boot": "requested; verify Confirm-SecureBootUEFI in Windows",
    "tpm": "2.0",
    "gpu": "emulated standard VGA; no host GPU passthrough",
    "tpm_state_directory": "/home/ahn/.local/share/notparsec-vm/f0cb64256fedef67/tpm",
    "tpm_socket": "/home/ahn/.local/share/notparsec-vm/f0cb64256fedef67/tpm/control.sock"
  },
  "guestApp": {
    "version": "0.1.0",
    "build": 1790967426,
    "commit": "b0634ffcd5f98e332b885e2e4fdedd94028f0b29",
    "sha256": "95f82c9914f5c2731c8705da9d99331ab08354f397e9ad89984d8668e8174dfd",
    "bytes": 23010304
  },
  "installationMedia": {
    "answer_iso": "/var/lib/notparsec-vm/install-media-dfda4bb02871/answer.iso",
    "credentials_file": "/var/lib/notparsec-vm/install-media-dfda4bb02871/credentials.json",
    "iso_sha256": "b7ec51f0d332ac2aa4f7faeffbefac961ce6eb7204b5876b48fa8d9f1cf0a9a6",
    "wim_sha256": "9edfa3b37a3035c7b521b4f6d6b98647a190066870062b5f14c918553be11789",
    "image": {
      "index": "1",
      "name": "Windows 11 Enterprise Evaluation",
      "architecture": "9",
      "edition": "EnterpriseEval",
      "installation_type": "Client",
      "language": "ko-KR",
      "major": "10",
      "build": "26300"
    },
    "disk": "/var/lib/notparsec-vm/system.qcow2",
    "disk_verified_blank": true,
    "guest_started": false,
    "payload_sha256": {
      "Run-Diagnostics.ps1": "5a1646f193bea4a3435c0b03d2a69d5a88eea76d3e91e94b56539fb0d0fd2824",
      "Test-HostingService.ps1": "b4c9a1f4457369417c6944eaa23e9f62a553ee50add90721fd6e17de7068e67e",
      "app-build.json": "883d879a974635148518bd990bab481aa2f5d74147b4860640da2867ec197eba",
      "collect_guest.ps1": "a02e616ca51c1dada774f595200c2b2d90708f70b3e7db680a5864b22b64c83b",
      "manage-vdd.ps1": "b26fee02263337b559a6de973095fbda37ac6454f797a6a6583b50dba78957ff",
      "notparsec.exe": "95f82c9914f5c2731c8705da9d99331ab08354f397e9ad89984d8668e8174dfd",
      "vdd-development/notparsec-vdd.dll": "e7ce2e2089e662e2eb489b2693568fa51865b2786a9b5a26ae1d5cb16655553d",
      "vdd-development/notparsec-vdd.inf": "a93d19bbb65c566599e239f05f6122f79ca4eee6113ebd43fd875b2bb8f76d52"
    },
    "first_logon_script": "Run-Diagnostics.ps1",
    "auto_logon_once_requested": true,
    "note": "Private installation ISO only for this new VM; detach after installation. Verify guest outcomes separately.",
    "answerMediaDetached": true,
    "secretsIncludedInGit": false,
    "firstLogonCleanup": {
      "autoAdminLogonDisabled": true,
      "autoLogonCountZeroOrAbsent": true,
      "defaultPasswordAbsent": true
    }
  },
  "startupObservations": [
    {
      "attempt": 1,
      "result": "TPM emulator did not start; QEMU was not launched",
      "confirmedCause": "Ubuntu swtpm AppArmor profile denied mknod at /var/lib/notparsec-vm/tpm.sock",
      "kernelEvidence": "2026-10-03T07:43:25Z apparmor DENIED operation=mknod profile=swtpm fsuid=1000",
      "action": "Use the existing owner HOME allow rule for private TPM state and socket; AppArmor policy is unchanged"
    },
    {
      "attempt": 2,
      "result": "QEMU/KVM running; Windows installation screen observed at 7%, 11%, 22%",
      "apparmorChanged": false,
      "tpmStateLocation": "/home/ahn/.local/share/notparsec-vm/f0cb64256fedef67/tpm",
      "vncListener": "127.0.0.1:5905",
      "qmp": "Unix socket only"
    },
    {
      "phase": "Windows installation",
      "result": "Installer progressed through file copy, system setup, OOBE update check and automatic restart",
      "appDiagnosticsStarted": false,
      "guestTrustOrBootSettingsChanged": false
    }
  ],
  "vddPackageTools": {
    "wdkPackage": "Microsoft.Windows.WDK.x64 10.0.26100.6584",
    "archiveSha256": "c393d03dfb640b5c92f546b32f6770ef68cd3aaf691956e7d66d8e2c28a1b55e",
    "source": "Existing pinned target/wdk/wdk.nupkg",
    "prepared": true,
    "executed": true,
    "catalogSigned": false,
    "signtoolPresent": false,
    "targets": [
      "10_GE_X64",
      "10_25H2_X64"
    ],
    "record": "windows-vm-20261003/vdd-validation.json",
    "outcome": "InfVerif /u passed; Inf2Cat 10_GE_X64,10_25H2_X64 passed without errors or warnings; unsigned catalog generated",
    "catalog": {
      "bytes": 1190,
      "sha256": "aeddafa2bca5c589342ff6c12a3e054ccc90a1fd8552c5e06968e470f111c655",
      "signed": false,
      "installed": false
    },
    "negativeInstallTest": {
      "record": "windows-vm-20261003/vdd-unsigned-rejection.json",
      "rejectedBeforeDeviceRegistration": true,
      "devicesBefore": 0,
      "devicesAfter": 0
    }
  },
  "guestDiagnostics": {
    "record": "windows-vm-20261003/guest.json",
    "displayRecord": "windows-vm-20261003/display-driver-status.json",
    "secureBoot": true,
    "tpmPresentReadyEnabledActivated": true,
    "activeTargets": 1,
    "driverState": "DeviceNotRegistered",
    "videoProbeExitCode": 1,
    "videoProbeError": "No GPU H.264/H.265 decoder found on Microsoft Basic Display Adapter",
    "physicalGpuOrMonitorTested": false,
    "finalRecord": "windows-vm-20261003/guest-final.json"
  },
  "serviceFixture": {
    "initialRecord": "windows-vm-20261003/service-initial-fixture-failure.json",
    "inspectionRecord": "windows-vm-20261003/service-inspection.json",
    "initialFailure": "Fixture compared DOS path with extended \\\\?\\ process path literally; SCM and console child were running",
    "appBugEstablished": false,
    "continuation": "passed",
    "record": "windows-vm-20261003/service-lifecycle.json",
    "checksPassed": 31,
    "covered": [
      "Actual service installer",
      "SYSTEM console agent outside Session 0",
      "Normal stop with no remaining service/agent process",
      "Start and new console agent",
      "Actual service removal",
      "Original protected credentials and failed evidence preserved"
    ],
    "notCovered": [
      "Boot/logoff hosting",
      "Fresh status heartbeat after restart",
      "Live remote media",
      "GUI registration",
      "Privacy"
    ],
    "privateContinuationScript": {
      "path": "/var/lib/notparsec-vm/Resume-Service.ps1",
      "sha256": "d9e381ce97149fd71545d6b4ffa71e8766d58a51783c262b32e2dee79e205359",
      "scope": "One-time continuation pinned to the preserved guest fixture; not a generic service management command"
    }
  },
  "collectorCorrection": {
    "initialUpdatedCollectorRecord": "windows-vm-20261003/collector-null-exit-code.json",
    "issue": "Windows PowerShell 5.1 Start-Process PassThru followed by bounded WaitForExit returned null ExitCode",
    "followup": "Direct System.Diagnostics.Process with explicit UTF-8 pipe decoding; guest run-004 verified display exit 0, video exit 1 and correct Korean error text",
    "exitCodeFixedRecord": "windows-vm-20261003/collector-exit-code-fixed.json",
    "finalRecord": "windows-vm-20261003/guest-final.json",
    "timeoutBranchTestedOnWindows": false
  },
  "sourceScripts": [
    {
      "path": "scripts/vm/collect_guest.ps1",
      "sha256": "66be60f30cf4e7b266fa84677867816b8c3c7cb8f24cbaee5b94ee0704567e1c"
    },
    {
      "path": "scripts/vm/test_guest_service.ps1",
      "sha256": "6821066fc6fc7e90486a68e72a0ebfea350d6b1dc8c1e6f333e481a20a0fc2c6"
    },
    {
      "path": "scripts/vm/test_guest_vdd_package.ps1",
      "sha256": "91894e9e3c9c20f74de843fe6c0e7dafc0f4b96ce77fa47d4223b502298513fe"
    },
    {
      "path": "drivers/windows/idd/manage-vdd.ps1",
      "sha256": "39aa4277df4f5c4792fa05f5b4b28fff6fc9b7a45e334f2eccc50736666e04cc"
    }
  ],
  "vmLifecycle": {
    "firstNormalShutdown": "ACPI powerdown took longer than the 30 second helper wait; later status confirmed stopped, no forced quit",
    "restartAccess": "One-time /dev/kvm user ACL was absent on restart and the existing tool session had old supplementary groups. Persistent kvm group contained ahn; sg kvm launched with that authorized group.",
    "restartCommand": "sg kvm -c 'python3 /home/ahn/notparsec/scripts/vm/windows_vm.py start'",
    "installerAttachedOnRestart": false,
    "assetsAttachedOnRestart": false,
    "bootObservation": {
      "result": "Installed Windows booted from existing disk to lock/sign-in screen with no CD media and no automatic login",
      "screenshot": "/var/lib/notparsec-vm/reboot-001.png",
      "sha256": "66470a45d022cc5b08e8e00f48964f1572be4ae449966c134ced595ddda8de97",
      "remoteHostingTested": false
    },
    "finalState": {
      "state": "stopped",
      "tpmRunning": false,
      "forcedQuit": false,
      "managementOrCollectorListeners": false,
      "diskFirmwareAndTpmPreserved": true
    }
  },
  "consoleRegistrationFollowup": {
    "record": "windows-vm-console-registration.json",
    "note": "Subsequent user-authorized production registration; historical service fixture and stopped lifecycle result above remain unchanged"
  }
}