Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 27 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Router and Firewall questions
EH-Net
May 22, 2013, 12:07:26 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Router and Firewall questions
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Router and Firewall questions (Read 12447 times)
0 Members and 1 Guest are viewing this topic.
dasecretzofwar
Newbie
Offline
Posts: 10
Router and Firewall questions
«
on:
April 21, 2010, 04:19:21 PM »
I was trying to figure out at my house here i have 3 different computers hooked up with different flavors of linux as well as windows and different vm's within those I am trying to more or less set up my own network and then seeing if the different firewalls and what not i have set up work. I have a router obviously for this and am not forwarding any ports to any computer so when i use nmap everything is stuck in filtering for all the ports per the router firewall. Which is normal i want it to be as realistic as possible but i can't seem to get past the router to my actual machine itself. So my question is how to proceed from there. If anyone could point me in the right direction i would greatly appreciate it.
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Router and Firewall questions
«
Reply #1 on:
April 21, 2010, 04:31:27 PM »
What is it you're trying to accomplish?
If your router (NAT device/firewall) does not forward traffic, then you can't get beyond it to your network.
Typically the border device (router or firewall) forwards traffic it receives per its ruleset to the correct internal server.
Logged
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: Router and Firewall questions
«
Reply #2 on:
April 21, 2010, 04:38:21 PM »
Is this all internal or are you trying to get through your router from the internet?
You're not going to be able to do a great deal without having anything available.
Does the router have any known vulnerabilities?
You might be able to do an ack scan, but those should be stopped by a stateful firewall.
You could also experiment with client-side attacks (as if a user opened a malicious web site, email, PDF, etc.).
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
j0rDy
Hero Member
Offline
Posts: 590
Re: Router and Firewall questions
«
Reply #3 on:
April 22, 2010, 04:33:53 AM »
i must say that your post isnt really clear. Are you trying to scan through the internal network or through the internet? if you cant see any ports your firewall does its work good. you must open them to connect to the other system. remember that there has to be a service behind it also!
Logged
ISC2 Associate, CEH, ECSA, OSCP, OSWP
earning my stripes appears to be a road i must travel alone...with a little help of EH.net
unsupported
Sr. Member
Offline
Posts: 318
Unofficial Newbie Moderator
Re: Router and Firewall questions
«
Reply #4 on:
April 22, 2010, 09:05:48 AM »
As stated, your router is blocking the traffic. If you want to test the security of each of the different distributions you may want to invest a few bucks on a cheap 10/100 hub. A router will only send traffic out to specific ports, unless you flood it and make it fail back to be a hub, or you use ARP spoofing, or any number of other tricks. But if you are just doing it for testing, then get a hub which sends traffic to all ports, regardless of which computer it is destined for.
Logged
-Un
CISSP, GCIH, GCIA, C|EH, Sec+, Net+, MCP
JollyJokker
Guest
Re: Router and Firewall questions
«
Reply #5 on:
April 26, 2010, 09:10:47 AM »
@unsupported
you mentioned that one could flood a router or do ARP poisoning in order to capture the traffic. But doesn't a router operate in Layer-3? As far as I am concerned a router is not affected by such an attack?
or am I wrong?
Logged
chrisj
Hero Member
Offline
Posts: 1163
Re: Router and Firewall questions
«
Reply #6 on:
April 26, 2010, 12:58:14 PM »
@JollyJokker
A lot of the routers out there now days have switches built into them, and there layer 2/3 devices. I know of a couple of places using Cisco layer 2/3 devices as their edge routers, and connecting servers or other switches off of them at the same time.
Haven't tried arp poisoning something like that yet (don't have any in my labs), but would be interested in seeing what happens.
Logged
OSWP, Sec+
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #7 on:
April 30, 2010, 02:52:24 PM »
i'm scanning through the internet remote computer so for instance i'm on my laptop going into my router i have a dyndns account set up so it's straight through i'm not forwarding any ports and nmap reads the following:
PORT STATE SERVICE VERSION
21/tcp filtered ftp
22/tcp filtered ssh
53/tcp filtered domain
80/tcp filtered http
110/tcp filtered pop3
139/tcp filtered netbios-ssn
143/tcp filtered imap
443/tcp filtered https
so everything is filtered at the router itself is there anyway through that or would you say it's pretty secure?
Logged
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #8 on:
April 30, 2010, 03:30:19 PM »
also the ARP poisioning i understand most of it but more or less what is happening with the router i know the dhcp service is going to submit an ip address to the router based upon the router's mac address. And then the router essentially is the new dhcp server for the local network. But essentially is the ARP poisioning doing?
Logged
hayabusa
Hero Member
Offline
Posts: 1632
Re: Router and Firewall questions
«
Reply #9 on:
April 30, 2010, 08:32:40 PM »
In a rather generic nutshell -
ARP poisoning basically tricks devices on the network into associating an IP address from a valid host (or router) to another host or router, by propagating the secondary device's MAC address into the ARP tables.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Ketchup
Hero Member
Offline
Posts: 1021
Re: Router and Firewall questions
«
Reply #10 on:
April 30, 2010, 10:35:00 PM »
It's not really a DHCP attack. ARP poisoning basically tells the victim, "Forget what you know about your default gateway (router). I am your default gateway. Send all your traffic to me." You don't need DHCP on the network to accomplish this. Once the victim believes that the attacker's MAC address belongs to the default gateway (router), he will send all Internet bound traffic to the attacker. The attacker will sniff the traffic and forward it to the actual router. This is why it is called a man-in-the-middle attack.
Logged
~~~~~~~~~~~~~~
Ketchup
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #11 on:
May 01, 2010, 09:16:12 AM »
ok so I get that now and the man in the middle attack and sniffing the data. But what i'm trying to figure out is ok so we have this router I use ettercap or whatever tool to do the arp poisoning and route the packets through my computer first and then to the router so i see the packets all in pretty much hex and really doesn't make much sense i can read and binary but not sure what i'm looking at with the sniffing here but then how from there how would i select the specific computer and ultimately get a shell on it which is my ultimate goal to learn to do? Like I said i'm kinda new to this and more of a hands on type of learner which is why i set the network up in my house like this and pretty much closed everything to see if what i read in several books and what not i could put to actual use and then go from there to secure it more and then try to break it again LOL.
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Router and Firewall questions
«
Reply #12 on:
May 01, 2010, 09:20:38 AM »
You should Google a few sniffing articles so that you understand what kind of data goes over the wire. There are many ways to compromise your victim once you are able to sniff traffic. Think about how many protocols send authentication data in plain-text. Think about all the web attacks, XSS, particularly. You should take a look at tools like dsniff and BeEF.
Logged
~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
Offline
Posts: 1632
Re: Router and Firewall questions
«
Reply #13 on:
May 01, 2010, 09:23:50 AM »
It depends on what the data is, that you sniff. You can read the ascii text in packets, so if you happen to be sniffing, for example, traffic going to an html login page that isn't ssl encrypted, you might see plaintext passwords, and the like. You might also see, as Ketchup noted, a relevant filename, xss vulnerabilities, or exploitable php script being accessed, etc. Consequently, you might see other ports and services show up in the trace, that you weren't aware of, that are open on the server being queried, so you can then banner grab or research and target attacks that are relevant to the services running on those ports. This is all a learning process, and there are often times, when I'm scanning in this fashion, that I spot new services and ports that I wasn't previously aware of (new stuff, yay!) and I can learn what those services are, and how to exploit them.
It's a process, but one worth learning, as, even if you DON'T pursue security, in the end, you will have a much better knowledge of what goes on within the network in question.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #14 on:
May 01, 2010, 01:07:30 PM »
OK I will definitely look into the sniffing portion but how do i still get around this router?
Logged
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.