Nugget Post: Insert an alert / rule name in emails sent from ElastAlert

ElastAlert is a fantastic python module that makes it easy to setup near - realtime alerts and responses to entries of interest. A quick piece of information  which I didnt find clearly documented was how to insert an alert name into a custom subject line sending email alerts.  A typical custom email alert rule file would include … Continue reading Nugget Post: Insert an alert / rule name in emails sent from ElastAlert

Proxy re-encryption

What is proxy re-encryption? Proxy re-encryption lets Alice send Bob a message (M) via a semi-trusted proxy, without revealing Alice's private key to either the proxy or Bob, and without revealing the secret message to the proxy. As Wikipedia puts it: "Proxy re-encryption schemes are cryptosystems which allow third parties (proxies) to alter a ciphertext … Continue reading Proxy re-encryption

Bringing reliability to OSSEC

As we saw in a previous blog post, OSSEC is UDP based. This is great for performance, and can scale to 1000s of nodes. However, it means there is an inherent problem of reliability. UDP is a connection-less protocol, hence the OSSEC agent has no guaranteed way of knowing that a particular event has been … Continue reading Bringing reliability to OSSEC

Raspberry Pi : Home Control Center Part 2

In this second part of my series, I'll go into configuring your PI to have: A "security mode" that will record about 30-60 seconds of video everytime movement is sensed wherever a raspberry pi is installed Display the local temperature, humidity security monitor arming on a simple web UI In this photo, reposted from a previous … Continue reading Raspberry Pi : Home Control Center Part 2

Raspberry Pi : Home Control Center Part 1

In this series i'll document how I put together a lot of people's hard work into a home control center that is based off the raspberry pi, both for my future reference and for anyone out there who needs to build something similar. By the end of it, we should be able to have the … Continue reading Raspberry Pi : Home Control Center Part 1

Android (SL4A) bluetooth to Linux (ubuntu)

As a follow up to my recent post I tried to program a very basic launcher. The idea is to pass commands from my android phone to my ubuntu laptop. The android side of things was already catered for by SL4A, I used a fixed version of their bluetooth_chat.py program that comes bundled with SL4A python. … Continue reading Android (SL4A) bluetooth to Linux (ubuntu)

Nugget Post : Running Kivy + SL4A’s Python for Android together using QPython

Kivy is the next python framework I went discovering, but I really missed the convenient "droid" package that SL4A had. SL4A made it so easy to use native android features... like "Toasts". With Kivy, (at the moment at least - devs are hard at work to fix this!) it's a bit tougher - you need … Continue reading Nugget Post : Running Kivy + SL4A’s Python for Android together using QPython