Sinisterly
No Boot4U prank (destructive) - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials)
+--- Thread: No Boot4U prank (destructive) (/Thread-No-Boot4U-prank-destructive)

Pages: 1 2


RE: No Boot4U prank (destructive) - h3r0 - 08-07-2014

(08-07-2014, 10:25 PM)chmod Wrote:
(08-07-2014, 10:19 PM)h3r0 Wrote:
(08-07-2014, 09:51 PM)L0aD1nG Wrote: Thats amazing I love that kind of pranks!!We can't do it if they (victims) use Windows??
Either way thanks for sharing this dude, good job!!

You can I link to a version of dd for windows in the tutorial, and I believe you'll have to run it as an admin. As for the drive path I'm not sure what you'll have to put in.

dd --list would be a good starting point

I'm on dd 8.21 and I just checked the man pages and I can't find a --list flag, what version are you on?


RE: No Boot4U prank (destructive) - chmod - 08-07-2014

(08-07-2014, 10:31 PM)h3r0 Wrote:
(08-07-2014, 10:25 PM)chmod Wrote:
(08-07-2014, 10:19 PM)h3r0 Wrote:
(08-07-2014, 09:51 PM)L0aD1nG Wrote: Thats amazing I love that kind of pranks!!We can't do it if they (victims) use Windows??
Either way thanks for sharing this dude, good job!!

You can I link to a version of dd for windows in the tutorial, and I believe you'll have to run it as an admin. As for the drive path I'm not sure what you'll have to put in.

dd --list would be a good starting point

I'm on dd 8.21 and I just checked the man pages and I can't find a --list flag, what version are you on?

That was from the website hosting the Windows port, in which the question I replied to was referring

Quote:Using --list

Windows provides a number of ways to name a device. The --list will output the preferred names. Under NT4, only the \\?\Device\Harddisk<n>\Partition<n> method is available. Partition0 is the entire disk. Under Windows XP, some partitions may not have a Volume device. In this case you can still use the Harddisk<n>\Partition<n> name.

Windows 2000 and later have Volume devices which are unique GUIDs which identify a disk or partition (what MS call a Volume). These are listed along with any mount point that they may be mounted on. Most of the time this is a drive letter but it may be a path on another filesystem. If you want to read the underlying device, do not include the trailing \ character. If the volume is not mounted there is no easy way to identify it so be careful. Under XP SP2, many partitions can not be read directly, even if they are not in use. There is a work around which I call reading partitions via the back door.
Code:
Sample output dd --list rawwrite dd for windows version 0.4beta1. Written by John Newbigin <jn@it.swin.edu.au> This program is covered by the GPL. See copying.txt for details Win32 Available Volume Information \\.\Volume{5cd94d2c-3251-11d9-9444-806d6172696f}\ link to \\?\Device\HarddiskVolume1 fixed media Mounted on \\.\c: \\.\Volume{129b1243-3252-11d9-b167-806d6172696f}\ link to \\?\Device\CdRom0 CD-ROM Mounted on \\.\r: \\.\Volume{129b1242-3252-11d9-b167-806d6172696f}\ link to \\?\Device\Floppy0 removable media Mounted on \\.\a: \\.\Volume{e3429891-0eb9-11da-b18f-000d60dc98cd}\ link to \\?\Device\Harddisk1\DP(1)0-0+3 removable media Mounted on \\.\d: NT Block Device Objects \\?\Device\CdRom0 \\?\Device\Floppy0 \\?\Device\Harddisk0\Partition0 link to \\?\Device\Harddisk0\DR0 Fixed hard disk media. Block size = 512 \\?\Device\Harddisk0\Partition1 link to \\?\Device\HarddiskVolume1 \\?\Device\Harddisk1\Partition0 link to \\?\Device\Harddisk1\DR2 Removable media other than floppy. Block size = 512 \\?\Device\Harddisk1\Partition1 link to \\?\Device\Harddisk1\DP(1)0-0+3 Removable media other than floppy. Block size = 512 Virtual devices /dev/zero /dev/random

Obviously Linux being the master race already has this function built into the OS (fdisk) so including it within dd is not necessary.



EDIT:

Just realised I quoted the wrong post and was actually responding to @L0aD1nG so sorry for the confusion


RE: No Boot4U prank (destructive) - h3r0 - 08-07-2014

(08-07-2014, 10:38 PM)chmod Wrote: Obviously Linux being the master race..

Liked for that and now changing my banner to "Linux Master Race", I suggest you do the same. haha


RE: No Boot4U prank (destructive) - Isaac - 08-19-2014

How exactly can we do this on a Windows computer? Some clear instructions would be great mate.


RE: No Boot4U prank (destructive) - h3r0 - 08-19-2014

(08-19-2014, 02:05 AM)Isaac Wrote: How exactly can we do this on a Windows computer? Some clear instructions would be great mate.

Keep in mind, I do not have windows, nor have I ran windows in years so this is probably off but should get you on a good start.

http://www.chrysocome.net/dd

  1. Install/download dd from above link
  2. Open an admin command prompt
  3. discover primary disk from running "dd --list"
  4. Run this following "dd if=c:\path\to\boot.bin of=\\?\Device\Harddisk1 bs=512 count=1"
  5. reboot

I hope this helps you out, but like I said I haven't tried this in windows so experiment and post your results. Also be sure to test it on a virtual machine!


RE: No Boot4U prank (destructive) - l4ur15 - 08-19-2014

Since I know how to run BootRepair on Ubuntu (or other debian based) Linux live cd I can't spoil my mbr Smile
I'm never making mbr backups since I have hirens boot and ubuntu live cd's.


RE: No Boot4U prank (destructive) - l4ur15 - 08-19-2014

Since I know how to run BootRepair on Ubuntu (or other debian based) Linux live cd I can't spoil my mbr Smile
I'm never making mbr backups since I have hirens boot and ubuntu live cd's.


RE: No Boot4U prank (destructive) - l4ur15 - 08-19-2014

Since I know how to run BootRepair on Ubuntu (or other debian based) Linux live cd I can't spoil my mbr Smile
I'm never making mbr backups since I have hirens boot and ubuntu live cd's.