How To Make Stealth Scan


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How To Make Stealth Scan
# 1  
Old 08-04-2006
Error How To Make Stealth Scan

hi all
can anybdy plz tell me how to make a stealth port scan in unix c.
if i want to send *just* ack/fin etc how do i send?
using libnet or what?

thankx
# 2  
Old 08-04-2006
If I understand you correctly, you'd have to use raw sockets.

My advice would be, don't, for a couple reasons.
  • A "Port Scanner" isn't exactly the kind of program that will make the birds sing and the world a greener place. Spyware sucks. Please don't do it.
  • You won't be able to run this awful contraption without root.
  • Using bits and pieces of protocols without using the whole thing doesn't sound particularly reliable anyway.
Plus, my understanding of the TCP/IP protocol at this level might be incorrect. Maybye you can't use ports at all if all you've got is syn and ack.

p.s. It's spelled "please". You obviously know how to spell it, and I'm pretty sure you've got at least the minimum 104 keys required.
# 3  
Old 08-04-2006
here

To complete stealth port scan use nmap command. If it is lacking in a system you can download one.

Please have in mind:
1. All the scans are discoverable if IDS (intrusion detection system) is present.
2. On working servers half opened connections may cause severe network latency that may result in money loss
3. You read the consequences as they will be SEVERE.
4. If you scan in really quality environment the only thing you will "discover" is honey pots.

Hope it helps.
# 4  
Old 08-04-2006
Error plz i want programming logic!

thankx for replying.
but i want programming logic!. iwant to know *exactly how* to *code* and send a syn/ack,how to set individuals flags and send them!

i am not upto hacking or sumthing like that. i am making a study project on it and i wanted sum details thats it!
thank u again
# 5  
Old 08-04-2006
here

start with

man tcp
man ip or man ipv4 or man ip4 (depending on the system)

if you want to see an actual examples get nmap sources (it is GNU) and learn from the real project.
# 6  
Old 08-04-2006
Data i dont think i can understand those sourcecode?

i dont htink i can understand those sourcecode!i ma just a newbie.
all i can say if someone could please tell me the name of the function(s) that builds that kind of packets.a link to some source/site (or better if function names etc.) cud help me a lot!

thank you
ambar
# 7  
Old 08-04-2006
Why are you guys explaining how to do a (pseudo) stealth port scan, anyway?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to scan the disks and make file system

Hi What I'm trying to do(manually) is logging into the server and running the below mentioned commands ls /sys/class/scsi_device/ | while read i; do echo "- - -" > /sys/class/scsi_device/$i/device/rescan;done lsblk echo -e "o\nn\np\n1\n\n\nw" | fdisk /dev/sdd partx -a /dev/sdd1... (7 Replies)
Discussion started by: James0806
7 Replies

2. UNIX for Dummies Questions & Answers

best way to scan?

i want to scan all open and closed ports on a server. how can i do this. i intend on using nmap, but if there are better ways to do it, please let me know. i understand there are a total of 6335 allowable ports on a server. so out of that 6335, i want to know which is open or closed. id... (1 Reply)
Discussion started by: SkySmart
1 Replies

3. Programming

Issue with make, no rule to make target etc.

I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk, trunk/bld trunk/src/ trunk/src/src_server trunk/makefile.linux In the make file, I have compile rules SOURCELOC = src # compile src c++... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

4. Cybersecurity

"Stealth up" port 80

ipables - stealth port 80 This is how I did set up my iptables. It's basic, easy and simple, but it suits my needs. iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT ... (6 Replies)
Discussion started by: wiluni
6 Replies

5. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

6. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

7. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

8. UNIX for Dummies Questions & Answers

IP Name scan

Hi. how to search a range of IP:s for their registed IP names? Like nslookup or host for all IPs 130.xxx.xxx.1 to 130.xxx.xxx.254 //nicke (2 Replies)
Discussion started by: nicke30
2 Replies
Login or Register to Ask a Question