Hansa market capture detailed in-depth analysis

in #darkweb7 years ago (edited)

Has TOR been compromised? The technical facts


The Dutch police was fairly open in a press conference Thursday July 20th which was published on Facebook. I don't have an account on Facebook but I was able to fetch it with youtube-dl

The investigation which was conducted by the Netherlands Police’s Team High Tech Crime and darkweb team.

The speakers were:

  • Head of the Central Criminal Investigations Division Wilbert Paulissen
  • Cyber Officer of the public prosecutor Martijn Egberts
  • Deputy Director for Europol Wil van Geembert

Let's catch some Alphabay refugees

Colleagues of the FBI were having a press conference at the same time. Hansa was captured for 27 days by the Dutch Police. The former Hansa administrators were captured in Siegen Germany on the 20th of June. But in order to not raise suspicion Hansa needed to continue to run without a hitch.

MB harbor1 (Custom).jpg

Safe Haven Master Plan

What made this operation really special was the strategy developed by the FBI, DEA, the Dutch Police and Europol to magnify the disruptive impact of the joint action to take out AlphaBay and Hansa. This involved taking covert control of Hansa under Dutch judicial authority a month ago, which allowed Dutch police to monitor the activity of users without their knowledge, and then shutting down AlphaBay during the same period.

As soon as authorities shut down AlphaBay, sellers began migrating to other sites, according to Kela Targeted Cyber Intelligence, a Tel Aviv company that specializes in monitoring the dark net.

When AlphaBay was still up and running, competitors Hansa and DreamMarket had about 5,000 new listings a week, Kela said. Once AlphaBay went down, their new listings tripled to approximately 15,000 a week.

Before AlphaBay was seized, there were approximately 150 new listings per week for sellers of heroin or fentanyl on DreamMarket, Kela said. Since AlphaBay's demise, that has jumped to 700 to 800 new listings — a five-fold increase.

Wilbert Paulissen confirms that they already were in contact with the FBI during its takedown of AlphaBay. The most logical thing to do was to team up and wait for the buyers and sellers to migrate to Hansa and monitor them. The Dutch police then captured the Hansa server in Lithuania. Which they then migrated to a server in Holland.

There was just 1 minute of downtime [of the Hansa site]

There were obviously technical challenges but also social engineering challenges. Since the police had to take over the function of moderators without anyone noticing, he explained how they had to act, react and use the proper slang.

Humans need not to apply

Nicknames like highQualityWeed or AmsterdamConnection of course do not automatically lead you to the natural person in question

I especially noticed the term "natural person" or straw man the chief of police used.

This highlights the fact that the police actually don't deal with people! You can read more about this in one of my previous posts where I talk about the US which is not a country but a corporation! There is a proper way out of this mess and that is not creating joinder with the artificially created person. This is actualy the real way out of the messy war on drugs but it takes a lot of learning how the now compromised legal system works.

The Technical glitches of Hansa

Physical transport of goods, but postal addresses were not encrypted

By closing the transaction and providing information of physical addresses for the delivery of goods, that's when buyers run into the most risk. Sellers never have to disclose their physical address, this is not required for the postal service. A seller would surely use a fake address to make sure there is no leading trail.

The User eXperience (UX) of Hansa was also it's weak spot. Most of the buyers were lazy and didn't use PGP to encrypt their home address but let the site encrypt their communication. By disabling this encryption the Dutch police was able to intercept postal addresses and apprehend many people.

Trust in stupid mistakes

But there is more. Not only did the users laud the (new) administration the Dutch Police even had to celebrate the 2 year anniversary of Hansa market!

Similar foolish mistakes were the reason of the apprehension of AlphaBay admin Alexandre Cazes:

In December 2016, law enforcement learned that Cazes’ personal email was included in the header of AlphaBay’s ‘welcome email’ to new users in December 2014

Trace usernames and login passwords

