[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111576":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},111576,"vac","sapdragon\u002Fvac","sapdragon","Valve Anti-Cheat (VAC) reconstructed in C++20, bugs and all.",null,"C++",199,13,123,0,6,59,1,52.34,"MIT License",false,"main",true,[],"2026-11-05 17:29:00","2026-11-23 07:10:10","# vac\n\nByte-for-byte C++20 reconstruction of 15 classic x86 Valve Anti-Cheat (VAC) scan modules and `steamservice.dll`.\n\nEvery rebuilt worker is verified against the original signed Valve binaries (`..\u002Fvac-research`) for exact 4232-byte output parity, including original quirks, uninitialized stack garbage, and bugs marked with `\u002F\u002F valve bug, keep it`.\n\n## Writeup\n\nFull technical breakdown of `steamservice.dll`, the shared module SDK, all 15 scanners, and Valve's bugs:\n\n- **English:** [WRITEUP.en.md](docs\u002Fwriteup\u002FWRITEUP.en.md) ([PDF](docs\u002Fwriteup\u002FWRITEUP.en.pdf))\n- **Russian:** [WRITEUP.ru.md](docs\u002Fwriteup\u002FWRITEUP.ru.md) ([PDF](docs\u002Fwriteup\u002FWRITEUP.ru.pdf))\n\n## Repository layout\n\n| Path | Description |\n|---|---|\n| `sdk\u002F` | Shared module runtime: `_runfunc@20`, `.vacini`, `RunDispatcher`, `BootstrapMain` (172 imports), ICE, raw RSA-512, MD5\u002FCRC32, LZ4, PE\u002FNT helpers |\n| `modules\u002F` | 15 reconstructed scan modules (one directory per module) |\n| `service\u002F` | Reconstruction of `steamservice.dll`: IPC module manager, `VLV` RSA-1024 signature check, manual mapper (`LoadModuleHiddenInternal`), and 5-minute ETW process monitor |\n| `tests\u002F` | Live and synthetic byte-for-byte parity suites against the original DLLs |\n| `tools\u002F` | Module blob generators, worker node inspector, IDA export and `@orig` verification scripts |\n\n## Reconstructed modules\n\n| Module | Worker IDs | Summary |\n|---|---|---|\n| `boot_config` | `0x06A79A9E` | BCD registry hive (`HKLM\\BCD00000000\\Objects`), `testsigning` \u002F `nointegritychecks`, NX policy, NTFS File ID |\n| `cpuid` | `0x023429C3` | CPU 0 affinity pin and `CPUID` leaf dump (`0x0`, `0x40000000`, `0x80000000`) |\n| `devices` | `0x05EC50DC` | Active PCI and USB device enumeration via SetupAPI |\n| `driver_inventory` | `0x06ACD913`, `0x06C2B5BB` | Active driver services vs `\\Driver` object directory + normalized MD5 of driver files |\n| `image_scan` | `0x0CDA6778`, `0x09D3248C` | Disk\u002Fmemory PE scanner (relocation-stripped MD5, icons, PDB, WinTrust, pattern scan) + thread start addresses |\n| `image_scan_threads` | `0x05A52008`, `0x0122C7DA` | Same `.text` as `image_scan` built with rotated keys and worker IDs |\n| `payload_executor` | `0x0236ED5F` | Memory allocation, RSA payload unpacker, `PAGE_EXECUTE_READWRITE`, and entry call |\n| `process_file_identity` | `0x0B2D8276`, `0x0CA11165`, `0x013B4330` | Process dossier (SID, PEB32\u002F64, cmdline, hashes), ancestor NTFS File ID chain, directory inventory |\n| `process_memory_map` | `0x06E048F4`, `0x0DB55D3C` | `PEB->Ldr` and virtual memory walk, page folding, relocation-stripped PE MD5, LZ4 report tail |\n| `service_lookup` | `0x0FA94991` | Driver lookup by service name hash, `sysnative` expansion, NTFS File ID |\n| `shared_section` | `0x0E3481C0`, `0x06781BC4` | Named section lookup by GUID pattern via `OpenFileMappingW` and NT `\\` directory walk |\n| `system_handles` | `0x002F6DC7`, `0x0929BC41` | Toolhelp snapshot, 64-bit handle type masks, and hidden PID brute-force (`unPid -= 4`) |\n| `system_info` | `0x0F8083A0`, `0x0C2232C2` | OS summary, `KUSER_SHARED_DATA`, volumes, and on-disk `ntdll.dll` export parser for raw SSNs |\n| `target_handles` | `0x08A9324E` | WoW64 Heaven's Gate (`0x33`) direct x64 syscalls hunting processes with handles to the game |\n| `timing_check` | `0x0D8C40E1` | Legacy module without `BootstrapMain`: `KUSER_SHARED_DATA` ticks around a patched `.data` stub |\n\n## Build and test\n\nOpen `vac.sln` in Visual Studio 2022 (`Release | Win32`), or build and run the full parity suite from the command line:\n\n```powershell\npython tests\u002Fbuild_tests.py\npython tests\u002Fparity\u002Frun_all.py\npython tools\u002Fida\u002Ffill_orig.py --check sdk modules service\n```\n\n`run_all.py` runs each worker live against the original DLLs (filtering out OS noise by running the original binary twice against itself first), verifies full `_runfunc@20` output packets including ICE and RSA-512 sealing, and executes the deterministic fuzz\u002Fsynthetic suites.\n","这是一个对Valve反作弊系统（VAC）进行字节级精确逆向重构的C++20开源项目，完整复现了15个原始x86扫描模块及steamservice.dll的核心逻辑。项目严格验证输出二进制与官方签名DLL完全一致（4232字节逐字节匹配），保留全部原始行为，包括未初始化栈数据、已知缺陷和特定加密\u002F压缩实现（如RSA-512\u002F1024、LZ4、MD5\u002FCRC32）。适用于安全研究、反作弊机制教学、游戏防护原理分析及底层Windows系统行为审计等场景。",2,"2026-11-24 04:41:12","CREATED_QUERY"]