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 37 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
EnGarde Secure Linux
EH-Net
May 20, 2013, 11:28:59 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
) >
EnGarde Secure Linux
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: EnGarde Secure Linux (Read 5226 times)
0 Members and 1 Guest are viewing this topic.
eth3real
Sr. Member
Offline
Posts: 309
EnGarde Secure Linux
«
on:
March 26, 2008, 11:31:51 PM »
I set up my home server with EnGarde Secure Linux. I set up an SSH server on it, and I was curious about the results of an Nmap scan on this server.
Code:
#sudo nmap -sV -p22 server
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-27 00:18 EDT
Interesting ports on server:
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 4.7 (protocol 1.99)
Nmap finished: 1 IP address (1 host up) scanned in 0.827 seconds
Now, I have seen SSH servers that are configured to use protocol 1.0, which is vulnerable to the CRC-32 vulnerability...
I have also seen SSH servers that are configured to use protocol 2.0.
But, I haven't seen SSH 1.99.
It accepts connections from both protocols.
Any thoughts? Is this something that I should be concerned about, or is it safe?
Logged
Put that in your pipe and grep it!
EmanoN
Newbie
Offline
Posts: 41
Re: EnGarde Secure Linux
«
Reply #1 on:
March 27, 2008, 09:35:18 PM »
Your question is if this is secure? Well, first of all your nmap scan was to limited since you were just looking for –p 22, but I assume you did this way knowing that was the only service running on your server and just wanted to display your results. A true scan will include all 65535 tcp and upd ports and it should be done remotely so a rootkit can’t mess with the accuracy of your output. It seems like you did the right thing by checking available exploits for the service. So you didn’t find any published exploits for that service does that mean you are safe? No, you are not 100% safe. Just because someone can’t find a published exploit or it’s not in the beloved script kiddie tool metasploit doesn’t mean one doesn’t exist. Remember there are exploits being developed by sophisticated hackers in the underground that the “ethical” community is not aware of. On the other hand the exploits usually developed by the white hat community are usually revealed quickly because the developer is so eager to get his 10 seconds of glory in the security field. Not always, and sometimes they let the vender know ahead of time so they can make a patch. Those kind of exploits have value for about a month, if even that, then they are only good for low hanging fruit that never gets patched.
Now that doesn’t mean you need to stay up late at night worrying because if your server is low profile, more than likely you wont get attacked by such an attack, because unknown exploits are developed and traded by a small group of “leet” hackers and not the huge sea of script kiddies that seem to be getting larger out there even as I type. Hackers of a high caliber usually have bigger fish to fry. That’s not to say one wouldnt want to use your server to launch a more important attack from. Ok so what can you do? Well, you still need to configure firewall well and also make sure your IDS has the latest rules. Harden your OS so that a buffer overflow is difficult to occur even with a vulnerable service. There are some decent apps out there for this. At this point you will be 99% secure because if you are a low value target, no hacker is going to waste a lot time trying to own you just to make you into a zombie when there are so many easier targets out there. Hey 99% is good odds!
Logged
eth3real
Sr. Member
Offline
Posts: 309
Re: EnGarde Secure Linux
«
Reply #2 on:
March 27, 2008, 10:07:31 PM »
Thanks for the reply! I suppose I should have been a bit more specific.
The Nmap scan was done remotely, and I did start with a full scan, but I was only curious about the results of the SSH server.
I know that nothing is really ever 100% secure, but I was really only talking about known exploits, not zero-day exploits, or vulnerabilities that are not yet public or not yet known.
To make it very clear:
Has anyone seen a result of Protocol 1.99 for an SSH server?
Of course, I am not really worried about someone targeting my home servers specifically, I know that is highly improbable.
I was really just asking because digital security is becoming a huge hobby for me.
On a side note, almost immediately after posting that, I changed the ssh_config file to only allow protocol 2.0.
Logged
Put that in your pipe and grep it!
EmanoN
Newbie
Offline
Posts: 41
Re: EnGarde Secure Linux
«
Reply #3 on:
March 28, 2008, 12:27:33 AM »
Quote from: eth3real on March 26, 2008, 11:31:51 PM
Any thoughts? Is this something that I should be concerned about, or is it safe?
I have found that 1.99 is hackable in certain environments. Its good you disallowed it.
Logged
shawal
Jr. Member
Offline
Posts: 88
Re: EnGarde Secure Linux
«
Reply #4 on:
March 28, 2008, 02:09:03 AM »
Eth3real,
you would expect the default configuration of EnGarde Linux to be at least secure enough! unless it is out of date, no updates or best operating procedures applied.
on the other hand we need to be careful, when it comes to exploits they are in general are targeting certain ssh release versions, when it comes to ssh protocols ssh-1 is weaker, and could be explited by MITM attacks, while ssh-2 there is no know MITM publicly available yet. nmap reproting the protocol as 1.99 is basicaly telling you what you have found already, that you have both ssh-2, and ssh-1 enabled, and worst you have drop back to ssh-1 enabled if the other side cann't use ssh-2.
EmanoN,
nice description about the blackhat/whitehat exploits process
however what kind of risks you saw in 1.99?
Logged
RHCE, GIAC GCIH.
BillV
Hero Member
Offline
Posts: 1892
Re: EnGarde Secure Linux
«
Reply #5 on:
March 28, 2008, 07:41:37 AM »
Nice catch, eth3real. I guess I never noticed that in the past few years I've been using EnGarde. I don't have SSH open on the external side, so something like this wouldn't show up in any scans. Thanks for posting that.
Logged
dean
Guest
Re: EnGarde Secure Linux
«
Reply #6 on:
March 28, 2008, 08:50:38 AM »
As shawal said, when the protocol is displayed as 1.99 all this means is that you are running 2.0 with drop back to 1.x enabled. In most current implementations this is v1.5.
So at this point you'd be vulnerable to the CRC32 Compensation Attack Detector vulnerability/exploit in the 1.x protocols.
Enamon, are you referring to attacks that take advantage of SSH 2.0 implementations configured to drop back or are you referring to attacks against the SSH 2.0 protocol itself. If so I would be curious to hear more details.
A quick search of the OSVDB revealed some DoS but no remote exploits then again I just glanced at it and may be wrong.
http://osvdb.org/search?request=ssh
dean
Logged
eth3real
Sr. Member
Offline
Posts: 309
Re: EnGarde Secure Linux
«
Reply #7 on:
March 28, 2008, 01:31:06 PM »
Thanks for the great replies!
I'm glad I helped other people realize that EnGarde Secure Linux will use SSH 2.0 and fallback to SSH 1.0 by default.
Logged
Put that in your pipe and grep it!
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
(94) by
azmatt
Programming
: Finished Python Course in Codecademy now what?
(11) by
securitian
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.