106 points · by rayuela · 9y ago · 97 comments
This kind of crap is out there, and people don't give it the attention it deserves until they get bitten in the ass. Thankfully, my company didn't get bitten, but if we had, it could have been very bad, and the fact that the issue was called to people's attention and they didn't do anything about it would have made it look that much worse.
It's not great to have a non-revocable login token, but a "UUID that lets anyone log in as you" is how a lot of API access tokens work, which is why they usually have a mechanism where you can regenerate them if you know they are compromised.
I don't disagree with your premise that "a lot of crap is out there" though. Working in small to medium enterprises (SMEs) really opens your eyes about the real level of security of most sites.
Yes, a suitably random and therefore 'unguessable' secret is, fundamentally, the underpinning for auth systems, and some of those secrets utilize UUIDs.
No to the idea that these are comparable. Those are not -user identifiers-. A user identifier, vs a 'secret', require different perspectives in how they're treated, in API, in UI, etc.
For -any- sort of security model you figure out what bits of data must be kept secret, vs what bits of data should be treated as 'known'. A user identifier should always falls into the latter camp, a password or other credential falls into the former.
You said it yourself, "usually have a mechanism to regenerate them if you know they are compromised" - you really, REALLY don't want to have to regenerate your user identifiers if they leak out; that's almost invariably going to involve a great deal of complexity, breakages, regressions, etc. You're effectively changing the primary key of every entry in every database you have that this user exists in. Better to just not make them required to be kept secret for your security model. And even -that- assumes that they were -meant- to be secret; no developer is going to assume that about user identifiers, so you better have made that explicit to everyone who ever touched the code, or you just introduced a bunch of avoidable security holes.
Ultimately, this kind of stuff is something IMO a professional programmer should just do. It's irresponsible to let stuff like this go and you should do whatever it takes to make management understand. In a healthy organization it shouldn't even be questioned by management, you just tell them you found a security issue that will cost the company billions and has to be fixed immediately. In an unhealthy organization, maybe you just slip this into some other work without telling management.
Teams are siloed. Code is siloed. The deployment process is siloed. Etc.
Do I know where the code lives? If I do, do I -have access to the code-? Write, as well as read? Will my checking in code trigger a huge change review process that will cause people to yell at me for touching code I'm not in charge of? Will my checked in code be picked up as part of what goes to prod? If not, do I have a way to get the code into that process? Etc.
Very few companies of that scale are just a "check the code out, fix it, create a pull request, and watch it work its way into prod".
Now (and given everything that's happened in the industry in recent years) I would definitely push more, and maybe fix it on my own, but at the time I just shook my head, and sent follow-up emails every few months to try to keep visibility on the issue.
Obviously I got out of that environment pretty quickly, but you're not in a position to just do things at big companies. Probably most of them.
If the code is not responsibility of you (your team / department) all you can do is create work requests / JIRA tickets for people/team responsible for the code.
You wouldn't even have access to the repository or dev/test environments for the affected system most likely.
And it might just sit there for months until it eventually gets picked up and fixed. Or it will never be fixed.
Even tech readers. I worked with a veteran who would just take that kind of stuff as fact because "17 intelligence agencies cant be wrong"
Coming right on the heels of economic sanctions and a stream of threats my wild guess is North Korean involvement. Or else that's who they'll eventually blame it on. Or who knows.
Which none of this in any way excuses Equifax's shockingly bad behavior.
How, by getting Equifax to hire IT staff that does not see the wisdom in patching known vulnerabilities?
> everything we now know about Russia's attempts to influence our elections and sew division
Be careful what you believe. To date there has not been hard evidence that the Russian government was involved in any of the mischief that has been discovered.
It could just as easily have been an activist group within Russia or even (sadly) the US intelligence agencies looking to fan the flames of war with Russia.
There has been consistent conflict between the US and Russia all along since the cold war ended. And certainly lots of mischief on both sides. The danger in this case is allowing US propagandists to frame the recent mischief as cyber warfare, which it is not.
Considering the way that information about the alleged hacks have been strategically leaked and timed to convince the American people to resent Russia, it's pretty clear what the objective is.
Wars don't just happen, they are the result of significant propaganda effort. We are seeing the beginnings of it with the outrage over "meddling". It's only going to get worse. Expect to read additional revelations about Putin's character and Russian society/culture. The goal is to gradually foment mistrust and hate to the point where Americans actually consent to a war which may kill many Russians and many Americans.
The Equifax hack has the hallmarks of Equifax's complete incompetence when it comes to security, and that is all.
They did say "...sophisticated team of hackers..." so who knows, right.
Be cautious when declaring an event as being born from malice, when the event is adequately explained by incompetence.
The fact that they were a somewhat critical component of the Western financial system and didn't recognize their vulnerability to nation state attacks (if that's what this was) makes the behavior even worse.
Hopefully someone is taking stock of weak points to the system global system and making some sort of corrective plans but I sort of doubt it. Which is alarming. We all like to think adults somewhere are in control but it looks like maybe not.
It basically boils down to "Don't blame us, we are up against the super-sophisticated Chinese / KGB / aliens etc". It's a way to deflect blame.
> . In a speech at the University of Georgia last month, he [now ex-CEO] described a stagnating credit reporting agency with a “culture of tenure” and “average talent.”
When the CEO talks publicly about average talent, you can be sure the real talent is well below average.
That was his description of the organization he inherited, in 2005. It was not his opinion of the organization as it stands now.
A different Equifax site had an admin account with the password..."admin"
https://www.cnbc.com/2017/09/14/equifax-used-admin-for-the-l...
I only scanned TFA but it didn't' seem to say "Wow, this was a sophisticated attack only a country could pull off," but more of "the [scant] evidence so far seems to point to..."
Rather than admit their own complete failure and negligence these companies are now seeking to portray themselves as victims along with the people they have permanently put at risk and profited from in the process. It's disgusting.
If you leave your car unlocked with the keys in the ignition and someone steals the car, you are not a victim you are an idiot.
Well, no. You are both a victim and an idiot. These things are not mutually exclusive.
Who knows what other actors could have exploited it instead or as well?
In any case the incompetence was the root cause and I wouldn't trust Equifax to speak my weight.
Isn't it possible that with the incredible bounty of state-power hacking tools floating around the web that it's just a criminal organization? Or are we trying to paint a cold-cyber-war narrative to put Equifax in a sympathetic light?
I'm still skeptical, but I wouldn't dismiss it outright.
I think in the next 6-12 months, if a wholesale PII marketplace doesn't appear, the odds of a state-sponsored attack go up dramatically. The economics of wholesale fraud are such that you make money selling to other fraudsters, not trying to exploit the information yourself (setting up new accounts, taking over existing accounts, etc..).
For what it's worth, even if this attack was executed by actors unaffiliated with the government, this information WILL make it's way to intelligence organization(s) in their home country. Unlike in the US, foreign and domestic intelligence services maintain a much closer relationship with the hackers in their home country.
If the data never sees the light of day in the shadier parts of our internet then their narrative is more belieavable.
This nonsense is really getting old
And yes, "it's the russians" is now a joke where I work when servers are down, or someone makes stupid mistake and breaks the build.
I mean, sometimes foreign governments do hack stuff, and when they do they will sometimes leave evidence of who was behind it.
It's far from conclusive in this case, and there's a lot of speculation, but the article is completely up-front about that.
And there's little doubt Russia interfered with the USA's election. To what degree is being investigated.
I have no idea of your political inclinations, but generally I find it odd that the right is overall giving a pass to Russia with this. Deflecting as you are doing, and not answering the issue at hand.
Russia, formerly via Communism, was all but our enemy shortly after WW2. They are still an adversary. So, we decided it was in our best interest to fuck with them, and many other countries because we were "the good guys". Yes, this got convoluted and contrived, and completely futile -- especially w.r.t. Vietnam, the Bay of Pigs, Panama, and many others I imagine.
But even considering all that, it still doesn't justify Russia interfering with our election. Surprising? No.
But why are so many on the right giving Russia a free-pass? It all seems to be the same motivation that kept us in Vietnam for years after it was known to be a waste: To avoid admitting you were wrong; to try and save face.
Well, I can see why they would have to cut costs associated with employing customer service representatives to handle requests for copies of credit reports from consumers.
Faced with such financial pressures, they probably had no choice but to make private consumer data accessible via public internet and use a "web app" in order to scale back their costly customer service headcount.
This has all the hallmarks of sound business judgment.
That's just silly. It is very common when exploiting web apps to utilize a web shell to persist your access and then to work from that to implement better and more permanent access.
Web shells are easy to find and they make a lot of noise (POSTs in the web logs). They are very easy to spot in any org that has their web/app roots under version control, so advanced adversaries will use them temporarily - not install 30 of them
> One of the tools used by the hackers—China Chopper—has a Chinese-language interface, but is also in use outside China, people familiar with the malware said.
China Chopper is an old web shell[0]. It works by having a very thin server component that simply runs an eval of a POST variable. Most of the intelligence is in the thick client (read about it at the links below - its pretty cool but by no means advanced).
While it was developed in China - the interface is in English[1]. There isn't even much of an interface, as it will reconstruct the server file explorer, shell, db connection etc.
You can't identify China Chopper from just the server component, since it is a simple:
<% Runtime.getRuntime().exec(request.getParameter("password"))
Most decent scanners will have a signature for "exec("[1]This is what I still don't understand about the Equifax hack. They had an entire infosec team, ran a SOC, had all sorts of high-end product installed (including complete traffic logs) yet someone could exfil 10GB+ of data using a known web app exploit and simple web shell.
There is more to this story, and it will be told in what happen once the attackers penetrated the first web server and how they were able to pull of the lateral moves to get to the credit database. I sense there is going to be some horrible security practice and hygiene on the internal network that allowed this to happen (think broad permissions, full database access, no db query monitoring, no encryption internally, etc.).
[0] https://www.fireeye.com/blog/threat-research/2013/08/breakin...
[1] http://informationonsecurity.blogspot.com.au/2012/11/china-c...
Too big to flail.
Money is a great motivator, especially when you can use one database to find those in most desperate need of it who are also working for companies ripe for exploitation.
It doesn't matter if it was as state or not, it should have been so comprehensive, or easy.
The basic design of where the data was placed, and how easy it was to traverse the network, combined with a stunning lack of monitoring means that it could have almost have been a script kiddie who did this.
_almost_
http://www.marketwatch.com/story/equifax-ceo-hired-a-music-m...
This has been thoroughly debunked. She had extensive industry experience in a series of increasingly important security and compliance roles going back at least 15 years. Furthermore, the Bloomberg article even paints her in a positive light as someone trying to do the right thing against corporate opposition.
All in all it revolves around:
>... some investigators inside Equifax to suspect a nation-state was behind the hack. Many of the tools used were Chinese, and these people say the Equifax breach has the hallmarks of similar intrusions ...
The following sentence:
>Others involved in the investigation aren't so sure, saying the evidence is inconclusive at best or points in other directions.
is the exact opposite.
And the one following is even worse:
>One person briefed on the probe being conducted by the Federal Bureau of Investigation and U.S. intelligence agencies said that there is evidence that a nation-state may have played a role, but that it doesn't point to China. The person declined to name the country involved because the details are classified.
So with the investigation still not concluded there is a small number (not quantified) of people saying it was a Nation-State AND Chinese, another small group (also not quantified) saying that it was NOT a Nation-State (and thus NOT Chinese) and ONE single person stating that State-Sponsored intelligence "may have played a role" BUT NOT Chinese.
All the rest ia about how good are (or were) the people at Equifax and how hard they tried to make this not happen, but of course you can do nothing if you are the target of a Nation-State intelligence, particularly if Chinese.
The web shell identified, China Chopper, actually has an English UI (not Chinese as the article claims). The only relationship to China is that it was originally compiled by a user that regularly visits the Google HK domain.