Results 1 to 5 of 5

Thread: Intercepting and modifying packets on the fly

  1. #1
    Just burned his ISO
    Join Date
    Dec 2006
    Posts
    17

    Default Intercepting and modifying packets on the fly

    Hi, I'm not sure if this kind of question goes against rules (I have no ill intentions but still) so if it is my apologies and you can delete it =)

    So I've been looking for a way to do this for a while, and haven't figured out the best approach yet.

    I want to view packets sent from a device and modify them before they're sent.

    For example instead of cheating in a psp game to get an highscore, I want to intercept that score and modify it when it's sent to the rank tables, or to map the commands an online iPhone game uses when talking to the server and change some stuff around.

    What's the best way to do this? I've bridged a wi-fi connection from my iPhone to my laptop with my laptop to my router via ethernet and used ethereal (wireshark) to view the conversation, then made a filter in ettercap to modify stuff.

    But to use ettercap I had to attack my own iPhone from the router to the laptop, and I feel this is an awkward way to do it.

    Is there something that would show me each packet before it's sent and allow me to edit it?

    Tips?

  2. #2
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default

    Quote Originally Posted by sak3r View Post
    Hi, I'm not sure if this kind of question goes against rules (I have no ill intentions but still) so if it is my apologies and you can delete it =)

    So I've been looking for a way to do this for a while, and haven't figured out the best approach yet.

    I want to view packets sent from a device and modify them before they're sent.

    For example instead of cheating in a psp game to get an highscore, I want to intercept that score and modify it when it's sent to the rank tables, or to map the commands an online iPhone game uses when talking to the server and change some stuff around.

    What's the best way to do this? I've bridged a wi-fi connection from my iPhone to my laptop with my laptop to my router via ethernet and used ethereal (wireshark) to view the conversation, then made a filter in ettercap to modify stuff.

    But to use ettercap I had to attack my own iPhone from the router to the laptop, and I feel this is an awkward way to do it.

    Is there something that would show me each packet before it's sent and allow me to edit it?

    Tips?
    Google "upsidedownternet". Should point you in the right direction.
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

  3. #3

  4. #4
    Member imported_blackfoot's Avatar
    Join Date
    Jun 2007
    Posts
    386

    Default tunnel

    You will need to create a tunnel and pipe your packets through the tunnel.

    You are presumably working with a program which automates the production o packets. You will need to pipe these into buffer and analyse them one-by-one.

    This is known as level 2 crafting.

    It is not trivial.

    You might gain experience by looking at proving your concept with scapy. This is a useful library to begin and will help you understand the procedure. You should then proceed to write a program in 'C'. Such a move will be necessary to modify packets in real-time as packet production will be rapid. Python will be too slow.

    You mention iPod. This suggests that you wish to consider wireless packet headers. That is additional fun! Certainly enjoyable and rewarding but experience and additional knowledge is required. I suggest you write a library of functions both cases.
    Lux sit

  5. #5
    Just burned his ISO
    Join Date
    Dec 2006
    Posts
    17

    Default

    yes it's an interesting project, and I'll probably end up doing that,,

Posting Permissions

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