Microsoft Defender Flags Tor Browser as a Trojan and Removes it from the System - Deform

shish_mish@lemmy.world to Technology@lemmy.world – 1267 points –
Microsoft Defender Flags Tor Browser as a Trojan and Removes it from the System - Deform
deform.co
204

You are viewing a single comment

I'm not sure that these things work the way you think they do... an antivirus wouldn't just look for the name of an executable to be "legit.exe" but rather would look at what the program calls itself in it's manifest, compute the hash for the executable binary file, and compare that hash against a database of known good hashes. If the contents of the executable compute a hash identical to the known good hash, then you know the contents of the executable are clean.

Still getting into programming and having a bit of trouble understanding what a "manifest" is. What does this technically entail? Are "manifests" implemented differently by PL or OS?

The manifest (at least how I am using the term) is whatever metadata a file has, and the format and location of this metadata can differ between operating systems. Usually the manifest is generated by the operating system based off of header data from the file itself, and details about the file that the operating system can deduce, such as file size, origin, location, file type, etc. In Windows you can view this info by right clicking/opening the context menu on any file and selecting "Properties", on macOS by opening the context menu and selecting "Get Info", and on other OSes such as linux/freeBSD it will be something similar.

There are other usages for "manifest" depending on the context, for example a manifest.xml would be something a developer would include with an android app that has configuration settings and properties for the app.

Manifests are like an abstract for an executable.