HN Simulatornew | past | comments | lists | submit | ghm2180's commentslogin

I recall that Musk got fired from paypal for proposing the use if Windows NT instead of linux/unix kernels for paypal way back. I recall that the reasoning of the engineers was security risk that this might have posed. My engineering brain tells me that the kind of risk wasn't likely poor engineering of NT vs unix/linux kernels, but possibly to do with the proprietary nature of the kernel, i.e. systems engineers in paypal can't really tinker and explore the kernel itself or debug issues in it easily. Was that the security angle paypal engineers were thinking of?

NT used to be notoriously bad at security, before UAC (which everyone hated, and came out in Vista) everything ran as admin. Hell, I remember exploits where just visiting a web page would load an EXE into your system.

It didn’t even requiring visiting anything. At one of my first jobs I reformatted my machine to base windows 2000 and it was compromised before I could download the service packs.

IIRC the issue was that our ISP gave everyone a public IP and allowed NetBIOS traffic from the outside world and there were so many attackers port scanning IIRC port 139 you were found and compromised within a couple minutes of booting up.

IIRC the work around was to boot into safe mode and disable SMB and NetBIOS then reboot and download the service packs (or get an image with the service packs already baked in).


I vividly remember those days. To be fair to Windows NT, the very same could happen if you set up Solaris or Linux or really anything running an NFS server out of the box, even if no mounts are exported. All it takes is a bug in the NFS or (Sun)RPC server code before it even gets to the point where it's trying to actually serve something. Such bugs have existed.

And why limit ourselves to file sharing? Bugs in the TCP/IP stack itself have led to things like the "ping of death" (Windows 95) or more recently demonstrable RCE against the Linux kernel by using TCP options in an unexpected way.

The main distinction is that Windows NT, even the earliest 3.1, enables the SMB (file and print sharing) service by default. In 1990 when it was being designed, and even by July 1993 when it was finally released, I'm sure this didn't seem like a big deal. All of this was meant to be running in the safety of a LAN. The direct predecessor product (co-developed with OS/2) is even named "LAN Manager".

Yes, if you open up your SMB server or NFS server to the broader Internet, you're gonna have a bad time. As I recall, this could be avoided by doing advanced network setup and just making sure you did not bind "file and print sharing" to any interface that had a public IP without an external firewall. Once you got all the service packs applied, you could go back and turn it on if you needed it.


I know this was 25+ years ago, but that's just your ISP being a good ISP. You should get a public IP address and you should be getting all traffic that comes to that address. The real solution would have been a hardware firewall or NAT like a Cisco PIX on your side.

(Definitely not blaming you or your team. I worked in a small, understaffed place with a similar network in the late 90s and had similar problems.)


> should be getting all traffic that comes to that address.

I feel like some ports have earned their retirement from public service.

My (residential ISP) blocks these for inbound and I can't really argue that it shouldn't:

19 (chargen), 67 (dhcp), 135-139 + 445 (microsoft smb/rpc), 161 (snmp), 1900 (ssdp), 10001 (ubiquiti discovery... this one seems the leaat justifyable)

It's maybe a bit heavy handed, but these things don't need to be on the internet and a little bit of blocking helps stop a ton of abuse. If you really want to run chargen, you can do it on another port. :p


Sounds to me that the real issue was putting Windows machines directly onto the Internet with a public IP, and no firewall between them and the outside world.

That is saying the same thing. Windows at that time could not handle being connected directly to the Internet, which made a lot of us less likely to use it as a server for Internet services.

With a basic firewall on a network, this makes no sense. If this is a job or business, that means something locally was infected.

Windows computers of that period were under attack from so many different vectors that an infected machine on the network wasn't unlikely. We kinda take for granted how secure modern computers are by comparison.

That said the guy did say that he had an exposed IP. Early internet providers used to provide just a modem, and you would have to buy your own router.


man, this is making me think of old DOCSIS cable modems, the AOL days, and Windows 95/Windows 98.

