Giter VIP home page Giter VIP logo

fabric-sandbox's Introduction

Fabric Sandbox

Highly experimental windows sandbox for Fabric. The sandbox aims to act as protection not prevention, thus any exploits / security issues should be made publicly to this repo.

This sandbox should have little to no performance overhead as it runs the game within a Windows App Container.

Testing tips

To validate that the game is running within a sandbox use Process Monitor and enable the "Integrity" column and check for "AppContainer"

File access should be limited as follows:

  • Read+Write working directory
  • Read .minecraft
  • Read Java home (of the JDK being used)
  • No registry access

Network access is enabled, but may have restricted access to localhost as per the UWP defaults. For debugging purposes use CheckNetIsolation.exe LoopbackExempt -is -p=<CONTAINER_SID> from an elevated command prompt. See here for more info.

Future improvements

  • Less Privileged AppContainer (LPAC), allows for fine grain control to almost all aspects of a machine.
  • Access token protection
  • MacOS and possibly Linux support

Requirements for building

  • Requires ARM64 or x64 Windows 10 or 11
  • Swift for windows either official or from github.com/thebrowsercompany/swift-build
  • Wix installer tools dotnet tool install --global wix --version 5.0.0 (Used to extract the swift redistributables)

FAQ

  • Why swift?
    • Writing new security software in C++ does not seem like a good idea
  • Why Windows only?
    • The vast majority of players and malicious code is on Windows.
  • Where is the swift source code
    • Its in windows/Sources

License

This repository does not have an official license yet as I do not want people using this in production. You may learn from the code and improve it but please don't distribute this, as it's far from battle tested. I would strongly recommend opening an issue before thinking about creating a PR. Thanks for understanding.

fabric-sandbox's People

Contributors

modmuss50 avatar deftu avatar

Stargazers

aubrey avatar  avatar Brandon Piesch avatar  avatar Timon avatar Nikhil B avatar Shrish Deshpande avatar  avatar  avatar  avatar tildejustin avatar  avatar Abbie avatar Skidam avatar Erb3 avatar Geri avatar Sasha Sorokin avatar Denis Polishchuk avatar  avatar Zed Spencer-Milnes avatar NickAc avatar ProfessionalSkid avatar Will avatar  avatar ふらまりん avatar Oliver avatar mineral avatar Asoji avatar Stuart avatar Ned Loynd avatar deirn avatar  avatar Linnea Gräf avatar EnZaXD avatar Sébastien VIAL avatar jordin avatar  avatar Pauline avatar

Watchers

Player avatar  avatar

fabric-sandbox's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.