06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · YouTux Channel · · 18:31 runtime

HANDBRAKE: FROM DVD TO DIGITAL ERA

Transcript 2804 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

May 2nd, 2017. Someone at HandBrake's download infrastructure does something very stupid or gets very unlucky. It amounts to the same thing. For 4 days, anyone who downloaded HandBrake for Mac got something extra. Not a codec, not a bonus feature.

A remote access Trojan called Proton sold on Russian cybercrime forums for the equivalent of $63,000 that bypassed Apple's own security, stole your entire keychain, your browser passwords, your credit cards, and sent them silently to a command and control server registered just 3 days before the attack. 4 days. One mirror server. One of the most trusted open-source tools on the planet weaponized. But this isn't a story about malware. This is the story of how a piece of software goes from a BeOS hobby project written by a French developer who then vanished to a global standard trusted by millions. And what happens when that trust gets tested.

This is the history of HandBrake. The year is 2003. BeOS is dead, technically. Be Inc. had been acquired by Palm in 2001. The operating system, once praised by developers as everything Mac OS should have been, truly multi-threaded, media first, fast, had been [music] buried. But a community of users refused to let it go. They ran it on old hardware, maintained forks, kept forums alive. BeOS was a ghost, but it was a ghost with a heartbeat. It's into this context that a French developer, known online as teter, his real name was Eric Petit, decides he wants to back up his DVDs. Not for distribution, not for piracy.

To have a copy of films he already owns playable on his hard drive without getting up from his chair to find the disc. There were tools that could do this. They were command line, fragmented, confusing. You'd need one tool for the video, another for the audio, a third to mux them together. Petit wanted something that did all of it in one step, so he wrote it. HandBrake was born in 2003 as software for BeOS, built from scratch by a single person with a specific personal itch to scratch. The name is unexplained in any official documentation. No blog post, no manifesto, no changelog entry. It's just called HandBrake.

A handbrake is what you pull when you want to stop something from moving. Make of that what you will. What Petit built was architecturally clever in a way that still defines the project today. HandBrake's back end contains comparatively little original code. The program is an integration of many third-party audio and video libraries, codecs like FFmpeg, x264, and x265,

collected in a way that makes their use more effective and accessible. You didn't need to understand codec pipelines. You opened HandBrake, selected your DVD, selected your output, clicked encode. Done. This is Unix philosophy applied to a GUI application. Do one thing well, let others do the rest. According to the project's own authors file, Petit built the core multi-threading architecture, an MPEG demuxer, decoders for MPEG2, AC3, and MPEG audio, a LPCM decoder, encoders for MPEG4, MP3, and AAC, AC3

passthrough, both AVI and MP4 muxers, and interfaces for BeOS, OSX, and Linux. For one person. In their spare time. He also added the French translation himself, naturally. There was a complication. DVDs are encrypted. It's a DRM scheme introduced in 1996 to prevent unauthorized copying. In practice, it means that a DVD player needs a license from the DVD Copy Control Association to legally decrypt and play a disc. This license costs money. It restricts what you can build. The open source world had a solution, libdvdcss, a library developed by the VideoLAN project, the same people who built VLC, that could decrypt CSS encrypted DVDs not by holding a license, but by brute forcing the key space.

The key space is small enough that this works. Legally, its status is murky in most of the world. In France, where VideoLan is based, courts have at various points treated it as covered under private copyrights. Tiet integrated libdvdcss into HandBrake. It worked. You could now rip any CSS encrypted DVD. Then came the legal pressure. The team behind HandBrake removed libdvdcss from the project at version 0.9.2. From that point forward, HandBrake would not include decryption. If you wanted it, you installed libdvdcss separately, which you got from VideoLan, which was a separate project, which made you responsible for your own decisions about your own DVDs. This is a pattern you see repeatedly in open source.

The tool exists, the capability exists, the legal liability gets distributed to the user. HandBrake stopped touching that wire. The wire is still there. April 2006. Eric Petit commits the last official code change to the HandBrake subversion repository. Then he keeps showing up on the forum for a little while. Then, gradually, he doesn't. From May to June 2006, no one in the HandBrake community was successful in contacting Petit. No further code changes were officially made. No announcement, no handoff, no I'm stepping away from this project, just silence. This is one of the most common failure modes in open source. The maintainer disappears. It happens for any number of reasons. Life gets complicated, a job changes, interest shifts, burnout.

