<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Garou 公敵 on Medium]]></title>
        <description><![CDATA[Stories by Garou 公敵 on Medium]]></description>
        <link>https://medium.com/@areyougarou?source=rss-88909b982bb8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fsZWguPM9NwCFazyDNz7mg.jpeg</url>
            <title>Stories by Garou 公敵 on Medium</title>
            <link>https://medium.com/@areyougarou?source=rss-88909b982bb8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 23:09:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@areyougarou/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google is patching keyboxes and yet fake accounts are growing]]></title>
            <link>https://medium.com/@areyougarou/google-is-patching-keyboxes-and-yet-fake-accounts-are-growing-f221c274de5c?source=rss-88909b982bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f221c274de5c</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[fraud-prevention]]></category>
            <category><![CDATA[mobile-app-security]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Garou 公敵]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 00:00:27 GMT</pubDate>
            <atom:updated>2026-11-17T07:00:11.450Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Originally published on </em><a href="https://areyougarou.com/posts/play-integrity-relay/"><em>areyougarou.com</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*MReEIxxHFQkrJq7OpKr6bw.png" /></figure><p><strong>TL;DR</strong> Google Play Integrity no longer keeps fake accounts out: a rooted phone relays its hardware key attestation to a second rooted phone that passes. On our phones a rooted Pixel 6a earned a passing verdict from a separate Nothing Phone 2a, over the Ommega relay. Back it with an on-device check for the relayed key and device fingerprinting, as SEON or Intakto do.</p><p>Why do abusers create fake accounts? Because they’re <strong>profitable</strong>.<br><a href="https://search.ftc.gov/system/files/ftc_gov/pdf/social-media-spotlight.pdf"><strong>Social media scams cost Americans $2.1B in 2025, 8x the 2020 figure</strong></a><br><a href="https://www.ukfinance.org.uk/news-and-insight/press-release/fraud-report-2026-press-release"><strong>Bank-transfer scams cost UK customers $767.3M in 2025, +19% on 2024</strong></a><br><a href="https://www.ukfinance.org.uk/news-and-insight/press-release/fraud-report-2026-press-release"><strong>Romance scams cost UK victims $52.2M in 2025, +23% on 2024</strong></a><br><a href="https://newsroom.transunion.com/h1-2026-update-to-the-top-fraud-trends-report/"><strong>Fake sign-ups: 8.3% of account-creation attempts were suspected fraud in 2025, +18% on 2024</strong></a><br>Same goes for competitive games, crypto wallets, web3, you name it.</p><p>And it’s profitable because it’s <strong>easy</strong>. If it weren’t, numbers would be shrinking, not growing.<br>There are only <strong>two major bottlenecks</strong> for the abusers: <strong>The first one is Google Play Integrity</strong>. The attacker knows that all major apps evaluate Play Integrity as part of his fraud score. If the device falls short of device integrity, you get bombarded with rate limits, captchas and face verifications. Genuine users get harmed in the process.</p><p>Google has been fighting for years to bolt in the secure environment and flagging the leaked keyboxes.<br>But attackers are already 2 years past that.</p><p>Is root + strong integrity needed to set up an Android bot farm? Yes, it’s mandatory to bypass various detections (automation, geolocation spoofing, proxy, &amp;mldr;). You can obtain both (root + strong integrity) in various ways, but I want to tackle the one that’s been growing the most in popularity: We’ll call it the <em>Oracle Device</em>.<br>The solution is already freely available and <a href="https://github.com/jiyin004-jpg/ommega">open source on GitHub</a>.</p><p>The method is simple: two phones. The app on the relayer asks for an attested key the normal way, a KeyPairGenerator for the AndroidKeyStore with setAttestationChallenge(nonce). On an honest phone that call runs app → keystore2 (the system keystore service) → the IKeyMintDevice HAL, where the secure chip mints and signs the attestation. The <em>Oracle Device</em> trick hooks keystore2 on the relayer and reroutes that generateKey call across the network to the oracle, whose own IKeyMintDevice signs it and hands the certificate chain back.<br>There are two things to get right. The first is identity: keystore2 stamps every attestation with Tag::ATTESTATION_APPLICATION_ID, a value it builds itself from the caller (the package name, the signing-certificate digest and the UID) and that the app is not allowed to set. So the oracle must feed its KeyMint the relayer app&#39;s ATTESTATION_APPLICATION_ID, not its own, and overriding that tag on the signing side is a privileged write. Which is the second thing: both phones are rooted. The relayer needs root to hook keystore2 and intercept the generateKey before the local chip answers; the oracle needs it to inject the relayer&#39;s identity tag into its own KeyMint call.<br>Here&#39;s the paradox: how does the oracle pass strong integrity if it has to be a rooted Android phone?</p><p>You use a phone that passes strong integrity even though it is rooted: the Nothing Phone 2A, through its MediaTek exploit ( <a href="https://github.com/R0rt1z2/Fenrir">Fenrir</a>). Its root is what lets it fake a locked, clean state while you still fully own the phone.<br>At this point you might ask: Why not simply use the Nothing Phone 2A, instead of setting up this whole mess?<br>Because <strong>the second major bottleneck</strong> is machine learning and device fingerprinting. Trying to register thousands of accounts with the same niche device model is not exactly the definition of “blending with real traffic”, you eventually get caught by solutions like Arkose Labs, SEON or Intakto.<br>But with the <strong><em>Oracle keybox</em></strong> now you can connect multiple devices to the same oracle and scale the operations.</p><h3>Why should we care?</h3><p>Ommega is increasing in adoption exponentially ( <a href="https://www.star-history.com/?repos=jiyin004-jpg%2Fommega&amp;type=date&amp;legend=top-left">star history</a>):</p><p>Pay attention: 200 stars happened in just 3 months</p><p><a href="https://t.me/yuriiroot">Yuri</a>, <a href="https://keybox.tryigit.dev/vip/">Tryigit</a> and <a href="https://t.me/keyboxstrong">Evokerr</a> are all selling strong integrity as a product.</p><p>Tryigit even sells <em>The Apex</em> ™ tier. It sounds very alpha male, very sigma.</p><p>The trajectory is strongly pointed at solutions where anyone can build internally a strong-integrity oracle or rent it from third parties.<br>Compared to 2 years ago, this is an upgrade for bot farms for two reasons:</p><ol><li>The attacker doesn’t have to wait for leaked keyboxes;</li><li><a href="https://developer.android.com/google/play/integrity/device-recall">Device recall</a> becomes close to useless since one oracle costs $60 and can be resold for $50 on eBay, costing the attacker barely $10 per burned keybox.</li></ol><p><em>This is who you’re fighting against</em></p><h3>Now that we know the mechanism, how can we catch fake accounts?</h3><p>This is where it gets interesting.<br>As you might know by now, our research is aimed specifically at catching scaled operations with economic incentives for the attacker.</p><p>We asked ourselves:<br>“Is there any <strong>computationally inexpensive</strong> check with the <strong>lowest false positive rate</strong> we can introduce that <strong>catches the scaled operations?</strong> “</p><p>As you might imagine, these requirements rule out lots of juicy approaches.<br>After 200 hours of combined research, we found two solutions. We are keeping the second one proprietary.</p><p>The solution we’ll disclose here starts from an interesting analysis: <a href="https://www.talsec.app/talsec-global-threat-report-2025">96% of devices have screen lock</a>.<br>We generate a signing key with setUserAuthenticationRequired(true) and a short validity window ( setUserAuthenticationParameters, device-credential or biometric), so the secure chip will sign with it only in the seconds after the user unlocks the phone, and we attest it with setAttestationChallenge. To use such a key, KeyMint (the secure-chip service that signs) demands a <em>hardware auth token</em>: a small proof that the user just authenticated, minted by Gatekeeper (the lock-screen service) or the biometric chip and signed with an HMAC secret that Gatekeeper and KeyMint agree on at boot and that never leaves this one phone&#39;s secure hardware.</p><p>A relay cannot honor that requirement. The key lives on the oracle’s KeyMint, but the unlock happens on the relayer, and the oracle cannot verify an auth token minted by a different phone’s Gatekeeper. That leaves the relay two moves, and both give it away. It can keep the requirement, in which case the sign simply fails, no unlock will ever satisfy it. Or it can drop the requirement so the key signs freely, and that drop gets written by the oracle’s own chip into the signed attestation, where the relayer cannot touch it. Either way, you asked for an auth-bound key and the phone cannot hand you an honest one.</p><p>We measured the drop on the live relay. The relayer asked for the auth-bound key; the Nothing Phone 2a issued it three times out of three with noAuthRequired, its userAuthType and authTimeout stripped, and every signature went through with no unlock at all. The genuine Pixel 6 Pro kept userAuthType=3 and authTimeout=3600 and signed only after a PIN unlock. <strong>And it didn&#39;t misfire on a real user</strong>: a genuine phone always attests back the requirement you asked for, and a phone with no secure lock screen throws InvalidAlgorithmParameterException at key creation, so it is skipped, never accused.<br><strong>This check fits fintech and banking apps best</strong>: they usually require a secure lock screen, so coverage there is close to full.</p><p><strong>Assuming you’re not in fintech, banking or payment</strong>: What happens if the user doesn’t have screen lock activated? It covers 96% of devices. In the remaining 4% you have a weak signal to feed your server fraud score.<br>The check above is very hard to spoof, but not impossible. Introducing it will trigger a ban wave and give attackers a really bad weekend. And at the end of the day that’s the goal: Raising costs for the attacker as much as possible so they attack our competitors instead. If we can do that without harming the real user in the process, we count that as a win.</p><p>Our research will increase as <em>Oracle Device</em>-based solutions increase in popularity, but most of it will probably be kept proprietary.</p><p>Notes</p><ol><li>We have reason to believe the relay works just as well with an oracle that is not rooted at all, an ordinary clean phone that already passes strong integrity on its own. If that holds, the signing side needs no compromised hardware anywhere, which would be far more damaging for Google than the rooted version we show here. As of now we have bigger priorities than to prove this attack class. Either way, the check stated here never assumes the oracle is rooted, so it catches both.</li><li>No rule we found names a lock screen, but the rules push banks toward strong authentication. In the EU: PSD2 Article 97 and <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32018R0389">Regulation (EU) 2018/389</a>. The EBA says that, when a card is added to a phone wallet, unlocking the phone does not count as an authentication element if the card issuer does not control the screen lock (<a href="https://eba.europa.eu/single-rule-book-qa/qna/view/publicId/2021_6145">Q&amp;A 2021_6145</a>).</li></ol><p><em>Originally published at </em><a href="https://areyougarou.com/posts/play-integrity-relay/"><em>https://areyougarou.com</em></a><em> on November 12, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f221c274de5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can a repackaged Android app pass Google Play Integrity?]]></title>
            <link>https://medium.com/@areyougarou/can-a-repackaged-android-app-pass-google-play-integrity-3acf637b7349?source=rss-88909b982bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3acf637b7349</guid>
            <category><![CDATA[android-security]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[mobile-security]]></category>
            <dc:creator><![CDATA[Garou 公敵]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 00:00:57 GMT</pubDate>
            <atom:updated>2026-11-15T08:01:02.488Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Originally published on </em><a href="https://areyougarou.com/posts/android-repackaging/"><em>areyougarou.com</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*BpnFyFMuKUYy34nXIZP3TQ.png" /></figure><p><strong>TL;DR</strong> Google Play Integrity’s PLAY_RECOGNIZED verdict proves the certificate your app was installed with, not the code running now, so a repackaged copy that strips a paywall, fakes a KYC check, or hides root still reads as genuine. On a rooted Android 16 phone (Play Services 26.34.67) we kept the genuine certificate, ran our own repackaged code, and still got PLAY_RECOGNIZED, LICENSED, and NO_ISSUES. The fix is an on-device check that re-hashes the app’s installed files, as the free tier of Intakto does.</p><p>Apps are easy to repackage.<br>Someone pulls your app <em>(adb pull /path/YOURAPP.apk)</em> and changes its behavior: the camera is injected, the device looks clean, ads are stripped or paywalls are removed. That is repackaging.</p><p><strong><em>Why do we care?</em></strong> ~ Your server-side decisions are based on device-based signals. If every isRooted, isHooked, isFrench (😨) check returns “false” you cannot tell the difference between good traffic and someone harming your app.<br>This is particularly dangerous for Fintech, Crypto, Web3 and gambling apps that have sensitive code to protect.<br><strong><em>Why is it overlooked?</em></strong> ~ Because security teams are academically trained to tackle the most <em>powerful</em> attacks, not the most <em>scalable and profitable</em>. Unlike complex Frida runtime manipulation, a repackaged app can be passed down the line to non-technical operators and to other devices.<br>And while your red team plays capture-the-flag on your paycheck trying to patch exotic exploits, a carder in his basement with a $20 ChatGPT subscription is three prompts away from fooling your KYC verifications.</p><h3>Google certifies code it never once looked at</h3><p>On Android, Google Play Integrity is supposed to catch this through PLAY_RECOGNIZED. We traced the whole check on a live device and the process is straightforward:</p><ol><li>The app calls the Play Integrity API.</li><li><em>com.google.android.finsky.integrityservice.IntegrityService</em> takes the request and calls DroidGuard.</li><li><em>com.google.android.gms.droidguard.DroidGuardService</em> collects the package name, version code, install source, device id, SIM value and the request nonce into a hardware-backed attestation.</li><li>Google’s servers decide the verdict and sign it server-side.</li><li>For PLAY_RECOGNIZED Google compares just two things: your app&#39;s package name and its signing certificate.</li><li><strong>If the certificate does not match</strong>, you get <strong>UNRECOGNIZED_VERSION</strong>.<br><strong>If both match</strong>, you get <strong>PLAY_RECOGNIZED</strong>.<br><em>(&quot;the app and certificate match the versions distributed by Google Play.&quot; </em><a href="https://developer.android.com/google/play/integrity/verdicts"><em>https://developer.android.com/google/play/integrity/verdicts</em></a><em>)</em></li></ol><p><strong>Google only checks the certificate on record</strong>, fixed the moment the app was installed, regardless of runtime state.<br>We proved it on a rooted Android 16 phone <em>(Google Play Services 26.34.67)</em> by repackaging <em>gr.nikolasspyr.integritycheck</em>: changed the code, re-signed it with our own key. Same package name, same version, different signing key:</p><pre>genuine build signer SHA-256 17952b5c... CN=Android, O=Google Inc. repackaged build signer SHA-256 2839c45a... CN=resign</pre><p>Android will not let you update the installed genuine app with the repackaged one. It checks the signer and refuses:</p><pre>INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package signatures do not match newer version; ignoring!</pre><p>→ <strong>This is the whole defense Play Integrity offers</strong>. ←<br>With root we left the genuine install record untouched (so the system still had the genuine certificate on file) and overwrote the actual code file on disk with our repackaged build:</p><pre># with root: swap the code, leave the install record alone su -c &quot;cat repackaged.apk &gt; /data/app/~~.../gr.nikolasspyr.integritycheck-.../base.apk&quot;</pre><p>Then we asked Play Integrity for a verdict. For code that was ours, not Google’s, it returned:</p><pre>{ &quot;appIntegrity&quot;: {  &quot;appRecognitionVerdict&quot;: &quot;PLAY_RECOGNIZED&quot;, &quot;packageName&quot;: &quot;gr.nikolasspyr.integritycheck&quot;, &quot;certificateSha256Digest&quot;: [&quot;17952b5c...&quot;], &quot;versionCode&quot;: &quot;22&quot; }, &quot;accountDetails&quot;: { &quot;appLicensingVerdict&quot;: &quot;LICENSED&quot; }, &quot;environmentDetails&quot;: { &quot;playProtectVerdict&quot;: &quot;NO_ISSUES&quot; } }</pre><p><strong>The attacker’s code was running, and every check still reported genuine.</strong></p><p>We also made sure the changed code actually ran, and was not a leftover compiled copy. We deleted the phone’s pre-built copy of the app, so Android had to load our modified code from the swapped file, and a small marker we added to that code wrote to the log from the very same app process that then received the PLAY_RECOGNIZED verdict.</p><p>The code on that phone was the attacker’s, signed 2839c45a.... Google reported the genuine certificate, 17952b5c...: PLAY_RECOGNIZED, LICENSED, Play Protect NO_ISSUES. The verdict reads the certificate cached at install; it never re-hashes the running code. A repackaged app carries a spotless, genuine verdict.</p><h3>For a high-value app, three holes make it worse</h3><p>If the app lives in fintech, crypto, web3, social, or gambling, the verdict leaves three openings:</p><ol><li><strong>The Play Integrity check is proven falsifiable.</strong> A genuinely-signed app, hooked at runtime, runs changed behavior while the certificate on record stays the same. The verdict still says PLAY_RECOGNIZED.</li><li><strong>Off Google’s reach, you get no usable verdict.</strong> On a de-Googled device (one running without Google services, such as many China-market phones or a custom version of Android called a custom ROM), the Play Integrity check cannot run at all, so there is no verdict to act on. That forces a lose-lose choice on the defender: block everyone and lose real traffic, or allow everyone and let the attacker in.</li><li><strong>You get rate-limits and latency.</strong> Quotas and latency force the defender to check only on sensitive actions, leaving gaps the attacker can abuse.</li></ol><p>On-device anti-repackaging alone has never held: one study built a single attack toolkit that, by its authors’ account, <a href="https://arxiv.org/abs/2012.09292">defeats every existing repackage-proofing scheme</a>, and the attacker’s tools have only sharpened since. That is why the check that counts has to live off the device.</p><h3>If Play Integrity is unreliable, how do I defend my app?</h3><p><strong>You can protect your app</strong>, and we do that by making it so hard that it becomes economically unviable for them, so <strong>the offenders will damage your competitors instead.</strong><br> Repackaging alone without runtime hook detection is like locking your door but leaving the windows open. There aren’t many tools online that can do both for free, but one of them is Intakto. Intakto reads the code at runtime: it re-hashes the app’s installed APK files and checks them against the certificate Android has on file, covering the blind-spot that Play Integrity doesn’t responsibly defend. We ran the same file swap against Intakto on a Pixel 3a (Android 12), and it flagged the swapped file. It does not catch a copy re-signed with a new key and installed fresh: that is the case where Play Integrity answers UNRECOGNIZED_VERSION. The signer gets read two ways, through a raw native call and through the Android API, so a hook that lies to one is caught by the other.</p><p>Adding it to an app takes the library from JitPack, then one call when the app starts (<a href="https://github.com/areyougarou/IntaktoFT/blob/main/docs/guides/integration.md">integration guide</a>, which also shows the manifest line that registers your Application class):</p><pre>// settings.gradle.kts, inside dependencyResolutionManagement { repositories { ... } }<br>maven { url = uri(&quot;https://jitpack.io&quot;) }</pre><pre>// app/build.gradle.kts, inside dependencies { ... }<br>implementation(&quot;com.github.areyougarou:IntaktoFT:v0.2.1&quot;)</pre><pre>// in your Application class (import io.github.areyougarou.intakto.Intakto)<br>override fun onCreate() {<br>    super.onCreate()<br>    Intakto.check(this)<br>}</pre><p>What each result means, including the ones that never close the app: <a href="https://github.com/areyougarou/IntaktoFT/blob/main/docs/checks/app-integrity.md">app-integrity checks</a>.</p><p>Indie developers and smaller apps don’t need any high-ticket SDKs and are well served by a free tool already online, the <a href="https://github.com/areyougarou/IntaktoFT">Intakto free tier</a>. Paid anti-fraud SDKs are suggested to high-value targets (web3, crypto, Fintech, &amp;mldr;) where reducing fraud without slowing the app or destroying the conversion rate is one of the best and most measurable investments that can be made.</p><p><em>Originally published at </em><a href="https://areyougarou.com/posts/android-repackaging/"><em>https://areyougarou.com</em></a><em> on October 22, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3acf637b7349" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>