applied security research
Wesley Neelen - 22 apr 2020

Building a Zolder logo

During my spare time I like to play with home automation, internet of things and hardware stuff. The latter is interesting. I really don’t know anything about hardware or electronics, but I do like to play with it. One of the things I have built is a weather station on solar power. Next to building stuff like that, I run home assistant to automate lots of things within my house. Not so much because its useful, but because it’s fun.

Another project 😊

We recently started our new company Zolder. While we were in the process of developing our identity, I got an idea for another project: building a Zolder logo with WS2812B ledstrips behind it, to give it some cool effects.

Designing the logo

Just prior to that I got familiar with laser cutting company Laserbeest. Their products were great, so I decided to ask the same company to create our logo as well. We received the EPS files from our designer, I started by playing around with the files and prepare them for Laserbeest. I wanted to use a 1000x1000mm MDF as backplate. I modified the EPS file so the logo would fit on the backplate. The result looks like this:

The cool thing was: after sending Laserbeest above EPS file, they modified the source file for the laser machine, to perfectly print our logo. They also included a template that can be used to make sure all parts are positioned in the correct offset from each other:

 

After retrieving above image I gave them the assignment to print our logo. Than it was time to wait for the results:

After a few days I received the logo. Even the placeholders were already present, which surprised me at that time. The result looked great, so I started building a device to get the led strips working.

Building the microcontroller + ledstrip device

I figured out the best setup along the way. Using materials that were already laying around in my home, but selected them based on best fit for this project. In the end these were the components I used:

Component Links
8-channel Bi-directional Logic Level Converter – TXB0108 [ADA-395] Link
Draad – Solide Kern – 7.5m – 22AWG – Rood [KW-2364] Link
Draad – Solide Kern – 7.5m – 22AWG – Zwart [KW-2366] Link
Draad – Solide Kern – 7.5m – 22AWG – Wit [KW-2367] Link
2.1mm DC barrel jack – Breadboard compatible [KW-1602] Link
Adafruit Perma-Proto – Half-size [ADA-1609] Link
Weerstand 470 Ohm – 1/4 watt – 5% – 10 stuks [KW-805] Link
Universal Power Supply – 3-12V 1A – 6 plugs [KW-1554] Link
Adafruit HUZZAH ESP8266 Breakout [ADA-2471] Link
WS2812B 60 black PCB IP67 3m Link
1000 uF Capacitor Link

 

Above components were connected to each other according to the scheme below:

Microcontroller software

On the internet I found multiple libraries to control the led strip from a ESP8266 microcontroller. A commonly seen library was FastLED. FastLED was also great for this project, as it easily allows mirroring to multiple led strips. As my setup contained 5 separate led strips, I decided to go for this library.

The next step was to find appropriate software for this project. Why build the software myself, if other people already did that? Also, I am quite a noob in the C-language, which is used on  ESP8266 microcontrollers.

The first project I came across was a FastLED webserver for the ESP8266. After some small modifications, adding multiple led strips, I got this code working in my setup. Here is a photo from the led strips working the first time:

Later on I came across another project which was much more suitable: a FastLED microcontroller communicating over MQTT that was Home Assistant compatible. This perfectly fitted my needs, as I am a Home Assistant user and at that time I was also playing with zigbee2mqtt. I had the MQTT server already running and connected to Home Assistant, so I just had to flash the microcontroller and add the strip to the existing MQTT server 😊. Connecting the logo to home assistant had many advantages. It allows me to connect all the existing sensors / information in my smart home to the logo. For example: if motion is detected in my office, the logo turns on. If there is no motion for 5 minutes, it automatically turns off the logo.

Painting the logo

The microcontroller and the led strip were working. The next step was painting the logo. I decided to use black for the logo itself, and white for the black plate. TIL: MDF needs a lot of primer 😊. The result:

Installing the led strip

The last step was to install the microcontroller and led strip on the board. The challenge was not to break the led strip connection during installation (of course, in the end one connection broke nonetheless 😊). However, after creating the required holes the board looked like this:

After putting everything in place, the end result looks like this:

At recording time of above video I was still using the FastLED webserver. Flashing the MQTT firmware and configuring Home Assistant made the logo available and controllable within Home Assistant:

End of the project 😊. Learned a lot. And had a lot of fun.

