News for hackers. Stuff that matters.
Re:SolarWinds hackers were able to access Microsoft source code by vthallam on Thursday December 31, 2020 @01:48PM (#25595703)
> This means we do not rely on the secrecy of source code for the security of products, and our threat models assume that attackers have knowledge of source code. So viewing source code isn’t tied to elevation of risk

I don't know how much of this is true. Wouldn't it be helpful for bad actors to understand how Windows defenses work looking at the code thereby increasing the risk?

Re:SolarWinds hackers were able to access Microsoft source code by dwheeler on Thursday December 31, 2020 @03:01PM (#25596495)
It is generally accepted in the security community that hiding source code does not provide security.

The principles for developing secure software were identified in the 1970s by Saltzer and Schroeder, and they're still true today. One of those principles is "open design", that is, don't depend on design secrecy for security of the system. Instead, depend on secrecy of things that are trivially changed (like private keys and passwords). Then, when the secret is exposed (or you think it might be), you quickly change all the secrets and there's no problem. One source of this paper: https://www.cs.virginia.edu/~evans/cs551/saltzer/

In the case of Windows, the source code is not really secret anyway. Most governments have continuous access to the source code, typically through the Microsoft Government Support Program (GSP) https://www.microsoft.com/en-us/securityengineering/gsp Many businesses and universities also have access to Windows source code. You can see various programs to provide such access in different cases via https://www.microsoft.com/en-us/sharedsource/ In addition, Microsoft employs a huge number of employees who have access to its source code, and you can't really keep a secret long when a large number of people know the secret. Efforts like bribes, appeals to patriotism, etc. will eventually successfully get someone to reveal a secret if there's a large enough group, especially since it's relatively easy to identify who works for Microsoft or otherwise might have such access.

If that's not enough, Microsoft distributes executables, and disassembers & decompilers can provide enough information for static analysis anyway. So you could re-derive what you need to attack Windows if you needed the source code for some reason.

Anyone who depends on secrecy of code to provide security is in trouble. Typically the real reason to keep (some) code secret is to support certain proprietary business models and to meet certain legal obligations, and are not really about security.

Note that Microsoft understands this; they're quite clear in stating that the security of Windows does not depend on keeping its source code a secret.

Re:SolarWinds hackers were able to access Microsoft source code by hguant on Thursday December 31, 2020 @05:40PM (#25598003)
It's not just governments - if you give them enough money they'll send you the source, and all the tools required to build it. Device manufacturers in particular need this - you think SeaGate is using the online windows docs when they write SSD drivers?
Re:SolarWinds hackers were able to access Microsoft source code by zinekeller on Thursday December 31, 2020 @07:58PM (#25599432)
Yes. /s

(The point is correct, but SSDs are probably a bad example: it is very standardised whether it is in consumer or enterprise space. Maybe nVidia and AMD with regards to graphics card would be a better example?)

Re:SolarWinds hackers were able to access Microsoft source code by zinekeller on Thursday December 31, 2020 @07:48PM (#25599310)
To expound on the disassembly, the debug symbols are not just easily accessible but also actively used in Windows app development.
Re:SolarWinds hackers were able to access Microsoft source code by dividuum on Thursday December 31, 2020 @03:05PM (#25596543)
Isn't that the Kerckhoffs's principle? https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle
Re:SolarWinds hackers were able to access Microsoft source code by dwheeler on Thursday December 31, 2020 @03:22PM (#25596725)
Open design is basically a generalization of Kerckhoffs's principle.

Kerckhoffs's principle is usually stated as "A cryptosystem should be secure even if everything about the system, except the key, is public knowledge." Note that Kerckhoffs's principle only refers to cryptosystems. The open design principle is a generalization that applies to all systems, whether or not they are cryptosystems.

Re:SolarWinds hackers were able to access Microsoft source code by usr1106 on Friday January 01, 2021 @04:44PM (#25607499)
> It is generally accepted in the security community that hiding source code does not provide security

Yes. But with not enough eyes carefully reviewing the code security vulnerabilities will remain also in open source code. And once a bad actor finds it it will be easier to implement an exploit.

It's not opening the source that makes the software more secure. It's enough reviewers or white hats looking at the code. Security vulnerabilities in Linux (both kernel and user space) show that regularly.

Of course with closed source your external reviewers are zero, so that's not the solution.

Re:SolarWinds hackers were able to access Microsoft source code by konceptz on Friday January 01, 2021 @11:22PM (#25610363)
"It's not opening the source that makes the software more secure. It's enough reviewers or white hats looking at the code. Security vulnerabilities in Linux (both kernel and user space) show that regularly."

Thank you for that additional point, it's worth being said and helps us model the closed source alternative.

Re:SolarWinds hackers were able to access Microsoft source code by cjohansson on Friday January 01, 2021 @05:16AM (#25602204)
Good points, sounds reasonable and plausible
Re:SolarWinds hackers were able to access Microsoft source code by daniel-levin on Thursday December 31, 2020 @02:03PM (#25595892)
Microsoft shares source code with lots of partners. It would be asinine to admit that source code leaks, accidental or otherwise, would compromise their security. If they did that, it would create headaches for their massive contracts where source sharing is a prerequisite. So they toe the party line and say no, in fact, source code leaks do not compromise security.
Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Thursday December 31, 2020 @02:54PM (#25596410)
Many years ago when I worked at Microsoft I asked for the source code to Solitaire. A few days later I received a stack of CD-ROMs with the entire source code of Windows NT (4.0 maybe).
Re:SolarWinds hackers were able to access Microsoft source code by herodoturtle on Thursday December 31, 2020 @02:58PM (#25596446)
And what of the source code to Solitaire!?

Cool memory, thanks for sharing.

Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Thursday December 31, 2020 @05:21PM (#25597850)
I just thought of something. At the time blank CD-R's were about $15 each and the fastest burners at the time were 2x burners. I'm sorry I wasted so much of time the person who burned these and the cost of the media!
Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Thursday December 31, 2020 @03:57PM (#25597031)
It took ages to figure out where the code even was in the many files and folders. The directory structure did not make it obvious.
Re:SolarWinds hackers were able to access Microsoft source code by westmeal on Thursday December 31, 2020 @03:13PM (#25596635)
Can't wait until cozy bear leaks that :D
Re:SolarWinds hackers were able to access Microsoft source code by sn_master on Thursday December 31, 2020 @06:11PM (#25598323)
NT 4 code was already leaked almost full back in 2004. You can still find it with relative ease if you know where to look, or search for certain keywords in the code.
Re:SolarWinds hackers were able to access Microsoft source code by keyle on Thursday December 31, 2020 @06:53PM (#25598758)
Man I'm old, but give me NT 4 with modern technology support, modern drivers and GPU driven and I would move in a heartbeat.
Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Friday January 01, 2021 @12:07PM (#25604659)
Yeah I remember when there weren't dozens of services running in the background just for basic OS functionality.
Re:SolarWinds hackers were able to access Microsoft source code by sn_master on Thursday December 31, 2020 @07:02PM (#25598828)
What do you miss the most? The UI? Speed?
Re:SolarWinds hackers were able to access Microsoft source code by keyle on Thursday December 31, 2020 @10:53PM (#25600700)
UX, speed, simplicity, lightness. Applications ran without talking to the internet, asking if it's ok to run it, telling me it's probably unsafe to run it, telling me I need to update for security reason, telling me I should play candy crush, letting me search my files without adding recommended noise somewhat supposed to be relevant to what I did 3 days ago. I could go on. I just want to stare at a blue flat colour knowing tomorrow it will be just the same. /s
Re:SolarWinds hackers were able to access Microsoft source code by vxNsr on Thursday December 31, 2020 @07:14PM (#25598932)
Yes! UI was amazing and obviously you can’t beat the speed it would run at on modern hardware
Re:SolarWinds hackers were able to access Microsoft source code by lukeschlather on Thursday December 31, 2020 @10:47PM (#25600669)
Honestly I think Xfce is about the same. And probably more stable, though obviously it's hard to do a direct comparison.
Re:SolarWinds hackers were able to access Microsoft source code by LargoLasskhyfv on Saturday January 02, 2021 @12:47AM (#25610730)
Depending on the "Distro" and compile options/build flags/included libraries MATE is as fast and light, since at least 6 years, actually. I think the first distribution which showed that to a general audience was LMDE a.k.a. Linux Mint - Debian Edition.
Re:SolarWinds hackers were able to access Microsoft source code by tonyedgecombe on Friday January 01, 2021 @06:25AM (#25602500)
The window chrome is fine but the settings are a bit of a mess in my opinion.
Re:SolarWinds hackers were able to access Microsoft source code by sn_master on Thursday December 31, 2020 @07:23PM (#25599028)
UI shouldn't be too hard (https://www.wincustomize.com/explore/windowblinds/8628/). I am not so sure about the speed if you'll use modern drivers.
Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Thursday December 31, 2020 @03:57PM (#25597035)
Make that winning animation use the GPU!
Re:SolarWinds hackers were able to access Microsoft source code by sedatk on Thursday December 31, 2020 @05:47PM (#25598061)
That was before Source Depot, I presume.
Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Friday January 01, 2021 @12:05PM (#25604641)
They were using SLM (Slime) but I did not have access to the server since I was on a different project (Microsoft Systems Management Server).
Re:SolarWinds hackers were able to access Microsoft source code by rbanffy on Thursday December 31, 2020 @02:57PM (#25596440)
> a stack of CD-ROMs with the entire source code of Windows NT

That's a lot of code. Scary.

Re:SolarWinds hackers were able to access Microsoft source code by mandeepj on Thursday December 31, 2020 @03:52PM (#25596991)
>That's a lot of code.

It's estimated to be around 40 million lines of code

Re:SolarWinds hackers were able to access Microsoft source code by macjohnmcc on Thursday December 31, 2020 @03:58PM (#25597041)
And it was not compressed it was just a bunch of files and folders. My guess is it was around 15 CD-ROMs
Re:SolarWinds hackers were able to access Microsoft source code by rbanffy on Friday January 01, 2021 @12:08PM (#25604666)
40 million lines of 80 characters would fit in 5 CDs. With a more reasonable average length, it'd fit comfortably in 3.

And 40 million lines for an OS is a crazy amount of code.

Re:SolarWinds hackers were able to access Microsoft source code by srtjstjsj on Thursday December 31, 2020 @04:47PM (#25597536)
The source code is already out there, so any compromises have already been found and exploited. Leaking it further won't create more vulnerabilities, and more likely will cause existing vulnerabilities to be found by white hats
Re:SolarWinds hackers were able to access Microsoft source code by TedDoesntTalk on Thursday December 31, 2020 @02:56PM (#25596424)
> Microsoft shares source code with lots of partners

ALL source code for ALL active AND inactive projects? I highly doubt it.

You simply have no idea if the attackers had access to unshared, proprietary code or not. Like Azure server-side components.

Re:SolarWinds hackers were able to access Microsoft source code by thisiszilff on Thursday December 31, 2020 @01:56PM (#25595799)
I'd imagine the answer is yes, viewing the source code would increase the risk relative to an attacker that did not have access to the source code, but the statement is saying that whatever risk assessment Microsoft does already assumes attackers have knowledge of source code. EG, they are conservative and do not rely on source code secrecy when making any security evaluations.
Re:SolarWinds hackers were able to access Microsoft source code by burnthrow on Thursday December 31, 2020 @02:49PM (#25596357)
That assumes total security competence at Microsoft. The Linux model benefits from public audit.
Re:SolarWinds hackers were able to access Microsoft source code by TrueDuality on Thursday December 31, 2020 @02:55PM (#25596417)
For what it's worth I'm familiar with Microsoft's security team (both for their infrastructure and code) first hand and they are some of the most competent individuals I've ever had the pleasure to know.

I'm personally not a huge fan of Windows, and it definitely has flaws but the amount of considerations taken into account, and the speed with which issues are identified and repaired in a code base of that size, especially while maintaining a disgusting amount of backwards compatibility is crazy impressive.

That aside, having access to the source code does make finding issues easier. It sounds like that knowledge is assumed in their risk assessments which would make that a fair statement.

Re:SolarWinds hackers were able to access Microsoft source code by mol4711 on Thursday December 31, 2020 @10:17PM (#25600505)
How about their bug tracking software, MS equivalent to Jira issue tracker (I assume they aren't using an outside product).

Do we know if they had access to their issue tracker? That would make it far easier to make zero-day exploits faster.

Re:SolarWinds hackers were able to access Microsoft source code by RMPR on Friday January 01, 2021 @06:54AM (#25602630)
Re:SolarWinds hackers were able to access Microsoft source code by rbanffy on Thursday December 31, 2020 @02:58PM (#25596453)
This puts them on the same level of Linux - when doing Linux threat assessment we can count the attacker has the source code for everything.

In any case, it's silly to think otherwise. It's always safer to assume everyone that we wouldn't want to know something already knows that, whatever it is.

Re:SolarWinds hackers were able to access Microsoft source code by to11mtm on Thursday December 31, 2020 @06:41PM (#25598638)
It's the same assessment level but may or may not be the same exposure level.

While Microsoft does not assume that attackers haven't seen the source code, we cannot say how many people who are capable of spotting security issues have reviewed the code.

That being said, it's worth also saying it's a hard comparison to make overall; it's possible there are important parts of the Linux code base that have in fact had less eyes on them than Microsoft has had on theirs; without numbers it's hard to be certain.

Re:SolarWinds hackers were able to access Microsoft source code by drvdevd on Thursday December 31, 2020 @02:06PM (#25595923)
Whether or not it would be helpful to attackers, this is still the correct threat model for Microsoft to operate with. Sufficiently motivated attackers can reverse anything they distribute publicly anyway.
Re:SolarWinds hackers were able to access Microsoft source code by lrem on Thursday December 31, 2020 @04:41PM (#25597479)
Nobody seems to mention an important aspect: megacorps like Microsoft, Amazon, Google or Oracle hire thousands of engineers each year. It's not particularly hard for a bad actor to get an agent hired into their target and gain access, for nefarious purposes, in the legit way.
Re:SolarWinds hackers were able to access Microsoft source code by brianberns on Thursday December 31, 2020 @01:57PM (#25595814)
Yes, but on the other hand, all the Linux source code is publicly available, and it's still considered secure.
Re:SolarWinds hackers were able to access Microsoft source code by acct776 on Thursday December 31, 2020 @02:11PM (#25595998)
No, it is not, by any stretch of the imagination, by security researchers.

This has been on the front page all day: https://madaidans-insecurities.github.io/guides/linux-harden...

It is safe to assume it is more PRIVATE than a Microsoft OS, but not more secure.

Please don't react emotionally to this... It was a bit jarring of a shift in thought to me as well, at first.

Re:SolarWinds hackers were able to access Microsoft source code by acct776 on Thursday December 31, 2020 @03:06PM (#25596562)
Downvoters, consider reading first: https://madaidans-insecurities.github.io/linux.html
Re:SolarWinds hackers were able to access Microsoft source code by merb on Friday January 01, 2021 @03:25AM (#25601718)
windows sandboxing btw. is barely at use. every program can basically read everything in user profiles, that is imo the same on linux.

only windows applications that do not run in full trust mode, like store apps won't do that. and even without store apps you can use something like msix or app-v to package your apps in a "small" sandbox, but you can breakout from the sandbox via runFullTrust

Re:SolarWinds hackers were able to access Microsoft source code by 0134340 on Thursday December 31, 2020 @08:31PM (#25599784)
Regardless of what mitigations Windows has in place, when you run closed source programs, without competent security auditing you never know what it's doing. Once you click run your precious user files are always in jeopardy. Even with GUI isolation, a point of contention in the article, it's trivial with a few bytes of code to implement some other form of keylogging which the user will run without much thought because hey, it's Windows, it's "secure" while having no real idea what the program is doing in the background. To reiterate, any execution of closed programs will result in execution of closed processes.

With the Windows model, you don't check your guests at the door. You can't search all guests so you assume all guests are hostile and with it you're always taxed with playing security theater which can not only be expensive in terms of hardware resources but mental resources as well as losing more control over your own environment. Because you let unaudited people in your home, before long you have to lock down most parts of it, even from yourself. In gaining control you've lost control because you don't control for openness in the first place. For the few binaries I run on Linux I sandbox them in a VM anyway. But different models, different hosts, each has their weaknesses.

Re:SolarWinds hackers were able to access Microsoft source code by m4rtink on Thursday December 31, 2020 @11:57PM (#25600979)
Most importantly, how do you check the binary you are running is actually built from the source code the vendor says it is if the source is not open ?

They might sincerely thing so, not knowing they were targeted and now all the binaries they ship are also containing a payload added by the attacker.

With open source software and especially the Linux distro model where one set of people writes the software and another buikds it from source and integrates it is much harder if not impossible to pull off such an attack affecting all users of a piece of software.

Re:SolarWinds hackers were able to access Microsoft source code by richardwhiuk on Thursday December 31, 2020 @05:04PM (#25597705)
That article is comes from an extremely naive security posture.
Re:SolarWinds hackers were able to access Microsoft source code by tester756 on Thursday December 31, 2020 @04:16PM (#25597227)
I'm curious whether somebody will challenge it
Re:SolarWinds hackers were able to access Microsoft source code by MeinBlutIstBlau on Thursday December 31, 2020 @02:16PM (#25596047)
Linux isn't any more secure or safer than a lock on my door will prevent someone from just breaking the window. Hackers do in fact target linux machines, just not average desktop users. They typically go after servers since they run basically everything. And chances are, standard linux users know what they're doing so a ransomware attack isn't really much to frighten a linux user as much as it is to just piss them off but still recover in like 24 hours or less.
Re:SolarWinds hackers were able to access Microsoft source code by glouwbug on Thursday December 31, 2020 @02:08PM (#25595957)
Causation vs. correlation, Linux is secure because it _is_ open source. Closed systems can cut corners, assuming the source stays secret
Re:SolarWinds hackers were able to access Microsoft source code by jcelerier on Thursday December 31, 2020 @03:29PM (#25596781)
windows source code has been open to academics for something like two decades
Re:SolarWinds hackers were able to access Microsoft source code by webmobdev on Thursday December 31, 2020 @01:55PM (#25595783)
Yeah, the whole point of looking through the source code is to find undocumented APIs and bugs to exploit.
Re:SolarWinds hackers were able to access Microsoft source code by monocasa on Thursday December 31, 2020 @02:01PM (#25595868)
A lot of times stuff like undocumented APIs and bugs are easier to find taking apart the binary anyway. Goofy stuff tends to be obfuscated in source as engineers add so much abstraction around the goofy pieces, but it's clear in the final binary.
Re:SolarWinds hackers were able to access Microsoft source code by webmobdev on Thursday December 31, 2020 @03:30PM (#25596791)
> A lot of times stuff like undocumented APIs and bugs are easier to find taking apart the binary anyway.

Is that why Microsoft, and all you people who poke at its binaries, have fixed all the bugs in MS binaries? /s

Re:SolarWinds hackers were able to access Microsoft source code by monocasa on Thursday December 31, 2020 @04:05PM (#25597122)
Why do you think the people poking around MS's binaries overwhelmingly want the bugs they find to be fixed?
Re:SolarWinds hackers were able to access Microsoft source code by webmobdev on Friday January 01, 2021 @01:48AM (#25601400)
The point was that if it was so easy, a lot more people would be disclosing the bugs and asking MS to fix. Not everyone hacker has a malicious intent.
Re:SolarWinds hackers were able to access Microsoft source code by saltyshake on Thursday December 31, 2020 @02:18PM (#25596072)
there are many books written on Windows undocumented APIs. these things aren't hidden at all.
Re:SolarWinds hackers were able to access Microsoft source code by webmobdev on Thursday December 31, 2020 @03:33PM (#25596809)
Yeah, right. Everything is so open about all MS binaries that they don't even need to be closed source! It takes a lot of time and effort to find these poking the binaries, and then experimenting them. The source code makes this task obviously easy.
Re:SolarWinds hackers were able to access Microsoft source code by phendrenad2 on Thursday December 31, 2020 @05:07PM (#25597741)
Remember that anyone can manually decompile Microsoft source code. It's a lengthy tedious process, but that's nothing for a determined attacker.
Re:SolarWinds hackers were able to access Microsoft source code by ipython on Thursday December 31, 2020 @05:42PM (#25598024)
That’s not nearly comparable to commented source code repo. “Decompiling” leaves you with a barely readable facsimile of the original code, and most likely won’t even compile again.

The true value in source code at this level are the comments and symbols. Microsoft provides most ofthe symbols, the comments you can’t recover from a binary.

Re:SolarWinds hackers were able to access Microsoft source code by mmaunder on Thursday December 31, 2020 @03:01PM (#25596490)
Agreed. They’re using that argument to frame their breach as a win. The reality is that open source is easier to reverse engineer and find vulnerabilities in because you have the source. Our researchers do this every day and closed source makes that harder. Advocacy debates in favor of open source have muddied this conversation - but that is the cold hard reality.

Now that an adversary has MS’s source code, it is indeed easier for them to do vulnerability research. So this is a net loss for MSs overall security posture, not a win.