Encrypting a second hard drive

Open GParted and delete all partitions on the disk you want to encrypt Encrypt the partition sudo cryptsetup -y -v luksFormat /dev/sda Decrypt the new partition so that you can format it with ext4 sudo cryptsetup luksOpen /dev/sda sda_crypt sudo mkfs.ext4 /dev/mapper/sda_crypt Mount your new encrypted partition sudo mount /dev/mapper/sda_crypt / Automatically mount and decrypt …

Link: http://securityblog.gr/4498/encrypting-a-second-hard-drive/

Malicious Website Cryptominers from GitHub. Part 2.

Recently we wrote about how GitHub/GitHub.io was used in attacks that injected cryptocurrency miners into compromised websites. Around the same time, we noticed another attack that also used GitHub for serving malicious code.
Encrypted CoinHive Miner in Header.php
The following encrypted malware was found in the header.php file of the active WordPress theme:
There are four lines of code in total. Each, when decoded, plays a different role.
CoinHive Injections
When decoded, the last two lines inject typical CoinHive cryptocurrency miners:

The miner is only shown conditionally, so bots are excluded and only human visitors will receive it.
Continue reading Malicious Website Cryptominers from GitHub. Part 2. at Sucuri Blog.

Link: https://blog.sucuri.net/2018/01/malicious-cryptominers-from-github-part-2.html