News for hackers. Stuff that matters.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Friday September 05, 2014 @07:52PM (#8276901)
The theory I posted last year on Stack Exchange [0]:

> The above environment variables were being dumped in the source of the login page on Silk Road. They contained the real IP address of the server.

notbad.gif.

Second - the FBI considering "fiddling" with "miscellaneous" input characters into the login page not illegal access is good - it means the next person charged under the CFAA for "exceeding authorization" by fuzzing will have a precedent to cite.

edit: To add a third point: If you are hosting a Tor hidden service, do it inside a virtual machine. Put it behind a gateway that acts as an isolating proxy. Clients/users should be doing the same as well as it protects against the malware attacks (even better freeze a VM snapshot and restore it each time you need it). Whonix[1] does this - although it is easy to setup yourself (I use OpenBSD as the gateway, much slimmer than Whonix and a whole lot less going on)

[0] http://security.stackexchange.com/a/43280

[1] http://www.whonix.org

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by meowface on Friday September 05, 2014 @11:34PM (#8277404)
> If you are hosting a Tor hidden service, do it inside a virtual machine. Put it behind a gateway that acts as an isolating proxy.

While this is good advice and will help you in the event of your server accidentally leaking debugging/config information, it won't help if someone is able to get the hidden service to make a network request. For example, if they can get it to send an email or check if a page is online, then that email will obviously go through the gateway. And obviously if someone gains arbitrary code execution, they can just Google "my IP" and see the externally facing IP.

Some other useful advice: if you're setting up a Tor hidden service, make sure the HTTP server only accepts requests from the Tor network. The FBI claims that when they put the $_SERVER['SERVER_ADDR'] IP in their browser they got the SR home page right on port 80, which is extremely poor security on SR's part. Someone running a distributed scan of all web servers on the Internet could have found it on their own within a few weeks or less. And in fact, this is becoming more common as a technique to identify origin servers hidden behind reverse proxies and CDNs.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Saturday September 06, 2014 @12:43AM (#8277555)
That is why you have it segmented:

> Put it behind a gateway that acts as an isolating proxy.

You don't NAT - you forward the port required through the gateway machine and to the virtual machine. Either terminate Tor on the gateway and forward the web port, or terminate Tor on the web server and forward the Tor traffic on the gateway.

In that case nothing can request out from the web server. If your server needs to make requests, such as getting the latest bitcoin price - you do that on another server and run a queue that will pull the data over.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by atmosx on Saturday September 06, 2014 @02:24AM (#8277690)
That's correct. Most of these guys are getting cauought because they didn't believe that will have to eventually face an enemy with so many resources (FBI/NSA).

I believe that avoiding detection online can be done if you are very strict about your policies.

I don't believe DRP had the knowledge to understand and the how's and why's of a setup you're describe unlike skilled engineers[1] who design multi-layered approaches.

[1] http://www.daemonology.net/blog/2014-04-09-tarsnap-no-heartb...

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Estragon on Saturday September 06, 2014 @05:12PM (#8279504)

  > they didn't believe that will have to eventually face an enemy with so many 
  > resources (FBI/NSA).  I believe that avoiding detection online can be done
  > if you are very strict about your policies.
I think the NSA has sufficient resources and incentive to mount a sybil/correlation attack on the Tor network.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by turingfail on Saturday September 06, 2014 @07:39AM (#8278081)
> run a queue that will pull the data over.

Are there standards for these kind of general pseudo devices in virtual machines? (Or you would use the cut&past buffer for example?)

To my knowledge, secure sites use(d) hardware methods to guarantee a one way channel (snip half an ethernet cable, override peer/auto detection and then use udp.)

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Saturday September 06, 2014 @07:56AM (#8278115)
You'd host the queue service on a separate machine on the private network and communicate with it using either HTTP or standard TCP (all firewalled to restrict everything else)

So you have your gateway virtual machine which has one interface to the public web and one interface to the internal network. On that network you have two or more machines:

a) is the web server, which can't make any requests out to anywhere except other machines on the same local network. It can receive tor or http traffic in from the gateway

b) other servers hosting local services, which can't make any requests out at all but can receive queries from the web server on their http/queue port. A database server for your web application would also sit on a machine like this.

You can put b) on yet another separate network behind the web server if they don't need to route out over Tor (or even if they do).

Your slicing the tasks up and isolating them on separate machines to minimize the attack surface. Someone breaking into the web server will not be able to make any queries out to the web or to tor, and will only be able to query local services servers in b) such as the queue.

RabbitMQ has an HTTP interface, 0MQ uses TCP.

The other way to do it is to isolate every machine from every other machine and implement a SOA over Tor.

Taking the example of your web server needing to know the latest bitcoin price, you would implement an API on another hidden service and restrict access to it from only your web server. The web server would then have to be allowed to make queries out over Tor, but this can remain on the Tor network and can again be restricted to only your hidden 'proxy' services.

Most people associate Tor and hidden services with sites being slow and down all the time, but that is more a function of the level of experience in the field. Tor hidden sites have a different threat model so the ideal architecture is different to most common network architectures.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by kxo on Saturday September 06, 2014 @01:28PM (#8278865)
I personally like the idea of building a machine that terminates TOR (exclusively) into VMs, allowing no other outbound (non-whitelisted) traffic.

The biggest and most obvious threat to a lot of these hidden services are application-layer attacks.

You should not be using platforms that have the ability to do vast inspection of their runtime environment or make arbitrary outbound requests.

I'm not necessarily a fan of the "SOA-over-Tor" approach for something like a Bitcoin price: the explicitly-whitelisted bitcoin-price-checker-service communicating over a small-surface API (0MQ, Rabbit (albeit this is a bit of a larger attack surface, internally)) to another VM that has externally-terminated Tor-only outbound internet access is probably easier to work with.

I should spin up a CoreOS distribution with all guest VM outbound access turned off and try out host-level Tor termination.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by meowface on Saturday September 06, 2014 @12:45PM (#8278746)
True, this would be much more secure. My eyes glazed over the "isolating proxy" part.

By the way, upon re-reading the FBI's full report, it looks like they may not have found the IP address through the environment variable leak, but rather some of its resources (like its CAPTCHA image) were actually be served from its clearnet IP address.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by jrochkind1 on Saturday September 06, 2014 @12:49PM (#8278753)
If your server needs to make requests, can/should it be doing them through tor, and would that be sufficient protection?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by coned88 on Monday September 08, 2014 @09:14PM (#8288243)
What do you mean by terminate? I know it means end but not getting the just of what you mean
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Alupis on Saturday September 06, 2014 @01:06PM (#8278806)
I fail to see how this was not an Illegal hacking attempt by the FBI? They want us to believe they just had some goons sit at a desk all day and just type crap into the auth box until somehow an IP address was erupted out?

That makes zero sense.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by fleitz on Saturday September 06, 2014 @12:42AM (#8277554)
You egress filter everything that isn't tor, allowing any outbound connections other than tor will cause leaks.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by wcummings on Saturday September 06, 2014 @02:44AM (#8277715)
>And obviously if someone gains arbitrary code execution, they can just Google "my IP" and see the externally facing IP.

This is what firewalls are for

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by runeks on Saturday September 06, 2014 @08:10AM (#8278138)
No, that's not necessary. The point is that the web server does not have Internet access: it can only access Tor (its network interface is a virtual one that can only access Tor). Any Google search for "my IP" will return whatismyipaddress.com and this site will report the IP of the Tor exit node.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Scoundreller on Saturday September 06, 2014 @01:50PM (#8278943)
I suppose running a service on IPv6 only would make it a lot harder to track down.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by stephen_g on Sunday September 07, 2014 @09:07AM (#8281007)
Only if you're trying to scan the entire address space.

For an attack like the one used here (where they found the IP) then there is no difference.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by xj9 on Saturday September 06, 2014 @02:59AM (#8277740)
You could also start by using something more secure than PHP.

I realize that a significant portion of the internet runs on PHP, but if you are going to do something as high-risk as SR, you should use more robust tools.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by dsl on Saturday September 06, 2014 @08:33AM (#8278186)
Almost every HTTP server, language, and web framework has at one point had a vulnerability that exposes configuration or environment variables.

The fundamental problem is that no matter what language and server combination you choose, it was never written for hostile environments. Exposing an IP address of an internal server is considered a very low risk vulnerability (as compared to say RCE), so very little work is put into auditing for such risks.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by alexjeffrey on Saturday September 06, 2014 @07:12AM (#8278043)
what would you suggest? for all its faults, PHP has seen a lot of hardening efforts over its lifetime and its security flaws are well known and can be compensated for.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by spacemanmatt on Saturday September 06, 2014 @09:18AM (#8278279)
A lengthy hardening effort and well-known flaws to compensate for does not sound at all like a secure platform to me.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by alexjeffrey on Saturday September 06, 2014 @09:43AM (#8278338)
but on the other hand, it is better than having unknown security properties like e.g. ruby or javascript on node.js. While node is built on the venerable V8 engine which has strong security roots, its core libraries and dependencies are less well explored. Plus javascript is generally a terrible language for secure programming.

I'd rather have ample documentation on how to harden my PHP application than no documentation on how to harden my Node application. Security through obscurity is no security at all. Plus, many of the mitigation strategies are simply rules like "don't use mysql_query" or "use htmlentities with ENT_QUOTES and UTF-8 to escape your output", both of which can be built into a framework. See: laravel.

[edit] downvoting is much easier than formulating a response, isn't it?

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by zaphar on Saturday September 06, 2014 @11:38AM (#8278572)
You are argue that php is better then than using ruby or javascript. Now I could perhaps weight in on that somewhat dubious claim but I'd much rather ask why are you restricting the pool to php, ruby, and javascript?

Why not Python, or Go, or even Haskell? There are many languages other than the three you mention which have much better reputations for secure web programming.

You likely got downvoted because you presented a false choice to back up your argument.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by alexjeffrey on Saturday September 06, 2014 @12:50PM (#8278760)
I chose the languages above mainly due to their popularity outside the sphere of silicon valley - you are right that I should have included python in this list, but go and haskell are still only popular in a very restricted audience and I myself haven't used them - they may well be better for secure programming, they just didn't come to mind when I was thinking of examples.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by xj9 on Sunday September 07, 2014 @03:01PM (#8282069)
Personally, I would go with Python.

* The language itself has a pretty good security track record * The more popular application frameworks (Django, Flask, et al.) seem to be doing pretty well * Process isolation techniques are well-known

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by willvarfar on Saturday September 06, 2014 @03:00AM (#8277743)
Do you know if torbrowserbundle or tails etc uses any kind of virtualization to isolate things?

Its an off hand observation I've made before e.g. https://github.com/paulczar/docker-torbrowser/issues/2

Tor should run in a VM or container, and the browser should run in a container that can only talk to the tor, and the only other way out is a dumb screen scraping display for the browser. Make sense?

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by dobbsbob on Saturday September 06, 2014 @11:46AM (#8278591)
The preferred way is to use Tails on a dvd since the entire point of a privacy live dvd is not to leave local evidence and run it in memory only.

A separate $40 ARM box, running some kind of open firewall software (openbsd, m0n0wall, pfsense) that blocks all outgoing traffic that isn't tor is also preferred than trusting say, Virtualbox NAT, which likely leaks host IP to the guest and your VM state to the host.

A bonus to having a dedicated system for whatever secret squirrel things you're doing is it's a physical barrier protecting you from yourself, like when Sabu accidentally logged into IRC in the clear. It's also a good idea to build your own Tails source and hardcode a gigantic password into the startup scripts. This is the "I'm too drunk to be doing this" protection should you ever be faced off your ass and think it's a great idea to go on IRC and taunt the feds or check your sales PMs for the booters and carberp mods you're peddling on not_legaL_hax4sale.ru forums. After 10 tries and failing you'll either pass out or hulk smash the box either way you will not wake up in jail.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by gonzo on Saturday September 06, 2014 @12:31PM (#8278711)
the problem here is the $40 ARM boxes only have one ethernet, unless USB Ethernet is good enough for you.

I've considered putting pfSense on ARM.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Alupis on Saturday September 06, 2014 @02:45PM (#8279104)
> unless USB Ethernet is good enough

Well, most (all) of the $40 ARM boxes I've seen run the ethernet port off the USB bus... so, an USB ethernet dongle should suffice.

(the USB bandwidth should likely still be faster than your internet connection, but depending on which ARM chip you have, that may become your bottleneck in processing the packets... Beaglebone Black seems like it would suffice though, RPi might be a bottleneck)

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Saturday September 06, 2014 @11:53AM (#8278615)
Torbrowser doesn't even sanbox tabs[0], let alone virtualize.

Checkout Qubes which was a project that virtualized each app:

https://qubes-os.org/

Doing that today with Docker containers would be interesting.

[0] This is one of the main reasons why there are efforts to move it to Chromium

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Alupis on Saturday September 06, 2014 @02:47PM (#8279109)
How would Docker help here at all? Docker dose not provide security like you think it does... it's about application portability...
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Sunday September 07, 2014 @04:16AM (#8280588)
Docker isn't what provides the security, Docker provides the format for the container - it is LXC, VirtualBox, VMWare, Xen, etc. and Docker provides the abstraction layer - which is extremely useful.

The timing is right since OS X Yosemite will include a Hypervisor - so for the first time ever all major operating systems will support it and we have Docker to make it all portable. No more kernel module installation, which is what has always made these type of solutions hard to roll out to consumers and non-techs.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by walterbell on Sunday September 07, 2014 @06:16AM (#8280704)
> OS X Yosemite will include a Hypervisor

Is that a type 1 hypervisor that can run a linux VM image/container without vbox/parallels/fusion, as if the VM/container was an "app"?

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Sunday September 07, 2014 @08:03AM (#8280880)
It looks like it is first a low layer hypervisor kernel support and then a library that provides virtualized cpu, network, graphics, IO, etc (the equivalent of this layer in Microsoft's Hyper-V is called Enlightment IO, IIRC).

If you look at the architecture diagrams for vbox/vmware etc. you'll see they all have their own implementations of each library to do this on OS X. This is where the performance difference comes from. With Hypervisor.framework and each of the virtualization firms porting their platforms to it, it means this performance difference mostly disappears and the vendors can focus on improving the higher layers.

When Microsoft did this in Windows, the ecosystem exploded. One difference is that Microsoft built and released tools and apps at the higher layers, such as application virtualization with App-V (where they compete with Citrix and VMWare). It doesn't look like Apple will do that, yet - but what it does mean is that someone can port or implement a common virtualization layer on OS X and bring better, cheaper, more accessible and open app virtualization to OS X (with great performance).

It is a pretty big deal with potentially a lot of interesting opportunities and applications. There isn't enough information available about it yet, though (or I simply haven't found it) - someone with more familiarity with the tech and virtualization in general will likely dump info about it and what it would mean when we get more information about it and are closer to 10.10 going gold (the virtualization co's porting their platforms to support 10.10 will likely be an issue).

edit: to add, the good thing about making Hypervisors built into the OS, having an abstraction layer on top of that, and then on the other end having Docker abstract the tech is that suddenly everything becomes portable and developers can focus on the more value add features (since core virtualization tech becomes commoditized)

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by walterbell on Sunday September 07, 2014 @08:17AM (#8280914)
Sounds promising!

Apple would need to document the virtual device interfaces so that Linux/BSD in-guest drivers can be developed by the open-source community. Until then, only OSX-on-OSX would work.

Hopefully the Apple hypervisor can be disabled, e.g. if someone wants to run OS X on VMware on Windows on Mac hardware, or OS X on KVM on Linux on Mac hardware.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Homunculiheaded on Saturday September 06, 2014 @03:41AM (#8277789)
Tails answers this question on their site [0]

Their general opinion is that this makes Tails less secure as now you have to trust both the host and the visualization software.

Provided that you trust Tails itself. The expected way to run it is off of a live cd. This way the trusted OS is only ever in ram, and if you use a non-rewritable disk you can also be assured that the Tails disk itself cannot be modified after its creation.

Tails handles the 'only talking to Tor' via iptables. Unless I am mistaken Tails' firewall will not allow clearnet connections.

[0] https://tails.boum.org/doc/advanced_topics/virtualization/in...

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by dobbsbob on Saturday September 06, 2014 @11:59AM (#8278629)
Tails has an 'unsafe browser' so you can log into wifi gateways then start the regular browser. If I'm a federal agent in need to decloak Tails users I would probably target that script that disables the firewall that any unprivileged user can run. If you don't need the script probably a good idea to build Tails without it
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by willvarfar on Saturday September 06, 2014 @05:31AM (#8277919)
This is not the same question.

The question is, inside the tails itself, should apps like the browser and your mail and chat programs be isolated from each other i.e. placed in "jails", "containers", "zones" or whatever?

Security in depth.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by alexanderh on Saturday September 06, 2014 @04:20AM (#8277835)
> Tor should run in a VM or container

Tails: https://tails.boum.org/

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by spinlock on Friday September 05, 2014 @08:12PM (#8276950)
I was just thinking about the second point you bring up. Isn't this still an illegal search because they purposefully circumvented digital security?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Friday September 05, 2014 @09:44PM (#8277150)
Most people replying here will be as sarcastic as I was - but there is a serious question here which i'm certain Ulbricht's defense will ask and challenge. The motions filed leading up to this FBI filing have all been about cornering the FBI into revealing this information specifically so they could challenge it (knowing the information wasn't obtained with a warrant).

On that note it seems like his lawyers are performing well, they have challenged absolutely everything in pre-trial motions and there have been some interesting rulings (they've lost almost all of them).

Warrantless surveillance of foreign servers plus the domestic "general warrants"[0], "bitcoin isn't money"[1], his hacking charge under the CFAA[2] and now a likely challenge to the server evidence that was found by "manipulating inputs" (which is interesting to contrast to Ulbricht's own hacking charge).

Both the motion to dismiss and the judges ruling are interesting reads:

http://www.scribd.com/doc/215745393/USA-v-Ulbricht-motion-to...

http://www.scribd.com/doc/233234104/Forrest-Denial-of-Defens...

I'd be interested to know what an experience lawyer or trial specialist thinks of how it has been going so far. I have yet to find a good opinion piece on the topic.

[0] http://freeross.org/feds-silk-road-investigation-broke-priva...

[1] http://www.wired.com/2014/07/silkroad-bitcoin-isnt-money/

[2] http://arstechnica.com/tech-policy/2014/07/judge-denies-silk...

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by at-fates-hands on Saturday September 06, 2014 @02:43AM (#8277711)
I have several criminal defense attorneys I speak with on a regular basis and they always have interesting takes on high profile cases.

They basically said his attorneys are doing the right thing by going after the warrant stuff. It's pretty standard in legal circles. Go at the base of their argument. If you can get the original warrant through out, it all goes. The only problem is they suspect this is the only real strategy his defense team has right now.

Once the judge rules on this - which my attorney friends believe will be on the FBI's side, his defense team won't have much to pivot on. All the evidence is now compounded and will stick. Which as the article pointed out, is pretty bad for him. It will also confirm his identity as 'Dread Pirate' which a lot of the case hinges on. Once the FBI get that point nailed down, the rest is pretty academic.

The only thing that would make this interesting is if the judge rules against the FBI and hence forth a majority of the FBI's case is destroyed. Both of my friends figured the FBI will drop that case and simply let the federal case on conspiracy to commit murder and hiring a hitman run its course.

Also, keep in mind there are still three other admins that have been indicted. If they get any of those guys to give them more information about Albrecht, it's all down hill from there. They might not even need most of the stuff they entered as evidence if they can get one of these three to roll over on Albrecht.

Pretty much any way you slice it - he's screwed.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by tedunangst on Friday September 05, 2014 @08:51PM (#8277033)
Wouldn't circumvention be more accurate if they had successfully brute forced a login? Clicking "View Source" on the error page doesn't sound like circumvention.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by fleitz on Saturday September 06, 2014 @12:45AM (#8277561)
The question is whether the usage was authorized not whether it was successful.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by XorNot on Saturday September 06, 2014 @09:38AM (#8278320)
This seems like a poor defense choice. In Australia, a number civil rights in Australia automatically disappear if you were in the midst of committing a crime while trying to claim them.

This was ultimately to prevent stuff like burglars falling through skylights, then suing the owner of the house they were burgling in civil court while facing criminal prosecution.

I'd be staggered if it was possible to make a relatively weak "authorization" claim stick, seeing as how the police do have the right to investigate things left "in plain view" which you could argue a web server page which you accidentally sent compromising fuzz data too could fall under.

A court would also have little trouble allowing such a thing, since it's a narrow interpretation that doesn't legalize it for the ordinary citizen (though IMO I think it probably should be).

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by ptwiggens on Saturday September 06, 2014 @10:37AM (#8278434)
"a number civil rights in Australia automatically disappear if you were in the midst of committing a crime while trying to claim them."

That doesn't make sense to me. You haven't "committed a crime" until you've been convicted.

You seem to be saying that you lose the rights merely by being suspected of a crime.

If that is the case, those rights don't actually exist in the first place.

In the US, they have successfully prosecuted people for "fiddling" just like the FBI did here.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by XorNot on Saturday September 06, 2014 @01:05PM (#8278803)
If you've been charged with a criminal crime, you can't press a civil suit against the victim, essentially.

The point here is somewhat similar: trying to sue the FBI for unauthorized access to a server would hinge on the relative standing of that law compared to much more serious offences (i.e. conspiracy to murder being the big one) - since the case would have to come from DPR against the FBI, and would thus be subject I suspect to similar tests of standing.

Other people have made the wider point more thoroughly as well - you'd really struggle to prove wrongdoing when all that was acquired was an IP address.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by fleitz on Sunday September 07, 2014 @07:09AM (#8280776)
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by tedunangst on Saturday September 06, 2014 @11:03AM (#8278488)
Example of somebody prosecuted strictly for fiddling?

To answer my own question, I guess you could say weev, but I think his troubles really began when he made the pivot from fiddling to mass scraping. I think it's harder to argue the FBI's access was unauthorized when what they were looking at was the "access is denied" page.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by asdfaoeu on Friday September 05, 2014 @09:17PM (#8277087)
Well warrants let them bypass physical security why would digital security be exempt?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by canjobear on Friday September 05, 2014 @09:36PM (#8277126)
The claim is that they did this before getting a warrant.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by mpyne on Friday September 05, 2014 @10:21PM (#8277253)
Which they could easily claim as being incidental to gathering the evidence needed to obtain the probable cause that is mandatory for a warrant.

CFAA talks about "unauthorized access", not about any "unwanted" interaction with a computer. Though I think FBI will simply claims that the steps used at that stage of the investigation were implicitly permitted by the fact that it was conducted for a lawful government purpose (there's some fancy legal term for this, but I forget what it is), and wasn't otherwise forbidden to the government since it didn't involve a search or seizure.

If accepted, that would mean that J. Random Hacker doesn't get to mess around with websites just because the FBI got to, even in situations short of CFAA violations.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by maxerickson on Saturday September 06, 2014 @10:48AM (#8278456)
I can't imagine there was anything between the FBI and site that established a context for them to be attempting to access a user on the system that they had not created. So I hope they are relying on some investigative authority and not some hairsplitting definition of unauthorized.

edit: I guess they could have been providing incorrect passwords for an account that they created. I agree that is easier to call unwanted.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by mpyne on Saturday September 06, 2014 @11:51AM (#8278605)
Reading the Krebs story on this same topic (http://krebsonsecurity.com/2014/09/dread-pirate-sunk-by-leak...), it occurs to me that FBI may not have needed to try to authenticate at all.

Basically all the analyst said he did was to load the SR website far enough until the captcha popped up, and notice in the wireshark (or equivalent) logs that a non-Tor IP address was reached from the SR website.

If the analyst tooled around on the website after that, then even if the court were to call foul on that subsequent access, the public IP address wasn't derived from tooling around so it (and the evidence derived from that) wouldn't be at risk either.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by tP5n on Sunday September 07, 2014 @06:52AM (#8280751)
this seems plausible, yet there must've been thousands of attempts of people doing sql injections/looking at their logs?

if i remember correctly an error page leaked an ip in 2012/2013. someone had to realize the captcha was leaking at some point? consider me confused ;)

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by void-star on Friday September 05, 2014 @08:35PM (#8277006)
As to the second point. This "fiddling" with "miscellaneous" input characters could also be interpreted cover brute-forcing login attempts. I'm not sure that's a good precedent...
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by cesarb on Friday September 05, 2014 @09:38PM (#8277132)
If it was "miscellaneous" input characters, it probably wasn't brute-forcing login attempts. Brute-forcing logins would use mostly alphanumeric input characters, not "miscellaneous" input characters.

The word "miscellaneous" to me implies things like quotes, backticks, and similar non-alphanumeric characters. "Fiddling" with them would be attempting to find somewhere that didn't quote an input value correctly: they were attempting to find something like an SQL injection.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by tedunangst on Friday September 05, 2014 @10:11PM (#8277228)
My understanding is that they attempted a login a few times. User: dpr. Password: ababa, dada, bobo, etc. This in turn triggers the web app to display a captcha after too many failures. The img src for the captcha revealed the IP.

It wasn't much of a "brute force" attack, it wasn't SQL injection (though it's possible they were poking at that too), but just the simple question, what happens if we try to login five times with "miscellaneous" passwords? Hey, look, a captcha! I wonder what server the image comes from...

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by pbhjpbhj on Saturday September 06, 2014 @08:24AM (#8278166)
Trying a series of passwords is unauthorised access though, surely? Like opening a barrel lock, you try a few positions because that gives up the code eventually, it's not brute force but it's not authorised access by a long shot.

Deciding which way the decision should go must be causing quite a few hours of concentrated legal consideration - there are downsides in both directions for the government.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by tedunangst on Saturday September 06, 2014 @11:50AM (#8278599)
I don't know. Trying a series of passwords until I get it right is basically my standard login procedure. Guess I have to get to three felonies a day somehow.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by eru on Sunday September 07, 2014 @05:50AM (#8280681)
Breaking into your own house is not a crime.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by DINKDINK on Saturday September 06, 2014 @02:48AM (#8277722)
What would cause the captcha's image to leak the ip but a regular image on the tor website not?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by patio11 on Saturday September 06, 2014 @03:31AM (#8277777)
Something as simple as using 3rd party code for the capcha with a config file that said "host name goes here." Would you be at all surprised to find this in a WordPress plugin or similar?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by cnvogel on Saturday September 06, 2014 @03:45AM (#8277797)
This is purely guessing, but checking regular images (right size, format, ...) will be the "day-to-day" business of looking after a website. And more often than not the administrator will therefore "Open image in new tab..." and become aware of an incorrect image path.

The Captchas, on the other hand, might have been using an existing software. Remember: These captcha images will have to be autogenerated by a script which, as a convenience to the user, might have used some kind of mechanism to determine "fully qualified" URLs. And this had slipped below the radar, as it's a feature used much less often, and hence likely to receive much less scrutiny.

I think it's pretty likely that these kinds of information leaks can happen when you deal with a larger codebase or system. Hence following the advice of some other HN users, who recommend a strictly firewalled system for this kind of use-case, looks like a prudent thing to do.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by gvb on Saturday September 06, 2014 @09:41AM (#8278333)
The site was misconfigured WRT serving the captcha image resulting in the image link pointing directly to the SR server rather than being routed through TOR.
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nmjohn on Friday September 05, 2014 @09:09PM (#8277068)
If there is an external server that is vulnerable to a brute force attack, it is trivial to exploit it anonymously.

People who get caught trying to brute force servers (do people even get caught for this???) are the lowest hanging fruit and are the ones least harmful to society.

My point is precedent doesn't really matter, because realistically, you won't have anyone to actually prosecute except for the 13 year old "hacker" who had no idea what they were doing.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by downandout on Saturday September 06, 2014 @05:08PM (#8279489)
>Second - the FBI considering "fiddling" with "miscellaneous" input characters into the login page not illegal access is good - it means the next person charged under the CFAA for "exceeding authorization" by fuzzing will have a precedent to cite.

I was wondering about this as well. If this kind of thing is not done pursuant to a search warrant and is in violation of the site's TOS, is it legal for them to do? What happens if I put a blanket ban in the TOS on use of the site by anyone acting as an agent of any law enforcement agency? Certainly with a warrant, it would hold up , but without one, it may not.

Interesting legal question, I guess only time will tell.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by dominicmauro on Saturday September 06, 2014 @05:57PM (#8279619)
> What happens if I put a blanket ban in the TOS on use of the site by anyone acting as an agent of any law enforcement agency? Certainly with a warrant, it would hold up , but without one, it may not.

Actually, I'm not so sure you don't have that backwards. If a police officer shows up at your door without a warrant, you can tell him "hey, no cops allowed in my house!" and make him leave. But he or she has a warrant, you can deny them all you want, but they're legally entitled to come in and look for stuff.

With a login page, it would work roughly the same way. "No cops allowed" might work, but not once a judge gives the police a right to be where you don't particularly want them.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by psykovsky on Sunday September 07, 2014 @12:37PM (#8281626)
I think the point is: all that was one WITHOUT a warrant...
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by Zuider on Saturday September 06, 2014 @12:04PM (#8278644)
>it means the next person charged under the CFAA for "exceeding authorization" by fuzzing will have a precedent to cite.

Unless Ulbricht's lawyers successfully argue that fuzzing constitutes an illegal search. The law respects precedent, and there is more precedent which finds that fuzzing leads to illegal access.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by dobbsbob on Saturday September 06, 2014 @11:22AM (#8278535)
Isn't there a major PRNG state issue with freezing and reusing snapshots?
Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by nikcub on Sunday September 07, 2014 @04:18AM (#8280593)
Yes there is, I ignore it on the desktop (which isn't good)[0] and run a script to reseed, but on the server/gateway I'd completely avoid freezing.

To make it worse, I never install the VM tools on any machine because i've always felt they are all crappy and insecure (and make VM detection easy). Most of the VM drivers try and fix this problem, but it would be best fixed with either virtualization hooks where commends are run in the client by the host whenever you freeze/unfreeze.

[0] this understanding the pros/cons of each approach and weighing them up. i'd rather have a good known snapshot to start off with each time I use it (and deal with side effects such as time sync, rng seed, handling updates, etc.) than have a long-running machine.

Re:The FBI Says How It ‘Legally’ Pinpointed Silk Road’s Server by devicenull on Sunday September 07, 2014 @10:17AM (#8281178)
Does the VirtIO-RNG functionality provided by qemu help here? Linux will use it as a hardware RNG.