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 48 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Other
Port 22 (SSH) Outbound Question
EH-Net
May 23, 2013, 09:14:34 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
>
Other
(Moderator:
don
) >
Port 22 (SSH) Outbound Question
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Port 22 (SSH) Outbound Question (Read 5791 times)
0 Members and 1 Guest are viewing this topic.
Dengar13
Sr. Member
Offline
Posts: 380
Port 22 (SSH) Outbound Question
«
on:
April 29, 2010, 02:55:34 PM »
Hello all:
I am trying to think of any concerns I might have allowing this port outbound. We are trying to stay within HIPAA compliance and have this particular server in our HIPAA DMZ. We only want to allow SSH outbound and will most likely lock it down to a specific IP address range(s).
I don't think this should or will be a concern, but I wanted to get your collective thoughts and think of anything evil that could crop up and I know you all won't let me down on that.
Thanks all in advance!
Logged
A+, Net+, MCP, CEH
MCSE: Security/Messaging
MCSA: Security/Messaging
Former U.S. Marine and damn proud of it!
ziggy_567
Sr. Member
Offline
Posts: 361
Re: Port 22 (SSH) Outbound Question
«
Reply #1 on:
April 29, 2010, 03:02:21 PM »
As with anything you allow out of your firewall, you are opening a possible covert channel. Just because port 22 is usually SSH, doesn't mean that it has to be. I don't believe this would be a huge concern, though. Most automated malware is going to use port 80 or 53 for C2 which is probably open out as well.
If you are opening port 22 out for only specific IPs, as long as there is a valid business need for that hole, I'd say your taking the necessary precautions. If only one IP needed it and you just opened the firewall for that port completely out of convenience, then I'd say you might want to reconsider.
Logged
--
Ziggy
eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
Ketchup
Hero Member
Offline
Posts: 1021
Re: Port 22 (SSH) Outbound Question
«
Reply #2 on:
April 29, 2010, 04:16:58 PM »
SSH supports tunneling. With tunneling you can bypass many of your firewall filters, web proxies, content filtering engines, etc. This is especially true because SSH traffic is encrypted. I usually recommend restricting outbound SSH to just a few trusted individuals.
Logged
~~~~~~~~~~~~~~
Ketchup
sachitre
Newbie
Offline
Posts: 22
Re: Port 22 (SSH) Outbound Question
«
Reply #3 on:
April 29, 2010, 08:28:14 PM »
As others have pointed out keeping outbound access to well known IP addresses is the way to go. Here is a nice link showing use of openssh for tunneling.
http://packetheader.blogspot.com/2009/01/installing-openssh-on-windows-via.html
One thing to keep in mind is this applies to all ports and not just SSH since you could change the SSH port from the default 22 to whichever outbound port is open.
Logged
CISSP, GPEN, CCNA
What90
Full Member
Offline
Posts: 120
Re: Port 22 (SSH) Outbound Question
«
Reply #4 on:
April 29, 2010, 10:59:19 PM »
If you lock SSH down to the server making the connection to only a defined and audited list of servers, that satisfies most compliance and audit requirements.
Deny root/admin from using SSH and only your server can initiate the SSH connection, that should get you all the ticks in the right boxes :-)
Logged
http://www.chris-mohan.com
Dengar13
Sr. Member
Offline
Posts: 380
Re: Port 22 (SSH) Outbound Question
«
Reply #5 on:
April 30, 2010, 07:50:53 PM »
Great points/advice all. This helped a ton! Thanks!
Logged
A+, Net+, MCP, CEH
MCSE: Security/Messaging
MCSA: Security/Messaging
Former U.S. Marine and damn proud of 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
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(6) by
azmatt
Greetings
: Hi from the UK
(4) by
MrTuxracer
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(0) by
prats84
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(27) by
don
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
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.