# iPower/KasperskyHook

Hook system calls on Windows by using Kaspersky's hypervisor

Repository: https://github.com/iPower/KasperskyHook
Canonical: https://ross.abutalabs.com/products/kasperskyhook
Language: C++
License: MIT
License Family: permissive
Last push: 2026-04-02T05:02:58+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 75, release rhythm 35, longevity 100
- inputs: {"age_days": 2198, "days_push": 153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1314, forks 284 (observed 2026-08-28T04:04:20.543532+00:00)

## What it is
A Windows research project that hooks system calls by loading Kaspersky's hypervisor driver (klhk.sys) and a custom kernel driver that subverts its syscall dispatch table. It demonstrates hijacking IA32_LSTAR-based syscall handling via a third-party hypervisor.

## Use cases
- hook system calls on Windows via a hypervisor
- research how Kaspersky's hypervisor dispatches syscalls
- build a custom syscall hooking driver
- study IA32_LSTAR and KiSystemCall64 hooking techniques
- experiment with VT-x based kernel hooking on bare metal

## When to choose
- you are researching hypervisor-based syscall hooking on Windows
- you want to experiment with Kaspersky's klhk.sys driver internals
- you need a working example of kernel-mode syscall interception

## When to avoid
- you need a production or stable hooking solution
- you run inside a VM or with Hyper-V/VBS enabled
- you cannot run on bare metal with hardware virtualization
- you need support for all Windows builds without driver version matching

## Facets
- artifact type: library
- maturity: experimental
- function: security, reverse-engineering, developer-tools
- domain: security, reverse-engineering, operating-systems, windows
- platform: windows, cpp
- tags: syscall-hooking, hypervisor, kernel-driver, rootkit-research, vt-x, klhk

## Member repositories
- iPower/KasperskyHook (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.543532+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:46.193994+00:00, confidence not recorded.
  - readme: https://github.com/iPower/KasperskyHook (fetched 2026-08-28T04:04:20.543532+00:00, sha dcccbafc637a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
