News for hackers. Stuff that matters.
Re:Capital One Says Breach Hit 100M Individuals in U.S by shiftpgdn on Monday July 29, 2019 @07:27PM (#20560566)
> hacked into a cloud-computing company server, federal prosecutors in Seattle said

> the cloud-computing company, on whose servers Capital One rented space, wasn’t identified in court papers.

Does this feel like it was just an S3 bucket with permissions set incorrectly? I've come across sensitive documents in S3 buckets with a well crafted google search.

Re:Capital One Says Breach Hit 100M Individuals in U.S by otterley on Monday July 29, 2019 @07:31PM (#20560594)
Misconfigured WAF - see my comment elsewhere here.

Correction: according to the complaint, the defendant is alleged to have assumed an IAM role in the context of Capital One's account whose policy provided access to the S3 bucket in question. So it wasn't that the S3 bucket was public, but rather, that there was some vulnerability she took advantage of by which she obtained indirect credentials to it.

(Complaint, page 6, lines 14-27.)

Re:Capital One Says Breach Hit 100M Individuals in U.S by pmredux on Wednesday July 31, 2019 @02:21AM (#20572092)
Might have been an SSRF exploit if the WAF was accepting parameter values that were then used to expose IAM credentials via the EC2 metadata service. See https://ejj.io/blog/capital-one for a good write-up.
Re:Capital One Says Breach Hit 100M Individuals in U.S by samstave on Monday July 29, 2019 @08:13PM (#20560882)
I wonder what data was in the bucket?
Re:Capital One Says Breach Hit 100M Individuals in U.S by jlgaddis on Monday July 29, 2019 @08:37PM (#20561013)
> The largest category of data stolen was supplied by consumers and small businesses when they applied for credit cards from 2005 through early 2019, the bank said. It included personal identification data, including names, addresses, phone numbers and dates of birth, and financial data including self-reported income, credit scores and fragments of transaction history.

> About 140,000 Social Security numbers were accessed, as well as 80,000 bank account numbers from credit-card customers, the bank said.

I haven't yet read (all of) the complaint but I presume it goes into even more detail than the article did.

Re:Capital One Says Breach Hit 100M Individuals in U.S by united893 on Monday July 29, 2019 @08:56PM (#20561119)
Actually looks like she worked for Amazon on S3. So there might have been some insider knowledge. From the complaint below, and googling her name you can find her resume

I won't link it here, but here's a screenshot of a snippet: https://i.imgur.com/NezWVKw.png

Re:Capital One Says Breach Hit 100M Individuals in U.S by yborg on Tuesday July 30, 2019 @12:42AM (#20562185)
I know that reading the actual linked content on HN is verboten, but the Bloomberg story says

"Thompson was previously an Amazon Web Services employee. She last worked at Amazon in 2016, spokesman Grant Milne said. The breach described by Capitol One didn’t require insider knowledge, he said."

Re:Capital One Says Breach Hit 100M Individuals in U.S by floatingatoll on Tuesday July 30, 2019 @04:13AM (#20562986)
“Didn’t require” is a very precise way of stating a truth about the vulnerability that was exploited, while neither confirming nor denying whether her role at Amazon was in some way responsible for her discovering the vulnerability.

(If I could query all AWS permissions for publicly exploitable permissions, that would comply, for example.)

Re:Capital One Says Breach Hit 100M Individuals in U.S by Ajedi32 on Tuesday July 30, 2019 @09:13AM (#20564488)
The AWS spokesman quoted in the article also explicitly says it wasn't a vulnerability.
Re:Capital One Says Breach Hit 100M Individuals in U.S by floatingatoll on Tuesday July 30, 2019 @01:23PM (#20566993)
Do you consider an access control misconfiguration to be a vulnerability? Does Amazon?

Point stands; they’re being very careful to say that there aren’t any CVEs, but they are also very carefully not saying whether she abused the privileges of her role to identify misconfigurations more rapidly than she could have otherwise.

Re:Capital One Says Breach Hit 100M Individuals in U.S by lanstin on Tuesday July 30, 2019 @02:45PM (#20567879)
Detailed knowledge of a system gives you all kinds of knowledge about how to exploit it. You don't need special access if you know X% of users misconfigure feature Y.
Re:Capital One Says Breach Hit 100M Individuals in U.S by floatingatoll on Tuesday July 30, 2019 @04:41PM (#20568904)
It's not about knowing that X% are misconfigured, it's about whether special access or circumstances led to locating them more efficiently than the general public could have.

Special access can make the difference between "locating X% of misconfigured users in a single admin panel query" and "locating X% of misconfigured users by scanning every S3 bucket in existence without being caught".

Or to draw a weak analogy, knowing that a closed-source PRNG algorithm is defective does not necessarily help locate all keys generated by it, but having access to force it to generate numbers for you (or to study its source code) absolutely does help.

Re:Capital One Says Breach Hit 100M Individuals in U.S by dmix on Tuesday July 30, 2019 @02:16AM (#20562474)
The parts about Amazon was added later after the article was originally published. Maybe they read HN and found her Gitlab account like was posted below before this was published. Most of those news sites back referral link lists.
Re:Capital One Says Breach Hit 100M Individuals in U.S by notus on Monday July 29, 2019 @09:28PM (#20561246)
Oh cool I use the same LaTeX template as her for my resume. Mine is blue instead of pink though! https://github.com/posquit0/Awesome-CV
Re:Capital One Says Breach Hit 100M Individuals in U.S by heyoni on Monday July 29, 2019 @10:46PM (#20561698)
Don’t forget to mention that on your next interview!
Re:Capital One Says Breach Hit 100M Individuals in U.S by king_panic on Tuesday July 30, 2019 @07:19AM (#20563772)
ftw
Re:Capital One Says Breach Hit 100M Individuals in U.S by uxp100 on Tuesday July 30, 2019 @09:43AM (#20564747)
I feel modern CV is a little clumsy. Especially how it handles columns. You like this better? The example provided I don't love, but I'm not a designer, it looks good enough I think.
Re:Capital One Says Breach Hit 100M Individuals in U.S by cultus on Tuesday July 30, 2019 @09:49AM (#20564806)
I use it too. I think it looks good enough, definitely better than my last horrible-looking resume. It seems to work well with a bit more text compared to many.
Re:Capital One Says Breach Hit 100M Individuals in U.S by mc32 on Monday July 29, 2019 @11:09PM (#20561813)
If you put data in the cloud, make sure you encrypt with keys only you have even when they promise all sorts of assurances of oversight and process in addition to “we use AES”.
Re:Capital One Says Breach Hit 100M Individuals in U.S by giancarlostoro on Tuesday July 30, 2019 @03:09AM (#20562693)
This right here. Take away any outsiders ability to access things. I also feel AWS and the rest should be able to notify you when files untouched en masse for years are being accessed and it should set off alarms like crazy. If not acted upon then its the issue of whoever got those emails.
Re:Capital One Says Breach Hit 100M Individuals in U.S by flatiron on Tuesday July 30, 2019 @08:41AM (#20564255)
You can. It’s cloudwatch. Also at least put these things in glacier so you have some time between the download request and when they get the file to hopefully stop it.
Re:Capital One Says Breach Hit 100M Individuals in U.S by Graham24 on Tuesday July 30, 2019 @06:22AM (#20563486)
If you put data in the cloud...

assume it is no longer private.

Re:Capital One Says Breach Hit 100M Individuals in U.S by pravinva on Tuesday July 30, 2019 @06:32PM (#20569888)
As opposed to on your computer connected to the internet?
Re:Capital One Says Breach Hit 100M Individuals in U.S by slowdog on Monday July 29, 2019 @10:09PM (#20561503)
Pretty much doubt there'd be much insider knowledge, guessing in 2015 a L4(entry) System engineer is going to be pretty much spending 80% of their time building new regions by hand...

Not much really there to learn

Re:Capital One Says Breach Hit 100M Individuals in U.S by kevin_thibedeau on Monday July 29, 2019 @09:12PM (#20561184)
Looks well qualified to run the coding bootcamp in her prison.
Re:Capital One Says Breach Hit 100M Individuals in U.S by giancarlostoro on Tuesday July 30, 2019 @03:12AM (#20562705)
Only facing up to 5 years apparently. I wonder if that will change over time. Considering her hack is worse than what Aaron Swartz hacked (not PII) I cant believe she only gets 5 years.
Re:Capital One Says Breach Hit 100M Individuals in U.S by Reelin on Tuesday July 30, 2019 @03:53AM (#20562891)
> worse than what Aaron Swartz hacked (not PII)

Violation of copyright would appear to be a significantly worse offense according to present US law.

Re:Capital One Says Breach Hit 100M Individuals in U.S by lmkg on Tuesday July 30, 2019 @04:41AM (#20563118)
IANAL, but I believe part of the issue is that breaching a hundred million records is one data breach, but exfiltrating a few thousand journals is one infringement per journal.

In point of fact, the prosecutor on Swartz case (Stephen Heymann) had previous authored an article describing how the Internet age allowed crime to scale, enabling hackers to commit thousands of criminal acts per second. It's my personal belief that Heymann wanted to use Swartz' case as a validation of this belief.

(Source: The Idealist: Aaron Swartz and the Rise of Free Culture on the Internet, ISBN 978-1476767727)

Re:Capital One Says Breach Hit 100M Individuals in U.S by javagram on Tuesday July 30, 2019 @06:57AM (#20563661)
“Up to” limits on sentencing are different from what people actually get. Swartz supposedly would have got 6 months recommended by the prosecutor. https://mashable.com/2013/01/17/aaron-swartz-prosecutor-orti...
Re:Capital One Says Breach Hit 100M Individuals in U.S by cameronbrown on Tuesday July 30, 2019 @07:13AM (#20563732)
That is a lot of buzzwords.
Re:Capital One Says Breach Hit 100M Individuals in U.S by damontal on Monday July 29, 2019 @10:06PM (#20561487)
Are Git and SVN really considered IDEs?
Re:Capital One Says Breach Hit 100M Individuals in U.S by hermitdev on Monday July 29, 2019 @10:39PM (#20561659)
Not to anyone even remotely in the industry.

I think the minimum to be considered an IDE, you need to be able to edit, possibly compile depending on the language, and run/debug from within the same tool. By last loose definition, I've joked my most used "IDE" would be bash. I can edit with vim, compile/link with make/gcc/ld, and debug using gdb or run my bins directly.

I mean it's an integrated development environment in that I can access all of my tools from one centralized location, the bash shell, but certainly not integrated in the sense that I have a GUI that hides the nuances of commands of various tools behind menus and friendlier non-command-line names and making it appear that the half dozen or so tools are a single entity.

I also use Visual Studio for Windows development and I've been switching between VS Code and PyCharm for Python development.

But are git and svn an IDE? No. They are both merely source control management systems.

Re:Capital One Says Breach Hit 100M Individuals in U.S by efdee on Tuesday July 30, 2019 @09:41AM (#20564732)
Are they even considered programs?
Re:Capital One Says Breach Hit 100M Individuals in U.S by lanstin on Tuesday July 30, 2019 @02:47PM (#20567906)
yes, they are programs. They, like most of the truly important software, don't have a UI, but they run none the less.
Re:Capital One Says Breach Hit 100M Individuals in U.S by efdee on Thursday August 01, 2019 @02:05PM (#20586547)
My point was going to be that these are concepts and protocols rather than programs, and that you would use an actual program (eg TortoiseGit) to actually use it.

But then I read your comment and realised in *nix the program is actually called "git". So I concede :-)

Re:Capital One Says Breach Hit 100M Individuals in U.S by joncrane on Monday July 29, 2019 @09:24PM (#20561238)
Looks like she only worked there until 2016? Or is that just a resume from 3 years ago?
Re:Capital One Says Breach Hit 100M Individuals in U.S by guessmyname on Monday July 29, 2019 @10:13PM (#20561525)
> Looks like she only worked there until 2016? Or is that just a resume from 3 years ago?

The last commit in the Git repository where her resume is located shows this:

    commit 44e40140ab1ccdd47d8b56a8a78fc532d5b3386d
    (HEAD -> master, origin/master, origin/HEAD)
    Author: Paige Thompson <paige********@gmail.com>
    Date:   Thu Jan 10 14:38:02 2019 -0800
    
        update linkedin address
    
    diff --git a/cv.pdf b/cv.pdf
    index bf26140..add1ea9 100644
    Binary files a/cv.pdf and b/cv.pdf differ
If we assume this is the only repository she has, then the resume seems to be up to date.
Re:Capital One Says Breach Hit 100M Individuals in U.S by QuinnyPig on Monday July 29, 2019 @09:39PM (#20561306)
Unlikely. S3 was publicly rebuilt in the wake of the 2017 S3pocalypse.
Re:Capital One Says Breach Hit 100M Individuals in U.S by bagels on Tuesday July 30, 2019 @02:47AM (#20562611)
What does this refer to?
Re:Capital One Says Breach Hit 100M Individuals in U.S by x0x0 on Tuesday July 30, 2019 @03:43AM (#20562852)
Some S3 eng accidentally dropped a big chunk of the servers that were the s3 equivalent of an hdfs nameserver, ie mapping blob name to location info, as part of an unrelated config change.

While attempting to recover, the s3 team discovered and/or decided the nameserver needed a full restart. That's when they discovered the info in the nameserver had grown so large since the last full restart years previous that it took far longer than expected to restart the nameserver. Right around that point in time my guess is they realized just how shit their morning was going to be. And their afternoon.

Somewhere in there, they realized that their health dashboard depended on s3 working.

Though to be fair, as an aws customer, we -- along with the rest of internet -- were well aware that stuff was badly broken.

I feel terribly for whoever did this, because IIRC, he or she just fat fingered part of a command in a standard playbook, and the config script had no safeguards. I personally took down a company you've heard of in the exact same way; I knocked all pops off the internet because the config script had a hard requirement around certain values that was neither communicated to me nor checked. And I was trying to figure out wtf I did to a system that I was not particularly familiar with while receiving forwarded texts from the CEO about cascading datacenter down alerts.

Re:Capital One Says Breach Hit 100M Individuals in U.S by mywittyname on Tuesday July 30, 2019 @09:04AM (#20564410)
If you don't mind me asking, what was the punishment for what you did?
Re:Capital One Says Breach Hit 100M Individuals in U.S by x0x0 on Tuesday July 30, 2019 @05:32PM (#20569420)
Just taking the company dark and being personally embarrassed. There was no punishment, though there was a lot of teasing. Also spending 4-ish weeks cleaning up the mess that was made.
Re:Capital One Says Breach Hit 100M Individuals in U.S by ms512 on Tuesday July 30, 2019 @10:06AM (#20564942)
Likely referring to the February 28th, 2017 S3 Service Disruption in the Northern Virginia (US-EAST-1) Region, for which Amazon published a postmortem at https://aws.amazon.com/message/41926/
Re:Capital One Says Breach Hit 100M Individuals in U.S by roseway4 on Monday July 29, 2019 @07:50PM (#20560744)
Per the complaint, it doesn't sound like the bucket was exposed to the world. Rather, security credentials were "obtained":

> Capital One determined that the first command, when executed, obtained security credentials for an account named XXXX-WAF-Role, that in turn, enabled access to certain of Capital One's folders at the Cloud Computing Company.

Unsure how one would obtain credentials for an IAM Role, but the above verbatim from the complaint.

* edited to reflect this is lifted from the complaint, not indictment.

Re:Capital One Says Breach Hit 100M Individuals in U.S by moduspol on Tuesday July 30, 2019 @08:09AM (#20564070)
> Unsure how one would obtain credentials for an IAM Role, but the above verbatim from the complaint.

You use your own credentials and issue an API call to do it. If you're using the AWS CLI, it's "aws sts assume-role".

We do something similar with our accounts. You can place a restriction on the role that an MFA token must be used while assuming the role, so this allows you to give out longer-term credentials to your devs/admins that can then be used (with an MFA token) to assume a more privileged role.

The role itself needs to be configured with a trust relationship that allows for this, and many roles are restricted to AWS services (i.e. you are authorizing an AWS service to assume the role--not a specific user). I've never used WAF before though, so I'm not sure if it's typical for the WAF role to have that trust relationship or not.

Re:Capital One Says Breach Hit 100M Individuals in U.S by toomuchtodo on Monday July 29, 2019 @07:53PM (#20560764)
It's possible an STS token was obtained using the role. If you're not monitoring where those tokens are issued to and used from, you're gonna have a bad time.

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credenti...

Re:Capital One Says Breach Hit 100M Individuals in U.S by samstave on Monday July 29, 2019 @08:12PM (#20560877)
I recall a newbie dev at our company some years back accidentally posted creds in code to github. I have talked about this here before - but - we had paid for 200 repos.. problem was he made a new repo, which became 201 - which since we had only paid for 200, github auto makes the next one public. Bots slurp these and hunt...

They used those creds to launch like 1700 gpu machines across the globe for a bitcoin mining network...

The culprit was from germany...

We got it cleared and AWS forgave all the charges.

Re:Capital One Says Breach Hit 100M Individuals in U.S by scarface74 on Monday July 29, 2019 @10:52PM (#20561727)
It doesn’t matter. There is never a reason for credentials to be anywhere near your repository. If you’re running locally, you should have your credentials in your home directory (via aws configure). If you are running your code on AWS either on an EC2 instance, lambda, or Docker you should be using the role associated with the execution environment.

Every SDK that I have used let’s you use a constructor without a parameter and can get your credentials from the config file/role.

Re:Capital One Says Breach Hit 100M Individuals in U.S by samstave on Monday July 29, 2019 @11:42PM (#20561971)
i know, this was a few years ago, and these types of practices were still being developed out in the greater community (lambda didnt exist yet, dockeer was still nascient etc)
Re:Capital One Says Breach Hit 100M Individuals in U.S by acdha on Tuesday July 30, 2019 @07:45AM (#20563934)
I’m sympathetic in that a lot of people started learning this on the fly but that was widely recognized as bad practice even before Amazon was founded and various patterns for doing it right were widely established.

(If anyone needs me, I’m busy feeling old after remembering having this conversation with a new PHP developer in 1998)

Re:Capital One Says Breach Hit 100M Individuals in U.S by samstave on Tuesday July 30, 2019 @09:49AM (#20564794)
Haha, agreed...

He was a remote worker and aparently had a poor handler on our end. I was head of ops not in dev, so i just had to deal with the fallout.

Re:Capital One Says Breach Hit 100M Individuals in U.S by rectalogic on Tuesday July 30, 2019 @06:03PM (#20569655)
If it's an instance role and you are on the EC2 instance, then "curl http://169.254.169.254/latest/meta-data/iam/security-credent... will return the credentials.
Re:Capital One Says Breach Hit 100M Individuals in U.S by EE84M3i on Monday July 29, 2019 @07:39PM (#20560667)
The court filing directly says "s3", so yeah, it's Amazon.
Re:Capital One Says Breach Hit 100M Individuals in U.S by onetimemanytime on Tuesday July 30, 2019 @02:20AM (#20562491)
Good thing they didn't mention it by name ;)
Re:Capital One Says Breach Hit 100M Individuals in U.S by kevinsundar on Monday July 29, 2019 @07:28PM (#20560575)
Given that they're on AWS and "The intrusion occurred through a misconfigured web application firewall that enabled access to the data" thats what im betting too.
Re:Capital One Says Breach Hit 100M Individuals in U.S by violetviolence on Monday July 29, 2019 @09:53PM (#20561400)
Well, if it was a misconfigured WAF (which usually is just a reverse proxy with mod_proxy) to an application then you would not need to gain access to any Tokens, etc. all you would need to do is gain access to the server. Or be able to use that WAF as a proxy to gain access to other http bound resources?

From there any IAM role access the underlying server had, you would now have as well. And that would work with any sort of access (don't need root, etc.)

Re:Capital One Says Breach Hit 100M Individuals in U.S by UnoriginalGuy on Monday July 29, 2019 @07:31PM (#20560593)
Kind of like the AT&T "hack" wherein just changing the url leaked other customers info.

They were still successfully prosecuted though. And AT&T received no punishment.

When a company says jump the USG asks how high.

Re:Capital One Says Breach Hit 100M Individuals in U.S by aarbor989 on Tuesday July 30, 2019 @11:01AM (#20565407)
No way...I don't remember hearing about this. You mean changing the URL from like /data/customer/1 to /data/customer/2 ? And the person who did this was prosecuted? Jeez.
Re:Capital One Says Breach Hit 100M Individuals in U.S by jorblumesea on Monday July 29, 2019 @09:37PM (#20561297)
Not sure if this is a reputable source: https://heavy.com/news/2019/07/paige-adele-thompson/

But sounds like she's an engineer that used to work in aws, specifically S3. If true, seems likely as she would have insider knowledge of existing attack vectors and possibly vulns. Maybe even using something we discovered while on the job.

Re:Capital One Says Breach Hit 100M Individuals in U.S by bifrost on Tuesday July 30, 2019 @12:32AM (#20562158)
If this is true, this is a great reason for people to stop using S3 or to start doing daily bucket audits. Or you know, not store PII in the cloud poorly.
Re:Capital One Says Breach Hit 100M Individuals in U.S by lanstin on Tuesday July 30, 2019 @02:58PM (#20568009)
Really, sensitive data should not be stored unencrypted. It just shouldn't.
Re:Capital One Says Breach Hit 100M Individuals in U.S by bifrost on Wednesday July 31, 2019 @02:26AM (#20572106)
Or on S3, because unencrypted is just an API call away.
Re:Capital One Says Breach Hit 100M Individuals in U.S by gingabriska on Tuesday July 30, 2019 @01:42AM (#20562374)
There are more details on dailymail article:

https://www.dailymail.co.uk/news/article-7299511/Ex-Seattle-...

Re:Capital One Says Breach Hit 100M Individuals in U.S by klarrimore on Tuesday July 30, 2019 @01:01AM (#20562243)
The suspect had previously worked for AWS as well.
Re:Capital One Says Breach Hit 100M Individuals in U.S by eden_hazard on Tuesday July 30, 2019 @12:17PM (#20566325)
What do these queries look like...
[dead]
Re:Capital One Says Breach Hit 100M Individuals in U.S by bilbo0s on Monday July 29, 2019 @07:37PM (#20560648)
Woah man.

You could be costing some unfortunate woman her job here man. Kind of like when that lady cop broke into that black guy's apartment and blew him away. Then all these people on social media started posting pictures of his coworker on social media and almost cost the woman her position at PwC.

We should try to be a little more responsible than that.

Re:Capital One Says Breach Hit 100M Individuals in U.S by daenz on Monday July 29, 2019 @07:46PM (#20560716)
I think you're overreacting. Their name is public, and I didn't link to the public profile, nor did I say the public profile was the person in question. Only that if it is them, then having a work history of AWS adds an interesting dimension.
Re:Capital One Says Breach Hit 100M Individuals in U.S by itake on Monday July 29, 2019 @07:49PM (#20560735)
According to the publicly released report, the woman that was arrested used to work for the "cloud computing company" that was involved.

https://www.dropbox.com/s/z7u5rxcdajuvw6t/19718675504.pdf?dl...

Re:Capital One Says Breach Hit 100M Individuals in U.S by filoleg on Monday July 29, 2019 @07:40PM (#20560672)
Wasn't her name that the parent comment referenced originally posted in the news article? If that's the case, I would blame the news article and not the parent. Especially since they said "could" and not "yep, that's her".