this post was submitted on 30 Dec 2023
83 points (100.0% liked)

Asklemmy

1452 readers
97 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] cupcakezealot@lemmy.blahaj.zone 122 points 10 months ago* (last edited 10 months ago) (2 children)

sudo apt install microsoft-edge-stable

[–] otter@lemmy.ca 56 points 10 months ago (1 children)

Some generative AI is going to swallow this thread and burp it up later

[–] dandroid@dandroid.app 15 points 10 months ago (2 children)

My wife's job is to train AI to not do that. It's pretty interesting, actually.

[–] MDKAOD@lemmy.ml 11 points 10 months ago (1 children)

A bad actor doesn't care what your wife does. :)

[–] Goun@lemmy.ml 9 points 10 months ago

I too choose this guys wife

[–] intensely_human@lemm.ee 1 points 10 months ago (1 children)

How does she accomplish it?

load more comments (1 replies)
[–] electric_nan@lemmy.ml 50 points 10 months ago
[–] _MusicJunkie 30 points 10 months ago (3 children)

Mistaking if= and of= when using dd.

[–] user224@lemmy.sdf.org 29 points 10 months ago* (last edited 10 months ago) (1 children)

After all, it is known as the Dick Destroyer.

Edit: Disk Destroyer, I meant to write "Disk Destroyer"...

[–] barkingspiders@infosec.pub 2 points 10 months ago
[–] oriond@lemmy.ml 4 points 10 months ago
[–] Scrollone@feddit.it 4 points 10 months ago

Why didn't they called them from= and to= ? :(

[–] Celediel@slrpnk.net 17 points 10 months ago* (last edited 10 months ago) (2 children)
[–] sxan@midwest.social 7 points 10 months ago

I was going to suggest a fork bomb, but it is recovered easily. Then I thought about inserting a fork bomb into .profile, or better, into a boot process script, like:

echo ':(){:|:&};:' | sudo tee -a /bin/iptables-apply

That could be pretty nasty. But still, pretty easy to recover from, so not really "destructive."

[–] Saigonauticon@voltage.vn 2 points 10 months ago

Came here for this one. Not the most destructive, but certainly the most elegant.

[–] Turbula@lemmy.ml 12 points 10 months ago (2 children)
[–] chaogomu@kbin.social 6 points 10 months ago

That wouldn't work on my system.

Typing apt just opens the man page for pacman.

[–] jbaber@lemmy.sdf.org 4 points 10 months ago

sudo apt remove ratpoison

[–] user224@lemmy.sdf.org 10 points 10 months ago* (last edited 10 months ago)

I don't know about how exactly to do it, but I do have an idea or two.

  1. Something that will reflash the firmware on as many devices as possible using garbage data. At least the UEFI.

  2. Filling most of the drive space, leaving let's say 50MB, then overwriting those 50MB repeatedly to damage the hardware itself. I suppose you could do the same with RAM. If we're dealing with PMR/CMR HDD, then you should just be able to write to specific sectors without doing it by filling the rest.

  3. If present, keep ejecting the DVD drive. Either the mechanism dies or someone accidentally bumps into the open tray and breaks it off.

  4. Keep hard rebooting the laptop after some time. It may corrupt some data, and put the blame on hardware. The hard reboot can be done by echo b > /proc/sysrq-trigger This will need magic SysRq compiled into the kernel, and power off/reboot enabled. The latter can be done by enabling all magic SysRq functions echo 1 > /proc/sys/kernel/sysrq or just reboot/power off with "128".

[–] oriond@lemmy.ml 9 points 10 months ago* (last edited 10 months ago) (1 children)

1.- I will start with the infamous rm-rf /

[–] barkingspiders@infosec.pub 6 points 10 months ago

I don't think there's anything shorter or more elegant than this really. When you're right you're right.

[–] oriond@lemmy.ml 9 points 10 months ago* (last edited 10 months ago) (1 children)

I can't remember but having my hard drive encrypted, I believe there is a single file that messing with it would render the drive not decryptable.

[–] oriond@lemmy.ml 2 points 10 months ago* (last edited 10 months ago)

Here is the command that will render a LUKS encrypted device un recoverable
From the documentation.

5.4 How do I securely erase a LUKS container?

For LUKS, if you are in a desperate hurry, overwrite the LUKS header and key-slot area. For LUKS1 and LUKS2, just be generous and overwrite the first 100MB. A single overwrite with zeros should be enough. If you anticipate being in a desperate hurry, prepare the command beforehand. Example with /dev/sde1 as the LUKS partition and default parameters:

head -c 100000000 /dev/zero > /dev/sde1; sync

[–] vext01@lemmy.sdf.org 9 points 10 months ago

emacs

(Runs away....)

[–] sndrtj@feddit.nl 9 points 10 months ago

Dd is known as disk destroyer for a good reason. Very easy to fuck yourself over.

[–] intensely_human@lemm.ee 6 points 10 months ago

sudo apt-get install factorio

Good luck recovering from that one

[–] SkaveRat@discuss.tchncs.de 5 points 10 months ago* (last edited 10 months ago)
alias cp="rm -rf"

bonus points for putting it into the shells RC file.

Not as destructive as deleting root, but a lot more sneakier

[–] leds@feddit.dk 5 points 10 months ago

smbios-token-ctl pick one of the "dangerous - permanent write once" tokens

[–] BlueEther@no.lastname.nz 4 points 10 months ago (1 children)

been there and done rm -rf as root

[–] cmnybo@discuss.tchncs.de 4 points 10 months ago* (last edited 10 months ago)

dd if=/dev/urandom of=/dev/sdx will overwrite every single byte of /dev/sdx with random data. Replace /dev/sdx with the drive you want to wipe. Optionally, specify a larger block size to speed it up more.

[–] Hotzilla@sopuli.xyz 4 points 10 months ago

hdparm --yes-i-know-what-i-am-doing --sanitize-crypto-scramble /dev/sda

Modern disks have encryption enabled in disk level. This will change the encryption key on the disk, meaning that in seconds all data in the disk is in unrecoverable state.

This is way better than writing the whole disk 0's or rm -fr /

[–] mokazemi@discuss.tchncs.de 2 points 10 months ago

I was a newbie user, telling a friend of mine about rm -rf /*. I typed it in a hit Enter, telling him it doesn't harm since I didn't enter sudo. But I'd forgotten that I have still permission to delete my home directory. πŸ₯²πŸ˜‚

[–] dukatos@lemm.ee 2 points 10 months ago

tar czf /dev/sda /home

[–] julianh@lemm.ee 2 points 10 months ago

dd if=/dev/random of=/dev/sda

Wipes the entire disk and replaced it with random data.

[–] kootepe@sopuli.xyz 2 points 10 months ago

I'd imagine rm has easily caused the most destruction.

[–] lolcatnip@reddthat.com 1 points 10 months ago

If you have to ask, you're not ready to know.

./fire_nukes.sh

load more comments
view more: next β€Ί