News for hackers. Stuff that matters.
Re:How to leak to the press by olivierlacan on Friday January 27, 2017 @12:09PM (#13500994)
The very fact that an organization like the Nieman Foundation can publish something like this article without first having the good sense of enabling required TLS on their website is frighteningly careless.

Anyone from governmental agencies who read this article at home or work can now fairly easily be targeted by the relevant surveillance agencies.

Re:How to leak to the press by bweitzman on Friday January 27, 2017 @12:16PM (#13501047)
They're also leaving themselves open to MITM attacks, where an attacker could change all of the tor addresses.
Re:How to leak to the press by garrettr_ on Friday January 27, 2017 @02:12PM (#13501825)
(SecureDrop developer here) That's why we created https://securedrop.org/directory (HTTPS, HSTS, preloaded, .onion available, etc.). Use that instead! Also, we have strong recommendations for the news organization's "landing pages" (e.g. https://theintercept.com/securedrop/), including requiring HTTPS, to prevent this and other obvious security issues.
Re:How to leak to the press by memonkey on Saturday January 28, 2017 @05:50AM (#13505767)
This a shameless plug?
Re:How to leak to the press by sah2ed on Saturday January 28, 2017 @06:19AM (#13505833)
At least he was upfront about it by putting a disclosure in parenthesis.
Re:How to leak to the press by chime on Friday January 27, 2017 @01:35PM (#13501562)
Even SSL sites are not immune. On corporate networks, the clients trust the company cert, which is used to proxy all traffic (including HSTS and HPKP/pinned sites) for filtering/logging.
Re:How to leak to the press by Spivak on Friday January 27, 2017 @03:09PM (#13502223)
If you don't trust the machine you're currently on then it's already game over from a security perspective.
Re:How to leak to the press by jakelazaroff on Friday January 27, 2017 @03:15PM (#13502264)
Isn't the actual content of the page signed by the the site's certificate though? And they can't just serve a different certificate because your browser can tell whether or not it was issued by a trusted CA. How does the attack work in this case?

Edit: Nevermind — I assume you're referring to this scenario[1], in which the company installs a root certificate onto your actual computer that allows them to sign certificates for other sites.

[1] http://security.stackexchange.com/a/63306

Re:How to leak to the press by tracker1 on Friday January 27, 2017 @03:43PM (#13502490)
A lot of corporate computers have at least an additional CA authority on each computer that they use... if you're using a corporate computer, it's really easy for them to MITM any request, just relaying requests to the public resource, then proxying and using their CA signed cert in the proxy.

From there, everything can be tracked.

Re:How to leak to the press by organsnyder on Friday January 27, 2017 @04:05PM (#13502647)
If you have a corporate computer, you shouldn't rely on any expectation of privacy. There's nothing stopping them from installing other monitoring software—screen grabbers, keyloggers, etc.—whenever they please.
Re:How to leak to the press by Forbo on Friday January 27, 2017 @04:42PM (#13502946)
That's where something like Tails comes in handy. :)
Re:How to leak to the press by infinite8s on Friday January 27, 2017 @08:14PM (#13504185)
I don't think Tails would work because a corporate proxy would likely block any outgoing connections. Also most corporate IT policies would probably disallow running something like Tails.
Re:How to leak to the press by EdHominem on Saturday January 28, 2017 @01:24PM (#13507852)
That's working. If it fails secure it's keeping you alive.
Re:How to leak to the press by CapacitorSet on Saturday January 28, 2017 @05:32AM (#13505722)
Monitoring hardware, then.
Re:How to leak to the press by snowwrestler on Friday January 27, 2017 @09:54PM (#13504594)
But why would they bother. The point of collecting data for surveillance is to provide signals that help sort the real threats from the noise. But the Nieman Foundation is such a well-known and widely-read blog that just reading an article there is not at all noteworthy, regardless of the subject.

Most government employees are not even in a position to access leakable data even they wanted to. Targeting them based on reading an article would be a waste of effort.

Re:How to leak to the press by Spooky23 on Friday January 27, 2017 @08:43PM (#13504306)
If you're at work at a place where reporters would give a hoot about what you have to say, most likely your TLS sessions are intercepted at the proxy.

It's less common for companies to have content inspection.

Re:How to leak to the press by EdHominem on Saturday January 28, 2017 @01:25PM (#13507862)
All the SSL MitM products I've seen can do content inspection. Not yet for freeform text though who knows...
Re:How to leak to the press by exhilaration on Friday January 27, 2017 @12:13PM (#13501023)
I'm confused, what would TLS do? The surveillance agencies can log an HTTPS URL as easily as an HTTP URL, they don't need to see the contents to see that you requested it.
Re:How to leak to the press by mcherm on Friday January 27, 2017 @12:18PM (#13501061)
Not true.

HTTPS encrypts the URL as well as the content of the communication. Someone surveilling the conversation with the ability to observe all network traffic but without the ability to decrypt SSL traffic would be able to tell that the end user had viewed something at a particular website (technically, at a particular server), but would NOT be able to tell WHICH article was viewed.

Re:How to leak to the press by detaro on Friday January 27, 2017 @12:20PM (#13501082)
I wonder how much that actually gains for this specific case ("which article did IP $x view?"). With more effort, it should be fairly easy to match the traffic pattern to the article, e.g. by matching the size of subsequent requests for the images. But more complicated than a simple filter that just grabs all URLs from HTTP.
Re:How to leak to the press by ethbro on Friday January 27, 2017 @12:59PM (#13501355)
> With more effort

That's the new key point for 2017 pro-privacy architectures.

Proof of work surveillance doesn't scale because requiring it leverages the disparity between the total level of Internet traffic and intelligence agency resources.

Kill the dragnets as step 1, then worry about step 2.

Re:How to leak to the press by deathhand on Friday January 27, 2017 @01:13PM (#13501441)
It would be helpful to have a website to display a random image of differing sizes for every page load. This would prevent fingerprinting https.
Re:How to leak to the press by pixl97 on Friday January 27, 2017 @01:19PM (#13501471)
Um, I don't believe that would help. You either inline the images as data, or better, get rid of all images and have random length non-printing text to hide the real data. This kills caching and performance though.
Re:How to leak to the press by btown on Friday January 27, 2017 @01:37PM (#13501575)
https://github.com/technion/mod_randpad (an Nginx module that injects padding as a comment into returned HTML documents) is likely the correct layer to add random padding; the performance hit would be negligible.
Re:How to leak to the press by fowlslegs on Friday January 27, 2017 @08:10PM (#13504169)
SD dev here. You might be interested to check out https://github.com/freedomofpress/fingerprint-securedrop (note: still in experimental stages). We're going to be using the framework/ ML pipeline to evaluate server-side defenses (e.g., https://petsymposium.org/2017/papers/issue2/paper54-2017-2-s...), and are also working w/ Tor dev Mike Perry who is working on a solution or set of solutions to the problems of website & circuit fingerprinting with regards to Tor at the protocol level.

Edit: What Mike is trying to implement is based on https://arxiv.org/pdf/1512.00524.pdf.

Re:How to leak to the press by epmaybe on Friday January 27, 2017 @01:57PM (#13501720)
Could you as the host send out random extra bytes that make it hard to match up?
Re:How to leak to the press by jsnell on Friday January 27, 2017 @01:13PM (#13501442)
> at a particular website (technically, at a particular server)

You got it right the first time around, the parenthetical correction is wrong. The SNI is transmitted in plain text during the TLS handshake.

Re:How to leak to the press by leni536 on Friday January 27, 2017 @12:32PM (#13501165)
> but would NOT be able to tell WHICH article was viewed.

What about inspecting traffic pattern? I suspect that each article has different size.

Re:How to leak to the press by mtgx on Friday January 27, 2017 @01:02PM (#13501375)
I noticed some sites use a subdomain for securedrop. Does that reveal that they're visiting the securedrop page, or not?
Re:How to leak to the press by detaro on Friday January 27, 2017 @03:03PM (#13502181)
Yes, both through DNS requests (although one maybe could somewhat mitigate that by having each visit to the main domain trigger requests to the subdomain, a) creating traffic and b) putting it in peoples' DNS caches) and HTTPS (All modern browsers include the domain via SNI).

It still might be a better choice, given that the main domain for many sites goes through CDNs and more complex systems in general, increasing the risk of compromise there (which also would expose network details about the submitter, and possibly even more)? A dedicated securedrop site hopefully has dedicated infrastructure and better security.

Re:How to leak to the press by jnbiche on Friday January 27, 2017 @01:19PM (#13501476)
> Does that reveal that they're visiting the securedrop page, or not?

Potentially, if they're using TLS/SSL with SNI.

Re:How to leak to the press by fennecfoxen on Friday January 27, 2017 @01:31PM (#13501534)
Just as true if they're using the real domain with a dedicated IP, right?
Re:How to leak to the press by jnbiche on Saturday January 28, 2017 @10:23AM (#13506658)
Nope, if they're not using SNI, you'd just see the IP address. Fire up Wireshark some time when you're browsing and watch what comes through.
Re:How to leak to the press by fennecfoxen on Saturday January 28, 2017 @09:06PM (#13511342)
> Nope, if they're not using SNI, you'd just see the IP address.

but that's my point... if you're not using SNI, there's only one SSL server on that IP address, and if reverse-DNS fails you, you can connect on port 443 and ask it for its certificate and it will give it to you...

Re:How to leak to the press by grey-area on Friday January 27, 2017 @03:00PM (#13502166)
Ok, so they'd only know that you visited a domain like this at a given time?

securedrop.ap.org

That still gives away a lot, many of these secure drop sites are on a subdomain.

Re:How to leak to the press by fosco on Friday January 27, 2017 @01:38PM (#13501591)
I have a palo alto networks firewall with URL filtering.I can observe destination URL's on https sites without performing SSL decryption. please see eff website showing certain information that can be observed by onlookers[0] when you are using Tor or HTTPS or both

https encrypts the contents... not things like source/destination often only a destination IP address is required to get URL categories for many Proxy/URL filtering technologies.

[0] https://www.eff.org/pages/tor-and-https

Re:How to leak to the press by enzanki_ars on Friday January 27, 2017 @01:43PM (#13501627)
If you go to https://example.com/some/directory?param=something, the firewall will only see a request to https://example.com. Everything else is encrypted. In this case, with SSL, a government agency not doing a MITM will only see https://www.niemanlab.org, and http://www.niemanlab.org/2017/01/how-easy-is-it-to-securely-... if they were doing a MITM.
Re:How to leak to the press by hueving on Friday January 27, 2017 @02:00PM (#13501744)
You are confusing URLs with Domains. The only plaintext part of an SSL connection is the SNI, which is the domain.
Re:How to leak to the press by hackcasual on Friday January 27, 2017 @12:15PM (#13501037)
They can log the domain you connected to, not the URL you visited
Re:How to leak to the press by jvdh on Friday January 27, 2017 @12:21PM (#13501087)
Although with most TLS implementations they will see the size of your transfers, thus still giving away which URL you visited....
Re:How to leak to the press by mi100hael on Friday January 27, 2017 @02:29PM (#13501940)
Idea: HTTP server module that appends a minimal amount of hidden random garbage data (as a comment or similar) to each response so no two responses have the same fingerprint.
Re:How to leak to the press by moonlighter on Friday January 27, 2017 @02:39PM (#13502005)
user btown answered that elsewhere here in this thread: "https://github.com/technion/mod_randpad (an Nginx module that injects padding as a comment into returned HTML documents) is likely the correct layer to add random padding; the performance hit would be negligible."
Re:How to leak to the press by tyrust on Friday January 27, 2017 @12:24PM (#13501103)
If this is the first (and only) time someone visited the domain around the time of a leak, it may be a little suspicious.
Re:How to leak to the press by UnoriginalGuy on Friday January 27, 2017 @12:39PM (#13501205)
Then use public WiFi.
Re:How to leak to the press by jakelazaroff on Friday January 27, 2017 @12:25PM (#13501111)
It's worse than just knowing the URL. HTTP pages can be altered without your knowledge by a malicious third party: http://security.stackexchange.com/a/72661

So a surveillance agency could e.g. replace the URLs for the various organizations' leaks landing pages and Tor addresses with phishing pages, and anyone who used them would upload documents directly to the agency.

Re:How to leak to the press by olivierlacan on Friday January 27, 2017 @12:16PM (#13501049)
No, HTTPS URLs are not logged in plain text as they are in HTTP. So it does make an important difference.

See: http://security.stackexchange.com/a/2916/50175

Re:How to leak to the press by jvdh on Friday January 27, 2017 @12:25PM (#13501109)
If you mean "logging" as in web server logs, then it completely depends on the configuration of the server and there is nothing the client can do about it..

If you mean "transferring over the network", then yes, HTTPS only shows the server you are connecting to, but not the specific URL.

Then again, that can be deduced from the transfer sizes that are still shown.

Re:How to leak to the press by Gnewt on Friday January 27, 2017 @12:15PM (#13501042)
If they can't see the contents, they also can't see the URL -- both are encrypted.