{"id":18746685,"url":"https://github.com/matrixeditor/pairipcore-vm","last_synced_at":"2025-04-09T09:04:07.014Z","repository":{"id":253831545,"uuid":"844640019","full_name":"MatrixEditor/pairipcore-vm","owner":"MatrixEditor","description":"Research on the internal workings of Google's Play Integrity Protect Virtual Machine (VM) with tools for both disassembling and decompiling the bytecode.","archived":false,"fork":false,"pushed_at":"2025-01-26T20:09:11.000Z","size":4717,"stargazers_count":100,"open_issues_count":0,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-02T08:05:05.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://matrixeditor.github.io/pairipcore-vm/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatrixEditor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T17:09:47.000Z","updated_at":"2025-03-31T02:09:55.000Z","dependencies_parsed_at":"2024-11-07T16:29:00.854Z","dependency_job_id":"73e3889f-91e2-4f54-9e9e-5fcb8582e3e7","html_url":"https://github.com/MatrixEditor/pairipcore-vm","commit_stats":null,"previous_names":["matrixeditor/pairipcore-vm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixEditor%2Fpairipcore-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixEditor%2Fpairipcore-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixEditor%2Fpairipcore-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixEditor%2Fpairipcore-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatrixEditor","download_url":"https://codeload.github.com/MatrixEditor/pairipcore-vm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008628,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T16:26:30.786Z","updated_at":"2025-04-09T09:04:06.996Z","avatar_url":"https://github.com/MatrixEditor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pairipcore vm\n\nFurther research based on\n[pairipcore](https://github.com/Solaree/pairipcore), focusing on the virtual\nmachine (VM) used to virtualize code in Android apps as a protection mechanism (**P**l**A**y**I**nteg**RI**ty**P**rotect - pairip).\n\n\u003e [!IMPORTANT]\n\u003e Google designed the VM to be custom for every release of an application. The\n\u003e analysis provided here acan be used up to the point where opcodes are analyzed.\n\u003e A workaround is WIP!\n\n\u003e [!NOTE]\n\u003e A detailed writeup is work-in-progress and will be published to GitHub Pages\n\u003e soon. Decompiler and Disassembler are WIP!\n\n## Update (01/20/2025) - *will be moved to documentation soon*\n\n\nRust package to scan for string XOR key. Installation w/ cargo:\n\n```bash\ncargo install --git https://github.com/MatrixEditor/pairipcore-vm\n```\n\nUsage: extract XOR key\n\n```bash\n$ pairip find-key ./assets/data.vmcode\n[filepath]: ./assets/data.vmcode\n[formatids]: (30)\n[key]:\n - offset: 0x1752f\n - material: ab162bc02f4437b67f51318f394013112aec38dd37da4f225f5497001d3ba65460adbf508c86fe67c9c2afaf5fba71c19a361b712eb643330aa5e5eaf92059f174111325f287d8b68ecda823b36fd84e52e8bed9c1a06ac2285677d943fc926b0c23f8a968b8f7d424acad2d8857928ab379cd5965d9aba8d19387916ff563eba005c7d4c63f80b9f5a3d07c7f4f0a27e1f5be98b5d1d9505f6c491878a216f8f7ab03f0af5fe8f8f6cecc0dd2b3b4664ff2a93cd70e0405a485b526cfbc16d3fe0bb8fab1fb34f816769296e3ee97f1c1ad15e30f183a5e2ffe141add1be97111c8c3aaf2a0ca227d91cdc8015f3848e96abef41a42cc6da2295c1d66b638\n```\n\nTo list all strings within a file, use `strings`:\n\n```bash\n$ pairip strings ./data.vmcode\n WARNING: key not specified, trying to resolve dynamically...\n0x0000b6: yWUKCt\n0x00011a: lib/x86/libmapbufferjni.so\n0x000152: anwhcacYyM\n0x0001e6: UbEvkSwTN\n0x0001f1: lib/x86_64/libreactnativejni.so\n0x00032c: PASTE\n0x000366: BxCUTpJ\n0x0003a5: CheckCreateCustomVoiceSegmentProgressResponse(status=\n0x00047f: iOQyjctRdfxcvc\n```\n\n## Disclaimer\n\nThe information presented here is for educational purposes only!\n\n## Overview\n\nMoved to GitHub-Pages [https://matrixeditor.github.io/pairipcore-vm/](https://matrixeditor.github.io/pairipcore-vm/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixeditor%2Fpairipcore-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrixeditor%2Fpairipcore-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixeditor%2Fpairipcore-vm/lists"}