Lunduke
News • Science & Tech
The creator of UNIX built a Trojan Horse which let him log in to any UNIX machine.
And nobody knew about it for years.
May 05, 2024
post photo preview

Back in 1984, the Association for Computing Machinery presented Ken Thompson with a “Turing Award” for his many contributions to the world of computing.

And for good reason.

Ken worked on Multics, co-created UNIX, created multiple programming languages (Bon and B — which directly led to C), co-created the Plan 9 operating system, UTF-8, and on and on.  If anyone deserves an award for advancing computing... it's Ken Thompson.

But we’re not here today to talk about those extraordinary contributions to computing.

No, sir.

We’re here to talk… about his acceptance speech.

Because that speech revealed a truly fascinatin computer virus that Thompson had created years earlier… for the C compiler.  One which gave him a backdoor into UNIX itself.

The Speech

He titled his speech “Reflections on Trusting Trust”, and the basic premise is this:

“To what extent should one trust a statement that a program is free of Trojan horses? Perhaps it is more important to trust the people who wrote the software.”

To prove his point, Ken told the tale of how he had — years earlier — created what was, essentially, a computer virus that infected the C compiler (cc) and the UNIX login program.

Seriously.

This is real.

Ken could gain control of most UNIX systems

It worked, essentially, like this:

Ken modified cc (the C compiler on UNIX systems) so that — only when it was compiling UNIX’s “login” program — it would inject a small “backdoor” (into “login”) that would allow him to log in as any user on the system if he used a predefined “password”.

Which is, obviously, a pretty big security hole.

However…

That sort of "universall password" code would be likely to be found during even a rudimentary code review of the C compiler. Or, heck, even by any casual programmer who happened upon that section of the code.

What Ken did next was… devious.

Hiding his UNIX backdoor

He needed to make sure that, should anyone find his nefarious code in “cc”… that his backdoor would live on.

So he then added functionality to “cc” so that it would detect if it was compiling itself (because the C compiler was compiled… in the C compiler)… and insert code into the compiler that would add… itself.

Which means…

Even if the source code is removed from “cc” project… the code (for adding both the login backdoor and the “keep adding this to the C compiler” bits) would get “invisibly” injected into “cc” every time it got compiled by an already infected build of the compiler.

So… as long as there was an unbroken chain of using the C compiler from that point onward, the UNIX login backdoor was unlikely to be effectively removed.

Brutal.

According to Thompson:

“The actual bug I planted in the compiler would match code in the UNIX "login" command. The replacement code would miscompile the login command so that it would accept either the intended encrypted password or a particular known password. Thus if this code were installed in binary and the binary were used to compile the login command, I could log into that system as any user.”

The Moral of the story

As Ken Thompson put it…

“The moral is obvious. You can't trust code that you did not totally create yourself. (Especially code from companies that employ people like me.) No amount of source-level verification or scrutiny will protect you from using untrusted code. In demonstrating the possibility of this kind of attack, I picked on the C compiler. I could have picked on any program-handling program such as an assembler, a loader, or even hardware microcode. As the level of program gets lower, these bugs will be harder and harder to detect. A well installed microcode bug will be almost impossible to detect.”

Did this make it out into the wild?

I know what you're thinking.  "Is this code still out there?  How many systems were impacted by this?"

What we know: This bit of naughty code was released to at least one machine (used by a UNIX support group). This has been confirmed by Ken, himself.

However, it is believed that the code went no further than that machine.

But... do we know for sure?

Do we actually have a high level of confidence that the modified “cc” and “login” went no further than that support group UNIX box?

No. No, we do not.

In fact, according to Eric S. Raymond

“[I have] heard two separate reports that suggest that the crocked login did make it out of Bell Labs, notably to BBN, and that it enabled at least one late-night login across the network by someone using the login name “kt”.”

BBN.  That's Raytheon.  A critical DARPA researcher -- one which was instrumental in the early days of ARPANET.  A huge amount of software came out of BBN.  Heck, even the first Text Adventure game came from there.

If UNIX machines at Raytheon BBN were infected... the possibility of infected versions of those files making it to other sites is incredibly high.

Truly wild

Which leads to a (rather amusing, and mildly terrifying) bit of historical trivia:

