Skip to content

Commit

Permalink
Merge pull request #150 from kernelwernel/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kernelwernel authored Oct 5, 2024
2 parents 31f0689 + f8d2b56 commit a650788
Show file tree
Hide file tree
Showing 15 changed files with 2,765 additions and 2,013 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD_REQUIRED ON)

# CTest stuff
include(CTest)
#find_package(Python REQUIRED)
enable_testing()
set(ARGUMENTS "--all")
if(MSVC)
add_test(executable, "${BUILD_DIR}/Release/${TARGET}")
else()
add_test(executable, "${BUILD_DIR}/${TARGET}")
add_test(NAME TARGET COMMAND "${BUILD_DIR}/${TARGET}" ${ARGUMENTS})
endif()


Expand Down
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ You can view the full docs [here](docs/documentation.md). All the details such a
> Hyper-V has an obscure feature where if it's enabled in the host system, the CPU hardware values makes it look like the whole system is running inside Hyper-V, which isn't true. This makes it a challenge to determine whether the hardware values the library is collecting is either a real Hyper-V VM, or just the artifacts of what Hyper-V has left as a consequence of having it enabled in the host system. The reason why this is a problem is because the library might falsely conclude that your the host system is running in Hyper-V, which is a false positive. This is where the **Hyper-X** mechanism comes into play to distinguish between these two. This was designed by <a href="https://github.com/NotRequiem">Requiem</a>
<p align="center">
<img src="assets/Hyper-X.png" align="center" title="Hyper-X">
<img src="assets/Hyper-X_version_2.png" align="center" title="Hyper-X">
<br>
</details>

Expand Down
13 changes: 10 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,17 @@
- [ ] make a medium post about it
- [ ] test the VM::modify_score() function
- [ ] check if bios date in /sys/class/dmi/id/ could be useful under QEMU
- [ ] make the cli demo in the readme for the 1.8 version
- [ ] fix the percentage thing for the disabled techniques
- [ ] adopt the firmware technique from the vmprotect source code leak
- [ ] make the cli demo in the readme for the 1.9 version
- [X] fix the percentage thing for the disabled techniques
- [X] adopt the firmware technique from the vmprotect source code leak
- [ ] update the Hyper-X graph with the cpu manufacturer part
- [ ] add a .so, .dll, and .dylib shared object files in the release
- [X] make a struct version as an alternative
- [X] add the license style like in ffmpeg https://github.com/FFmpeg/FFmpeg/tree/master?tab=License-1-ov-file
- [ ] fix the issue of VM::QEMU_USB being ultra slow
- [X] make a MIT transformer python script from GPL to MIT
- [ ] /sys/class/dmi/id/product_name check this in qemu


# Distant plans
- add the library to conan.io when released
Expand Down
242 changes: 242 additions & 0 deletions assets/Hyper-X_version_2.drawio

Large diffs are not rendered by default.

Binary file added assets/Hyper-X_version_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/demo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 0 additions & 183 deletions auxiliary/arg_checks.py

This file was deleted.

Loading

0 comments on commit a650788

Please sign in to comment.