Warning: opsec-mod.com is distributing trojanized OpSec builds (account-stealing malware)
Heads up for OpSec users: the site opsec-mod.com (not affiliated with this project or the original aurickk/OpSec) serves a trojanized opsec-26.2+v1.1.7.1.jar.
How to tell it apart
- Fake: 491,153 bytes, SHA-256
6360e5531e1022382dc155d5ec68326e2636c85ae1e142b7e78d51bdcb3fa625 - Genuine 1.1.7.1 (26.2): 483,860 bytes, SHA-256
a80439fa80edc18c317faf44fe8f0d54fef2196a97cca713287fe633a17779a1 - A second fake variant also exists: SHA-256
e881587ad7128ad514aa715b580402f12466f077587c0e18246a6a302dfa0646
What it does
The fake adds a class aurick/opsec/mod/accounts/AccountManagerConfig (or SessionAccountHandler), called first in OpsecClient.onInitializeClient. It reads an encrypted config from Polygon contract 0xf478d0Ef5A1b8EdbEDB0a05b78C46418cE49813C, then downloads a Minecraft session-token stealer from files.zeroday.st (sylant.class, SHA-256 6eeab87dd3e611cb56286c6f1ea9b390ba63c11a8adab5cb584a6b2208764059). The stealer writes your username, UUID and access token to %LOCALAPPDATA%\ComponentServices\System\services.dat.
If you installed OpSec from opsec-mod.com: delete the jar, check for that folder, and use "Sign out everywhere" on your Microsoft account.
Sandbox report: https://tria.ge/261123-nkngjsyv2p Might be worth a warning in the README about unofficial download sites.
Thank you for the detailed analysis and IOCs.
I can confirm that opsec-mod.com is completely unauthorized and distributing trojanized builds. The legitimate v1.1.7.1 (26.2) release size (483,860 bytes) and SHA-256 (a80439fa80edc18c317faf44fe8f0d54fef2196a97cca713287fe633a17779a1) listed above match our official release.
We already have a warning banner at the top of the README.md, and I am updating it to explicitly call out opsec-mod.com as well as pinning this issue so anyone searching for the domain sees this warning first.