Moshe Kaplan's Blog

Oct 30, 2023 - 15 minute read

Three Months of Net-SNMP

One of our systems was having a problem that the SNMP health monitoring was unreliable. The vendor blamed it on the SNMP process using too much memory, causing either the system to run out of memory or restart the process. One of the vendor’s articles stated that the system uses Net-SNMP as the SNMP agent. That led me to a question: Could I find and fix the Net-SNMP bugs that were causing problems for us?

Sep 10, 2023 - 3 minute read

New Feature in Wireshark 4.2 – Custom Packet Context Menus

One of the more common challenges in the world of incident response is the multitude of tools in an analyst’s toolbox. Pivoting from one tool to another is often slow, with much copy-pasting between their interfaces. For example, when you’re analyzing a website, you might want to check its reputation on Google Safe Browsing or scan it with SSL Labs. Or when examining traffic to a host, you might want to run ping or traceroute to it.

Jul 24, 2023 - 6 minute read


I recently received an email that I needed to schedule an appointment on a website. However, when I attempted to visit the page, Chrome displayed a nasty error message: I had never encountered an ERR_HTTP2_INADEQUATE_TRANSPORT_SECURITY error before and since googling it resulted in all pages that didn’t explain the issue, my next step was obvious: Analyze the traffic with Wireshark! Analyzing the TCP session in Wireshark To prepare for the analysis, I configured my browser to store TLS secrets and Wireshark to read them, so I’d be able to view the plaintext traffic.

Apr 2, 2021 - 13 minute read

Fuzzing IrfanView with WinAFL

I’ve wanted to play with WinAFL since it was released. Here’s how I used WinAFL to fuzz IrfanView v4.57 and find several bugs. Background Fuzzing is testing software for bugs by sending invalid, unexpected, or random data as inputs to a computer program. WinAFL is a fuzzer for Windows which can take a corpus of input files, track which code is executed, and generate new inputs to execute new execution paths.

Apr 11, 2018 - 5 minute read

New Feature in Wireshark 2.6 - HTTP Request Sequences

A common task in incident response is to work backwards from a web request to determine the actions that led to the web request being made. For example, when a user visits a malicious web page, did they reach it from a Google search? A phishing link? Or from somewhere else? To aid in this analysis, I developed a new Wireshark feature called HTTP Request Sequences. HTTP Request Sequences uses HTTP’s Referer and Location headers to graph a PCAP’s HTTP requests as a tree.

Jul 17, 2015 - 12 minute read

Getting Started with Apparmor, starring Aircrack-ng

This post will go over how I created AppArmor profiles for two of the most well-known programs in the aircrack-ng suite of tools, aircrack-ng and airodump-ng . Installing AppArmor AppArmor is installed by default on Ubuntu. What we’ll need is the apparmor-utils package, which contains the utilities to simplify creating new AppArmor policies. Installing that is as easy as running: sudo apt-get install apparmor-utils Creating your first profile  aircrack-ng We could start with an empty profile, and then refining that until it works.

May 26, 2015 - 10 minute read

Engineering Your FAFSA to Mazimize Financial Aid

It’s a beautiful summer day, your daughter just graduated high school, she’s all ready for college and you did your part too – you filed your FAFSA and you’re all excited and supportive about her going to college. And then you get the letter in the mail. Your “Expected Family Contribution” is $30,000 and so she isn’t eligible for any financial aid. But how can you afford to spend $30,000 a year on college when you only make $80,000 and still have three other kids at home?

May 12, 2015 - 4 minute read

Converting VHS Tapes to MP4s with ffmpeg

I thought it would be wise to digitize my family’s collection of home videos stored on VHS. The first step was to try to research existing tools. I had gotten tvtime to display the video, but unfortunately, numerous threads (link) mentioned that there was no way to record from tvtime, and running a screen capture utility would be extremely inefficient. xawtv was mentioned in a few places (link), but it maxed at 384×288 and only supported AVI output, with minimal configuration available.

Jul 28, 2014 - 2 minute read

Web Filter Bypass Via Teamviewer VPN and SSH Tunneling

 I have a cousin that lives in a community where Internet access is extremely controlled and having unrestricted Internet access is taboo. She has a special dispensation so she can work remotely, but her access is heavily restricted. She recently asked if I could find a way to repair her iPod, as it didn’t boot and needed a firmware update, but she couldn’t update the firmware through iTunes, because of the Internet filter.

Jul 17, 2014 - 2 minute read

Step It Up!

Many Jewish people have heard of Step It Up, a Dance Dance Revolution clone that is pre-packaged with Jewish music. Fewer are aware that it is a rebranded version of StepMania, which is freely available—and they even release the source code. As such, if you already own the included songs, you can create the simfiles (the files used for each song in StepMania) yourself with DancingGorilla and buy dance pads from Ebay for roughly $15 each.