06 Nov 2017, 00:30

How to run cron jobs with docker

Lately I came across the problem of running cron jobs in a docker based environment when we migrated wpvulndb.com to a docker based install. So how should we execute cron jobs when the application is running with docker or docker-compose?

Read more

30 May 2017, 20:00

rhme2 - Solving the whac the mole challenge

RHme2 (Riscure Hack me 2) was a hardware based CTF challenge started back in 2016. Although it’s already over you can download the challenges from their Github page.

All you need is an Arduino (or Arduino compatible) board with an atmega328p chip (Arduino UNO or Arduino Nano). In this post we will solve this challenge by brute forcing it using a second Arduino.

Stuff needed to solve this challenge:

  • an Arduino Nano or UNO
  • a second Arduino
  • an oscilloscope
Read more

07 Feb 2017, 23:30

Turning Piwik Superuser Credentials into Remote Code Execution

On a recent pentest I got root access to a MySQL database hosting a PHP web application and also an instance of Piwik. I was able to extract the credentials from the database and crack them really fast because they were only hashed using MD5. It looks like Piwik introduced stronger hashes in Piwik 3 but luckily this target is still running version 2.

Edit: Piwik now disabled custom plugin uploads by default in 3.0.3 (Changelog). You have to manually enable it in the config (See FAQ) so this removes a lot attack surface from existing installs.

Read more

13 Jan 2017, 23:45

Vulnhub - DC416: Fortress Writeup

Fortress is the last of 4 DC416 VMs by @superkojiman.

Read more

10 Jan 2017, 23:00

Vulnhub - DC416: Dick Dastardly Writeup

New evening, new VM: DC416 Dick Dastardly by the famous @_RastaMouse.

Read more

02 Jan 2017, 22:00

Vulnhub - DC416: Baffle Writeup

After I finished DC416 - Basement I wanted to give the next VM a try: DC416 - baffle by @superkojiman.

Read more

18 Dec 2016, 01:00

Vulnhub - DC416: Basement Writeup

Basement is the first of 4 VMs from the DC416 CTF by @barrebas on Vulnhub. There are 5 flags on this machine but I was only able to get 4 of them.

Read more

24 Nov 2016, 18:45

Vulnhub - HackDay: Albania Writeup

I was bored today so I thought it would be a good chance to try any of the current VulnHub VMs. I decided to try the latest HackDay: Albania from @R-73eN.

Read more

17 Jan 2016, 12:45

UPC Ubee EVW3226 Fail

Inspired by Blasty and his UPC Wifi key generator I decided to take a look at my UPC router too. It’s a Ubee EVW3226 with a custom firmware built by UPC providing a modified web interface and a lot of other stuff.

Read more

21 Apr 2015, 19:20

How to Crack Mifare Classic Cards

In this blog post I will cover some quick basics about NFC, Mifare Classic and how to set up everything for reading and writing a NFC tag. At the end I show you how to reprogram a vending machine’s NFC tag to contain more credits.

NFC stands for Near Field Communication and is used to communicate over short distances. For more Infos on NFC you can read the Wikipedia article. NFC nowadays is used for access cards, public transport, some more and in this case: Vending Machines. Basically there is an active NFC enabled device (the reader) and a passive device (the tag). The active device scans for the passive one and establishes a connection on contact. It also powers the passive device via an electromagnetic field. There is also an active - active mode where both endpoints can send data and need to be powered seperately. This is usually used when sending data for example in “Android Beam”.

In this example the vending machine has an active NFC reader built in. You can touch it with your tag to buy some drinks and the corresponding price is subtracted from the ammount stored on the tag. You can also recharge your tag via the machine if you run out of credits.

Read more