threads / discuss / 60790

Virus detected

Subject: Virus detected

## tl;dr

3 messages between Jan 25, 2024 and Jan 25, 2024.

replies: 2people: 2as markdown or json

Hr. Rüge· Jan 25, 2024, 15:23 UTC · lore
Hello,

trying to use windows version 2.43.0 from https://git-scm.com/downloads my antivirus software detects it as a virus. In parallel something wanted to change my hosts-entries.

Ist that normal?

Best regards, Martin

Hr. Rüge· Jan 25, 2024, 15:46 UTC · re: Hr. Rüge · lore

P. S. Virus detected

Tried a few versions:

First version WITHOUT detected virus (avira.com) is version 2.41.0.3. All newer versions lead to virus detections.

Best regards, Martin

Am 25.01.2024 um 16:23 schrieb Hr. Rüge:
Show 10 quoted lines
> Hello,
>
> trying to use windows version 2.43.0 from https://git-scm.com/downloads
> my antivirus software detects it as a virus.
> In parallel something wanted to change my hosts-entries.
>
> Ist that normal?
>
> Best regards,
> Martin
Konstantin Khomoutov· Jan 25, 2024, 16:21 UTC · re: Hr. Rüge · lore

Re: Virus detected

Hi!
On Thu, Jan 25, 2024 at 04:23:25PM +0100, Hr. Rüge wrote:
> trying to use windows version 2.43.0 from https://git-scm.com/downloads
> my antivirus software detects it as a virus.
I assume you're talking about Windows.

This problem is not new and has been reported and discussed numerous times on the 'net. It has even been reported to the Git-for-Windows bug tracker - see [1, 2, 3, 4].

The problem with A\V software is that it does not operate solely by scanning the executable image files for having byte sequences identifying particular infections - this approach worked in 90s but not for too long. These days, pieces of A/V software try to _guess_ whether a particular executable is a malware, and to do that, they "score" what they inspect; for instance, lack of signing of some binaries lowers the score, not being presented in some "whitelist" lowers the score and so on.

What you can do is to navigate directly to the GfW's project downloads [5] (you might have noticed that the link to download the Windows binaries over there at git-scm.com actually already leads there, just to some more user-friendly web page), pick the version and make (32-bit vs 64-bit) you need, download it and then verify its checksum [6] matches that one listed at the download page. If the checksum is OK, you can be sure no software running on your machine has tampered with the downloaded installer, and then the question of whether or not the installer contains any malware is the trust in the Git-for-Windows maintainers and the integrity of the GfW's Github project.

> In parallel something wanted to change my hosts-entries.
> 
> Ist that normal?

I would say it's not normal but as usually, coinsidence of this activity with an attempt to install GfW might not indicate any connection between the two - other than temporal. Of course, this only stands if you have no malware running on your host which patches the downloaded files on-the-fly.

Still, if you're not sure about this one, please ask on the dedicated GfW mailing list [7].

 1. https://github.com/git-for-windows/git/issues?q=is%3Aissue+in%3Atitle+virus
 2. https://github.com/git-for-windows/git/issues?q=is%3Aissue+in%3Atitle+malware
 3. https://groups.google.com/g/git-for-windows/search?q=malware
 4. https://groups.google.com/g/git-for-windows/search?q=virus
 5. https://github.com/git-for-windows/git/releases/
 6. https://www.google.com/search?q=windows+calculate+hash+of+file
 7. https://groups.google.com/g/git-for-windows/

← back to recent threads