Ken Thompson — one of the co-creators of UNIX — intentionally created a trojan horse that infected both the C compiler and the “login” program of UNIX systems.

What’s more… it went undetected for years.  We wouldn't even have known about it, if he hadn't told us he created it.

And we truly have no clue how widespread that trojan became.

community logo
Join the Lunduke Community
To read more articles like this, sign up and join my community today
22
What else you may like…
Videos
Podcasts
Posts
Articles
February 13, 2026
OpenClaw AI Bot Writes DEI-Style Hit Piece Against "Prejudiced" Human Developer

A code change submitted by an Al bot was rejected by an open source project developer. In retaliation, the Al bot accused the human of "Gatekeeping" and "Prejudice" in a Leftist-style rampage.

The Lunduke Journal Lifetime Subscription:
https://lunduke.substack.com/p/the-lunduke-journal-lifetime-subscription

More from The Lunduke Journal:
https://lunduke.com/

00:31:00
February 13, 2026
Windows Notepad.exe Now Has Remote Code Execution Vulnerability

First Notepad++ gets hijacked by Chinese hackers, now Notepad.exe gets a "Severe" CVE. Apparently editing a plain text file is the most dangerous thing you can do on Windows.

The Lunduke Journal Lifetime Subscription:
https://lunduke.substack.com/p/the-lunduke-journal-lifetime-subscription

More from The Lunduke Journal:
https://lunduke.com/

00:12:41
February 12, 2026
Interview: Redot, 1.5 Years After Forking from Godot

In 2024, the Godot game engine enacted a mass "Cleansing" of non-woke supporters. A group of developers responded by creating the Redot fork. How is that fork doing 1.5 years later?

The Lunduke Journal Lifetime Subscription:
https://lunduke.substack.com/p/the-lunduke-journal-lifetime-subscription

More from The Lunduke Journal:
https://lunduke.com/

00:53:03
November 22, 2023
The futility of Ad-Blockers

Ads are filling the entirety of the Web -- websites, podcasts, YouTube videos, etc. -- at an increasing rate. Prices for those ad placements are plummeting. Consumers are desperate to use ad-blockers to make the web palatable. Google (and others) are desperate to break and block ad-blockers. All of which results in... more ads and lower pay for creators.

It's a fascinatingly annoying cycle. And there's only one viable way out of it.

Looking for the Podcast RSS feed or other links? Check here:
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

The futility of Ad-Blockers
November 21, 2023
openSUSE says "No Lunduke allowed!"

Those in power with openSUSE make it clear they will not allow me anywhere near anything related to the openSUSE project. Ever. For any reason.

Well, that settles that, then! Guess I won't be contributing to openSUSE! 🤣

Looking for the Podcast RSS feed or other links?
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

openSUSE says "No Lunduke allowed!"
September 13, 2023
"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

This episode is free for all to enjoy and share.

Be sure to subscribe here at Lunduke.Locals.com to get all shows & articles (including interviews with other amazing nerds).

"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

🤣

post photo preview

This made me chuckle more than it probably should have.

post photo preview
February 14, 2026

Multi-AI Agent Coordination for Non-Code Work

Today was cool. I got a ton of client work done that’s due Tuesday. This is a side engagement where I’m on retainer for a few hours a month. I use my own equipment, my own workflow, and increasingly, a team of AI tools. A couple years ago I was CTO of a startup for this same guy. He came back to me specifically because he wanted AI acceleration applied to real work.

The interesting part is that today’s work wasn’t coding.

What I started with was a handwritten to-do list of database-related tasks:

  • get emailed log files into Snowflake
  • build a repeatable Linux-to-Snowflake ingestion process
  • lay down Medallion architecture (Bronze/Silver/Gold)
  • prepare for Terraform infrastructure-as-code
  • set up governance and validation workflow

And I needed to

  • make it executive-reportable
  • prepare for AI-assisted SQL
  • deliver something the CEO could understand.

None of those tasks say “write a program.” This is architecture, environment setup, ...

February 12, 2026
4th Wall Almost Full, $89 Lifetime Deal Ends Very Soon

