Tag: Linux

OSSEC: How to Install the Windows Agent

Get the windows binary from atomicorp. https://updates.atomicorp.com/channels/ossec/windows/ At the time of writing, the latest is 3.6.0. Download and install the exe. During the installation, you will get an error. Ignore it.   Next, we need to download the libpcre2-8-0.dll from the git-sdk-64 Github page in mingw32/bin/libpcre2-8-0.dll and stick it in the osscec-agent folder at C:\Program
Read More »

libvirt error: symbol lookup error: /usr/lib/libvirglrenderer.so.1: undefined symbol: gbm_bo_unmap

I encountered the following error after installing the AMDGPU Pro drivers on my Arch Linux machine: error: internal error: process exited while connecting to monitor: /usr/bin/qemu-system-x86_64: symbol lookup error: /usr/lib/libvirglrenderer.so.1: undefined symbol: gbm_bo_unmap The error is caused because the thing it is looking up does not exist. Luckily the fix is easy.   Add the
Read More »

Ubuntu: Change from 32 Bit to 64 Bit (Mostly)

Tested on Ubuntu 16.04. Here are the commands, life story and explanation is below: echo foreign-architecture amd64 | tee /etc/dpkg/dpkgcfgd/multiarch dpkg --add-architecture amd64 apt update apt install linux-image-4.15.0-50:amd64 apt install gcc-multilib apt upgrade (Reboot, make sure you boot on to the new kernel), and then set sources.list to only have amd64 (Put [ arch=amd64 ]
Read More »

Useful Bash One-liners

Below is a collection of useful Bash one-liners that we have come across and use semi-often (or at least often enough to not want to lose them). Honestly we mostly made this just in case we need them again and have lost them elsewhere, but hopefully they end up helping some of you as well!
Read More »

Alpine: Installing Filebeat

Filebeat is the tool used to forward logs from a client to an ELK server. It can be seen as equivalent to using rsyslog to forward to a syslog server. I’ve recently finished setting up an ELK server at Rob and I’s apartment, and have been setting VM’s that we run to forward their logs
Read More »