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 40 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 25, 2013, 03:41:19 AM
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 12464 times)
0 Members and 1 Guest are viewing this topic.
hayabusa
Hero Member
Offline
Posts: 1633
Re: Router and Firewall questions
«
Reply #15 on:
May 01, 2010, 01:46:39 PM »
Depends... if you're coming from the outside (public internet) to your internal network, then you'll need to find a port or service forwarded through the router, to an internal machine, to attack, or find some way to get access through a host on the inside. Malicious email / website to push code down, or deceive user into running some shellcode or something with a reverse shell, etc. ARP redirection will only be applicable on the same network / subnet, not to fully bypass a router from the outside, in.
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 #16 on:
May 01, 2010, 03:01:43 PM »
ok so i understand now how to do the mitm attacks with the arp poisioning but lets say i have a router ip address of 74.xxx.xxx.xxx ok how would i see the other computers within that network. Using nmap to scan shows filtered for the router. Now i can successfully do this within my own network IE connected to my router do mitm router to my desktop ie target 1 192.168.1.1 target 2 192.168.1.102 but to do this remotely i'm still lost?
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Router and Firewall questions
«
Reply #17 on:
May 01, 2010, 03:29:48 PM »
OK, again, if your router ports aren't being forwarded through (as I'd mentioned in my previous response) you won't be able to 'see into the internal network, behind the router,' via an nmap scan or the like. All you can do is work with ports that DO get through (aren't being filtered) or you're going to have to try to be manipulative and accomplish some sort of client-side exploit, via webpage / email / whatever, and gain reverse shell access to a machine that IS behind the firewall.
Basically, if NO ports and services are being allowed past the router / firewall, then there ARE no exploits that'll gain you access (which seems to be the direction you're WANTING to go,) further than the public interface of the router or firewall, unless you gain access via a client-side exploit. You could TRY to firewalk past the firewall / router (manipulate packets' time-to-live to try to enumerate hosts behind it,) but if all of the ports are being filtered AT the router, than you won't get any further via that method, either.
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 #18 on:
May 01, 2010, 04:00:54 PM »
sorry about that i didn't see the first one so more or less if i filter the ports there is no way in no matter what the only way would be client side exploit like you stated there is no way to essentially fool the firewall on the router to let me pass unless a port is forwarded correct? Does this include packet sniffing even tho i may not be able to open a shell but could i remotely packet sniff on that router remotely if all ports are filtered?
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Router and Firewall questions
«
Reply #19 on:
May 01, 2010, 10:05:18 PM »
Your only other options would be if you somehow accessed any configured remote management on the router, or found some sort of exploit for said router, that gave you the ability to reconfigure it, etc. But otherwise, that'd be correct.
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
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Router and Firewall questions
«
Reply #20 on:
May 02, 2010, 02:01:50 AM »
Quote
Does this include packet sniffing even tho i may not be able to open a shell but could i remotely packet sniff on that router remotely if all ports are filtered?
Sniffing only works if you're on the same network as the machines whose data you want to sniff.
Could you be more clear?
Logged
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #21 on:
May 02, 2010, 11:30:27 AM »
Is there a way to guess what type of router it is nmap -A doesn't work since all ports are filtered. What steps could be taken to more or less enumerate the router itself instead of the computers behind?
Logged
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #22 on:
May 02, 2010, 11:43:49 AM »
To me at least and i could be wrong but that just seems to easy. Like all I have to do is filter every port on the router and there's no connection allowed to it and essentially makes my network impenetrable. Like i said that just seems way to easy to me.
Logged
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Router and Firewall questions
«
Reply #23 on:
May 02, 2010, 11:54:54 AM »
Are you running some remote management service on the router, like telnet ot perhaps SNMP? Someone could connect to them and try to enumerate it.
You can also try using p0f , however, I'm not sure if it can detect type of router.
However, since you're using a NAT configuration, you aren't scanning any of your systems. Instead your nmap scan shows the result of router ports. Unless you're forwarding some port from your router to any of your system you shouldn't worry about someone compromising your system from the outside. There are, however, other methods to bypass your router. Someone could try a social engineering attack against you and try to take advantage of client side exploits to launch a reverse shell back to attacker or install a malware to get hold of your password and other data.
«
Last Edit: May 16, 2010, 12:42:07 AM by Equix3n-
»
Logged
dasecretzofwar
Newbie
Offline
Posts: 10
Re: Router and Firewall questions
«
Reply #24 on:
May 02, 2010, 02:34:57 PM »
p0f only works if your on the network doesn't work remotely correct?
Logged
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Router and Firewall questions
«
Reply #25 on:
May 03, 2010, 08:25:32 AM »
p0f works for remote systems too. It sniffs the packets coming from the remote host to your system and based on the header fields tries to discern the OS type.
However, I don't think it has signatures to detect router type.
Have you tried using fragmentation? Most of the firewalls now are not easily fooled by it but you can still try. Also, note that an attacker need not try to compromise your system from the outside. He could gain access to your systems by other methods such as malwares and make a reverse connection (Netcat, anyone?) to him. Or he could exploit a browser vulnerability and gain access through it. All these methods are used to bypass the firewalls.
Protection by firewall is a combination of properly configuring it and using good ACLs. Attackers test you ACL while trying to bypass your firewall. Also like I earlier pointed out, make sure that you don't use remote management like telnet on your router. Normally you don't need it for a home network.
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
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.