News for hackers. Stuff that matters.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by sublinear on Thursday February 16, 2023 @06:07PM (#34827974)
People use IIS?
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by CompuHacker on Thursday February 16, 2023 @06:27PM (#34828243)
Yeah! I run an unpatched IIS FTP server on Windows 10 from 2016. When FileZilla stopped connecting to it for reasons I can't even imagine, I enabled SSL using some slightly modified arcane commands I found on a forum post from 2011 to generate a self-signed certificate, convert it between two different formats, and finally use it to accept connections from only some of the still available FTP clients for Windows, which excluded Windows Explorer, but only some of the time.

Why, should I not be using IIS?

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by gerdesj on Thursday February 16, 2023 @08:03PM (#34829263)
Ahhh - hello DevOps!
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by doubleg72 on Thursday February 16, 2023 @08:54PM (#34829641)
Arcane commands? Sounds like a fairly typical process to me, and a fairly typical use case. We do something similar with our Avaya CM and phone configuration and backups.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by rbanffy on Friday February 17, 2023 @07:05AM (#34833671)
I hope this is humor. I really do.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by CompuHacker on Friday February 17, 2023 @01:29PM (#34838450)
I wish it was, as well.

What should I be doing?

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by thedougd on Thursday February 16, 2023 @06:52PM (#34828520)
Even worse, some companies choose to ship software that require the use of IIS.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by tenebrisalietum on Thursday February 16, 2023 @07:01PM (#34828620)
I think Stackexchange does.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by Someone1234 on Thursday February 16, 2023 @09:05PM (#34829760)
In 2009, they certainly did.

Since then, they migrated to .Net "Core"[0] which can run on any OS/web-server. Per [0] they initially kept IIS, but once you're on .Net Core+ that certainly isn't a requirement and there may be good licensing or performance reasons to migrate (even with headless Windows Server/IIS).

I did find an article from last year that said they still had a monolithic architecture and were still on-prem (as opposed to cloud/Azure). So, maybe, still on IIS? They certainly did for YEARS.

[0] https://www.infoq.com/news/2020/04/Stack-Overflow-New-Archit...

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by DoctorOW on Friday February 17, 2023 @06:02AM (#34833235)
They're hiring people with Windows Server experience. They're at the very least somewhat IIS.

Source: https://stackoverflow.co/company/work-here/4866168

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by robotnikman on Thursday February 16, 2023 @07:43PM (#34829064)
Yep. From what I've seen, usually it's a case of a company building something which uses it a long time ago, and not bothering to switch to an alternative because 'If it works don't fix it'. It may not be the newest and shiniest, but if it's working well then no need to move to something else.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by gerdesj on Thursday February 16, 2023 @08:13PM (#34829350)
I have customers with DOS (6.2, so quite modern) controlling machines.

I ended up wedging a Samba daemon between that and PCs running Windows 10. I mount the DOS box's share via mount.smbfs and re-export it via Samba. The machine is on a rather sparse VLAN!

I have many other horrors on isolated VLANs across the UK to worry about ...

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by calvinmorrison on Thursday February 16, 2023 @10:37PM (#34830421)
And here's a great point to install a proxy web server like nginx, add rate limiting, filtering, whatever you want, at least the ancient IIS/whatever http server is not publically facing
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by boston_clone on Thursday February 16, 2023 @07:54PM (#34829171)
CarbonBlack App Control required it as of 2021 I believe.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by joenathanone on Thursday February 16, 2023 @08:06PM (#34829290)
What's wrong with using IIS?
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by gerdesj on Thursday February 16, 2023 @08:24PM (#34829427)
Nothing at all. It is an extremely capable webserver.

In common with all web servers, advice found via search varies in quality and unfortunately, being Windows based: IIS really suffers. The GUI is pretty intimidating (IIS Manager - both of them) and there are things that can only be done via registry, config files and dark magic.

IIS gets a lot of undeserved stick in my opinion.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by throwanem on Thursday February 16, 2023 @09:32PM (#34829962)
You're not really making a strong case here for that "undeserved".
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by gerdesj on Friday February 17, 2023 @09:17PM (#34843162)
Fair enough. I'm an Apache, Caddy, nginx, HA Proxy "fan" and I generally only worry about IIS when it hoves into view - Exchange for example, or whatever weird and wonderful nonsense a customer comes up with.

I am almost perversely going to get into IIS but I probably won't. Following logs on Windows is a right old ballache. The bloody things don't seem to get written to disc for quite a while for those many systems that ignore the Windows Events system and dump to .log. I've tried various log viewers. Where the hell is lnav or even less for Windows?

My snags with Windows is opacity. I fire up a daemon on a Linux box and then in another tab/window or whatever, I follow logs - I can use less (is more) or something fancier like lnav. That workflow does not translate very well to Windows.

The taskmanager on Windows is much improved these days - you can now with a GUI work from a network port to a binary (PID) and even associate it with a particular service.

However, text logs are still second class citizens.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by throwanem on Friday February 17, 2023 @10:16PM (#34843520)
Fair disclosure: I administered and developed for IIS fairly heavily in the first decade of my career - not so much by choice, but when you're the star engineer of a three-man contracting firm, you take the jobs that come and learn how to do them on the fly, or else you end up looking for work because your boss went out of business. He didn't, not while I was there, so I guess I must've been good enough at it.

I'm perfectly willing to confide IIS is a fair bit faster, more reliable, and better to work with these days than it was in those - but that's a hell of a long way from imagining it's anything like good.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by louthy on Thursday February 16, 2023 @08:22PM (#34829417)
Nothing, it’s just standard tech snobbery
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by alexjplant on Thursday February 16, 2023 @11:44PM (#34830880)
It's snobbery to have an opinion? In terms of both static and application web servers I've personally administered nginx, Apache, IIS, Tomcat, Wildfly and Websphere and mention them here in descending order of preference with regard to capability and DX. As you can see IIS falls squarely in the middle of the pack and is actually a distant third in my opinion. The only compelling reason to use it a decade ago was to host .NET applications in an officially-supported manner (and even then it meant contending with licensing, weird logging behavior, arcane MMC-controlled XML-based configuration, Windows Server itself, etc). In the age of .NET Core there's no reason at all.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by louthy on Friday February 17, 2023 @05:59AM (#34833214)
> It's snobbery to have an opinion?

Of course not and I didn't say any such thing. The original comment "People use IIS?" is clearly a passive-aggressive dig at MS, its tech, and those that use it (as is so often the case in tech circles). It's quite pathetic and childish. If I misunderstood that, then I apologise to the author, but I'd argue it still adds nothing to the discourse even if it was asked honestly.

It doesn't mean you can't hold an opinion on the relative merits of any one piece of tech. But this "my computer is better than your computer" immature schoolboy nonsense is pervasive in tech circles and is extremely tedious.

I have no love for IIS, but it's a perfectly capable webserver and is clearly still used. The idea that the .NET world have all moved over to .NET Core is also a wishful one unfortunately, I still maintain my open-source libraries for the legacy framework as I know there's plenty of places that can't just 'flip the switch' to .NET Core. It's not quite as bad as Python's V3 moment, but it's up there.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by rbanffy on Friday February 17, 2023 @07:20AM (#34833786)
> "People use IIS?" is clearly a passive-aggressive dig at MS

Feels a bit snarky, but not too aggressive. Windows is not a popular choice for cloud platforms and those users seem to be overrepresented here. I can imagine someone being genuinely surprised it's used for more than serving documentation that's already on a Windows server.

That said, as I mentioned earlier, it's hard to find a use case where IIS (or Windows) is a better choice than any of the popular open source http servers and app platform runtimes.

There is a colossal corpus of .NET Framework code out there and I wouldn't be surprised it achieves the status of COBOL (but with a lot less charm) at some point in the future - where code on it is maintained ad infinitum even though almost nobody would deploy a greenfield app using it.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by cerved on Friday February 17, 2023 @12:31AM (#34831158)
it's kind of shit
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by joenathanone on Friday February 17, 2023 @03:45AM (#34832355)
How so?
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by riffic on Friday February 17, 2023 @01:41AM (#34831588)
You're not going to be able to hire your best and brightest SREs if you have a Windows Server stack. You're going to get people who can barely parse together sentences.

Competent people use better tools.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by rbanffy on Friday February 17, 2023 @07:14AM (#34833735)
It really depends on your use.

If you already paid for your Windows license, not that much. The way it ties into the OS is a bit concerning to me but, apart from that, it's OK.

I think the question can be formulated in a different way: what's RIGHT with using IIS? What does IIS offer you that other web servers don't? Easy AD integration is the one thing that crosses my mind, and I can't think of anything else besides "it's already there".

If you plan on scaling out, however, licensing costs will grow quickly. If you run .NET Core apps, the built-in HTTP server is very fast and runs on Linux as well. Same story with Spring apps - using Netty/Jetty or even Tomcat is easy and makes your app very self-contained.

I think the big nope for me is that it is from the "Pets" era, before servers were "cattle", which was compounded by containerization and tools like Kubernetes and OpenShift. IIS just doesn't look like it fits into that new model.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by tombert on Thursday February 16, 2023 @08:45PM (#34829583)
I used to work for a .NET shop (pre .NET Core) doing F#, and we used IIS.

In the company Slack, I said something like "Serious question; is there something that IIS does better than something like Nginx or any other open source server?"

One of the most senior engineers responded back with "crashing".

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by DaiPlusPlus on Friday February 17, 2023 @08:36AM (#34834475)
IIS can be configured by non-expert users easily, and without necessarily compromising security, thanks to the well-designed (I’m being serious) administration tools that MS has (thankfully) not butchered-up over the past 15 years.

It’s an “old-world” web-server (like Apache, etc) which defaults to “filesystem-first” which is great for quickly making a directory available on the web, and its architecture employing recyclable worker-processes (since IIS 6) with limited privileges gives it the performance benefits of in-proc code-execution (vs CGI/FastCGI) without the risk of a vuln compromising the entire web server. Oh, and HTTP.sys is pretty nice and fast too. I’ve never had reliability or crashing issues with IIS: if your worker-process goes down it means your application code has a crashing bug in it, not IIS.

Yeah, nginx is nice - but is also a relatively recent tool (since 2004, I didn’t start seeing people prefer it for projects until after NodeJS gave them a reason to use it - so around 10 years ago). While nginx supports Windows, there’s a big fat caution saying it’s performance is sub-par still: https://nginx.org/en/docs/windows.html

So if you’re on Windows - because you’re a (non-Linux) .NET shop, or want/need to run on on-prem Windows Server boxes (especially SMB scenarios) it just makes sense to use IIS: it’s already there and certainly is not an underperforming, insecure, or otherwise “bad” web-server.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by ocdtrekkie on Thursday February 16, 2023 @08:48PM (#34829600)
It's usually the right choice if the software runs on a Windows host. Why add a whole bunch of third party problems on top?

A lot of enterprise software is built in .NET for Windows, and as the expectation of web-based UIs for said software has increased... honestly I'd be surprised if IIS usage wasn't increasing in overall uses (though not in market share, for certain).

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by sebazzz on Friday February 17, 2023 @01:04AM (#34831363)
OP is obviously in some kind of bubble. IIS isn't as used as much as it used to be but it is still used a lot and not the COBOL of Web servers.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by pram on Thursday February 16, 2023 @11:23PM (#34830753)
Unironically: the fact that Microsoft has spent millions of man-hours building a complete alternative server ecosystem to UNIX/Linux continually blows my mind. Web servers, containers, virtualization, databases, languages, automation, security, etc. It's like NIH maximalism.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by jiggawatts on Friday February 17, 2023 @01:21AM (#34831466)
Conversely, from the perspective of people that started with computers in the 1990s, it's bizarre how Linux keeps failing to copy Windows. At one point something like 95% of PCs were Windows, and the rest were mostly Apple Macs. Similarly in the server space, you would be surprised to hear that the majority of servers were Windows for quite a while. Note that I didn't say web servers, because not all the world is HTTP.

There is still no equivalent to Microsoft Exchange, Group Policy, Enterprise PKI, and a bunch of other things in the Linux world. SAMBA copies Active Directory, but it's a direct clone, not a unique product.

Not to mention that SQL Server isn't somehow "copying" UNIX. Its performance and feature set blows most of the open-source databases out of the water, with only Postgres having superior features (but not performance).

Microsoft essentially invented OLAP with SQL Analysis Services, and they still have the most popular products in that space, such as Power BI.

Etc...

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by tester756 on Friday February 17, 2023 @02:05AM (#34831720)
>Not to mention that SQL Server isn't somehow "copying" UNIX. Its performance and feature set blows most of the open-source databases out of the water, with only Postgres having superior features (but not performance).

The tooling around SQL Server is decent

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by pram on Friday February 17, 2023 @03:43AM (#34832341)
If we're talking about the 1990s, SQL Server/Sybase ran on UNIX. Not to mention it's just a fork of Ingres lol
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by the8472 on Friday February 17, 2023 @06:08AM (#34833269)
> There is still no equivalent to Microsoft Exchange, Group Policy, Enterprise PKI, and a bunch of other things in the Linux world.

Which also means fewer attack vectors.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by AnIdiotOnTheNet on Friday February 17, 2023 @07:54AM (#34834066)
Why yes, by leaving our computers off and not using them we are at significantly less risk than if we actually employed them to do meaningful work.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by selimnairb on Friday February 17, 2023 @07:17AM (#34833755)
Not sure about the numbers, but there were also A LOT of NetWare servers serving Windows (and Mac) clients back in the day.
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by adolfojp on Friday February 17, 2023 @07:09AM (#34833703)
>It's like NIH maximalism.

UNIX was not an option for most people which is one of the reasons why NT killed the Unix workstation market and Microsoft software like IIS, MS SQL and Exchange was already established when Linux gained mainstream adoption.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by enfaun on Friday February 17, 2023 @01:34AM (#34831539)
certainly, working as an intern and they use IIS for serving Java webapps with Resin, honestly not surprised for enterprise applications that runs on Windows Server
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by scarface74 on Friday February 17, 2023 @02:33AM (#34831901)
Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by unxdfa on Friday February 17, 2023 @02:40AM (#34831953)
Yes. It’s pretty unavoidable if you have the usual corporate behemoth ASP.Net ball and chain which has been dragged along begrudgingly for the last 20 years.

It even runs in containers now! But no I wouldn’t suggest doing it unless you like self flagellation.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by jacquesm on Friday February 17, 2023 @07:12AM (#34833719)
I had the weirdest experience recently. A tech stack with IIS on the front, Linux in the middle and MSSQL on the back.

I still don't get it.

Re:New Malware Abuses Microsoft IIS Feature to Establish Bac... by traceroute66 on Friday February 17, 2023 @07:32AM (#34833886)
IIS = It Is Shit.