C2750D4I RMA in NL

I bought an ASRock C2750D4I motherboard for my NAS in October 2014. In March 2017, my board was struck by a firmware bug that involves the BMC flash storage being worn out too quickly because of a bug in the watchdog. This is a well-known issue.

Since my board died after more than two years, I was worried whether I could still get it RMA’ed. The shop where I bought the board stated I only had two years warranty.

Luckily, the folks at ASRock were very helpful. I discovered that (also) in The Netherlands you have three years warranty on the C2750D4I.

I received a replacement board from ASRock quickly. As of now, half a year later, the new board is still operating perfectly. I can only say that my RMA experience with ASRock has been positive.

Update 2022: my board died again, this time because of the C2000 bug. ASRock was very considerate in sending me a new board, this many years after I bought it.

Mapping Stuxnet on the ATT&CK framework

The MITRE ATT&CK framework is a great tool for blue teams.

As an exercise, I tried mapping the Stuxnet attack onto the ATT&CK framework. As a source, I used the excellent Symantec Stuxnet paper.


CC-BY-SA.

  • I tried cramming it all into one slide, sorry for that. Defense evasion is indeed that big.
  • There are multiple ways to do the mapping. There could also be mistakes (caveat emptor). I welcome any bugfixes.
  • The credential access row is empty, since from what I read it used the user’s credential token not their actual passwords. The exfiltration row is empty because the paper shows that this instance was primarily meant for infecting the SCADA systems. Of course, the malware was able (via its C&C connection) to have exfiltration modules, but these were not discussed.

PDF version: ATT&CK – Stuxnet.

Cleaning up broken snapshots (snapper + btrfs)

The combination of btrfs + snapper is a great solution for the Linux desktop. Perhaps even the best thing since sliced bread. Once properly set-up, you can rollback any file that you may accidentally damage at some point. I’ve found it invaluable during software upgrades/migrations (oops, are all your desktop panels gone after upgrading? don’t worry, just roll back) or when running into bugs (oops, the Digikam library got corrupted? don’t worry, just roll back).

Configuring snapper involves letting systemd activate it regularly using systemd timers. This works well, although you may end up having corrupt / incomplete snapshots if your computer crashes in the middle of a snapper operation.

Having broken snapshots will be made known to you in the journal with events such as:
:1: parser error : Document is empty

This message indicates that you have work to do to clean up broken snapshots. The following Bash oneliner may help you do this:

IFS=$'\n';
for x in $(grep -hr SUBVOLUME /etc/snapper/configs | cut -d '"' -f 2); do
  for y in "$x/.snapshots/"*; do
    z="$y/info.xml";
    if ! [ -s "$z" ]; then echo "***$y***"; ls -lah "$y";
      read -p "Delete? (y/n)" R; if ! [ "$R" = "y" ]; then continue; fi;
      set -x; btrfs subvol del "$y/snapshot"; rm -rf "$y"; set +x;
fi; done; done; unset IFS
  • I’ve broken the oneliner over multiple lines for this post, but just merge them together for use in a shell.
  • This is just a oneliner and not a real program. The way I do it here, is not the recommended way to loop in Bash though it should work fine for this use case (the alternative, using read + while, won’t work here due to a nested read). Refactoring would make it more complex, at which point I’d suggest to just make it a Python program.
  • It needs to run as root.
  • As always, have back-ups. Caveat emptor.

Lombok to Flores by boat (Indonesia)

Download file: Flores%20boat%20combined.gpx

Some very rough notes if you are considering the Komodo boat trips from Lombok to Flores. This information stems from November 2015 (I am late in writing this post 🙂 ).

  • Most ticket offices asked around 1.7M IDR, but you can haggle to 1.5M IDR. I’ve also seen 1.4M IDR advertised at Kidi’s homestay at Gili T. This was in “off-season” Nov/Dec 2015. Your mileage may vary.
  • There are multiple boats/companies offering this tour (including more luxurious ones). This post describes the budget backpacker variant; there are multiple operators you can choose from.
  • Food is included in the ticket as well as entry for the Komodo park (including guides).
  • We were with 14 tourists on the boat. This was a good balance between having a fun group and not being too overcrowded.
  • The boat sails during the day as well as through the night. During the day it stops at predetermined spots so you can get off board for activities.
  • Don’t expect the mattresses that you will sleep to be clean. Obviously, this all depends on how luxurious you book your trip.

Day one:

  • 8 o’ clock at the harbor at Gili T, where at 08:30 a connecting boat departed for Lombok. (This depends on from where you set out for your trip.)
  • We met there at a cafe/restaurant of the company. Note that this is the place where you can buy provisions for the trip (e.g. beer).
  • The owner of the company said that if his crew tries to scam you then you can call him and he provided his number. 🙂
  • We left the restaurant for the boat around 10:30.
  • The boat will stop once for dinner, but otherwise keeps on sailing continuously.

Day two:

  • When you wake up, you will find that the boat has stopped off the coast at Moyo Island (Pulau Mojo). You can go on-land to visit a small waterfall.
  • Later in the day you will visit Pulau Satonde (the boat stops here about two hours).

Day three:

  • When you wake up, you will find that the boat is sailing to Gili Lawadarat. Here you can take an iconic picture (see below).
  • Later in the day they will stop at another point in Komodo where you can snorkel some more.
  • You can also visit the local village. In the evening the boat will park near the bats mangroves (you will see them flying out in the evening).

Day four:

  • You will visit the main Komodo island to see the dragons. Be careful if the crew tries to scam you and claim that you need to pay extra for the guides in the park.
  • Later in the day you will visit Rinca island as well. Here you can see some more dragons as well as visit some nice viewpoints.
  • You’ll make one more stop at a nice beach halfway Rinca and Labuan Bajo.
  • Disembark in the afternoon at Labuan Bajo.

Miscellaneous notes:

  • We rented a scooter in Labuan Bajo for driving over the island from west to east. We paid 75k IDR for a 125cc bike.
  • Something else that we discovered in Indonesia: you can pay for Lion Air tickets in some of the supermarkets. This came as a relief for us since we had booked a ticket for departure the next day and they would not accept credit cards on such short notice. (We noticed this in Medan, Sumatra.)

Komodo park:

Schönbrunn luggage storage

Earlier this year I couldn’t quickly find online whether the Schönbrunn palace in Vienna has a luggage storage. A post from 2010 was saying no.

So if you end up here after googling this question: I visited Schönbrunn in October 2016 and I can confirm that they now have luggage storage.