feat(anticheat): Anticheat bypass improvements (#2463)

- Add more metrics to bad_metrics set
- Add MM Filtering (This metric shouldnt be normally called anyway)
- Improve QD Hook to increase AC verifier delay when detected
- Removed gameskeleton hook in favor of patching ac at init
- Added tamperactions check to gameskeleton patcher
This commit is contained in:
yubie
2023-11-30 04:47:39 -05:00
committed by GitHub
parent 847a729918
commit 60887cb816
17 changed files with 173 additions and 133 deletions
+14 -4
View File
@@ -4,6 +4,7 @@
#include "hooking.hpp"
#include "memory/all.hpp"
#include "rage/atSingleton.hpp"
#include "rage/gameSkeleton.hpp"
#include "sc_pointers_layout_info.hpp"
#include "security/RageSecurity.hpp"
@@ -1722,13 +1723,22 @@ namespace big
g_pointers->m_gta.m_is_social_club_overlay_active = ptr.add(2).rip().as<bool*>();
}
},
// Game Skeleton Update
// Game Skeleton
{
"GSU",
"40 53 48 83 EC 20 48 8B 81 40 01",
"GS",
"48 8D 0D ? ? ? ? BA ? ? ? ? 74 05 BA ? ? ? ? E8 ? ? ? ? E8 ? ? ? ? C6 05 ? ? ? ? ? 48 8D 0D ? ? ? ? BA ? ? ? ? 84 DB 75 05 BA ? ? ? ? E8 ? ? ? ? 48 8B CD C6 05 ? ? ? ? ? E8 ? ? ? ? 84",
[](memory::handle ptr)
{
g_pointers->m_gta.m_game_skeleton_update = ptr.as<PVOID>();
g_pointers->m_gta.m_game_skeleton = ptr.add(3).rip().as<rage::game_skeleton*>();
}
},
// Nullsub
{
"NS",
"C3",
[](memory::handle ptr)
{
g_pointers->m_gta.m_nullsub = ptr.as<void(*)()>();
}
},
// Get Ped Bone