Stoned
- Capabilities
- Persistence
Stoned is an early memory-resident boot-sector virus dating to 1987 that became widespread among IBM PC-compatible systems in the late 1980s and early 1990s. It primarily affected DOS-era computers, infecting floppy-disk boot sectors and hard-disk master boot records. Infection begins when a computer boots from infected media. Once resident, the virus intercepts BIOS disk operations and infects additional floppy disks during disk access, including data diskettes that do not contain an operating system.
During startup, Stoned reserves 2 KB at the top of conventional memory, relocates its resident code there, and hooks BIOS interrupt INT 13h. It saves the original boot record elsewhere on disk before replacing it and preserves the hard disk's partition table. Its original variant displays the message “Your PC is now Stoned!” on approximately one in eight boots from an infected floppy. Although it lacks an intentionally destructive payload, its storage of original boot records in sectors that can overlap filesystem structures can cause corruption or boot failure.
Stoned produced numerous variants, including Michelangelo. The historical virus is distinct from the later Stoned bootkit framework, which was named after it.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Brain was a boot sector virus and only infected 360k floppy disks.
Execution
2 techniques
Execution
Following code registers now the address of the new allocated memory to the Interrupt 13h in the Interrupt Vector Table.
The virus moves to a permanent home in upper memory and changes the INT 13 vector to point to a special routine in the virus code.
Persistence
5 techniques
Persistence
It writes itself to floppies and hard disks (Master Boot Record) and backs up the original bootloader it overwrites.
As the name suggests, viruses of this type infect the bootsector of an operating system's boot disk. The orignal bootsector of an infected disk has been copied elsewhere on the disk and the virus has been placed in the bootsector.
If a boot sector virus has infected your diskette, the virus code will be contained in the buffer... The use of DIR will not infect a clean system... Mac users with system software prior to version 7.0 should be aware of a greater threat... A common Mac virus, WDEF, uses this infection path... At least one Amiga virus, Saddam, attaches itself to Disk Validator to help it spread.
A resident virus installs itself somewhere in memory (RAM) the first time an infected program is executed, and thereafter infects other programs when they are executed...
If a boot sector virus has infected your diskette, the virus code will be contained in the buffer... The use of DIR will not infect a clean system... Mac users with system software prior to version 7.0 should be aware of a greater threat... A common Mac virus, WDEF, uses this infection path... At least one Amiga virus, Saddam, attaches itself to Disk Validator to help it spread.
Privilege Escalation
2 techniques
Privilege Escalation
A resident virus installs itself somewhere in memory (RAM) the first time an infected program is executed, and thereafter infects other programs when they are executed...
If a boot sector virus has infected your diskette, the virus code will be contained in the buffer... The use of DIR will not infect a clean system... Mac users with system software prior to version 7.0 should be aware of a greater threat... A common Mac virus, WDEF, uses this infection path... At least one Amiga virus, Saddam, attaches itself to Disk Validator to help it spread.
Stealth
7 techniques
Stealth
Another point was that files could vanish - this is because the back up is done for floppies on head 1 sector 3, which could be occupied by FAT root directory.
The code checks the system clock, and on March 6th, it enters an endless loop of filling up the sectors on the disk with the bootsector.
It writes itself to floppies and hard disks (Master Boot Record) and backs up the original bootloader it overwrites.
As the name suggests, viruses of this type infect the bootsector of an operating system's boot disk. The orignal bootsector of an infected disk has been copied elsewhere on the disk and the virus has been placed in the bootsector.
If a boot sector virus has infected your diskette, the virus code will be contained in the buffer... The use of DIR will not infect a clean system... Mac users with system software prior to version 7.0 should be aware of a greater threat... A common Mac virus, WDEF, uses this infection path... At least one Amiga virus, Saddam, attaches itself to Disk Validator to help it spread.
Following code registers now the address of the new allocated memory to the Interrupt 13h in the Interrupt Vector Table.
The virus moves to a permanent home in upper memory and changes the INT 13 vector to point to a special routine in the virus code.
Discovery
1 technique
Discovery
The code checks the system clock, and on March 6th, it enters an endless loop of filling up the sectors on the disk with the bootsector.
Lateral Movement
1 technique
Lateral Movement
Brain was a boot sector virus and only infected 360k floppy disks.
Impact
1 technique
Impact
If not, it backs up the original bootloader to sector 3, head 1 and writes itself (Stoned) to the bootloader.
Recent activity
29 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.