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

03 Jul 2014, 17:48

How to Install Wordpress

Because I have installed Wordpress for testing purposes way too often, i decided to write my setup down so I can reference it and others can benefit from the install. The installation was tested with Ubuntu 14.04 LTS 64bit.

Read more

30 Mar 2014, 12:00

Multiple Vulnerabilities in ionCube Loader-wizard

In a recent security audit I spotted a file on the server which caught my attention: loader-wizard.php.

After calling the file via a Browser I noticed it’s part of ionCubes encoding and obfuscation software. The software can be found on ionCubes Homepage.

Read more