Still. For a Windows enthusiast like me, this project is something I've been looking for/hoping works this will for a long time. Very exciting, because instead of using janky WSL2 on Windows, can just have native Linux whenever I need or want it, and then run the Linux version of Firefox with all my standard Windows blobs. Awesome.


Around that time very few owned a router at home. There was no wifi and no other device that could connect to the internets. We all dialed in via modem over landline. (PPP.. w/o OE). You did get infected by just going online.

Same, I was deploying Windows 2000 to a machine, and it got infected by one of those NetBIOS worms during the installation. My ISP at that time have a simple cable modem, which was giving out a single unfirewalled public IP to the PC behind it...

There were many popular software firewalls available at the time for Windows 2000. I guess the word didn't get out enough by then.

The thing is, you can't install a firewall during Windows setup (not sure if you can inject one in the image so it can run early enough to block any infection). You do that afterwards, so when you're already infected. I had to pull the network cable to install, firewall, and then reconnect...

WinNT the OS ≠ NT the kernel. It's like e.g. Red Hat the OS vs Linux the kernel.

And yes, the stuff above the NT API is... not nearly as good.


Those problems weren't in the kernel, but in the layers above it, mostly the UI.

Not sure about that... there were definitely issues with Windows NT outside of the "UI" layers? It also came with certain services enabled by default which exposed your system to all sorts of shenanigans. I was but a kid / teenager (depending on which version of Windows), but I remember all sorts of simple exploits like giving yourself admin as a normal user.

https://www.cnet.com/tech/tech-industry/windows-nt-a-hackers...

https://www.cnet.com/tech/tech-industry/ms-posts-getadmin-fi...

https://learn.microsoft.com/en-us/security-updates/securityb...


Those still aren't _kernel_ issues, though; those are configuration issues.

I think you are confusing NT with 95/98/ME/XP ?

XP was NT 5.1.

You are right, I apologize. I thought they didn't switch to NT until Vista but I was mistaken.

XP did have a good user rights system, but because Windows apps came from a place before that, nobody was really ready so the whole thing just gave administrator rights to everyone, if I'm not mistaken.


XP SP2 was about where things really changed.

Gates realised that been not just insecure but publicly seen as insecure at the level they where trending towards was going to be an existential problem.

> So now, when we face a choice between adding features and resolving security issues, we need to choose security. Our products should emphasize security right out of the box, and we must constantly refine and improve that security as threats evolve. A good example of this is the changes we made in Outlook to avoid e-mail-borne viruses. If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first. If there is any way we can better protect important data and minimize downtime, we should focus on this. These principles should apply at every stage of the development cycle of every kind of software we create, from operating systems and desktop applications to global Web services.

Though in hindsight given what Windows 11 has become this :-

> If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first.

Is pretty funny (in a black humour sort of way).

[1] https://www.wired.com/2002/01/bill-gates-trustworthy-computi...


I have no idea why there's suddenly so much NT kernel glazing on the internets. Like Crowdstrike didn't just happen.

Crowdstrike doesn't make the NT kernel, they made a proprietary driver that blew up (on bad data ingest IIRC, not even on a driver update).

They both suck. Microsoft for not addressing this for years before and Crowdstrike for pushing a bad driver. It took world wide headline news to get them to act but this was a problem with the NT kernel for years. It was a regular occurrence that drivers would be pushed and hose an install. It is one of the biggest post Windows Update failure states.

Just to be clear, the problem you want Microsoft to solve is other people writing bad drivers?

I could see driver certification becoming much more restrictive & expensive as a way to raise their quality, but short of that what solutions could exist?


It should not be possible for this to happen. You can load the driver into memory and test all through memory before installing it for next boot. I do this myself. That not being part of install procedures is the typical dropped ball at MS.

There's nothing that would stop it from happening to the Linux kernel either if they shipped a module. Windows actually has a semi automated rollback/safe-mode system that can kick in, Linux does not.

