[Unity IL2CPP] gRPC request custom encoding/encryption – need help with reverse
分析一款使用Unity IL2CPP开发的Android游戏通过gRPC与后端通信的问题。拦截HTTP/2请求发现grpc-message被压缩或加密,复制请求时服务器返回解码错误。寻求有关自定义Protobuf编码、非标准压缩或本地加密的经验和解决方案。 2025-7-16 17:13:51 Author: www.reddit.com(查看原文) 阅读量:15 收藏

I'm analyzing an Android game (developed under Unity IL2CPP) that communicates with its backend using gRPC. My goal is to understand exactly how gRPC requests are transformed before being sent to the server.

More precisely : • I intercept HTTP/2 requests with the usual gRPC headers. • The body (grpc-message) appears compressed, encoded or encrypted, before sending

• When I replicate a request, the server responds with:

grpc: error unmarshalling request: codec unmarshal: libcipher decoding: flate: corrupt input before offset 4

I'm looking for any help or experience on games that apply custom processing to their gRPC messages (modified Protobuf encoding, non-standard compression, native encryption, etc.). If you have already encountered a similar stack (Unity IL2CPP + gRPC + custom compression), or if you can help me identify where and how messages are processed before sending, I would be super grateful!

Thanks in advance 🙏


文章来源: https://www.reddit.com/r/ReverseEngineering/comments/1m1igbz/unity_il2cpp_grpc_request_custom/
如有侵权请联系:admin#unsafe.sh