It will be too much work for moderators and with all due respect, not all of them have the technical knowledge nor the time to analyse files and detect malwares.
Besides, it will give users, especially newbies, a false sense of security. Newbies tend to trust moderators and they will download whatever file they see just because a mod approved it.
Imo, restricting newbies from posting links seems a more reasonable and more effective approach to fight this kind of scam.
I didn't say that moderators have to detect the files. Of course not, that's the last thing a mod should do, but you see files like I mentioned are surely malwares, you don't have to download them.
Restricting newbies from posting links will only damage the honest ones. The spammers will find another way to share their scammy links. (e.g PERFECTCASINO .GAMES)