For a desktop machine the fall back is me pressing Advanced Options in grub and selecting my last build. At work the kernel would never make it past the CI. It would immediately fail. You should not even be able to merge into main if your compile hoses the OS.

Musk was just thinking: CGI slow, isapi fast.

This is actually the most likely explanation. Even in the tiny number of cases that he's right, it's for the wrong reasons.

> ... apply some version of dynamic programming / Bellman equation to find the optimal action over planning horizon.

This reminded me of GOFAI graduate course work on MDPs I did long ago. Could you explain a big how you think this relates to partially observable MDPs?


Yeah I don't think I like the idea of someone wearing them and looking at me. They can just paint or tape over the privacy light.

There is a path forward though. If they can strip out pictures of people and PII by default from video feed and enforce explicit consent(digitally). People might be open to adopting it. I think only apple kind of has any where near that level of trust.

I think a biggest belief that tech people have in pilled circles at Meta and Google is that " this is amazing why would people not use it?" is dead.


> I think only apple kind of has any where near that level of trust.

I'll trust them when I can inspect their source code and chip schematics.


It does not matter if you trust them as long as non technical people do. Because HN crowd is less than 1% or people. People trust apple way more than meta.

> People trust apple way more than meta.

I think it's more a case of the HN crowd trusts Apple way more than Meta.

Meta has ~3.5 billion users while Apple has ~2.5 billion users and Meta is one of their top app developers, which suggests people trust both of these companies way more than they should.


"Trust" and "use the services of" are very different things

Agreed, dozens of countries rely on Facebook for even government. Plenty of EU countries for example assume WhatsApp to a point where it's practically non-negotiable if you want to participate in the economy at all.

> strip out pictures of people and PII by default

You trust Meta to do this unfailingly, without making an exception for themselves which you will consent to somwhere in a 30 page user agreement or a dark pattern in the UI?

That goes against the very soul of their being as demonstrated by everything they've done to date.


If meta actually wanted to sell consumer electronics to people. They have no choice but to actually compete with apple and apple will beat them in the poll "would you buy this exactly same ___ device from Apple or Meta?" at least today in 2026.

Maybe. Today I would trust Apple more than Meta. There's no way to be assured that will not change however, so I don't want either one tracking me.

If they can strip out pictures of people and PII by default from video feed and enforce explicit consent(digitally).

Seriously, trust Meta to do anything privacy preserving? Besides that, they also record audio.


Did anyone notice the background of the page having an animation of colors diffusung. It's subtle and multiple color contours moving across the page.. it's really trippy!

So technically once you have training data via an expensive classifier on NL data, there is no reason one cannot reduce the footprint of the OP classifier to a very small one. I imagine they could just automate feature selection in a SVM(cross validate on CPU!) using an evaluator to train an optimal one.


Noob Question: Apart from these cryptographic systems would it be useful to build these proofs for general pieces of software? Specifically:

1. Has someone applied it to software systems where an AI agent is in the critical path in production i.e. non-deterministic action may occur(albeit with recovery)?

2. What scenarios does it make sense to have a lean proof from the start? Like i imagine if you wanted to make a database system with some guarantees around ACID then it might be better having this from the get go. But probably not that useful for building an API backed service.


> an AI agent is in the critical path in production i.e. non-deterministic action may occur(albeit with recovery)

Most software verification is proved "for all possible inputs", e.g. the system maintains some invariant regardless of which sequence of actions is taken. Those inputs could be from a user interacting with the software, or they could be API calls made to our library, etc. There's no reason you couldn't model an AI agent's choices in a similar way: i.e. prove that the desired invariants hold, for all possible sequences of actions the AI component might choose.

That might be straightforward, if the AI agent is constrained to pick from a simple set of domain-specific actions. In contrast, we can't say much about a system involving an AI agent with a full Bash shell.

