Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 64 guests and 3 members online
 
Free Business and Tech Magazines and eBooks

You are here: Home
EH-Net
May 22, 2013, 04:27:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
  Home Help Calendar Login Register  
  Show Posts
Pages: [1] 2 3 4
1  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Bypassing / Defeating Commercial Grade Firewalls on: January 08, 2013, 10:42:55 AM
It helps to learn about and study the system before trying to defeat it rather than just following instructions with little background/knowledge which will get you no where when dealing with different scenarios, try read some books on firewalls, maybe this is a good start:

http://www.amazon.co.uk/Firewalls-Internet-Security-Addison-Wesley-Professional/dp/020163466X/ref=sr_1_7?s=books&ie=UTF8&qid=1357663320&sr=1-7

2  Resources / Tutorials / Re: free cambridge certificates!!! on: December 26, 2012, 08:27:25 PM
What SecurityMonkey meant is that the HR won't appreciate them, so in other words, the won't get you a job or anything.
3  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Online Pentest Lab on: December 13, 2012, 04:03:22 PM
Great stuff on Hack.me, don sounds cool  Grin
4  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Port Scanner ideas? on: December 12, 2012, 11:53:01 AM
Hi ZeroOne,

Hi H1t M0nk3y,

I am using Java for this task, first I didn't know that Java does not have access to the IP layer (the lowest it can get is to Transport Layer), so I did some research and found out about the pcap library. The job was easier after I found out that the JPCAP library exists (not the one on sourceforge), which uses the WinPcap/LibPcap libraries, wraps them up from C to Java including the important functions of pcap such as reading/sending packets, it is actually written for sniffing the network but since it can send packets I am using it to scan ports, I have figured out how to send a packet with controlling flags, also read the flags set in the responding packet form the target also I have a full control of all the headers (introducing spoofing), supporting different protocols (TCP/UDP/ICMP/ARP), I am aware of what happens in the back end when sniffing the packet as Tcpdump provides a very well written document for that (at the kernel space and user space), only not fully aware on how the sending part occur as there is no documents for that. The challenging part is multi-threading (at least for me), imagine the control of threads when the users scans 1000 or 60000 ports, struggling with this, also when the user enters multiple hosts, so its like creating multiple threads of threads.

I am doing this for educational purposes and also provide some functions that are not in other scanners such as schedulers that Maxe suggested and some others, my program isn't strong enough yet (it can't detect the OS) this is a whole topic by itself and requires a lot of researches, really just trying to make it decent/simple at first then will add more complex features such as idle scanning/OS fingerprinting.. and yes it is CHALLENGING!

How about you what languages do you use for this?

Thanks,
5  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Port Scanner ideas? on: December 11, 2012, 04:58:08 PM
I was actually speaking of doing this in object oriented programming, this isn't an issue in nmap I know but it is for me, now you got me into thinking of actually doing it, it introduces a lot of multi-threading control but your post was just a reminder for me on how important it is. keep them coming  Grin
6  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Port Scanner ideas? on: December 11, 2012, 02:44:43 PM
scan multiple host through command line??


This could slow down the process of scanning as the network interface buffer could get overloaded if the user scans loads of multiple hosts. also can introduce multi-threading risks. thanks for trying though  Wink
7  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Port Scanner ideas? on: December 11, 2012, 02:02:40 PM
MaXe, excellent idea Smiley thanks
8  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Port Scanner ideas? on: December 10, 2012, 04:36:54 PM
Hi,

From all the port scanners you have been using, is there a function that you always find missing? I am trying to come up with new ideas for a port scanner, like a cool/powerful feature. Any ideas I'm kind of stuck Huh (It can be anything from GUI to command-line)

Thanks Smiley
9  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: TCP/UDP scanning questions! on: December 04, 2012, 03:37:24 PM
ajohnson, exactly, its just that when dealing with raw sockets.. you can mess things up badly (at least at your side).
10  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: TCP/UDP scanning questions! on: December 04, 2012, 03:34:03 PM
superkojiman, thanks again, apart from what you said I also compared those scans:

nmap -sT scanme.nmap.org -p22:
22/tcp open   ssh

nmap -sU scanme.nmap.org -p22:
22/udp closed ssh

Its just sending UDP packets to all 1000 ports and checking for UDP services, I though that I had to filter all the TCP port numbers out when performing UDP scanning (programming wise). But that’s not efficient anyway since the application can be set to listen on any port and that UDP won't connect to a TCP, this make a lot more sense now.

Thanks,
11  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: TCP/UDP scanning questions! on: December 04, 2012, 02:33:52 PM
superkojiman, thanks very much for this information, I don't understand why Fyodor set it like this. I am programming a port scanner and I want to know what are the action made when a UDP packet is sent to a TCP port to check the state of the port (open/closed). In reality what happens if a UDP frame is sent to a TCP port? I am trying to research on this topic, all I get is the difference between TCP and UDP which isn't a mystery.

Thanks alot.
12  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / TCP/UDP scanning questions! on: December 04, 2012, 12:04:14 PM
Hi all,

When you scan a host using Nmap without specifying ports, by default it scans 1000 TCP ports, or 1000 UDP ports if you specifically ask Nmap to scan UDP ports (-sU). As far as I am concerned UDP ports are less than TCP ports. What is Nmap actually doing? There is a conflict here, for example port 20 (FTP) is a TCP port, when sending a UDP packet to a TCP port for example "nmap -sU scanme.nmap.org -p 20", Nmap output is:

20/udp closed ftp-data

What? 20 is TCP how did this happen, how did it read the status of the port when the port is TCP and not UDP. Another questions, Nmap states that UDP and TCP cannot be sent together, so when performing a stealth scan (-sS), does this means that it is performing a half-open connection scan only on TCP ports?

Thanks
13  Ethical Hacking Discussions and Related Certifications / Network Pen Testing / TCP/IP kernel stack bypassing on: November 04, 2012, 09:14:02 PM
Hi forum,

I am trying to write a port scanner using JPCAP library in Java, the thing is and before I go deeper into coding. I wanted to do some research on how can a programmer handle the packet instead of the tcp/ip stack on kernel. I mean I can just write the program without knowing what is happening at the back end which is not satisfying for me. I am a little confused about this topic. As far as I know is that kernel is responsible for building, sending and receiving a packet, but a programmer can bypass the kernel packet's handling and take control of sending/modifying packets.
So for instance when I write a program that can access the IP layer, with the ability of building up the packet + modifying it and what not. This just means that my program did bypass the kernel.. how does that happen?
Can someone guide me or mention a good recourse on this.

Note: I know how to write a program that can craft a packet I just need to do some researches on what happens at the back-end.
FYI: JPCAP is a library based on libpcap/winpcap

Thanks
14  Ethical Hacking Discussions and Related Certifications / Programming / Re: First shell script... COMPLETE. on: October 01, 2012, 05:43:32 PM
Ops.. forget what I said apparently blanked out & got the whole thing wrong. I need some rest. Thanks hayabusa for embarrassing me. just joking  Grin
15  Ethical Hacking Discussions and Related Certifications / Programming / Re: First shell script... COMPLETE. on: October 01, 2012, 05:30:22 PM
You might wanna change "namp" to "nmap", also the gateway isn't always 192.168.1.0, the script is good over all, but try replace 192.168.1.0 with localhost so you don't have to change it every time when using different networks. Just like this:

nmap -sP localhost/24 > /pentest/results/scans/pingscan.txt && echo scan complete.

Thanks for sharing  Smiley
Pages: [1] 2 3 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.07 seconds with 21 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.