Skip to content
프로젝트

asamy/ksm has 870 GitHub stars and 180 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-25 10:33 UTC. Last push 2021-10-20.

이 수치를 측정하는 방법

What you can do

  • EPT violation #VE (Disabled when unavailable - At least Broadwell required)
  • EPTP switching VMFUNC (Emulated when unavailable - At least Haswell required)
  • APIC virtualization (Experimental, do not use)
  • VMX Nesting (Experimental, do not use)

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

Windows와 Linux를 위한 빠르고 쉽게 수정할 수 있는 단순한 x64 VT-x 하이퍼바이저입니다. 사용자 공간 샌드박스와 인트로스펙션 엔진이 내장되어 있습니다.

개발 도구

README.md

Original

ksm v1.6-dev Build Status Build Status Coverity Scan Build Status BountySource

A really simple and lightweight x64 hypervisor written in C for Intel processors.
KSM has a self-contained physical memory introspection engine and userspace physical memory virtualization which can be enabled at compiletime.

Currently, KSM runs on Windows and Linux kernels natively, and aims to support macOS by 2017, if you want to port KSM see Documentation/SPEC.rst for more information.

Note: You can find Windows 10 precompiled binaries here.

Purpose

Unlike other hypervisors (e.g. KVM, XEN, etc.), KSM's purpose is not to run other Operating Systems, instead, KSM can be used as an extra layer of protection to the existing running OS. This type of virtualization is usually seen in Anti-viruses, or sandboxers or even Viruses. KSM also supports nesting, that means it can emulate other hardware-assisted virtualization tools (VT-x).

Usage under Linux (+sandbox)

asciicast

Features

  • IDT Shadowing
  • EPT violation #VE (Disabled when unavailable - At least Broadwell required)
  • EPTP switching VMFUNC (Emulated when unavailable - At least Haswell required)
  • APIC virtualization (Experimental, do not use)
  • VMX Nesting (Experimental, do not use)
  • Builtin Userspace physical memory sandboxer (Optional)
  • Builtin Introspection engine (Optional)

Requirements

  • An Intel processor (with VT-x and EPT support)
  • A working C compiler (GCC or Microsoft compiler aka CL are supported)

Supported Kernels

  • Windows NT kernel (7/8/8.1/10)
  • Linux kernel (tested under 3.16, 4.8.13 and mainline)

Documentation

Module integration

Few modular examples are included to illustrate usage, those are:

  • epage.c - A shadow executale page hooking mechanism using multiple EPTP.
  • introspect.c - A small and stupid physical memory introspection engine using EPT.
  • sandbox.c - A small, incomplete and simple userspace physical memory sandbox.

See Documentation/BUILDING.rst on how to enable those modules while building.

Issues (bugs, features, etc.)

Feel free to use Github Issues, there is an Issue Template to help you file things as required.

References

  • Linux kernel (KVM)
  • HyperPlatform
  • XEN

License

GPL v2, see LICENSE file. Note that some code is thirdparty, respective licenses and/or copyright should be there, if you think otherwise, feel free to mail me.

관련 프로젝트 살펴보기

불러오는 중…