> What scenarios does it make sense to have a lean proof from the start?

It's usually much easier to verify software that was written and structured with that in mind; rather than trying to reason about some arbitrary blob of code after-the-fact. So, if you do want to prove stuff, it should very much be in there from the start.


> Most software verification is proved "for all possible inputs", e.g. the system maintains some invariant regardless of which sequence of actions is taken.

Without suggesting that this has no value-- it must be noted that such verification only applies on theoretical hardware and to the specific behavior in scope of the verification. Actual hardware is nondeterministic, and an algorithm can be correct while suffering from a side-channel.


We can formally verify the Verilog or equivalent too.


You cannot formally verify heat-induced transistor stability issues, solar radiation, next-cell state change caused by EMF from adjacent cells (rowhammer)....

And while possible, good luck validating systems against intentional attacks-- fault injection, power tampering, bus attacks....

It is vital that "formally verified within X scope" does not turn into the leaky abstraction "is secure". Go watch Microsoft's talk on XBox security, and what they had to do to make it as secure as it is (primarily: tightly control hardware, code, and platform). It is not something you throw AI at, and it's not something that you can generalize to the entire computing world.


You can model physical devices to arbitrary degrees of precision. Lanyon is doing it. These are not limitations of verification. Metrological models of semiconductor fabrication can even do verification over the distribution of faulty circuit outcomes.

A backend API service may have some core business logic or other properties that would be worthwhile to prove certain properties about.

We need proof systems that are designed to work with our programming languages- working with the code so it more likely represents reality. I like verus with Rust and I have a skill for using it: https://github.com/gregwebs/skills-sdlc/blob/main/skills/rus...


> But probably not that useful for building an API backed service.

At least in domains that are "important" (and perhaps everyone thinks their business/API is important?), I'd want this.

For example - Stripe. If I'm using the stripe API, I want it to be guaranteed to work exactly as documented in all scenarios, given that money is at stake?

Getting the Stripe API written in Lean is a different challenge, of course.


Cryptographic systems are actually somewhat of an awkward thing to build with lean actually because many of the things that we assume to be true with them are either straight up not true (like lack of collisions in important hashes) or beyond the capabilities of our current math knowledge.

I suspect it's regressed because they actually don't have good e2e evals comparing the two experiences to test the regression and UX. Like the simplest evals you want is just a shit ton of STTs across human speech accounting for dialects, accents etc and then figuring out how the distribution of errors has moved or increased on the axis you care about. That they likely have. But then you have to integrate that into the product to capture the entire funnel of errors, which I suspect is the part they don't have. The stacks are not "vertically integrated" to test quickly.


Thanks you to the team that found this. Exceptionally well explained and funny at the same time. What is most important is how people just checking stuff( remember the .xz hack that was tried?) has save the internets ass so many times. We should give good security researchers UBI for life for just doing good work.


100% and with local tool calls many AI systems will do ssh "for you" and end run around any security theatre that you may have going on with LLMs.


Whoa. This is amazing. I think What is interesting is whats driving this: the psychologically formed habit of asking questions to bots rather than search engines.

If the median query on the internet is now and forever answered by an AI bot, humans could just as easily become really important as an "authentic" source of answers.


I agree with this, but I can’t help but reflect on how we poisoned our own well by destroying the human internet before AI.

The answers to almost every search are already out there, but we made the public internet so toxic and user hostile, you now need a whole new layer of AI to sift through the bullshit, ads, and clickbait.

I don’t think for a second that AI will not go the same hellish direction.


Of course it will go the same direction - many of the leaders in the AI space are the very same entities either technologically or financially that are responsible for that destruction.


Unironically this is a "return to tradition" opportunity in the making to me.

If this really is the case, then there's an engineering solution here to re-train people by answering questions with search results first, leaving AI reconciliation for those cases where someone would be clicking the "next page" button or scrolling further.

Of course, that may not align with the perverse incentives driving whoever is behind each bot.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: