Barrotes is a computer virus, considered as the first of Spanish origin,[1][2][3][4] which appeared in December 1992,[5] and was programmed in assembly language for DOS-based systems.
Initially, although to a lesser extent, it was also called Toledo by the press,[6][1] due to the location in the homonymous city of its first discovery, and registered as Virus:DOS/Barrotes by Microsoft.
[8][11] It will then check if the date is 5 January to display the author's message and the bars, otherwise it runs the system normally, going unnoticed.
Its main method of dissemination, given the context of its time of action —the 90s— was the exchange of infected files via physical storage media, such as floppy disks.
[11][12][4] Subsequently, new versions and variants of the virus appeared with more pronounced malicious effects, such as the Barrotes 1303 variant in 1996,[13] which destroyed the boot sector of the hard disk, preventing the system from booting and accessing the information stored on it, changing the activation date to 23 September.