Here's the full timeline, for more clarity:
I'm editing a video on SONY VEGAS PRO 17.0 when suddenly..
Windows Defender flags a ton of files
I run a MalwareBytes scan, and it detects the files too
I verify that both scans are indeed false positives by uploading many files to VirusTotal
I restart my pc without telling Windows Defender to "quarantine" the entries
MB doesn't start
I run mb-check-3.1.10.1000.exe, mb-clean-3.1.0.1035.exe, and FRST64.exe
I realize that Windows Defender has quarantined those files without telling me
I tell Windows Defender to restore the files
(Wait 5 mins)
MB shows up on the tray area of the taskbar
Restart PC
MB is working as normal
I could just say it was a crazy bit flip, but the fact that they both went crazy at the same time is unbelievable. Before the mayhem started though, Windows Defender created an event log for an interaction between VEGAS PRO and my Program.exe. I shouldn't have cleared my program's access-log.txt before posting the source code here 🤦♂️.
My copy of VEGAS PRO isn't "original". There's a possibility that a long time fuse finally went off; I installed VEGAS on 2019-09-23, but I've rarely used it since. OR this could all just be a big coindidence caused by a bunch of bitflips. Either way, all the symptoms are gone: Scanning with WD and MB reports only the ussual stuff, and running VEGAS PRO shows something completely different than what it showed before on my access-log.txt.
The only signs that all of this ever happened are the scan I exported from malwarebytes, and the Windows Defender "Protection History" GUI: On the GUI there are a LOT of detections, far more than the 52 that MB reported, all in a single item: "Trojan:Win32/Bearfoos.A!ml". But only a small fraction of these detections were registered in the event logs. I've also analyzed some of these detections on VirusTotal, and none of them were detected as malware.
Every scan I've made since this incident has detected nothing out of the ordinary, so I'll continue to use my PC as normal. I'd still like to leave a record of this, just in case it happens to someone else 😅