News for hackers. Stuff that matters.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by gtoprak on Wednesday November 06, 2019 @07:04PM (#21469001)
Should anyone have access to the actual data at their company? I feel like this is an indication of maybe scrubbing the said data is a "must" before it goes into the hands of employees.

Then again, what type of side-affects would that have on the quality of the products moving forward.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by noident on Wednesday November 06, 2019 @07:12PM (#21469063)
You can and should restrict the number of people with access to the data, but in a tech company there's always going to be a significant number of people with direct access to the raw data. Software engineers on an on-call rotation, full-time site reliability engineers, data analysts, maybe even some external contractors... maybe this isn't the case for Twitter, but many companies also have to put complete trust in their cloud provider or datacenter, which puts even more people in the loop.

Even if you follow best practices with access control, in the end you're always going to have a group of people who you need to trust with access to folks' personal data. Maybe the solution is better audit logging and even tighter access, but I'm not sure leaks of this nature are preventable.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by nostrademons on Wednesday November 06, 2019 @07:28PM (#21469182)
"Software engineers on an on-call rotation...data analysts, maybe even some external contractors"

These groups usually get access through a bastion that anonymizes data and logs access. I remember that as a SWE at Google, I could run aggregated & anonymized statistics across query logs, but some info (eg. IPs, user logins) had been scrubbed before any of my code could get access to it, and for things that were more personal (eg. your GMail login) you could only get access to your own account.

There's nothing you can do about SREs who have root access on the box or the SWEs who need to implement & maintain the bastion servers, but that's presumably a more restricted, vetted, and trusted group.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by heartbreak on Wednesday November 06, 2019 @08:58PM (#21469710)
> usually get access through a bastion that anonymizes data and logs access

I think this may be something that is unique to a certain size tech company that simply isn't the case at 99.99% of companies with user data in their possession.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Wednesday November 06, 2019 @11:24PM (#21470368)
It should be the case at Twitter though.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by twitter_anon on Thursday November 07, 2019 @08:34AM (#21473000)
It hasn't been until recently. We are currently locking down all internal systems based on the minimum necessary accesses for various systems. We should have done this a lot sooner.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Friday November 08, 2019 @12:44PM (#21484730)
Good to hear it. Better late than never.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by pcwalton on Wednesday November 06, 2019 @08:23PM (#21469535)
Even Google's policies aren't—or at least weren't—foolproof. In 2010 there was a major incident involving a Google SRE named David Barksdale: https://www.telegraph.co.uk/technology/google/8003925/Google...
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by nostrademons on Wednesday November 06, 2019 @09:07PM (#21469744)
Yeah, I was there when it happened (and it was a fairly big deal internally). He was an SRE with pretty high-level access. There's relatively little you can do for this kind of threat - the nature of their jobs usually requires that they have root on the box. (Though a sibling comment suggests that there's even more rigorous procedures now.)
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by retrovm on Wednesday November 06, 2019 @09:28PM (#21469848)
The centralization of infrastructure has really changed the insider risk profile at that company. A decade ago it was common for a service to own their hardware and to have broad authority over those machines but not so much these days. Nobody wants to own their hardware, everything is uniform and it's easier to spot deviants that way.

Of course many of the changes around that time were in response to the breach by the Chinese government, not only in response to embarrassing privacy incidents. Later improvements came about because of things Snowden published.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by x220 on Wednesday November 06, 2019 @10:17PM (#21470101)
Why would Google change because of the Snowden Leaks? They knew about it. They were handing over data to the NSA.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by noident on Wednesday November 06, 2019 @10:41PM (#21470201)
There was some spying by the NSA without their knowledge or consent. Network traffic between their internal networks wasn't encrypted, which enabled snooping.

https://www.washingtonpost.com/world/national-security/nsa-i...

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by bcrosby95 on Wednesday November 06, 2019 @10:42PM (#21470205)
IIRC they didn't know about the tap on their international cable and the leaks caused them to prioritize the encryption of traffic on their internal network. Not sure about anything else though.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by C1sc0cat on Thursday November 07, 2019 @07:41AM (#21472648)
Its the same for telcos, these days there is much stricter auditing and actual real security vetting - I know team leaders on some systems had to be PV (top secret in US terms)

I suspect that at some stage this might come for some FANG employees

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by remarkEon on Wednesday November 06, 2019 @07:35PM (#21469232)
Would it be smart for companies like google and twitter to publish how they vet people for these roles? That’s a seriously tremendous amount of power. I almost think it needs to be regulated like heath info. I get that that would make it more expensive to handle this data at all, and would serve as a significant barrier to entry for startups ... but data breach after data breach is pushing me in the regulation direction.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by retrovm on Wednesday November 06, 2019 @07:56PM (#21469383)
Pretty much nobody at Google has that kind of access. You can be an SRE of just about anything at Google and never access user data. The "break-glass" means of emergency access is ridiculously booby-trapped. A person wanting to do this thing has to 1) badge into a special room, at which time both production security and privacy incident teams are notified, 2) use a special hardware security device that is used for no other purpose than to activate a VPN box with a hard-line into the production network. By the way if a random Googler just rolls up to a datacenter without a reason to be there, that also triggers privacy incident response, even though physical access to production storage is virtually useless due to all the encryption.

I would say it is much more likely that Google will accidentally lose the organizational ability to become root-in-prod, than it is that a person has done this thing without being noticed.

In short, insider risk cannot be mitigated with hiring practices. You need robust technical measures against insider risk.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by remarkEon on Wednesday November 06, 2019 @08:03PM (#21469419)
Thanks for proving my point, I guess? I’d love to see a formal write up from google about these procedures. It would go a long way to increasing confidence in how they handle this data.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by the-rc on Thursday November 07, 2019 @12:47AM (#21470764)
Even if you managed to get direct access to production through the special room's direct link, you'd still need a special kind of credentials to send RPCs to any service.

There was a video with some of the datacenter security measures, e.g. iris scanning (just to get yours in the DB required approvals from senior people). On the actual floor, to which very few have actual access, you need to badge both on your way in and out, individually. If you badge out without having badged in, the door won't open and an alarm will go off.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by belltaco on Wednesday November 06, 2019 @10:20PM (#21470113)
When did that start? Here's an account of someone working at Google accessing info to stalk teens.

https://www.businessinsider.com/google-engineer-stalked-teen...

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by dredmorbius on Wednesday November 06, 2019 @11:47PM (#21470477)
That story dates from 2010.

Snowden's revelations (2013) were a major watershed. There'd been several measures taken since, based on what I heard on the outside, largely through discussions, mostly public, a few direct, with Google staff via G+.

Starting on, of all days, November 9th, 2016, I began regularly posting an image of Jewish shop windows shattered during Krystallnacht, asking whether Google were thinking of brownshirt-proofing their data. That generated responses including from G+'s architect (then in a role with user data safety & privicy), and the data security lead.

It wasn't until some time later that I realised I'd entirely accidentally picked the anniversary of the event for the post. Though the coincidence was useful.

My understanding was that numerous protections were in place by that time. I continue to have concerns.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ForHackernews on Thursday November 07, 2019 @05:07AM (#21471889)
> I began regularly posting an image of Jewish shop windows shattered during Krystallnacht

This is so incredibly cringey. You're actively building the panopticon and yet you think of yourselves as righteous warriors for justice.

I don't mean this to be a personal attack, but yours is such a revealing comment about the mindset of people inside these surveillance behemoths.

(See also: this "pledge" http://neveragain.tech/ to not build registries for targeting citizens...signed by a bunch of people who work at companies whose entire business is targeting citizens with ads)

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by mehrdadn on Wednesday November 06, 2019 @10:11PM (#21470062)
What I would love to see is somebody at Facebook comparing their barriers against accessing user data with these from Google.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by remarkEon on Wednesday November 06, 2019 @11:45PM (#21470468)
I’m actually inclined to think they have similar procedures, if only because we haven’t seen “whistle blower” stories in the news about folks reading texts and looking at other private user data. Maybe I’ve missed them, but because bashing Facebook is kind of a trend one would think there’d be an appetite for “I read illicit group texts for a year here’s what I saw AMA” stories.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by dannyw on Thursday November 07, 2019 @03:37AM (#21471497)
If this happens, every incentive (of every party that is aware) is to not whistleblow, as it is a criminal offence for the snooper, and a PR disaster for the company.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by iratei on Thursday November 07, 2019 @12:46AM (#21470760)
> Pretty much nobody at Google has that kind of access.

OK, Google.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by justinclift on Thursday November 07, 2019 @12:14AM (#21470616)
> Pretty much nobody at Google has that kind of access.

Sounds like you'd be surprised at what storage, and backup engineers have access to.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by retrovm on Thursday November 07, 2019 @04:19AM (#21471658)
Tremendous amounts of ciphertext?
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by justinclift on Friday November 08, 2019 @01:38AM (#21480383)
Because encryption keys are never backed up by the same system either?

/s

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by mcphage on Wednesday November 06, 2019 @09:10PM (#21469762)
> Would it be smart for companies like google and twitter to publish how they vet people for these roles?

I think much like anti-hacking and anti-fraud efforts, publishing information about how they vet candidates would just make it easier for attackers to figure out how to game the system.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ENOTTY on Wednesday November 06, 2019 @10:03PM (#21470027)
Ironically, one of the vetting regimes that has the most publicly available information about it is the US government's security clearance system. https://ogc.osd.mil/doha/isp.html
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by goatinaboat on Thursday November 07, 2019 @12:43AM (#21470752)
one of the vetting regimes that has the most publicly available information about it is the US government's

Why wouldn’t the information be public? It’s the same concept as crypto algos being published and peer-reviewed.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by C1sc0cat on Thursday November 07, 2019 @07:43AM (#21472661)
The same way defences industries do I would imagine for SF86 etc
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Wednesday November 06, 2019 @07:15PM (#21469084)
"but in a tech company there's always going to be a significant number of people with direct access to the raw data"

This is absolutely not true. This number can and should be reduced to an absolute minimum number of people.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by tristanstcyr on Wednesday November 06, 2019 @07:18PM (#21469103)
Sure, but it comes at a cost. Companies rarely push the limits of these kinds of policies because customers are not willing to pay for them.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by rapind on Wednesday November 06, 2019 @08:17PM (#21469501)
Making the penalties for breaches far more severe would be a good place to start though.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Thursday November 07, 2019 @01:21AM (#21470914)
Twitter is big enough to pay that cost. Easily.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by bmiller2 on Wednesday November 06, 2019 @07:18PM (#21469101)
The absolute minimum number of people may still be significant
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by verletx64 on Wednesday November 06, 2019 @07:26PM (#21469167)
Twitter has a lot of staff. Even 1% is a relatively large amount of people.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ComputerGuru on Wednesday November 06, 2019 @10:40PM (#21470196)
(Just as an FYI, the last time I checked that number was staggeringly skewed towards sales/marketing/evangelism teams rather than coders. Not that your point is diminished.)
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by jacobsenscott on Thursday November 07, 2019 @01:18AM (#21470897)
Those people probably have more access to PII than staff engineers - that's who the data is for.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ComputerGuru on Thursday November 07, 2019 @09:25AM (#21473413)
Hardly. They get the filtered data that SEs designed for them to get, probably on an account-by-account basis. It’s the raw data SEs have access to that we are mainly talking about here.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Thursday November 07, 2019 @01:22AM (#21470917)
It doesn't need to be 1% of staff, it just needs to be a few dozen people (distributed geographically across the globe) who have root access.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by RhysU on Wednesday November 06, 2019 @08:36PM (#21469605)
Moreover, anyone seeking privileged access will percolate into such roles.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by journalctl on Wednesday November 06, 2019 @07:23PM (#21469141)
Maybe because tech companies tend to be careless with data. It isn’t NP-complete to track and monitor access to prod data, or prevent access to it entirely. It’s just that people don’t want to do it.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by closeparen on Wednesday November 06, 2019 @07:29PM (#21469192)
It is pretty damn hard to reliably operate a service that you can’t introspect or debug in any way. The real world is more creative than you; things will happen in production that you didn’t think of in your synthetic test fixtures.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by journalctl on Wednesday November 06, 2019 @10:31PM (#21470158)
That’s still no excuse. Maybe Bill has to access some customer data to troubleshoot. Fine, log it. Maybe Susan has to look at sensitive logs to fix a bug. Fine, log it. These aren’t new or unsolvable problems.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by closeparen on Thursday November 07, 2019 @12:40AM (#21470741)
Who says there weren’t logs? They got caught.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by d1zzy on Wednesday November 06, 2019 @07:32PM (#21469213)
Please back this up and define the terms used.

As in, define "tech companies" (name specific companies that do this and why you think that can be generalized to the entire industry) and define "careless" (it's a relative term so please say if it's less or more careless of other examples of organizations that manage similarly large amounts of data but that aren't "tech companies").

Because to me the opposite seems true. It's the non-tech companies (if you equate that to FAANG) that manage large amounts of data that tend to have a lot more data leaks (internal or external) than the tech companies.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by JohnFen on Wednesday November 06, 2019 @07:39PM (#21469257)
> in a tech company there's always going to be a significant number of people with direct access to the raw data.

Why?

I've worked for a few large tech companies that handled very sensitive customer data, and they didn't allow unsanitized access to it by a significant number of people. Typically (on the dev side, anyway), there was a small designated team (less than 10 people) who were the only ones who had such access. Any dev work that absolutely required access to that data -- which was very rare -- was performed by that team.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by icedchai on Wednesday November 06, 2019 @10:42PM (#21470204)
It's not like this at smaller companies. It's anything goes.

I worked at one place that had the development network permanently VPN'd into prod. One day, a developer accidentally configured his local environment to connect to a production queue and database. It was like this for over a week.

A previous company didn't bother with the VPN. They had an AWS environment that predated VPC, so SSH and many other service ports were open to the office IP addresses. And several people's homes, for remote work.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by JohnFen on Thursday November 07, 2019 @10:53AM (#21474246)
> It's not like this at smaller companies. It's anything goes.

It depends on the company (as with large ones, apparently). I currently work for a small company, and it is no less diligent about this stuff than the major companies I've worked for.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by justinclift on Thursday November 07, 2019 @12:19AM (#21470644)
Those large tech companies probably had a team or teams of people whose job is to look after the backups for production servers.

Backups generally have "god mode" access (best description) as they need to backup and restore not just filesystem data, but the audit log data as well.

Most (corp) places I worked, the developers and SysAdmin's working on production servers gave little thought to the backup component apart from making sure the software is installs and runs. ;)

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ForHackernews on Thursday November 07, 2019 @05:01AM (#21471866)
You can significantly reduce these problems by decentralizing data and moving away from giant platforms that make such enticing targets for espionage.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by chrischen on Wednesday November 06, 2019 @07:54PM (#21469365)
No, even US people like police abuse license plate searches for personal reasons. It's not even a matter of nationality. If data is being collected and the only protection is a "policy," then it's being abused or will be.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by noodlesUK on Wednesday November 06, 2019 @09:06PM (#21469742)
There’s a difference between a policy that’s just enforced by an honour system and a policy that is enforced with strong access control, alarm bells, and a paper trail. It’s very possible to encode the sorts of policies that we need to protect peoples data into real restrictions that are strongly enforced. A police officer might need to do some routine queries, but they should probably have gone through vetting about people they are close to and not have access to their data. Additionally, there should be audits performed on a regular basis.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by chrischen on Wednesday November 06, 2019 @10:17PM (#21470096)
I think we're arguing semantics here. What I mean by policy is a de jure rule. I think you can have policy while not having any sort of de facto enforcement, and you can have de facto enforcement (encryption), even if you don't have a policy.

Policy is never useful because even if there is enforcement, there is never 100% perfect enforcement that beats out cryptographic enforcement, at which point policy is no longer needed.

For example Apple can state that your data is end-to-end encrypted and they have no access, and it would be redundant to also have such a policy saying they will not access your data—they can simply say they can't access your data which is a superset of any such policy.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ChuckMcM on Thursday November 07, 2019 @12:04AM (#21470567)
I don't think it is semantics.

There are policies like "You are not allowed to access user data." and there are policies like, "All access, keystrokes, and applications that have access to user data are logged and those logs are tied to employee IDs. Further the logs are audited and there must by a form 505/2 on file for every access that details the need for the access, what was done with the data, and how the data was handled. If the auditors discover an access in the logs associated with your employee ID and there is no matching 505/2 on file, you will be subject to immediate termination and may be liable in civil and criminal court. Your signature below states that you understand these restrictions, you consent to monitoring of your behavior, and will abide by the policies."

Strong audit trails, logs that cannot changed by being created in an immutable way, logged access at all terminals and entry points. Combined with a separate auditing group that reports through a different chain of command (like through to the general counsel or something) and you have a policy with teeth.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by chrischen on Thursday November 07, 2019 @08:35AM (#21473002)
Still punishing after-the-fact is no substitution. If the reward is greater than the punishment then it renders the policy moot.

If i publish my crypto wallet private keys and enact a policy that anyone who tries to take the wallet contents will be beaten to death, and get everyone to agree to this policy, then it would be rendered moot when the person who steals the wallet uses it to hire personal body guards.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by ChuckMcM on Thursday November 07, 2019 @11:07AM (#21474423)
I don't disagree, with this. The use of policies with enforcement is that it raises the risk to the employee so that raises the amount someone must spend to get them to take that risk.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by dredmorbius on Wednesday November 06, 2019 @11:58PM (#21470537)
Through contacts I've heard stories of practices at a wide range of establishments over the past 25-30 years. Practices have almost always severely lagged advice, and though specific leading firms or organisations might have strong data hygiene policies and practices, a great many other organisations do not.

Through roughly 2000, the principle saving grace was that disk storage was so expensive, and networking so slow, that large quantities of data were unlikely to be found online except in the case of very major organisations. Most financial firms would read data from tape for analysis or marketing programmes, as an example. A major credit card network might have a couple of, say, Sun Starfire class servers onto which a comprehensive union cardholder databset might be assembled and accessed. One friend reported accessing their campus workstation to which a large national medical insurance database was being processed, from the New York Public Library over Telnet (though I believe they didn't actually log in, they did receive the prompt). E-commerce software vendors and systems stored credit card information, which was accessed. Numerous services and datasets fly around all kinds of organisations, with little protection, and were transmitted in unencrypted FTP sessions. Social networks in which NOC addresses were directly accessible from the office network (WiFi access, natch), with millions of members' data directly accessible.

There are many ways to get this wrong. Few to get it right. And most organisations lack the staff, capitalisation, or incentives to do the right thing.

Google are problably among the best. That leaves open the question of how good they are, and what their past practices have been, even in relatively recent years.

Or how they might behave should their advertising monopoly and revenues fail.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by johnpowell on Thursday November 07, 2019 @12:43AM (#21470756)
My first year at a community college I was doing work study that was part of my FAFSA. I was late getting in there and I had limited options, one was working in the cafeteria, the other was working for the very job placement center that was tasked with finding me a work study job.

I got very lucky here. The work study job in the job placement center was turning job listings that were faxed in into html to post on our fresh new website. Nobody at the time new what HTML was.

A few years earlier I had bought a "Learn HTML in 24 hours book" and I made a Tony Hawk Pro Skater webpage that listed all the special moves. I used a lot if iframes and thought it was pretty good. CSS wasn't really a thing back then. iframes and tables got the job done.

But I got the job and they thought they got very lucky. I worked in this back room with a computer and a fax machine. Jobs listings would be faxed in. I would scan them and let the OCR software try, and then I would clean it up and add some <h> and <b> tags and then do my econ homework for the rest of my shift.

But as the digital stuff become more popular they hired another guy to be in the back room with me. Dude was a bit of a creep and a student came in looking for a part time job that would work around her classes. He kept on going on about how hot she was. A few weeks later he was talking about he signed up for a few of the classes the hot girl was taking.

Every single student record was available on our computers. Names, address, phone numbers, class schedule, SSN, FAFSA data. It was madness.

And I was a lowly fax to html guy.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by save_ferris on Wednesday November 06, 2019 @07:08PM (#21469030)
Someone has to scrub the data, though...

Agreed, data governance is important for any company to get right, but someone has to have DB access in order to manage it. When you factor in that so many companies derive revenue from the data they generate, then it gets harder.

If you’re Twitter, how can you build the services you need as an architect or data scientist without the actual data?

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by CydeWeys on Wednesday November 06, 2019 @07:13PM (#21469067)
The scrubbers do not need raw DB access. All they need is a strictly audited web UI.

Very, very few people need root access and the ability to see all raw data. For example, at Google, this is a tiny number of senior SREs and that's it. Your average employees should be using audited UIs running through service accounts that have restricted permissions.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by AmericanChopper on Wednesday November 06, 2019 @07:46PM (#21469310)
I’ve achieved this without so much hassle at a smallish/medium sized company (~60 engineers). A typical engineer had access to anonymized data, only a few had access to query raw data. All their queries were logged with justifications. They also wouldn’t query raw data as a matter of BaU (outside of some very rare situations), it was pretty much only ever done when making changes to the ETL pipelines.

The solution we had wasn’t particularly difficult to set up, and actually made life much easier for everybody, because we’d provided everybody with a very easy to use interface for the data they wanted (much better than the old school shelling into a DB to run your arbitrary SQL statements).

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by big_chungus on Wednesday November 06, 2019 @08:00PM (#21469399)
Any chance you'd be willing to share more about your setup, at least high-level?
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by AmericanChopper on Wednesday November 06, 2019 @08:29PM (#21469568)
We had a data warehouse where we sent pretty much all the data we had in the organisation, and redash in front of it to allow query access, reporting, etc...

Everything in the data warehouse was anonymized, and people only had access to the schemas they needed (though this was defined quite broadly). Anonymization was handled by our ETL pipeline. When we first set it up, the requirements were pretty simple and we just wrote a little java app to do it. This scaled pretty poorly, and the team ended up putting a proper ETL product in there. I can’t remember which one they used, but there’s a lot of perfectly decent products in that space (even some open source).

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by fastball on Wednesday November 06, 2019 @07:08PM (#21469029)
Someone needs to have access to the data...
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by pfooti on Wednesday November 06, 2019 @07:17PM (#21469096)
that's not entirely true - it's possible for all the data of that nature to be in an audit-logged data store, and to require specific business cases for access to the data. So you can only see a user's private information if there's a specific bug you're working on, and even then the access is audited.

I mean, the data is still accessible, it's just not easy to get it willy-nilly without setting off alarms.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by throwawaybbb on Wednesday November 06, 2019 @07:43PM (#21469279)
Someone needs to build and maintain the audit log software.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by JoshTriplett on Wednesday November 06, 2019 @08:15PM (#21469485)
True, but you don't need access to production data to build an audit logger. And any commits to it should involve code review.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by justinclift on Thursday November 07, 2019 @12:24AM (#21470675)
Backup/restore of audit data can make things complicated. eg the ability to overwrite incorrect/damaged audit data (etc)

So far, I've not yet come across a system where some level of direct admin access isn't needed for at least "last resort" situations. (obviously, only available to a very specific set of trusted people)

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by skywhopper on Wednesday November 06, 2019 @07:09PM (#21469045)
Who does the scrubbing if not Twitter employees?
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by mirimir on Wednesday November 06, 2019 @07:25PM (#21469166)
If they didn't collect PII, there'd be nothing to leak.

I mean, we all know that it's insane to store plaintext passwords. So why is it necessary to store anything as plaintext?

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by bschwindHN on Thursday November 07, 2019 @12:15AM (#21470619)
You never want to be able to retrieve a password after hashing and storing it in a DB. You _do_ want to be able to retrieve text content after possibly encrypting and storing it, otherwise it's useless.
Re:Former Twitter Employees Charged with Spying for Saudi Ar... by mirimir on Thursday November 07, 2019 @09:04AM (#21473230)
It's no more useless than a hashed password is.

Depending, of course, on how you want to use it.

One could arguably build chat apps and social media that retained no PII. In my opinion, providers retain PII primarily in order to monetize it.

But the problem is that it becomes toxic waste. And it always leaks, eventually. Putting users at risk, and damaging providers' reputations.

Consider the Tox P2P chat app. Each user device runs a Tor onion service. And chats involve only connections among them. Users need disclose no PII. And there's no need for central servers holding PII.

Regarding social media, consider all the "dark markets" that have run as Tor onion services. There's no reason why any sort of social media that you want couldn't be implemented similarly. Although there'd be central servers, there'd be no need for them to handle any PII. Indeed, the fact that "dark markets" handle PII is one of their main weaknesses.

And it's not even necessary to use Tor. One can achieve substantial privacy and anonymity using nested VPN chains, with far less risk of attracting unwanted attention.

Re:Former Twitter Employees Charged with Spying for Saudi Ar... by abawany on Wednesday November 06, 2019 @09:47PM (#21469935)
I liked the access controls at PayPal. Access to data was a function of insider status with real financial consequences (ability to sell stock was restricted much more for higher level insiders), subject to strict controls and auditing, and required need-to-know periodic renewals. I used to think PayPal was fly by night but my work experience there really grew my trust in their access controls and made me much more likely to use them for payment.