Woo-hoo! The 4th Lunduke Journal Lifetime Subscriber Wall of Shame Awesomeness is almost full!

  • That means that, within the next day or two, the massively discounted Lifetime Subscriptions will go back to their normal price. So if you wanted to snag the $89 / $99 Lifetime Sub (instead of paying $300), now’s your last chance.

  • If you are already a Lifetime Subscriber and want to be added to the 4th (or the start of the 5th) wall, email me (bryan at lunduke.com). There are only a couple of spots left on Wall 4.

  • The new Lifetime Wall designs are locked and loaded, and will make their grand debut at the end of all new shows starting either Friday or Monday.

I also wanted to take a moment to thank all of the non-Lifetime Subscribers. The Lifetime Subs may get a little extra attention at the end of the shows… but every subscriber (Monthly & Yearly) helps to make this work possible.

All of you rule.

-Lunduke

Read full Article
February 08, 2026
79 Million Views in 6 Months for The Lunduke Journal

Welcome to February, all of you amazing nerds!

January was a fun month for The Lunduke Journal (thanks to all of you). For those interested in a little Inside Baseball, I’ve pulled together some stats and charts below.

The short version: Great month. Crazy news stories. Solid growth. Can’t complain!

Revamped Lifetime Wall

Oh! And the “Lifetime Subscriber Wall” is getting a “retro” facelift.

This is what the four Lifetime Walls currently look like:

 

Once that 4th Wall is filled (a little over 75% of the way there as of this morning), I’ll be introducing the new designs (for all the walls) along with the starting of Wall Number 5.

Each Wall now has its own, distinct look and theme. Very Retro Computer-y. You’re going to dig it.

To make that “Wall Number 5” get here as fast as possible, I’ve gone ahead an reinstated the “$89 Lifetime Subscriber” deal. But only until Wall Number 4 is full.

Want to be on the Wall? If you don’t have a Lifetime Subscription, grab one. If you already have one, email me (bryan at lunduke.com) to let me know how you want your name to be displayed.

Once Wall 4 is full, the Super-Mega-Ultra Discounted Lifetime Subscription goes back to regular price. And, the next day, the new Lifetime Wall design appears at the end of new shows.

At the current rate, I expect that to happen in the next couple days.

Stats for January, 2026

Now let’s look at the stats for January.

Can’t lie. I’m pleased.

  • 30 new shows (just shy of one new show every day)

  • 15.2 Million views (including podcast downloads)

  • 2,326 new subscribers

The most popular story of January, 2026:

Taking a high level view: This means that, in the last 6 months (Aug ‘25 - Jan ‘26), The Lunduke Journal has had:

  • 79.4 Million views

  • 21,694 new subscribers

Bonkers, right?

Here’s a chart of “views” for last 6 months:

Image
 

The long-term trend continues to be solidly upward, with February (in the first 7 days, so far) currently tracking slightly ahead of January.

For those interested in the specific platforms: The Lunduke Journal is seeing the most growth on X and the Audio Podcast.

Here’s a combined subscriber chart for January (up 2,326 subscribers from the month prior):

Image
 

Wild. It is truly amazing to me how widely these stories are spreading nowadays.

Over 15 million. In one month.

These are numbers that most of the big, “Main Stream” Tech Journalists could only dream of.

The reach of The Lunduke Journal, thanks to all of you, is now wildly exceeding any other publication I have ever worked with.

Even though most “Main Stream” Tech Journalists are refusing to cover some of the biggest stories in Tech… those stories are still getting out there.

They are being seen. Far and wide.

Thanks to all of you.

-Lunduke

Read full Article
January 31, 2026
$89 Lifetime Offer Ends at Midnight!

I’ll make this quick: The $89 Lifetime Subscription offer for The Lunduke Journal ends at midnight tonight (Saturday, January 31st).

Once the calendar reads “February” — poof — the deal is gone.

If you wanted to save 70% on a Lifetime Subscription, these are your final hours.

A huge thank you to everyone who has signed up during this crazy deal. We are this close to filling up the 4th Lifetime Subscriber Wall (there’s a possibility it might fill up in the next few hours).

Far beyond anything I was expecting. All of you are absolutely amazing. The Lunduke Journal would not be possible without you.

If you were on contemplating grabbing that Lifetime Sub, I’d jump on it right now. The price goes back up to normal ($300) in about 12 hours or so.

Get it while it’s cheap!

-Lunduke

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals