To pass integrity tests using a newly obtained file, you typically need specific tools that intercept hardware attestation calls:
There’s a new KeyboxXML spec floating around in recent builds. A few breaking changes I’ve noticed: keyboxxml new