Results 1 to 7 of 7

Thread: Packets (R&W)

  1. #1

    Question Packets (R&W)

    Packets:

    I know some about them, but:

    A) How can I catch one and read it (sniffer perhaps?)

    B) Is there any way I can write one?

    and

    C) Is there any way to mess with the protocols that send them and/or which ports are used?
    \"I ONLY DRINK THE BLOOD OF MY ENEMIES....and maybe a strawberry yoohoo....and a...Pina Co-la-da!...
    If you like pina coladas....ugh!, gettin\' caught in the rain....ugh!\"
    -Sarge

  2. #2
    Priapistic Monk KorpDeath's Avatar
    Join Date
    Dec 2001
    Posts
    2,628
    Sniffer will capture packets also another good proggie for that is Ethereal (both windows and *NIX).

    Before I answer your other question I have one for you. What legitimate purpose would you have to fool around with a packet if you're going to send it out? You have a limited understanding of TCP/IP what would you gain by it?
    Mankind have a great aversion to intellectual labor; but even supposing knowledge to be easily attainable, more people would be content to be ignorant than would take even a little trouble to acquire it.
    - Samuel Johnson

  3. #3
    From the tutorials index

    1: Packet Sniffing(tcpdump install and first use) by IchNiSan
    2: Packet sniffing. written by yours truly.

    That is some reading material regarding your first question.
    For the second question:
    Yes it is possible to handcraft packets. Get some information on how TCP/IP works. From the formatting of your questions I doubt your reasons on why you want to do this a bit.
    If you want to learn how the different protocols laying on top of TCP/IP work I suggest you go read some rfc's (request for comments).
    You can find a complete list of rfc's @:
    http://rfc-editor.org/
    To find out about the diferent ports being used you can either search this forum or use a search engine like google.

    Buenos Dias
    noODle

  4. #4
    Senior Member
    Join Date
    Feb 2003
    Posts
    282
    Is there any way to mess with the protocols that send them and/or which ports are used?
    The protocols are well documented in RFCs http://directory.google.com/Top/Comp...net/Protocols/

    A protocol can be thought of as a language for comuncation, from one application to another usualy over a network such a the Internet. The end points of the comunication each understand the language. You can make your own protocols to use between your own applications.

  5. #5
    What legitimate purpose would you have to fool around with a packet if you're going to send it out? You have a limited understanding of TCP/IP what would you gain by it? [/B]

    I'll be honest, I have absolutely no proof that I wouldn't use this info for hacking.
    All I have to offer is my word that I just want to know, and the fact that I probably woudn't have the brass ones needed for an evil hack.

    Hey, if I know about it, who says I can't re-write it and add yet another layer of security to my pc? (This is being hypothetical)

    I don't have a legitimate purpose, but, then again, I don't have any purpose.
    \"I ONLY DRINK THE BLOOD OF MY ENEMIES....and maybe a strawberry yoohoo....and a...Pina Co-la-da!...
    If you like pina coladas....ugh!, gettin\' caught in the rain....ugh!\"
    -Sarge

  6. #6
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,885
    Here are two packet writers that I use on a regular basis:

    For Windoze: Packet Crafter It will be useless to you if you don't understand TCP/IP. It has no documentation so either you understand or you don't.

    For LOONIX: Hping Again, if you don't understand protocols and packets then this will be useless to you.

    I'm giving you these links for two reasons. One, I don't think you have the technical capability to harm anyone at this point. Two, I'm assuming that you will use these tools to legitimately learn about packet content and structure to hopefully become security-aware.

    --TH13
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

  7. #7
    MR.CD:\ is nice boy
    MR.CD:\ not harm anyone
    MR.CD:\ actually afraid fuzz lock him up with "lonely" men in big house if he do
    MR.CD:\ just want to learn

    {This philosophy to be applied to all my posts}
    \"I ONLY DRINK THE BLOOD OF MY ENEMIES....and maybe a strawberry yoohoo....and a...Pina Co-la-da!...
    If you like pina coladas....ugh!, gettin\' caught in the rain....ugh!\"
    -Sarge

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •