Bert de Jong’s Post

Heads-up for anyone deploying Q-Dir through a software catalog. (see update in the comments) Today we handled an incident where a Q-Dir 12.83 installer from such a catalog turned out to carry a backdoor. It installs a Python RAT that runs as SYSTEM and talks to a C2 server. The catalog vendor has confirmed the bad builds and pulled them. The installer on the official SoftwareOK website looks clean. It is signed by Nenad Hrg (SoftwareOK) with a valid certificate, while the malicious build is unsigned and about twice the size. A quick way to check your own copy: right-click the installer, open Properties, and look at the Digital Signatures tab. No signature from Nenad Hrg means you shouldn’t trust it. Things to look for: Folder C:\ProgramData\Microsoft\DeviceSync\b2\py39 python.exe running from that folder with check_deps.py or py_client_b2_dll.py Connections to 8.210.69[.]51 on port 9876 or 443 SHA-256 hashes (malicious): Installer: 551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d Backdoor script: 2d382bd5998d06dc6a7ab111c077e4468c6d7694af94933f869976115f8e139c check_deps.py: 40ef846a2ba6fa5b072d4314916a8dea6cc284244e53a14aa190f58342f85c46 When we found it, the script had zero detections on VirusTotal and the installer three, so don’t wait for your AV to flag it. If you get a hit, isolate and reimage the machine, then reset passwords and revoke sessions for everyone who used it. Removing the folder won’t get rid of the persistence the installer sets up. Happy to help if you’re unsure what you’re seeing.

Update: the catalog vendor tells us the trojanized Q-Dir 12.83 installer came from the official Q-Dir website, which served it for a period before the clean version was restored. So this isn’t limited to software catalogs. If you or your users downloaded Q-Dir directly in the past few days, check it too. The quickest check is the digital signature. The legitimate installer is signed by Nenad Hrg (SoftwareOK); the malicious one is unsigned and about twice the size. Two more indicators since the original post: check_deps.py, SHA-256 40ef846a2ba6fa5b072d4314916a8dea6cc284244e53a14aa190f58342f85c46 C:\Windows\Temp\b2_py39_agent.7z, extracted with C:\Windows\Temp\7zr.exe The malicious installer also drops and runs the genuine, signed Q-Dir installer from C:\Users\Public as a decoy, so a working Q-Dir install doesn’t mean you’re clean.

To view or add a comment, sign in

Explore content categories