Solved

Question On Packet Sniffing.

Posted on 2004-09-28
6
238 Views
Last Modified: 2010-04-17
If i use Chr() characters to send information would it still be picked up by packet sniffers?
0
Comment
Question by:andyakira
  • 4
  • 2
6 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 12175154
It will be unusual but will be detected almost inmediatly.
A little step forward is some kind of caesar ciphering algorithm, just sum a number to actual ascii value.

To encrypt:

Private Function CaesarEncode(str as String, key as Integer) as String
    CaesarEncode=""
    For i = 1 To Len(str)
        CaesarEncode= CaesarEncode & chr(asc(mid(str,i,1))+key)
    Next i
End Function

To decrypt:

Private Function CaesarDecode(str as String, key as Integer) as String
    CaesarDecode = ""
    For i = 1 To Len(str)
        CaesarDecode= CaesarDecode & chr(asc(mid(str,i,1))-key)
    Next i
End Function

Hope to be useful,
Jaime.
 
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175159
Of course you have more sophisticated algorithms but I that will depend on the relevancy of your information.
0
 

Author Comment

by:andyakira
ID: 12175773
am i doing this right jaime. after encoding im sending this to the server CaesarDecode(Text2, 3) but the sniffer still picks up the real text, what steps should i be doing?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175796
You have to send the returning string of CaesarEncode(), not the original Text2 variable.
0
 

Author Comment

by:andyakira
ID: 12175847
the problem is i dont own the server, i'm trying to make it send a message to my name on this server, so there is no way to hide the name part is there?
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175946
If you refer to the heading information of the packets, then you can't, it will simply not reach your server.
Maybe any kind of secure layer like SSL will give you some privacy.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now