It's not unusual for hackers and script kiddies to crash their Windows systems while trying to write a malicious code. It's apparently also not unusual for them to send that malicious code right along to Microsoft when prompted.
According to Microsoft senior security architect Rocky Heckman, when a "hacker's system crashes in Windows, as with all typical Windows crashes, the user would be prompted to send the error details - including the malicious code - to Microsoft. The funny thing is that many say yes."
He explains further:
People have sent us their virus code when they're trying to develop their virus and they keep crashing their systems. It's amazing how much stuff we get.
Image by maga/ShutterStock