SYN Requests & NMapWin

A safe place for newbies. You won't get flamed here, as long as you've put in some effort before posting (i.e: Google)...

SYN Requests & NMapWin

Postby Nacx » Wed Sep 18, 2002 9:35 am

I have read a tutorial about how to make a spoofed connection to another computer with SYN requests. How do I make SYN requests? and send ACK? Is there any program to do this?
Also I can't NMapWin to work with Windows XP(running XP by the way), i have ver. 1.3.0. Does anybody know of this problem, and have a solution?
-Nacx
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Wed Sep 18, 2002 10:28 am

you can create network connections in your favorite programming/scripting language. I usually do it using Python. A guy that used to work with us preferred to use VB. You will have to use some type of program that operates at the network layer. Most hackers will write their own in order to get a specific desired response by sending a predictable sequence.
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

Postby Nacx » Wed Sep 18, 2002 10:39 am

ok, I program a little so I know VB and Java. Is all I need to do, is try to make a socket connection? I've read it's impossible making raw socket connections with java, and I'm not able to find anything about raw socket connections in VB. Can I do that with python? I know a little about python too.
-Nacx
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Wed Sep 18, 2002 12:10 pm

python defintely will allow you to make a raw socket connection. I am pretty sure (not positive but close to it) that you can do same in VB.
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

Postby Nacx » Wed Sep 18, 2002 2:30 pm

ok, so a SYN Request is made when I try to make a simple socket connection to the target?
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Wed Sep 18, 2002 5:13 pm

SYN request is request for Synchonization. there is a syn ack sequence when a new connection is made
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

Yes, TCP three way handshake....

Postby chieftan » Thu Sep 19, 2002 7:52 am

Consists of the following:-


Host ----------SYN----------->Target

Host <--------SYN / ACK ----Target

Host-----------ACK----------->Target

Then, a reliable connection has been formed and data transfer can begin.
Note, that Windowing size must be agreed during this period.

Hope this added a bit more light on the subject.
chieftan
Network nirvana
 
Posts: 622
Joined: Tue Aug 27, 2002 9:43 am

Postby Nacx » Thu Sep 19, 2002 9:14 am

ok, I understand it in theory, but how do I do it in practice? Is there any program that can make a SYN Request, or what?
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

You could try the following....

Postby chieftan » Thu Sep 19, 2002 9:30 am

http://grc.com/oo/packetsniff.htm

The site above has packet sniffing software that allows you to subverse the original data held within the packet (IE - Ports on TCP and addresses on IP).

A word of warning - if you do not know Hex and TCP and IP like the back of your hand then DO NOT USE.

YOU HAVE BEEN WARNED.

Otherwise, good luck and enjoy.
chieftan
Network nirvana
 
Posts: 622
Joined: Tue Aug 27, 2002 9:43 am

You could also try.....

Postby chieftan » Thu Sep 19, 2002 10:13 am

http://www.packetstormsecurity.org

They have lots of different programs listed here, and a lot of them are open source so you can view how to build and compile your own program.
chieftan
Network nirvana
 
Posts: 622
Joined: Tue Aug 27, 2002 9:43 am

Postby Nacx » Thu Sep 19, 2002 10:21 am

hmm, I didn't think packet sniffers could make SYN Requests, I thought they were for packet sniffing...
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Thu Sep 19, 2002 10:30 am

like i said earlier, you should just write the prog yourself using a python or vb or java or whatever. now you know the theory, look up the syntax -- thats the beauty of the net bro
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

You are correct..... but....

Postby chieftan » Thu Sep 19, 2002 11:13 am

you have to know the layout of the packet ..... the programs themselves (if you read what Weazy said and I said) will show you the correct format for either:-

a: Changing original source code of a program to make it better.
b: Write your own program.

What I was trying to describe was to understand how it works and to be careful.

Perhaps I did'nt explain it correctly. Hopefully, this has cleared up any confusion.
chieftan
Network nirvana
 
Posts: 622
Joined: Tue Aug 27, 2002 9:43 am

raw sockets in Python

Postby weazy » Thu Sep 19, 2002 12:06 pm

User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

new question...

Postby Nacx » Thu Sep 19, 2002 1:05 pm

I don't think I need to flood with a new thread, so I'll post my little question here.
How do I get one of those shell accounts, at lockdown.ws?? Maybe I'm blind, but I can't seem to find a link about shell accounts.
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Thu Sep 19, 2002 10:50 pm

i think you may be blind -- check the first page
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

Postby Nacx » Fri Sep 20, 2002 8:42 am

yes at the bottom of the page I see some text that could like a link: apply for a lockdown account. But it's not a link, it's only text. And I checked the html code, and it looks like it's ment to be ordinary text.
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.

Postby weazy » Fri Sep 20, 2002 8:48 am

you are right. the site is mirrored

go here: http://67.32.140.254/
User avatar
weazy
Ex-Admin
 
Posts: 1688
Joined: Sun Jul 07, 2002 10:02 am
Location: any given

Postby Nacx » Fri Sep 20, 2002 12:34 pm

thanks
Nacx
Hacker in Training
 
Posts: 76
Joined: Wed Sep 18, 2002 8:45 am
Location: right here.


Return to Newbie Corner

Who is online

Users browsing this forum: No registered users and 0 guests