When a buyer / dealer logged in with password “iselldrugs123” they took note of it then tested to see if that password worked on other markets with the same username. Many dealers and some buyers would have used their PGP key for login and these people wouldn’t have been exposed by this method.

Invizbox writes.

And that's exactly what the Dutch police did.

Choosing targets

This is when it gets murky. The strategy of the Dutch Police was to collect valuable information on high value targets and delivery addresses for a large volume orders. Martijn Egberts, commented as an example that someone who ordered 50 pills was not just a buyer but a reseller and had to be tracked and apprehended. I didn't find his answer to be particularly satisfying especially considering the fact that he is representing the legal side officially. In fact, the whole atmosphere of the press conference was clumsy with overly stiff and serious actors.

Streams of money

2 Million in the last few days.

Wilbert Paulissen continues to explain how the Hansa market's multi-signature worked and that they were able to intercept the keys so that the money would not go from buyer to the seller but into the wallet of the public prosecutor. But he does not go into details. Luckily the TOR router Invizbox wrote about the PGP key switcheroo.

The PGP key switcheroo was going to catch out even those who weren’t lazy unless they had previously stored the correct dealer key before. Some buyers did realise the change had occurred (there was at least one thread on reddit warning about it before the big reveal).

A supposedly live video stream of the site is shown, where Martijn Egberts comments what is being displayed: the admin panel, messages, comments... AmsterdamConnection's transactions and it's states are shown - I would't want to be in this vendors shoes! And simultaneously taking place in the backgrond is the press conference of the FBI in the USA.

The state as the drug dealer

You think you are safe on the darknet? Not if we are admin
Martijn Egberts makes a case in the press conference by noting that after internal debate a trade off had been made by allowing drug trafficking to take place. We are led to believe that the information obtained was supposedly more valuable then deals being made right in front of their eyes.

We know that there are big fish in the Netherlands and we'll do everything to catch them

Silk Road has demonstrated what happens when agents go rogue and I found his statements to be rather weak. It could be summarized that this whole mission was intented to scare drug dealers. His closing arguments were that misdeeds (criminal actions) should not pay off.

TOR

You may wonder why the Dutch Police was involved in the first place?

With the help of Bitdefender, an internet security company advising Europol's European Cybercrime Centre (EC3), Europol provided Dutch authorities with an investigation lead into Hansa in 2016. Subsequent enquiries located the Hansa market infrastructure in the Netherlands, with follow-up investigations by the Dutch police leading to the arrest of its two administrators in Germany and the seizure of servers in the Netherlands, Germany and Lithuania.

Unfortunately the Dutch police did not comment how they found out that the Hansa server was in Lithuania. But they did confirm that they didn't found a vulnerability in TOR.

How they figured out that the server was in Lithuania is not yet clear and if it was through a weakness in Tor, we can expect to see more seizures of this nature. I don’t think this is the case or we would have seen more takedowns and / or more high level dealer arrests already.

Invizbox writes.

europe-barbed-wire-t-shirts-kids-premium-hoodie.jpg

International cooperation

Deputy Director for Europol Wil van Geembert takes over and explains the international aspect of the operation.

Traditional techniques such as working undercover, financial investigation and observation were combined with modern methods such as big data analysis, tracing virtual currencies and forensic cyber techniques.

Millions have been seized and this had certainly an impact on the criminal underground economy.

European threat assessed this to be an engine of crime.

The trading volume is growing exponentially which is a direct result of how a criminal technical infrastructure is able to not only sustain itself but stay ahead. Therefore we need strong coordinated efforts of international cooperation and I'm glad to say this has been the case with Europol, the United States and members of the European Union.

Unfortunately he is obviously a bit vague

We have provided Europol more than 600 intelligence packages wich were send [per post] to 37 countries [to track] more than 30.000 [drugs] transactions. Investigations in these transactions are either ongoing or will be started soon.

This operation is a huge success and we can say that 1 + 1 is not 2 but more like 3,5

From the Dutch Police website

Accounts with a total of more than 1,000 bitcoins, representing a value of some two million euros, were seized.

On average, 1,000 orders per day were placed in response to almost 40,000 advertisements. Last year, Hansa Market had 1,765 different sellers. Since the authorities seized control of Hansa Market there have been more than 50,000 transactions, mainly involving soft drugs and hard drugs.

Some 10 000 foreign addresses of Hansa market buyers were passed on to Europol.

More than 500 Dutch delivery addresses were reported to couriers and postal services with the intention of stopping the deliveries.

Summary of the capture:

  • the TOR technology was not breached according to the Dutch Police
  • copies of login passwords were made and tried with their respective usernames on other darknet markets
  • buyers addresses were copied if they had lazily checked the “encrypt” checkbox and not used PGP
  • PGP keys were switched and funds were thus redirected from the sellers to the public prosecutor

This ranks as one of the most successful coordinated takedowns against cybercrime in recent years

Executive Director Rob Wainwright of Europol.

Good security is a sum of it's parts

How to make sure you stay you

No mix up of identities can occur when you sign all your information with your key. But then your recipients - buyers should be able to verify that you are still you and not law enforcement. The only way to do that is that your buyers save your (public) key on keep it secure. Only then they can verify in the future that any new information they read has been signed by you the seller.
If you make thousands of euro's on selling drugs to them are you going to trust, your host in this case the administrators of Hansa market? Or are you going to make sure you stay in a relationship with your customers?

Cut out the mediocre middle man by using signatures and encryption

If you think about it, having a username and password to protect your account when even clearnet sites are hacked all the time is not very smart. A PGP key pair can survive multiple darknet market relocations, you just need a place which is going to exist at least a few years, cannot be altered ie. be immutable and does not trace back to you.

Private data like postal addresses but also a purchasing history like notes and discounts, that you do not want to be public, can be encrypted. If you worry that all your secrets and history when your private key is be compromised you could opt for ephemeral (short lived) keys for encryption and sign them with your private key. Also called Perfect Forward Secrecy.

This means that you would encrypt sensitive or private information each time with a different key but made sure it stayed yours by signing it. This way if you were ever to have your private / secret key lost, stolen or otherwise compromised like during a body search at the airport, any secrets you had left could not be all decrypted with that single key. But you would "loose" your known identity. This is inevitable; once you choose a public/private key pair you protect your chosen identity with it, so that nobody can ever impersonate you.

Escrow

A banker is a fellow who lends you his umbrella when the sun is shining, but wants it back the minute it begins to rain.

Mark Twain

The multi-signature escrow in the Hansa market meant that if at least 2 out of 3 would sign the transaction would finalize ie. sent to the recipient. This was optional for buyers. Since the funds were locked between two or three people it was impossible for the market or law enforcement to steal the funds out of this multi-sig escrow.

For each order Hansa offered "Locktime" transactions, ensuring that the seller could retrieve his funds after 90 days should the market ever go down. If used right transactions in multi-sig escrow are insured against any losses.

The future are blockchain markets

Actually, Steem is a really good example of how a succesfull online market could function:

  • an immutable blockchain with a fast response time
  • flagging
  • upvotes
  • comments
  • a fast cryptocurrency

But Steemit (the website) could be compromised

  • it uses passwords, ie. if Steemit were to be run by law enforcement people could impersonate me or anyone they'd choose.
  • I don't believe it has escrow or smart contracts
  • witnesses (their IP addresses) are not protected by TOR
  • images are not kept in the blockchain
  • built-in wallet

Building a blockchain (dark) market is a considerable effort. Investors would have to stay cloaked and their funds locked in a smart contract. Not unlike Steem's weekly pay out system. Developers too would presumably have to stay hidden or cloak their involvement. Hard to say who would want to hire you when you have darknet development on your resumé. I therefore assume such a darknet would begin with a fork of an existing platform an iterate through until the technology is mature enough.

In the end it is also worth mentioning that such (dark) blockchain markets provide opportunity for the sales of beneficial instruments like (VAT free) computers and security hardware, herbal and other FDA banned medicine. Blockchains can also be used to log clinical trial results or incentivize people to take part of clinical trials with their smartphones full of sensors.

On the other hand such gate-less blockchains could attract the nastiest of the nastiest like child pornography. But as spammers are voted down and flagged here on Steem, the same could work for similar undesirable effects on (dark) blockchain markets. I was amazed of the bots here on Steemit and there seem to be such even with a quirky personality who wouldn't mind cleaning up someone else's mess!

De één zijn dood is de ander zijn brood

one man’s misfortune is another man’s opportunity

The real victims?

In the months before it was taken down, AlphaBay came under intense scrutiny over the large number of dealers selling synthetic opioids like fentanyl. AlphaBay’s role in the sale of such drugs was detailed in a front-page article in The New York Times last month.

NYT

One victim was just 18 years old when, in February, she overdosed on a powerful synthetic opioid which she had bought on AlphaBay. The drug was shipped right to her house, through the mail.

Jeff Sessions

As sad as these stories are one should be suspicious of what is not being said.

Depressants, opioids and antidepressants are responsible for more overdose deaths (45%) than cocaine, heroin, methamphetamine and amphetamines (39%) combined.

You wouldn't believe what fish oil could do to your mood during the winter but is it being actively prescribed? I smell a rat and I'm sure I'm not the only one. Steemit is a great place filled with people who for one reason or the other have chosen not to go with the status quo.

AlphaBay's unprecedented size for a darknet market, estimating that its nearly 300,000 listings of drugs, stolen credit cards, and other contraband brought in—as a conservative estimate—between $600,000 and $800,000 a day in revenue.

Last but not least the war on drugs has made more victims than victors. It seems that the Deep State is actively protecting poppy fields in Afganistan and making billions on the drugtrade. So what was the real motivation behind the capture, lost money?


I've put a lot of time, effort and expertise into writing this post! Please resteem if you like it! And I wouldn't mind if some random whale would upvote it either : ) It was challening but also fun, I learned a lot and dusted off some of my cryptography knowledge.

All the best,

@Nutela


Sources:

Sort:  

I rarely give full upvotes on posts for other people, but this deserves it beyond a doubt :) Thanks for linking me!

Wauw thank you! I really worked hard on it, it was crazy. But more to come :-) I have an secure idea for Darkwebs with PGP and ephemeral keys, signing them with your private key. I already wrote about it in the post. The idea is to communicate securely but have a separate identity for yourself on Darkweb matters, you can encrypt everything and if you every loose your private key they can't encrypt stuff you encrypted with these ephemeral (temporary) keys. Saving public keys of actors on the Darkweb is key to survival (pun intended). And if one darkweb goes down, you take your identity with you since you should sign any information and messages any way, you can take that with you as well (if you back it up). And then I'll write about a blockchain based darkweb behing TOR or I2P. Uncrackable baby!

Did I link you? :D I watched your videos for info for sure, you seemed to know the most out of your experience + they were funny to watch :)

Enjoyed the whole post, thank you ;]

Thank you very much, I wrote it like 3 days not nonstop but it was challenging! And rewarding...

Loading...

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by nutela from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, and someguy123. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you like what we're doing please upvote this comment so we can continue to build the community account that's supporting all members.

Wow! That is one of the most detailed posts on this topic i read. It is even one of the most detailed posts in general on whole Steemit that I read :)
Good work! You deserved my 100% upvote (what is worth nothing) and I will follow you (that is worth a lot :D )

A blockchain based dark market could be interesting but it is a a lot of work. I heard that even markets like Alphabay and Hansa were a lot of work. If you want to earn some money you wouldn't probably build a new market based on blockchain technology. Maybe it will need investors from the other side of the law ^^