The code sits there, the community waits, the bug reports accumulate. HandBrake at this point is functional, but frozen. The world around it is moving fast. Apple has just released the iPod with video support. H.264 is becoming the dominant format. People want to put their films on portable devices. HandBrake stuck at version 0.7.1 cannot help them. Wait, I'd like to steal 1 minute of your time for a subject that does not concern this video, but one I want to raise awareness about. systemd I used systemd for years. I considered it an acceptable compromise. If Debian, Arch Linux, and the rest of the Linux world had accepted it, then clearly the benefits it brought must have outweighed its compromises.

But slowly things changed. [music] From an init system, systemd became something more. Something that is gradually extending itself deeper into Linux desktops, reaching the point of introducing control mechanisms such as age verification. That is where I stopped. I am not a conspiracy theorist. I am not a nostalgic person who believes that everything old is automatically better. I am simply someone who opened his eyes, and I would like you to open yours as well. Your init system is more important than it seems. Choose consciously.

Take a look at systemdfree.com and try distributions free from systemd. There are alternatives, often almost identical to the distros you already use, such as Devuan, which is essentially the same as Debian, or Artix Linux, which is Arch Linux without systemd, or MX Linux, a user-friendly distribution. It costs nothing to try. They are free not only to download, but in all the ways you do not see. Now we can return to the video.

Here's where the story gets interesting. In September 2006, Rodney Hester and Chris Long had been independently working, separately, not knowing each other, to extract H.264 video support from Apple's iPod firmware through reverse engineering. They met on the HandBrake forum. Think about that for a moment. Two people independently, on their own time, reverse engineering Apple's firmware to extract codec support they could then integrate into an abandoned open source project. Not for money, not for a job, because they wanted the thing to work. They realized their work was complimentary and started collaborating. They built an unstable but functional version of HandBrake with H.264 support.

And then they hit the wall. It was not possible to submit their patch to the HandBrake subversion repository without authorization from Petit. Unable to submit their revisions, Hester created a mirror of HandBrake's final version 0.7.1 and began development on top of that. He and Long named the new project MediaFork. The fork was formally named MediaFork on January 26th, 2007, and quickly delivered multi-platform builds, including the first command line versions for Windows, alongside Mac OS X and Linux support. MediaFork, a name that says exactly what it is. A fork of the media tool. No romanticism, no marketing. Just here is what this is. February 13th, 2007, Hester and Long finally heard from Titer, Eric Petit, who declared himself fully in support of their work and encouraged them to continue.

Where had he been? No public explanation was ever given. He reappeared, saw what the community had built on top of his foundation, and blessed it. He didn't fight for control. He didn't assert copyright. He said, "Keep going." [music] They laid plans to reintegrate the projects under the HandBrake banner, relocated web services to mk.org, and as of March 2007, all developer and end user servers had returned. The next code release was officially named HandBrake. MediaFork ceased to exist after 6 weeks. HandBrake was reborn. There's a version of this story that goes badly. The original author returns, is hostile, lawyers up, forces a name change, fractures the community.

That happens. It happened to other projects. Instead, Petit looked at what Hester and Long had done and handed them the wheel. This is what open source can be. What followed was 13 years of quiet incremental work. Mostly volunteers. No corporate backing in any meaningful sense. No venture capital. No acquisition. Just people who wanted the thing to be good. Version 0.9.4, released in November 2009, introduced over 1,000 improvements. Enhanced audio-video synchronization, 64-bit builds, and and official distributions for Windows and Linux. Version 0.10.0 in November 2014 brought native H.265 HEVC support via the x265

library and Intel Quick Sync video for hardware accelerated encoding. NVENC and AMD's Video Coding Engine support arrived in version 1.2.0, released in December 2018. By this point, HandBrake was encoding H.264, H.265, VP8, VP9. It supported MP4 and

MKV containers. It had presets for dozens of devices. It had a batch queue. It had a CLI. In 2013, Lifehacker readers voted it the most popular video converter by a wide margin over four other candidates. And through all of this, it remained in beta, officially. Version 0.something all the way through 2016. On December 24th, 2016, Christmas Eve, after more than 13 years of development, HandBrake 1.0.0 was released. 13 years

to call something version one. That is either the most rigorous approach to software versioning in the history of computing or a profound statement about the nature of done. Possibly both. It's worth pausing here to understand why HandBrake succeeded when so many similar tools didn't. The architecture is the answer. HandBrake integrates third-party libraries, FFmpeg for decoding, x264 for

h264, x265 for h265, and others, rather

than reinventing them. This means when x264 gets faster, HandBrake gets faster. When a new codec library matures, HandBrake can add it without rebuilding from scratch. The project's own original code is relatively thin. What it provides is orchestration, interface, and workflow. The heavy lifting is delegated. The current version supports SVT-AV1, the royalty-free AV1 codec backed by Netflix, Intel, and others, and outputs to MP4, MKV, or WebM. This design philosophy has a cost. HandBrake does not do everything. It outputs to three container formats. That's it. If you need AVI output, HandBrake is not your tool. But for what it does, take any video in, produce a high-quality, well-compressed, modern file out, it is exceptionally good at it. The CLI is also worth noting.

