Skip to content

AuthVaultix/AuthVaultix-CPP-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

AuthVaultix Logo

🛡️ AuthVaultix C++ SDK

C++17 Windows Security Status

AuthVaultix is a high-performance, enterprise-grade C++ authentication library designed for software protection. Built from the ground up to provide a seamless, secure, and intuitive integration experience for C++ developers.


🌟 Key Features

🔐 Robust Authentication

  • Standard Auth: Secure Login, Registration, and License activation.
  • Subscription Management: Seamlessly upgrade user subscriptions with license keys.
  • Password Recovery: Integrated "Forgot Password" functionality via email.
  • Session Integrity: Server-side session validation and continuous heartbeat monitoring.

🛡️ Advanced Security

  • Continuous Anti-Tamper Monitoring: Background thread detects debuggers, suspicious tools (x64dbg, Cheat Engine), and DLL injection in real-time.
  • Smart Module Whitelisting: Advanced detection logic that whitelists legitimate Windows system modules (like kernel.appcore.dll) to eliminate false positives.
  • Compile-Time Obfuscation: Deep integration with skCrypt to encrypt strings at compile-time, defeating static analysis and string dumping.
  • HWID Verification: SID-based hardware identification that matches production standards, preventing account sharing.
  • Hardened IP Detection: Cloudflare-aware IP capturing in the backend (init.php, login.php, tamper.php) to ensure real client identification even through proxies.
  • Auto-Ban System: Automatically bans HWID and IP on the server-side when tampering or unauthorized memory modification is detected.

📦 Utility & Social

  • Cloud Variables: Fetch global or user-specific variables stored securely on the server.
  • Secure File Downloads: Download protected binaries as Base64-encoded buffers.
  • Encrypted Chat: Fetch and send messages in specific channels with role-based visibility.
  • Online Tracking: Monitor and fetch the list of currently active users.

🚀 Getting Started

Prerequisites

  • Visual Studio 2019 or newer.
  • C++17 Standard (Required for skCrypt and modern syntax).
  • Libraries: WinHTTP, BCrypt, Crypt32 (Automatically linked via #pragma comment).

Installation

  1. Clone the repository or download the source files.
  2. Add AuthVaultix.hpp, AuthVaultix.cpp, and skCrypt.h to your project.
  3. Install nlohmann/json (Available via NuGet or GitHub).

🖥️ Usage Example

#include "AuthVaultix.hpp"
#include "skCrypt.h"
#include <iostream>

using namespace AuthVaultix;

int main() {
    // 🛡️ Encrypt credentials at compile-time to hide from crackers
    auto name = skCrypt("Your_App_Name");
    auto ownerid = skCrypt("Your_Owner_ID");
    auto secret = skCrypt("Your_App_Secret");
    auto version = skCrypt("1.0");

    // Initialize the client
    VaultixApp client(name.decrypt(), ownerid.decrypt(), secret.decrypt(), version.decrypt());

    if (!client.connect()) {
        std::cout << "❌ Initialization Failed: " << client.server_feedback << std::endl;
        return 1;
    }

    std::cout << "✅ Connected to AuthVaultix!" << std::endl;

    // Perform Login
    if (client.authenticate("user123", "password")) {
        std::cout << "👋 Welcome, " << client.active_profile.username << "!" << std::endl;
        std::cout << "📅 Created: " << client.active_profile.createdate << std::endl;

        // Fetch a cloud variable
        std::string update_url = client.fetch_global_data("UpdateURL");
        std::cout << "🌐 Server Update URL: " << update_url << std::endl;
    } else {
        std::cout << "❌ Login Failed: " << client.server_feedback << std::endl;
    }

    return 0;
}

🛠️ Security Best Practices

Important

To maintain maximum security for your application, follow these guidelines:

  1. Always use Release mode: Debug builds contain symbols that make cracking significantly easier.
  2. String Protection: Use skCrypt() for every sensitive string (API Secret, App Name, etc.).
  3. Continuous Protection: Use client.start_protection() after login to enable background anti-tamper monitoring and session heartbeats.
  4. Control Flow: Implement server-side checks and use the client.validate_session() method periodically.
  5. Final Protection: Use a commercial protector like VMProtect or Themida on your compiled .exe for virtualization and anti-debug layers.

📄 License

This project is licensed under the Elastic License 2.0. See the LICENSE file for details.

Developed with ❤️ AURORA_ONE.

Releases

No releases published

Packages

 
 
 

Contributors

Languages