PDA

View Full Version : How to creating a syn packet? Please help.


JayanK
November 5th, 2009, 09:03 AM
Hi,

I am new to packet builder, I am trying to create a syn packet with the packet builder and it does not seem to work.

1. Add a new TCP packet.
2. Set the source IP.
3. Set the destination IP.
4. Set the source port.
5. Set the destination port.
6. Set the synchronize sequence flag to 1.
7. Send the packet.

All other values are default.

But on the destination PC, the port does not open or any packets come through on the sniffer.

Please help.

Thanks,
JK.

Stem
November 5th, 2009, 12:56 PM
Hi,

You will also need to add the source/ destination MAC address.

213514

You would find it easier to use a sniffer to capture an outbound connection (syn packet) from the PC, then save the capture and load it into the packet builder, then edit as needed


- Stem

allanon85
February 27th, 2010, 09:33 PM
I'm pretty new to this software and also have difficulty creating a TCP syn packet.

Can somebody kind enough to show the portion on how to set the synchronisation sequence flag correctly?

What I see on screen is shown here, whats the correct way to set this flag to 1?

Edit: pardon the crappy picture, my first time uploading stuff

Colasoft Support
March 10th, 2010, 09:34 PM
Dear all,

In packet builder, you can just click the field to type a new value.

We know TCP is 3-way handshake.

1st handshake is a SYN packet: we need to set "synchronize sequence" field as 1, (others keept 0).

2nd handshake is a ACK SYN packet: "Acknowledgment number" is set 1 and "synchronize sequence" 1.

3rd handshake is a ACK packet: only "Acknowledgment number" is set 1.