Haha thank you, it was quite a task putting all the quotes from different sources in an order which would make a good narrative. A lot hasn't been said by the 'official' side, on purpouse.

Well I think even an open market could benefit from a fast blockchain, for disputes, who did what and that sort of thing. It's more of a crowd sourced model. Many to many relationships. We are pointing too much fingers at the 1% at the top and not doing anything ourselves.

Hehe thanks!

Awesome post as always dude, but i fear you have missed a trick amongst your evidence collection. All i shall say is look into tails and its recent updates, Tor may not have been broken, but the tails project gives me cause for concern ;)

Really? Well thanks, can't say my post were always that good but working on it. Still making shit money haha but hey I really like it here!

What I don't get or I don't see the link between Tails a readonly OS for journos? I bet Hansa was running on either a Linux or OpenBSD if they were smart.

I just found some more info:

the FBI are proud of their work. And the win, for the FBI, was likely more rewarding than the Operation Pacifier conclusion. In that operation, their illegal hacking tool ruined many cases. And since they used an email address from a “welcome email” instead of an exploit to eliminate Alphabay, they might get a conviction. Of course, Alphabay marketplace never sent welcome emails—but that is another matter.

https://www.deepdotweb.com/2017/07/20/globally-coordinated-operation-just-took-alphabay-hansa/

Yeah its easy to follow and easy to read. I'm talking about the latest version of tails that can not be auto updated. Something big must have been changed for it to not auto update, or maybe it has been compromised.
I read something claiming that ross ulbricht got a completely stealth prison transfer around the same time that hansa was taken over, along with a suspicion that they would need somebody with his skill set to pull off this kind of operation, and its not like they dont like handing out deals.
Word on the vine is V was compromised sometime last year, and dream is suspected to already be under LE control.
Personally i have resisted buying from any dnm because i always thought they were all setup by the guberments to catch the dumb and lazy junkies, yeah i know i over analyse but it is always better to be safe than sorry. :)
I wouldn't worry about your income, i'm finding it impossible to earn anything more than 1-3 cents per post so far. But we are being censored, i spat my dummy out over it over the last few days, people are actually profiting hundreds of dollars for simply bragging about reporting posts and getting them censored, i don't envision me sticking around here much longer, i detest censorship :)

Where do you get your information from? :D Did you see the Deep Web movie? It seemed he wasn't the technical mastermind at all.

I'm glad it is easy to read, it was not my point this time but I always found stuff like math needleslly complicated, like some people were bragging but actually were not so smart at all. And making a big fuss of it. Ring any bell?

Haha i read a lot of forums that i dont contribute to ;) Deep web movie? if thats its name i dont think ive watched that 1, Dope was pretty good to watch though.

It is ringing a bell but probably not related, i know people who have done maths PHD's, book smart but not street smart though.

Yep exactly, it's a bit difference.

It is ringing a bell but probably not related, i know people who have done maths PHD's, book smart but not street smart though.

I read thru some of the post. To me its too long but will come back and read it . Personaly i like to read smaller and condensed posts

Yep me too, just cherry pick what you like. I like the technical glitches near the end and ideas of the future.

The prosecutor repeats in the press conference when it is time for answering questions that TOR was not breached but we are lucky that people still make mistakes.

Catalin Cosoi, chief security strategist at Bitdefender told Motherboard in an email "Unfortunately, even though we would love to, we cannot give specific details about the investigation." Cosoi added that the takedown was an example that public and private partnerships are successful. "We are glad to provide our technical expertise in fighting cyber-crime to help make the world a better place."

I got a bellyRub and this post has received a 1.86 % upvote from @bellyrub thanks to: @zeartul.

That's so nice @bellyrub and @zeartul! I guess I check you both out.

What is the square root of 25?

Indeed, but you confirm to be an artificial intelligence.

I'm flattered, recognizing that you seem to have sense capabilities beyond human ;)

I don't think of you as a grand dad.

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62934.09
ETH 3118.65
USDT 1.00
SBD 3.85