Jump to content
UBot Underground

[BUY] Prevent Man in the Middle Plugin


Recommended Posts

Hello.

 

I'm looking for a way to prevent a man in the middle attack. 

 

My bot is communicating with some HTTPS websites. And sometimes I have to integrate login details into the bot. 

The bot itself is encrypted and secured with a 3rd Party protection mechanism. 

 

But I'm not able to validate the SSL communication from my bots to the https websites.

 

So if someone is using a software like Fiddler (http://fiddler2.com/) he could install a special "man in the middle" certificate which is fully trusted on his computer. 

And the software will intercept the communication from the bot and present it's own SSL certificate. Which is the completely trusted. 

 

The certificate looks valid, but it's from "DO_NOT_TRUST_FiddlerRoot". 

 

 

So I'm looking for a way to check specific values of the certificate. To ensure that it's really the certificate that should belong to the site I'm communicating with. 

And not just checking the signature hierarchy.

 

I think this is called certificate pinning. 

I'm not sure if it can be done with a plugin or with ubot in general. Because those infos are normally not exposed by the ubot browser. 

 

But maybe there is another way to do that?

 

 

So if someone has a smart idea how to do that, please contact me.

 

Thanks in advance for your help.

Dan

 

 

Link to post
Share on other sites

An additional information. Maybe useful:

 

the best you can do is to exempt that application’s traffic from decryption by setting the x-no-decrypt Session flag on the CONNECT tunnel. This flag will prevent Fiddler from decrypting the traffic in the tunnel and it will flow through Fiddler uninterrupted.

Link to post
Share on other sites

...there isn't much you can do against fiddler and MITM attacks if is going through HTTP traffic. The best way is to NOT use login details.

If there would be a way for certificate pinning, you could detect that and stop the bot. With a regular .NET application that's relatively easy to do.

Dropbox for example is using such a technique. So if you start Fiddler to analyze the dropbox communication, you can't because the app can detect that the destination website is not using the correct SSL certificate.

 

Dan

Link to post
Share on other sites

Great idea for a security plugin, we need it since what many of the bots are used for can be both considered unwelcome geust and potentially contain data the attacker may like, ie lists of usernames passwords, all type of credentials nicely formatted into lists for them. lol

Link to post
Share on other sites

Look into how some banks are securing ive tried setting my laptop as a wifi hotspot with fiddler running and connect to the laptop all secure app traffic can be decoded but bank traffic detects the fake circ on my phone and that theres something in the middle

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...