Tinkering with CryptoMining

If you are in SecOps, you probably have seen the threat of CryptoMiners running on compromised hosts. This article may not be for you, but if you would like to dive deeper inside of the working of crypto-mining you will find a few resources here to get you started.

For the example I use the Moonlander 2 ASIC USB stick as you can pick one up form Amazon for as little as $50 as of March 2020, and it has all the features needed to work with a Raspberry PI. It allows to mine LTC (Litecoin.org).

sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev raspberrypi-kernel-headers
cd
mkdir miners
cd miners
sudo unzip Linux_3.x.x_4.x.x_VCP_Driver_Source.zip
cd Linux_3.x.x_4.x.x_VCP_Driver_Source
make
sudo cp -a cp210x.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial

Another example is the GekkoScience Bitcoin SHA256 Stick Miner, which lets you test how to mine BTC (bitcoin.org). 

I use the Raspberry PI, as it is a very low cost environment you can build with your children at a very young age. You can do a lot more with it then just teaching about Bitcoin, Blockchain, and mining.

The resources below have all the documentation necessary to get started.

The Moonlander device tends to lock up after a successful run with bfgminerand the miner isn’t detected on successive runs with the status message: 

------------------------------------------
NO DEVICES FOUND: Press 'M' and '+' to add
------------------------------------------

The solution is to remove the driver (cp120x) and unplug / plug back in the USB stick:

  1. sudo rmmod cp120x
  2. unplug USB stick
  3. wait 10 seconds
  4. plug USB stick back in
  5. check if the driver is re-registered by running lsmod | grep usb the output should look like
    usbserial XXXXX X cp210x

Resources

Raspberry Pi 4 on Amazon

Olimex

Moonlander 2 USB Stick ASIC on Amazon

Moonlander 2 USB Stick getting started instructions

Moonlander  ASIC setup on linux

VCP kernel drivers

GekkoScience Bitcoin Miner Setup on Linux / Raspberry Pi

GekkoScience Termius R606 Miner Setup

Raspberry PI dependencies for building kernel modules

ASIC Miner Valuation estimations

US made ASIC miner

 


Sametime 8.5.1 Deployment

To deploy a Sametime environment with multiple levels of licensing, multiple Sametime servers with each respective license versions needed (Entry, Standard, etc.). The Sametime wiki has a number of useful resources to plan out a complex Sametime deployment:

  • http://www-10.lotus.com/ldd/stwiki.nsf/page.xsp?documentId=6F6353B28F5FB51185257775007AC431&action=openDocument
  • http://www-10.lotus.com/ldd/stwiki.nsf/dx/1.3_Lotus_Sametime_product_family
  • http://www-10.lotus.com/ldd/stwiki.nsf/xpViewCategories.xsp?lookupName=Learning%20Center

And here are some documents that delve into the details:

  • http://www-10.lotus.com/ldd/stwiki.nsf/dx/Chapter_2._Planning_a_Sametime_8.5.1_deployment
  • http://publib.boulder.ibm.com/infocenter/sametime/v8r5/index.jsp?topic=/com.ibm.help.sametime.v851.doc/plan/plan_topol_deploy.html

Domino 8.5.2 Adding Email Aliases

Often times people need to receive email for multiple valid variation of their email addresses. On most email systems, these are called email aliases. IBM Domino has a slightly unusual way of allowing system administrators to define aliases:

  • Open the Domino Administrator Tool
  • On the People & Groups tab, select People
  • Edit the Person document of the person you would like to add an email alias to
  • Add the alternative email addresses to Short name/UserID like this:

    "UsedID alias1@domain.com
    alias2@domain.com
  • Save and close the Person document
  • Navigate to the Server... tab
  • Select the Server console
  • To enable the changes on the SMTP server, enter in the Domino Command: TELL ROUTER UPDATE CONFIG