Blogs

Zolder.App LIVE Presentations

Erik Remmelzwaal - 11 jan 2021
During #CES2021 we will host a daily LIVE event in Microsoft Teams – OPEN FOR ALL, so also available for non-CES-visitors and non-Teams-users. Monday – Tuesday – Wednesday from 17:00 – 17:30 CET / 11:00 – 11:30 AM EST. The events will be hosted by Erik Remmelzwaal in English. The sessions will be opened for […] Lees verder

#CES2021 - We Are Ready!

Erik Remmelzwaal - 06 jan 2021
We are very excited to be part of the #CES2021NL mission! Meet us at CES (Januari 11-14) in our online booth 10609 and see how we solve global challenges with NLTech. Erik Remmelzwaal, Co-Founder & CEO Yes I indeed think we are ready for CES. At this virtual event we will showcase Zolder.App. I am […] Lees verder

Azure App Consent Policies

Rik van Duijn - 11 nov 2020
OAuth consent phishing has been on the rise for a while now. Unsurprisingly, Microsoft has gradually introduced measures to protect from this type of attack. Latest: Risk-Based Step-Up Consent. Lees verder

Honeytokens using Azure Keyvaults

Rik van Duijn - 15 okt 2020
In 2017 Wesley and I gave a presentation at SHA2017 about honey/pot/tokens. We actually planned on building a fully fledged platform. But never came further then the POC phase of that project. This week we got a product demo from the guys at Thinkst, i’ve always loved this way of thinking: let the attacker come […] Lees verder

Risk of exposed home automation services

Wesley Neelen - 24 sep 2020
At home, I am automating many things for fun. Currently I am using Home Assistant, an incredibly powerful piece of software for automating your home. Regularly I am combining the home automation experiences with security. Home automation is often related to physical things such as changing lights, moving curtains, opening door locks or turning the […] Lees verder

Hacking the traffic light of the future

Wesley Neelen - 06 aug 2020
Nowadays we are connecting everything we can think of to the internet. Usually to make our lives easier or more comfortable. Some of the new upcoming innovations are related to making our traffic smart with the goal to improve safety, comfort and the traffic flow. We dived into this technology to analyze the inner workings and identify potential security risks. Lees verder

Detect lateral movement with Azure Sentinel

Wesley Neelen - 01 jul 2020
Lately we have been setting up a the production network for our Zolder.App service. The network consists of multiple segments separated by a firewall. As an addition we wanted to add monitoring features into the network. If an attacker is in our network, we would like to get a notification. Lees verder

Detecting BEC fraud using Azure Sentinel

Rik van Duijn - 17 jun 2020
Business Email Compromise (BEC) Fraud inflicts the most damage of all types of cybercrime, according to the FBI. How to detect such attacks using Azure Sentinel? Rik shares some actual possibilities. Lees verder

Phishing aftercare

Rik van Duijn - 26 mei 2020
This blog is part of our Office 365 attack & defense series. We also maintain a Github page where we share our Office 365 tools and queries. We often get sent phishing emails by family and friends. Not to phish us but because we ask family and friends to forward them to us. Sometimes they […] Lees verder

Inside a phishing panel

Wesley Neelen - 20 mei 2020
Dutch and Belgium citizens are receiving phishing attacks every day. But how does that exactly work? Lees verder

Office 365 - Exchange rules

Rik van Duijn - 13 mei 2020
This blog is part of our Office 365 attack & defense series. We also maintain a Github page where we share our Office 365 tools and queries. Exchange rules can be useful in managing the emails we receive on a daily basis. For example, it allows users to automatically respond or move specific emails to […] Lees verder

Office 365 - malicious applications

Wesley Neelen - 05 mei 2020
Wesley dives into the App Registrations feature of Microsoft Azure Active Directory. Finds ways to abuse it through delegate & application permissions and shares ideas howto protect from such abuse. Lees verder

Windows terminal profile fun

Rik van Duijn - 24 apr 2020
Rik plays around with the preview version of Windows Terminal to find manipulation options. Lees verder

Building a Zolder logo

Wesley Neelen - 22 apr 2020
Wesley writes about his most recent IoT project: building a Zolder logo with WS2812B ledstrips behind it, to give it some cool effects. Lees verder