Skip to content

GitHub Portable with .7z.exe extension #2238

@cliffporterx

Description

@cliffporterx

I wanted to advise on something I was seeing with security software with the Git releases available on:
https://github.com/git-for-windows/git/releases

When it comes to the portable versions, I have security software that is hitting on those files because the file extension ends in '.7z.exe'.
The reason the security software hits on this is because of the tactic of a double extension in Windows to make something that is made to look like something else, but it is actually an executable, which they call 'masquerading'. So something like Evilfile.doc.exe and things like that the software would hit on as suspicious. While it is not detecting it as malicious in this case, it is detecting it as suspicious simply due to it being an executable with a double file extension.

I can see that the files are signed and the exe is created using 7zip SFX. My guess is that the original packed file, such as 'PortableGit-2.22.0-64-bit.7z' is being repacked to the self extracting executable. However instead of creating it as 'PortableGit-2.22.0-64-bit.exe', it is creating it as 'PortableGit-2.22.0-64-bit.7z.exe' instead, probably by some way it is identified in the original config script being used to repack this.

I just wanted to advise of this, wanting to suggest to see if the script used to repack this can be updated to not retain the .7z in the middle, so it would create the file like 'PortableGit-2.22.0-64-bit.exe' instead. This should prevent the security software from detect it as a possible masqueraded file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions