Dutch police discovered the true location of the site after a 2016 tip from security researchers who had discovered a development version. The police quickly began monitoring all actions on the site, and discovered that the administrators had left behind old IRC chat logs including their full names and even a home address, and they began to monitor them. Although the administrators soon moved the site to another unknown host, they got another break inApril 2017 by tracing bitcoin transactions, which allowed them to identify the new hosting company, in Lithuania. On June 20, 2017, German police arrested the administrators and the Dutch police were able to take complete control of the site and to impersonate the administrators. Their plan, in coordination with the FBI, was to absorb users coming over from the upcoming AlphaBay shutdown. The following changes were made to the Hansa website to learn about careless users:
All user passwords were recorded in plaintext.
Vendors and buyers would communicate via PGP-encrypted messages. However, the website provided a PGP encryption convenience feature which the police modified to record a plaintext copy.
The website's automatic photo metadata removal tool was modified to record metadata before being stripped off by the website.
Police wiped the photo database, which enticed vendors to re-upload photos.
Multisignature bitcoin transactions were sabotaged, which at shutdown would allow police to confiscate a larger amount of illicit funds.
Police enticed users to download a Microsoft Excel file that, when opened, would attempt to ping back to a police webserver and unmask the user's IP address.
Shutdown
AlphaBay was then shut down on July 4, and as expected a flood of users came to Hansa, until its shutdown on July 19/20. During this time, the police allowed the Hansa userbase to make 27000 illegal transactions in order to collect evidence for future prosecution of users. Local cybercrime prosecutor Martijn Egberts claimed to have obtained around 10,000 addresses of Hansa buyers outside of the Netherlands. After shut down, the site displayed a seizure notice and directed users to their hidden service to find more information about the operation.