HandBrake has a full command-line interface that accepts every parameter that the GUI exposes. This means HandBrake fits into scripts, into automation pipelines, into server workflows. A tool that works in a shell script is a tool that lasts. FFmpeg users will recognize this philosophy immediately. Back to May 2017, HandBrake is at version 1.0.7. It's 13 months since the 1.0.0 release. The project has never been more widely used or more trusted. A mirror download server, download.handbrake.fr, was compromised. The legitimate Mac installer was replaced with a Trojan version containing the Proton remote access Trojan. Proton was a professionally built backdoor being sold on underground Russian cybercrime forums. Buyers paid around 40 Bitcoin, worth roughly $63,000 at the time, for unlimited installations.

It was signed with a legitimate Apple developer certificate, which meant Apple's gatekeeper did not block it. For 4 days, an unknown number of users downloaded and installed an unwelcome addition. At the time, it went completely undetected. The developers warned, "Anyone who has downloaded HandBrake on Mac between 02 May 2017 14:30 UTC and 06

May 2017 11:00 UTC needs to verify the SHA1 256 sum of the file before running it. You have a 50/50 chance if you've downloaded HandBrake during this period." What did Proton do once installed? It immediately searched out sensitive user information, keychains, browser saved passwords, credit card data, and sent it to its command and control server. If the user provided their admin password during installation, the attackers had it immediately. The C2 server, the machine receiving all this stolen data, was registered at a domain called handbrake.biz, registered on April 29th, 2017, 3 days before the attack began. Someone planned this carefully. Now, here is the detail that should interest anyone running Linux with a firewall. Security researchers found that Proton was designed to check for the presence of certain macOS firewall applications, Little Snitch, Radio Silence, and Hands Off, before proceeding.

If any of them were found on the system, the malware immediately exited. It didn't try to circumvent the firewall. It just quit. Because it knew that a firewall would alert the user when it attempted to call out to its C2 server, and the malware's authors preferred to fail silently than be detected. Users running Little Snitch were automatically protected without Little Snitch doing anything specifically designed to stop this malware. This is a real-world demonstration of defense in depth. A firewall that monitors outbound connections is useful, not because it blocks every threat, but because it changes the cost-benefit calculation for attackers who want to operate quietly. Notably, interestingly, both HandBrake and the Transmission BitTorrent client, which had suffered a similar attack the previous year, were originally created by the same developer, Eric Petit, the same person who created HandBrake.

The HandBrake team was careful to clarify that the two development teams had been entirely separate for years and did not share infrastructure, but the coincidence was noted. The mirror server was taken offline. The project issued the alert. Apple added a signature to XProtect. Post-2017, the project significantly strengthened its download infrastructure. In 2026, HandBrake is generally considered safe. Its source code is auditable on GitHub. It bundles no adware. It processes everything locally, and it receives regular updates. HandBrake is, on the surface, a video converter, functional, free, not very exciting to look at, but the story underneath is about something more durable. It's about a single person writing a tool for BeOS, a dead operating system, that outlived BeOS by decades.

It's about what happens when the maintainer disappears and the community has to decide, "Do we let this die, or do we carry it forward?" It's about two developers meeting on a forum, working independently on the same problem, combining their work without a company telling them to do it, and building something genuinely useful. It's about 13 years of calling yourself beta because you're honest about what done means. And then it's about the fragility underneath all of that. About how trust in a binary is different from trust in source code. You can read the source. You cannot always verify that what you downloaded is what was compiled from that source.

The 2017 incident wasn't a bug in HandBrake. HandBrake's code was fine. The attack was on the distribution channel, the pipe between the developers and you. This is a problem that open source hasn't fully solved. Reproducible builds help. Cryptographic signatures help. Checksums help. But only if users actually verify them, and most don't because the workflow is inconvenient. The Proton attack succeeded for 4 days partly because downloading software and running it is a gesture so normalized that even technically sophisticated users do it without pausing. The answer, as always, is not to trust more. It's to verify more. HandBrake is still actively maintained. It still has no corporate backer. It is still built by volunteers. It still does not output AVI.

It still takes forever to encode a 4K file on a slow machine because physics. And every version, every one, is available on GitHub in full for anyone to read, compile, audit, or improve.

That's the thing about software that survives. It earns it. Not through marketing. Not through funding rounds. Through being useful, being honest, and being open. May Linux be with you.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks