Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auxiliary/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ int main(void) {
for (const VM::enum_flags technique_enum : VM::technique_vector) {
start = VMAwareBenchmark::get_timestamp();

const bool result = VM::check(technique_enum, VM::NO_MEMO);
VM::check(technique_enum, VM::NO_MEMO);

end = VMAwareBenchmark::get_timestamp();
const double technique_time = VMAwareBenchmark::get_elapsed(start, end);
Expand Down
1 change: 0 additions & 1 deletion docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ VMAware provides a convenient way to not only check for VMs, but also have the f
| `VM::ODD_CPU_THREADS` | Check for odd CPU threads, usually a sign of modification through VM setting because 99% of CPUs have even numbers of threads | 🐧🪟🍏 | 80% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L5115) |
| `VM::INTEL_THREAD_MISMATCH` | Check for Intel CPU thread count database if it matches the system's thread count | 🐧🪟🍏 | 95% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L5215) |
| `VM::XEON_THREAD_MISMATCH` | Same as above, but for Xeon Intel CPUs | 🐧🪟🍏 | 95% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L6217) |
| `VM::NETTITUDE_VM_MEMORY` | Check for memory regions to detect VM-specific brands | 🪟 | 100% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L6375) |
| `VM::CUCKOO_DIR` | Check for cuckoo directory using crt and WIN API directory functions | 🪟 | 30% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L6655) |
| `VM::CUCKOO_PIPE` | Check for Cuckoo specific piping mechanism | 🪟 | 30% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L6679) |
| `VM::HYPERV_HOSTNAME` | Check for default Azure hostname format regex (Azure uses Hyper-V as their base VM brand) | 🐧🪟 | 30% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L6706) |
Expand Down
2 changes: 0 additions & 2 deletions src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ bool is_unsupported(VM::enum_flags flag) {
case VM::ODD_CPU_THREADS:
case VM::INTEL_THREAD_MISMATCH:
case VM::XEON_THREAD_MISMATCH:
case VM::NETTITUDE_VM_MEMORY:
case VM::CUCKOO_DIR:
case VM::CUCKOO_PIPE:
case VM::HYPERV_HOSTNAME:
Expand Down Expand Up @@ -926,7 +925,6 @@ void general() {
checker(VM::ODD_CPU_THREADS, "odd thread count number");
checker(VM::INTEL_THREAD_MISMATCH, "Intel thread count mismatch");
checker(VM::XEON_THREAD_MISMATCH, "Intel Xeon thread count mismatch");
checker(VM::NETTITUDE_VM_MEMORY, "VM memory regions");
checker(VM::CUCKOO_DIR, "Cuckoo directory");
checker(VM::CUCKOO_PIPE, "Cuckoo pipe");
checker(VM::HYPERV_HOSTNAME, "Hyper-V Azure hostname");
Expand Down
Loading
Loading