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
Weird Firewall scan results
EH-Net
May 20, 2013, 10:50:37 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
) >
Weird Firewall scan results
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Weird Firewall scan results (Read 6720 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
Offline
Posts: 1892
Weird Firewall scan results
«
on:
March 20, 2007, 02:16:57 PM »
Alright,
So I still haven't given up on getting this EnGarde Linux fully functional. I finally fixed my other issues and everything seems to be working correctly on the box itself. I decided to run an nmap scan on it from an external IP to see the results (expecting to see all ports closed). However, this is the list of open ports I received:
21, 25, 3389, 443, 80, 113, 22, 8080, 1720, 1352, 7070, and 139.
Now, my current firewall (iptables) rules are set to a drop policy on input, output and forward. The only accept rules I have in place are to allow me access from the IP doing the scan to SSH and the admin WebTool (1023) for the software. Why in the world is it reporting all of these other ports open? Anyone have any ideas?
Logged
plik
Newbie
Offline
Posts: 31
Re: Weird Firewall scan results
«
Reply #1 on:
March 20, 2007, 02:51:00 PM »
What version of nmap, on what OS?
and what type of scan were you running?
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Weird Firewall scan results
«
Reply #2 on:
March 20, 2007, 03:39:39 PM »
I'm running nmap v4, on XP Pro.
The ports I listed show open when doing both a stealth scan and a full connect scan.
I have a virtual EnGarde machine also. When I get home I'll try scanning that one to see what sort of results it produces. Just seems like strange results... or someone compromised my box pretty quick!
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Weird Firewall scan results
«
Reply #3 on:
March 20, 2007, 03:45:58 PM »
Suppose I should also mention the results of netstat....
Code:
[root@vapor venom]# netstat --inet -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:webtool *:* LISTEN
[root@vapor venom]#
Logged
plik
Newbie
Offline
Posts: 31
Re: Weird Firewall scan results
«
Reply #4 on:
March 20, 2007, 06:48:45 PM »
I've not heard of nmap having false positive issues with connect scans before. So I think we can assume you scanned *something* the lack of 1023 returning makes me think the scan never reached your box. Are you sure you scanned the right IP
Traceroute turn up anything interesting?
Can you actually reach ssh and webtool?
-stab in dark-
Because *something* has responded on those ports I'd say it was a routing/NAT issue. Do you have any windows boxes running IIS and mail on site?
-/stab in dark-
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Weird Firewall scan results
«
Reply #5 on:
March 20, 2007, 07:03:34 PM »
The connect scan did return port 1023. I'm not sure why the stealth scan did not. Haha, yeah, I'm sure I scanned the right IP.. and yes I can reach SSH and the WebTool with no problems.
A traceroute from outside goes from the gateway to my firewall and then the firewall reply continues. So that's what? A proxy? I wonder if those scan results are reflective from something my ISP has setup in front of my firewall.
The only box with services I have (which isn't even running at the moment, nor are the firewall rules setup for it) is an all-in-one linux web server. But those rules aren't active as I've only enabled the SSH/WebTool rules.
Logged
plik
Newbie
Offline
Posts: 31
Re: Weird Firewall scan results
«
Reply #6 on:
March 20, 2007, 07:10:31 PM »
Quote from: venom77 on March 20, 2007, 07:03:34 PM
I wonder if those scan results are reflective from something my ISP has setup in front of my firewall.
I pondered this too, but couldn't work out why you'd want to do the full handshake for services that aren't there. And why those ports?
If you can connect that's my NAT idea down the drain!
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Weird Firewall scan results
«
Reply #7 on:
March 20, 2007, 07:34:01 PM »
Yeah, that's the only thing that makes any sense of it
Logged
mn_kthompson
Jr. Member
Offline
Posts: 58
Re: Weird Firewall scan results
«
Reply #8 on:
March 21, 2007, 08:52:14 AM »
Perhaps the ISP has put in proxies to prevent people from running servers out of their house. It wouldn't be the first time that they have used dirty tricks to try and stop people from running a website or FTP site on their home connection.
I'm not sure what your set up is, but if you were to disconnect your firewall from your ISP and then use a crossover cable to connect your scanning machine to the external interface on your firewall then you could scan the firewall and be certain that no interference from your ISP is skewing your results.
You could also try to telnet to some of those ports and see what server is answering, if it isn't your stuff then you know that there are shenanigans being pulled at the ISP level.
Logged
oleDB
Recruiters
Full Member
Offline
Posts: 236
Re: Weird Firewall scan results
«
Reply #9 on:
March 21, 2007, 08:56:15 AM »
I doubt that its your ISP, because that would be just wrong. I've had both Time Warner Cable and AT&T DSL and have never seen that.
Try disconnecting your Engarde Linux box and doing the scan. If the results comeback the same, you've at least isolated it to a network issue and not your linux box. If it comes back with the same type of results, is it possible you have some port forwarding going on to other natted IPs?
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Weird Firewall scan results
«
Reply #10 on:
March 21, 2007, 09:43:57 AM »
Thanks for the suggestions guys.
I know that the ISP doesn't have anything in place to stop me from running servers. I specifically have static IP addresses so that I can do so. I have also been able to access the web server with no problems when the rules are in place.
I'll try the ideas though, probably starting with trying to telnet to those ports and see what happens. When I get home again tonight I'll try connecting via crossover to my external interface to scan the firewall.
There shouldn't be any other rules in place, as I have flushed everything, created drop all policies, and only added the 4 specific rules for inbound/outbound to allow SSH/WebTool access.
Thanks again for the ideas, I'll keep you guys updated as to what I find out.
Logged
Pages: [
1
]
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
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(91) by
r0ckm4n
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
Tutorials
: Need guidance
(8) by
r0ckm4n
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
General Certification
: CPT Practical Submission
(0) by
z28power4u
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
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) 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.