|
-
Apr 27th, 2005, 05:43 PM
#5
Lively Member
Re: Securing a VB6 TCP Connection
Hmm now that you mentioned it how can you actually sniff outgoing packets using vb winsock? I mean I know that you can do I just don't have any idea how, the commands...
Maybe setting the remote host, port as the one you want to listen to. ANd when you recieve data, the data going out from their port you can display it on a textbox or something. The data probably is encrypted if around sensitive content but I would still wanna know how to be able to make it harder for it to happen, when vb winsock is used. Which happens to be very unsecure...
Ok try this.
Multiply all of the values of the letters by an X number. This will be like the "key" of the "mini encryption method" Then enter the key on the server side the divide the data by that, and then convert.
A person can also hack this if they know how to program, which many hackers do, but if they don't and if You use larger X Key numbers it will be harder for them to crack this. Other then that I dunno how else you can use vb to encrypt. I mean this is how SSL encryption works, just it uses more complex algorithms and such...
You can multiply, devide, and use any math command to do this. The more you do it the more secure. Once compiled if the person gets ahold of this program theyd either have to Brute-Force and try to get the Key OR turn the .exe into machine code, and then try to change that back to vb code. And Ive never heard that being done :P
Id say this is secure enough for chats and such. For credit card numbers you should use nothing less then a 128-bit SSL encryption... Or someone would actually want to hack the transmission, to get the card number.
You can even send different numbers on different winsocks. Lets say your gonna send a credit card number and the number is X-X1. then send X on one port and X1 on another, the more ports you use, and the more numbers you send the harder it is the crack...
of course nothing is uncrackable 
Good Luck! Thats about all I can think of, and I put eveyrthing i could think of there :P
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|