Matthias
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # TODO https://github.com/orgs/rust-game-hacks/projects/1/views/1 Ideas: - Inject into discord - Hook v8 - WASM: Run loop {} -> Can't block. - Async? # Cheat development ## Crates ### overlay ```rust pub struct Frame; impl Frame { pub fn draw_line(&mut self, p1: Vector2, p2: Vector2); } ``` - Discord shared memory - Steam shared memory - Discord overlayURL - XBOXGameBar - DirectComposition - Kernel GDI - pass mutable ref to frame to functions that draw ### memory - mouse (because you are already dealing with the kernel api) - GetAsyncKeyState - Getforegroundwindow - reading / writing memory - PEB stuff - something to figure out if the process is still running - Base Address - keys (get them) - processes -> LIst of processes and which one to pick ### injector? - many ways to inject, but this crate would expose an api like so: ```rust pub fn inject(pid: usize, dll_bytes: &[u8]) -> anyhow::Result<u64> {} ``` ### runner - runs cheat webasm modules and connects them to the memory crate using cheat-api - if cheat is internal, use injector crate to inject - uses cheat-api crate ### driver: - trait Bypass { fn install() -> Result<(), E>; } - Private bypasses (charge for that?) - Rotate bypasses (per game?) - Hypervisor bypass ### cheat-api - Connects memlib and overlay - Crate that contains functions that the cheat needs to interact with the host - add feature for webasm and feature for internal - if webasm feature is not enabled then crate uses webasm imports, otherwise calls the functions directly - This crate would be used to standardize the api between external cheats and crates that interact with the actual system. using this you could make a cheat for a game and either compile it to webasm (using the webasm feature it would translate to webasm export calls) or compile it to native which would directly call the driver functions, or compile it targeting an internal cheat where read_memory etc would simply read the memory inside the process - Figure out if we want to use traits or #[cfg] blocks or both because we have 3 different impls ```rust pub mod exports { pub fn read_meomory(...) {} pub fn move_mouse(...) {} // either run with unicorn or run natively if internal pub fn run_function(address: usize, args: Vec<usize>) -> usize {} } ``` ### Crate for each cheat ```rust /// This function will run every overlay frame pub fn run(frame: &mut Frame) {} pub - maybe use a workspace with one crate for sdk and another crate for cheat impl ## Cheat Crates: ### https://github.com/rmccrystal/offset-dumper ### math ```rust pub struct Vector3 {} pub struct Vector2 {} ... etc ``` - Prediction code - any pure math code ### cheat-features pub struct - some kind of util crate that contains math, - for example: ```rust pub trait Player { fn get_origin(&self) -> Vector3; fn get_health(&self) -> i32; pub struct EspConfig; pub fn esp(camera_pos: Vector3, players: &[impl Player], frame: &mut Frame, config: EspConfig); pub ``` ## Ui - Dynamic GUI per game -> Define UI Layout (templating engine?) - ImGui (internal) - Overlay - Browser (imgui in browser is possible with webasm) - Radar: - Browser? Host html on GH Pages with WS - Overlay? ## Repos - utils (TODO: Change name) - memory - overlay - injector - cheat-api (?) - runner - cheat-util - math - repo for each game - driver - loader - research CI/CD: cargo fmt && cargo clippy Automatically build: main and push # Loader stru - Option A: Github Pages, load WASM directly - Option B: VPS, login, encrypt wasm (tigress), send and run on client ## Hosting - Docker container for host - GitHub pages? - Statically host the encrypted by **hwid** game wasm - can someone detail how that would work here ## Loader - HWID: - cpuid - C:/Users/username - GetCurrentHwProfile - https://www.unknowncheats.me/forum/anti-cheat-bypass/333662-methods-retrieving-unique-identifiers-hwids-pc.html - Ban people ahead of time? ## Protection - IP: Don't allow customers inside office - https://github.com/LordNoteworthy/al-khaser - Custom wasmer runtime # Branding / Marketing - Referral based - Same cheat under different names? - prevents us from making a name - - Slot system (certain amount of slots available) vs Invite system (friend has to refer you) - I kind of like invite system better ## Where to sell - Discord is an option, alot of p2cs use - if you get caught discord will shut down your server b/c it breaks the rules - make a website (probably a better idea) - fo ## Opsec - we don't really want to get caught, game companies will sue - sell under a domain that has no connections to us - Legality is a grey area - Tor - TODO: For later when we are ready to run and sell ## Payment - Crypto - Automate this? Discord bot? - stripe (this is a problem for opsec) # Games to work on ## Fortnite - Older game, might start dying but it should be pretty easy beacuse it's unreal engnie ## CS:GO - Super popular although there is already a super big market for cheats - None of us are really that experienced with HvH features - Could aim for making a super legit cheat - Entire source code leaked ~2 years ago: https://github.com/perilouswithadollarsign/cstrike15_src ## Valorant - Market is pretty small already - Super hard to make a cheat for, might have to do some testing to see if the stuff we have already bypasses vanguard - I already know some people who have valorant cheats so it shouldn't be too bad ## Apex - Super easy to work on as long as you have a bypass - based on source engine - we might want to go internal ## Battlefield 2042 - casper already has a cheat for it ## PUBG - recently became free to play so large market share - pretty easy to paste from unknowncheats ## R6 I (Matthias) already developed a cheat for that a while ago. # Roadmap -

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully