Virus / Trojan detected? #60
Replies: 4 comments 10 replies
-
You could at least superficially inspect the code or throw the binary in IDA/GHIDRA before publicly announcing a false positive. I don’t know what a “sandbox installation” is or how it can detect port scans when there isn’t any networking code at all, not even an updater. (However, macOS automatically does some online shenanigans, like CRL, check for notarization, etc.) I can see whether I’ll find the time to submit a report. I’m used to working on low-level firmware code and live patching of both bootloaders and kernels (OpenCore) - if I’ll ever distribute malware, I’ll be more proficient than having it detected by the go-to platform for sanity checks. |
Beta Was this translation helpful? Give feedback.
-
I tried to reproduce your findings and was only partially lucky, but fully shocked.
The result of that procedure can be found here: https://www.virustotal.com/gui/file/e86ba51581a2f1f0b5db6b02bece98149cb3f1e52b288bea2d782437638d3a3b When I realized the app just gets zip'd again upon uploading, I also performed the procedure on Results for the second link, which is easier to check for authenticity:
Regarding the first link: It's clearly the same application uploaded. Yet, the Behavior check is vastly different. Inspecting the DNS resolution for example now yields us To make things even worse, after writing up all of the above to explain VirusTotal's results, I realized something about the "Highlighted Text" section (conveniently at the very end!!): "The application cannot be opened for an unexpected reason". Clearly, the application is not even launched (they probably are not using ARM runners) and yet there are multiple attributions of port scanning, network communication, and MITRE tactics to the app. Absolutely ridiculous, what a useless piece of junk. I understand your intention might have been to neutrally inform the public about the results you got, but your last remark clearly is not neutral. As a result, I felt like this has to be resolved fast to get concerns off the table quickly, only to see that the main point of concern (malware signature detection) seems to be false and the rest clearly does not apply. Such results need to be interpreted with care, not just taken at face value from the summary box. I certainly would have preferred to not spend time on this tonight. Anyway, thanks for the report and I hope things are cleared up now. |
Beta Was this translation helpful? Give feedback.
-
Your time to test and respond are appreciated. I tested again and just replicated it. How I did it was to unzip the app first, then upload the "Battery Toolkit.app" itself. I used the same file as yesterday, got the same results. VirIT detected "Trojan.Win64.Agent.HGU". For good measure, I downloaded it again, unzipped (but then it was named "Battery Toolkit (1).app" because was using the same folder). On upload, it zipped it. Then no threat detection. So I renamed that file "Battery Toolkit.app" and VirIT detected "Trojan.Win64.Agent.HGU" again. Tested multiple times. Uploading the zip file: nothing detected. Uploading as "Battery Tookit (1)" (or whatever other name): nothing detected. I rename the exact same file, upload again: virus detected. Link (virus detected): https://www.virustotal.com/gui/file/f5f14a7f216a99b17982af6cee1a32ec1a35f93bbd601931ee4a79450ad05a86 What is strange is that when it does detect a virus, it says "Last analysis: 1 month ago", and when it doesn't, it says "2 days ago". Both even appear to have different behaviors (IP, portscan, etc.) as per the "Behaviors" tab. EXACT SAME FILE. It is certainly a strange and inconsistent behavior by Virustotal, and no idea what could be causing that. I have no conclusion. (Edit #5: I'm even wondering if Virustotal is legit.) I understand you would have preferred not to spend time doing that, but it's probably for the best. Releasing software publicly does involve managing and addressing user comments or concerns, at least if one wants to maintain trust. And I think your comments will reassure most people. Might even be worth looking up the developers of that "VirIT" scanner (developed by Italian Cybersecurity company TG Soft - https://www.tgsoft.it/ )to see what's up. Again, I think this software is very useful and I thank you sincerely for making it. I might still install it in spite of concerns Virustotal are raising. Because I strongly believe Mac's "Battery Optimization" does NOT do what Apple fanboys say it's supposed to do, and I have two battery replacements (and comments from Apple tech that I shouldn't leave my Macbook plugged in all the time) to prove it. |
Beta Was this translation helpful? Give feedback.
-
I understand how you'd take this personally, after all you put in a lot of time to write this great piece of software. But as mentioned before, putting something out there in the public opens up the possibility of a lot comments and questions of all sorts. Some praise, some complaints, some questions, some concerns. In this case, it was a legitimate user concern; a positive on a well-known virus checker. And it was important to address it, in case others experience the same thing. I'd have edited the post (and might still) to reflect there was a false positive, in case other people also test Virustotal and get the same results. That is useful information. Keeping the discussion there addresses one of the potential concerns users may have. But the phrasing of "I thought I already explained it thoroughly" and "There is nothing to contact VirIT about", among other things, come across as somewhat rude. I understand the software is free, and takes a lot of time investment. But at this point, it probably wouldn't hurt to remain patient. It's very little effort compared to everything put in developing and distribution the tool already and can make it that much more likeable. Again, thank you for creating that software. I believe it really has its uses. I've used another similar tool (the only other one I know) and prefer this one. Not just because it's free, but simpler. Also because I believe the other one is behind a serious power and battery issue that required an SMC reset. EDIT: Note that although Github tends to be visited by more technically-inclined people, it seems to be the only place (or trustworthy place) where to download Battery Toolkit. Because of this, there's bound to be non-technical people ending up here who won't understand the explanations, much less open and scrutinize the code. |
Beta Was this translation helpful? Give feedback.
-
EDIT/UPDATE: Seems like a false positive. Probably nothing to worry about. Only one of Virustotal's 50+ malware detectors found anything, and running a new scan it finds nothing. In this long discussion, the developer provides detailed explanation of the results.
Initial text:
VirusTotal detects Trojan.Win64.Agent.HGU in latest release 1.5.
The sandbox installation also detects some port scans and DNS lookups. Highly unusual for an app that is supposed to only manage the battery and power....
Beta Was this translation helpful? Give feedback.
All reactions