Finding a Bug in SQLite by Fuzzing osquery Posted on Dec 2, 2016


Background

While fuzzing osquery using afl, I encountered a bug in SQLite.

Investigation of the Bug

The bug was reproducible using printf "select * from routes where destination ;VACUUM '::1';\n" | osqueryi. Using osquery binaries compiled with ASan, I got a heap-use-after-free report when running the osqueryi program as demonstrated in the previous sentence.

Read More

Irssi Bug #563 Posted on Oct 30, 2016


Background

While fuzzing irssi’s config file parser using afl, I encountered a bug that I reported and became issue #563 for irssi on GitHub. I am going to perform an analysis of the bug and my solution to the bug.

All I had to do to build irssi with afl was add CC=/path/to/afl/afl-gcc to the configure script invocation. After building irssi, I started running irssi --config file.cfg with afl, allowing afl to pass in the configuration file it generates in place of file.cfg. All that can be done by following a guide that covers how to use afl.

Read More

New Laptop Posted on Dec 13, 2015


I got a new laptop. It is the HP Pavilion 15t. The model number is 15t-ab100 and the SKU is L8V46AV.

I got the i5 processor with 8 GB RAM and 1 TB HDD. It was a big upgrade over my old laptop, because I had a first gen i3 in the old one and this has a Skylake processor.

Read More

Namecoin Block Format Posted on Dec 15, 2014


This article assumes familiarity with the Bitcoin block format.

Namecoin blocks starting with block 19200 may have some extra data in them. These blocks with extra data are called AuxPOW blocks for Auxiliary Proof of Work. The extra data appears between the nonce and txn_count. This extra data appears when a block has been merged-mined for both the Bitcoin and Namecoin networks.

Read More

Installing and Running nmcontrol Posted on Nov 23, 2014


I recently installed the program nmcontrol. Doing so was non-trivial, so I am documenting the process I took here.

For those that don’t know, nmcontrol is a daemon that communicates with namecoind and provides services. In particular, I wanted to use the DNS service it provides for accessing .bit domain names. The .bit TLD is used by Namecoin. Namecoin is a decentalized key-value store and among its uses is decentalized DNS.

Read More

My First Package Posted on Sep 4, 2014


I got my first package uploaded to Debian this week. That package is winetricks. It was orphaned and I adopted it. Now the lastest version (0.0+20140818+svn1202) is available in sid and should migrate to testing in nine days.

Read More

Debconf Wrapup Posted on Sep 1, 2014


Debconf14 was the first Debconf I attended. It was an awesome experience.

Debconf14 started with a Meet and Greet before the Welcome Talk. I got to meet people and find out what they do for Debian. I also got to meet other GSoC students that I had only previously interacted with online. During the Meet and Greet I also met one of my mentors for GSoC, Zack. Later in the conference I met another of my mentors, Piotr. Previously I only interacted with Zack and Piotr online.

Read More

GSoC Update Posted on Jul 11, 2014


It has been a couple of months since my last GSoC update and a lot has happened since then.

You can view the web interface at metrics.debian.net. There is a dynamic interface viewable with JavaScript enabled, and a static interface viewable with JS disabled. I am currently working on the dynamic interface.

Read More

GSoC Welcome Package Received Posted on May 1, 2014


A couple days ago I received my welcome package from Google. The welcome package included a pen and a notepad that has stickers.

Read More

Connect. Socialize.