Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Source][VB.Net]Asymetric RSA encryption example

Asymetric RSA Encryption Example

Hey Today I gonna show you a little snippet I wrote to show you the usage of the RSA-Encryption which is included in the .net Framework.
This Encryption is a kind of different to almost everything you saw before.
It works with two keys. One you can make public that can only encrypt Text/Files/smth. else. And one key you should keep private as only this key can decrypt the encrypted data/text.
The special and very very good thing about that is, that you don't need a key exchange.
That means that if you make a RAT for example and the Victim is able to sniff the traffic he'll only get the encryption key which will not make it possible to decrypt the sending/sent data/text.
So here are the positive things about this encryption example:
  • Secure (As much bit as you want (I used 512))
  • Asymetric (no keyexchange needed)

And here you go:
[img]http://img839.imageshack.us/img839/5351/2010v.png[/img]
And for all leechers:
Pastebin
Have Fun and post some Feedback.. It took me some time to make that...
Awesome code :)
so this can go up to 1024 bits as well ?
Going to go through the source now.
Thanks for this, looks like it'll help me somewhere.
very nice. I'm trying to learn about encryption and such :)
(Oct 20, 2010 01:11 PM)Mr. Anderson Wrote:  Awesome code :)
so this can go up to 1024 bits as well ?

You can go up to 10240 if you want ^^ as high as you want but it will become very slow and 512 shold be enought
thanks add this in my crypter/binder

many thanks .
(Oct 20, 2010 01:25 PM)c6p0 Wrote:  thanks add this in my crypter/binder

many thanks .

No Problem..
I don't know if it is a good idea for a crypter as it is mainly used for very secure data (CIA and M16 are also using it) and a Crypter just needs to be undetected.
I would sugesst it for a RAT as I already mentioned above.
Wow nice :) First metric RSA encryption seen here.
Thanks, I will be using this to actually understand the encryption and probably try and make my own crypter.
(Oct 20, 2010 01:34 PM)Asus Wrote:  Wow nice :) First metric RSA encryption seen here.

No Problem.. Thanks for the feedback and @above I already said that I guess this is not the best encryption you could use for a crypter .. Maybe a HWID/Login System would be nice using this
https://hackforums.net/showthread.php?tid=680762

Not trying to jack the thread or anything, just providing another resource for this. As Prototype has mentioned, you definitely do NOT want to use this for a crypter - it should be limited to small amounts of data (128 to 1,024 bytes).
Ah well I didn't see your thread but it is a kind of similar to my usage good work and yeah you should not use it in a crypter
these possible to divide the server into several parts so that each party is encrypted independently.
No, Asymmetric encryption is intended to transfer a key so that said key can be used as a Symmetric encryption key. Never use it on large amounts of data.
ok thanks sir
just for little server like downloader .


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by putnik1313Jun 21, 2025 08:59 PM 12 436 Jun 21, 2025 08:59 PM
Last Post: Goods
by putnik1313May 26, 2025 03:04 PM 6 223 May 26, 2025 03:04 PM
Last Post: putnik1313
[C#] by PaskowskyJan 14, 2020 03:01 AM 2 364 Jan 14, 2020 03:01 AM
Last Post: Paskowsky