# kdrag0n/safetynet-fix

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/kdrag0n-safetynet-fix).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

6,425 stars · 360 forks · C++ · MIT

## Links

- GitHub: https://github.com/kdrag0n/safetynet-fix
- awesome-repositories: https://awesome-repositories.com/repository/kdrag0n-safetynet-fix.md

## Topics

`android` `hacktoberfest` `magisk` `safetynet`

## Description

Safetynet-fix is a tool for Android device attestation designed to bypass hardware and software integrity checks. Its primary purpose is to achieve Google SafetyNet compliance on devices with unlocked bootloaders, allowing software that requires specific security profiles to run on modified systems.

The project provides compatibility for rooted devices, specifically ensuring that banking and payment applications remain functional while maintaining root access. It manages the Magisk environment configuration to maintain these security-sensitive application requirements.

The system utilizes various interception and modification techniques, including dynamic library hooking, system property spoofing, and runtime memory patching. It also employs kernel-level module loading and Zygote-based process injection to hide root indicators and manipulate the reported integrity state of the device.

## Tags

### Security & Cryptography

- [Hardware Attestation Bypasses](https://awesome-repositories.com/f/security-cryptography/hardware-attestation-bypasses.md) — Simulates hardware-backed security and keyboxes to bypass device integrity and attestation checks. ([source](https://github.com/kdrag0n/safetynet-fix#readme))
- [Android Device Spoofing](https://awesome-repositories.com/f/security-cryptography/android-device-spoofing.md) — Masks hardware identifiers and simulates device properties to bypass application restrictions on Android.
- [System Property Overrides](https://awesome-repositories.com/f/security-cryptography/permission-management/integration-permissions/local-permission-overrides/system-property-overrides.md) — Overrides read-only system properties in memory to mimic certified hardware profiles.
- [Runtime Memory Patching](https://awesome-repositories.com/f/security-cryptography/runtime-memory-patching.md) — Modifies executable code in volatile memory during runtime to bypass security and integrity checks.

### Networking & Communication

- [SafetyNet Compliance](https://awesome-repositories.com/f/networking-communication/google-api-integrations/safetynet-compliance.md) — Provides the necessary modifications to meet Google SafetyNet API security requirements on unlocked devices.

### Operating Systems & Systems Programming

- [Magisk Module Development](https://awesome-repositories.com/f/operating-systems-systems-programming/magisk-module-development.md) — Utilizes the Magisk module system to overlay modified files onto the system partition.
- [Rooted Device Compatibility](https://awesome-repositories.com/f/operating-systems-systems-programming/rooted-device-compatibility.md) — Ensures banking and payment applications remain functional while the device maintains root access.
- [Kernel Module Loaders](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-module-loaders.md) — Loads custom kernel modules to hide root indicators and manipulate the device integrity state.
- [Library Function Hooking](https://awesome-repositories.com/f/operating-systems-systems-programming/library-function-hooking.md) — Implements system-level library function hooking to intercept and spoof device attestation responses.

### Mobile Development

- [Zygote Injection Frameworks](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-rooting-frameworks/zygote-injection-frameworks.md) — Injects custom code into the Android Zygote process to modify system behavior before applications start.
