RE: Re: Concepts: Security and Obscurity
- From: "Craig Wright" <Craig.Wright@xxxxxxxxxx>
- Date: Wed, 18 Apr 2007 12:33:17 +1000
Yes _ I have read this before.
I would use the quote from this paper:
"See, so long as you understand that the server location and port number
can't serve as a method of authentication, you haven't harmed your
security in the slightest." Jay Beale
In the case of SPA and portknocking, the obscurity is used as a form of
authentication and thus not what is being defined by the author (see
quote above).
In the chase of changing the ports for an SSH service this mirrors
Beale's assertion that "Obscurity Potentially Slows Down the Attacker".
The key here is that it is a potential control. I do see this as a valid
research topic and proposal, but nothing has followed up in regards to
this. It is just a hypothesis at present and an untested one. And as
regards to any untested hypothesis, without proof it should not be
believed. This is why the US FDA takes years to test drugs, why
engineering claims have to be tested etc.
An obscure system works on the idea that people do not know how it
functions. This is not the same as a password or secrecy as has been
suggested. I can know the process used by a host that accepts passwords
and this process can be published without my guessing the password. In
fact the protocols for Kerberous, NTLM etc are all published and I can
read them as often as I like.
In port forwarding, if I publish the process, the control is broken -
thus the control is reliant on obscuricy and not secrecy.
This is the difference of obscurity and secrecy.
To take another quote from the same paper:
"Now, remember, don't get too cocky. He can still find our server. It
might not even take tons of extra effort, if he guesses well. We might
still not observe him, if we have no procedures or technology set up to
do the observing!"
My argument lies with the value of what is supposedly gained. There is a
cost in configuring the service and updating clients. To be effective
the level of gain needs to exceed the cost.
At no point have I seen any valid attempt to quantify the supposed
gains. If the supposed gains are not measurable they are not real. There
may be a probabilistic error level and confidence range, but it needs to
be quantifiable.
Voas et al - http://csrc.nist.gov/nissc/1998/proceedings/paperA4.pdf in
"An Approach for Certifying Security in Software Components" have an
approach which would provide a assertion capability to allow the
assertion that obscurity adds value. In particular it could be used to
assess SPA and Portknocking.
To take a quote from B Schiener in this paper:
"Billions of dollars are spent on computer security, and most of it is
wasted on insecure products. After all, weak security looks the same on
the shelf as strong cryptography. Two e-mail encryption products may
have almost the same user interface, yet one is secure while the other
permits eavesdropping. A comparison chart may suggest that two programs
have similar features, although one has gaping security holes that the
other doesn't. An experienced cryptographer can tell the dierence. So
can a thief."
And from the Authors:
"Electronic commerce components may all appear to be equally secure on
the surface. Only objective assessment can ascertain the true story. The
role of the certication process will be to objectively evaluate the
security of software components."
Regards,
Craig
Craig Wright
Manager of Information Systems
Direct +61 2 9286 5497
Craig.Wright@xxxxxxxxxx
BDO Kendalls (NSW)
Level 19, 2 Market Street Sydney NSW 2000
GPO Box 2551 Sydney NSW 2001
Fax +61 2 9993 9497
www.bdo.com.au
Liability limited by a scheme approved under Professional Standards Legislation in respect of matters arising within those States and Territories of Australia where such legislation exists.
The information in this email and any attachments is confidential. If you are not the named addressee you must not read, print, copy, distribute, or use in any way this transmission or any information it contains. If you have received this message in error, please notify the sender by return email, destroy all copies and delete it from your system.
Any views expressed in this message are those of the individual sender and not necessarily endorsed by BDO Kendalls. You may not rely on this message as advice unless subsequently confirmed by fax or letter signed by a Partner or Director of BDO Kendalls. It is your responsibility to scan this communication and any files attached for computer viruses and other defects. BDO Kendalls does not accept liability for any loss or damage however caused which may result from this communication or any files attached. A full version of the BDO Kendalls disclaimer, and our Privacy statement, can be found on the BDO Kendalls website at http://www.bdo.com.au or by emailing administrator@xxxxxxxxxxx
BDO Kendalls is a national association of separate partnerships and entities.
-----Original Message-----
From: Nhon Yeung [mailto:Nhon.Yeung@xxxxxxxxxxxxxxxxx]
Sent: Wednesday, 18 April 2007 11:15 AM
To: Craig Wright; TheGesus
Cc: Florian Rommel; levinson_k@xxxxxxxxxxxxxxxxxx;
security-basics@xxxxxxxxxxxxxxxxx
Subject: RE: Re: Concepts: Security and Obscurity
<http://www.bastille-linux.org/jay/obscurity-revisited.html>
Jay Beale's take on obscurity.
I do believe that obscurity does have a role in security, as it can be
used as a deterrent much like a hiding your cash in dirty underwear. Any
thief would steal you hard earned if you leave it on your table, but it
takes a determined one to go through your dirty laundry.
-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx
[mailto:listbounce@xxxxxxxxxxxxxxxxx]On Behalf Of Craig Wright
Sent: Wednesday, 18 April 2007 8:39 AM
To: TheGesus
Cc: Florian Rommel; levinson_k@xxxxxxxxxxxxxxxxxx;
security-basics@xxxxxxxxxxxxxxxxx
Subject: RE: Re: Concepts: Security and Obscurity
This is not availablility - rather a configuration decision. After
configuring the service on the changed port, this now has little to do
with availability.
Craig
Craig Wright
Manager of Information Systems
Direct +61 2 9286 5497
Craig.Wright@xxxxxxxxxx
BDO Kendalls (NSW)
Level 19, 2 Market Street Sydney NSW 2000
GPO Box 2551 Sydney NSW 2001
Fax +61 2 9993 9497
www.bdo.com.au
Liability limited by a scheme approved under Professional Standards
Legislation in respect of matters arising within those States and
Territories of Australia where such legislation exists.
The information in this email and any attachments is confidential. If
you are not the named addressee you must not read, print, copy,
distribute, or use in any way this transmission or any information it
contains. If you have received this message in error, please notify the
sender by return email, destroy all copies and delete it from your
system.
Any views expressed in this message are those of the individual sender
and not necessarily endorsed by BDO Kendalls. You may not rely on this
message as advice unless subsequently confirmed by fax or letter signed
by a Partner or Director of BDO Kendalls. It is your responsibility to
scan this communication and any files attached for computer viruses and
other defects. BDO Kendalls does not accept liability for any loss or
damage however caused which may result from this communication or any
files attached. A full version of the BDO Kendalls disclaimer, and our
Privacy statement, can be found on the BDO Kendalls website at
http://www.bdo.com.au or by emailing administrator@xxxxxxxxxxx
BDO Kendalls is a national association of separate partnerships and
entities.
-----Original Message-----
From: TheGesus [mailto:thegesus@xxxxxxxxx]
Sent: Wednesday, 18 April 2007 8:33 AM
To: Craig Wright
Cc: Florian Rommel; levinson_k@xxxxxxxxxxxxxxxxxx;
security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: Re: Concepts: Security and Obscurity
Again, last I heard availability had something to do with security.
Maybe we can all agree that "port obscurity" is a special case of STO.
Somehow, I doubt it.
http://en.wikipedia.org/wiki/Credentialism
On 4/17/07, Craig Wright <Craig.Wright@xxxxxxxxxx> wrote:
This is not obscurity for security - rather a use of a different portLegislation in respect of matters arising within those States and
for a reason other than security. There are differences in this
assertion and little to do with security in the reasoning.
Craig
Craig Wright
Manager of Information Systems
Direct +61 2 9286 5497
Craig.Wright@xxxxxxxxxx
BDO Kendalls (NSW)
Level 19, 2 Market Street Sydney NSW 2000
GPO Box 2551 Sydney NSW 2001
Fax +61 2 9993 9497
www.bdo.com.au
Liability limited by a scheme approved under Professional Standards
Territories of Australia where such legislation exists.
you are not the named addressee you must not read, print, copy,
The information in this email and any attachments is confidential. If
distribute, or use in any way this transmission or any information it
contains. If you have received this message in error, please notify the
sender by return email, destroy all copies and delete it from your
system.
and not necessarily endorsed by BDO Kendalls. You may not rely on this
Any views expressed in this message are those of the individual sender
message as advice unless subsequently confirmed by fax or letter signed
by a Partner or Director of BDO Kendalls. It is your responsibility to
scan this communication and any files attached for computer viruses and
other defects. BDO Kendalls does not accept liability for any loss or
damage however caused which may result from this communication or any
files attached. A full version of the BDO Kendalls disclaimer, and our
Privacy statement, can be found on the BDO Kendalls website at
http://www.bdo.com.au or by emailing administrator@xxxxxxxxxxx
entities.
BDO Kendalls is a national association of separate partnerships and
home
-----Original Message-----
From: TheGesus [mailto:thegesus@xxxxxxxxx]
Sent: Wednesday, 18 April 2007 8:08 AM
To: Craig Wright
Cc: Florian Rommel; levinson_k@xxxxxxxxxxxxxxxxxx;
security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: Re: Concepts: Security and Obscurity
I'd just like to point out - I'm not really interested in this "prove
me wrong" game/troll, per se - that, in the specific case of SSH, port
obscurity is sometimes a necessity.
The PuTTy SSH client for Windows can be used through a proxy server.
But the port has to be authorized for SSL on that (non-SOCKS) proxy.
Port 22 is never, ever authorized. You are always guaranteed port
443, but you can't always use it if you already have something
listening on 443. In that case, the next most common (obscure) SSL
ports are generally available.
Oracle, for some obscure reason, likes to use TCP 8000, 8001, 8002,
and 8003 for https. These are often "SSL authorized" on proxies. The
various offices of the federal government (USA) are also fond of
obscure ports for SSL.
So I keep a list of obscure SSL ports, because it comes in very handy.
I have found the Oracle SSL ports to be the most commonly authorized,
so I use TCP 8000.
As it turns out, TCP 8000 is not obscure. It is scanned regularly,
but never for SSH. It's scanned for the presence of an anonymous
proxy. Every single day. But with my crappy company-issued Windows
laptop I can always "get in" wherever I am even if I can only "get
out" through a proxy. THAT is availability, and last I heard
availability had something to do with security.
http://en.wikipedia.org/wiki/Credentialism
On 4/16/07, Craig Wright <Craig.Wright@xxxxxxxxxx> wrote:
Hi Florian,
Well I have to state that you are lucky, I still get a subnet at
amthat is no longer connected scanned about once a second from new
addresses. Than again, maybe it is me and I attract this ;). The
anecdote you have provided is a start, but it needs to be made
scientifically sound. Also, the results demonstrate a record of the
scans and not the survival.
There is a little more than the number of scans to be considered. I
howsure that none of us really cares (in more than general interest)
survivabilitymany scan we receive. What is important is to check the
andwithout all the confounding variables which people keep adding.not
This needs to be done in a manner which is statistically valid, i.e.
anecdote from either side of the table and it has to be replicable.
A real world Honeypot experiment would suffice. I have setup Linux
standardWindows hosts in the past to check them attractiveness of these, butin
this case it would be to see the general attractiveness of a serviceand
than how long it took to be compromised.(or
So, as an example (one amongst many possibilities) a group of hosts
virtual hosts) could be setup and run with SSH on half on the
Linuxports and the other half on random ports. Leave these as a Honeypotand
time the survival - i.e. the time to initial compromise. Repeat thetest
a number of times till a valid statistical sample is obtained.be
The hosts could be mixed (i.e. Linux, Solaris etc), but they have to
mirrored in the standard vs. obscured configs (eg 3 Linux SSH, 3
factorSSH on TCP 443; Solaris SSH and Solaris SSH on TCP 443) with equal
patching.
This experiment would remove the confounding variables and provide a
means of actually measuring the level of additional protection as a
factor of time provided through the addition of an "obscurity"
survivaland would categorically answer the question - does obscurity provide
additional security.
The way to test the results would be to take the means of the
times,times from both the standard (SSH on TCP 22) and Obscured hosts (TCPnot
equal to 22). The results from the hosts would than have to bemodelled
and a simple ANOVA based test of the 2 hypothesis:
Ho: There is no additional security through obscurity
Ha: Obscurity gives some level of additional security
... Could lead us to the answer.
In this, if there is enough evidence of a variation in survival
sufficientthen Ha is valid and you can state that there is an improvement in
security from adding a layer of obscurity. If there is not
thatevidence, than Ho the Null hypothesis stands and the premise that westands
have no gain in security through obscurity stands.
This is what scientific proof is about. My offer of the donation
and I will even help anyone who wishes to do this with time inanalysis
and experimental design in an unbiased manner.
Doing this and writing it up should provide the tester a document
inthey could publish, so there is a little more than proving me wrong
getit.
So again - any takers? Who wishes to attempt to prove me wrong and
anto categorically state that obscurity is a valuable tool in thesecurity
professional's arsenal? Of course that also means you have to have
Ifopen mind and you may be demonstrating that there is no evidenced toLegislation in respect of matters arising within those States and
support the claim the obscurity adds anything.
Regards,
Dr Craig Wright
Craig Wright
Manager of Information Systems
Direct +61 2 9286 5497
Craig.Wright@xxxxxxxxxx
BDO Kendalls (NSW)
Level 19, 2 Market Street Sydney NSW 2000
GPO Box 2551 Sydney NSW 2001
Fax +61 2 9993 9497
www.bdo.com.au
Liability limited by a scheme approved under Professional Standards
Territories of Australia where such legislation exists.
The information in this email and any attachments is confidential.
you are not the named addressee you must not read, print, copy,the
distribute, or use in any way this transmission or any information it
contains. If you have received this message in error, please notify
sender by return email, destroy all copies and delete it from yoursender
system.
Any views expressed in this message are those of the individual
and not necessarily endorsed by BDO Kendalls. You may not rely onthis
message as advice unless subsequently confirmed by fax or lettersigned
by a Partner or Director of BDO Kendalls. It is your responsibilityto
scan this communication and any files attached for computer virusesand
other defects. BDO Kendalls does not accept liability for any loss orour
damage however caused which may result from this communication or any
files attached. A full version of the BDO Kendalls disclaimer, and
Privacy statement, can be found on the BDO Kendalls website atfruitful.
http://www.bdo.com.au or by emailing administrator@xxxxxxxxxxx
entities.
BDO Kendalls is a national association of separate partnerships and
-----Original Message-----
From: Florian Rommel [mailto:frommel@xxxxxxxxx]
Sent: Monday, 16 April 2007 4:24 PM
To: Craig Wright
Cc: levinson_k@xxxxxxxxxxxxxxxxxx; security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: Re: Concepts: Security and Obscurity
Hello to everyone. I actually think this discussion is very
attempts.It provides a good way of proofing/unproofing the concept.
I would like to add one thing though.
Craig, your argument is that you need proof of declined hack
SSH
I would like to take the simple example of SSH. SSH bruteforcing is
still going through the roof. I have a DSL connection and when my
Howeverserver was on port 22 I received about 50-100 false logins per day.
Not much you say and I agree but for a home connection it is.
workI then moved ssh to port 443 (SSL) as I am not running a secure
webserver. I need the standard port access to be able to ssh from
thatto home and I have had 0 bruteforce attempts per day now. Would that
not qualify as some sort of Security through obscurity?
//Flosse
http://blog.2blocksaway.com
PS: I haven't gotten a 443 attempt either though port 80 does get
"accessed" quite a lot.
On 4/15/07, Craig Wright <Craig.Wright@xxxxxxxxxx> wrote:
No Karl, you have not provided mathematical proof or something
keyserves to prove your point.
I stated survivability - the number of scans by service not the
tocases
this test. The number of scans and attacks are differnt factors. Ascan
is not an attack. Now as you state, proving a negative for all casesis
near impossible, but you have to prove the positive, and this is notobscurity
being done. You have not as yet proved proof.
As I have stated, please provide some proof. Demonstrate how
works. Either provide an experiment or a peer reviewed paper.
Speculation is not proof. You keep stating that there are other
toStandards
my proofs and I have stated that disproving a negative is often afutile
effort. Please provide real proof and not just state that your viewsare
proof.
proof for your assertion.
The number of scans example is not a survivability case and is not
Craig
Craig Wright
Manager of Information Systems
Direct +61 2 9286 5497
Craig.Wright@xxxxxxxxxx
BDO Kendalls (NSW)
Level 19, 2 Market Street Sydney NSW 2000
GPO Box 2551 Sydney NSW 2001
Fax +61 2 9993 9497
www.bdo.com.au
Liability limited by a scheme approved under Professional
itLegislation in respect of matters arising within those States andIf
Territories of Australia where such legislation exists.
The information in this email and any attachments is confidential.
you are not the named addressee you must not read, print, copy,
distribute, or use in any way this transmission or any information
orcontains. If you have received this message in error, please notifythe
sender by return email, destroy all copies and delete it from yoursender
system.
Any views expressed in this message are those of the individual
and not necessarily endorsed by BDO Kendalls. You may not rely onthis
message as advice unless subsequently confirmed by fax or lettersigned
by a Partner or Director of BDO Kendalls. It is your responsibilityto
scan this communication and any files attached for computer virusesand
other defects. BDO Kendalls does not accept liability for any loss
anydamage however caused which may result from this communication or
andfiles attached. A full version of the BDO Kendalls disclaimer, andour
Privacy statement, can be found on the BDO Kendalls website at
http://www.bdo.com.au or by emailing administrator@xxxxxxxxxxx
BDO Kendalls is a national association of separate partnerships
bias,entities.
levinson_k@xxxxxxxxxxxxxxxxxx
________________________________
From: listbounce@xxxxxxxxxxxxxxxxx on behalf of
Sent: Sat 14/04/2007 2:53 PM
To: security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: Re: Concepts: Security and Obscurity
In a test that is determined scientifically and without
goingthusthe results show that obscurity does not reduce risk and is
not ahow
benefit.
I'd love to see such a study. It does not exist.
Actually, I believe the honeynet project compiles statistics on
well
makesobfuscation of ports works, and last I read they have decided it
published server ports:no difference at all. Services running on nonstandard ports are
attacked just as much as services on standard ports over time.
It is easy to demonstrate this is false.
http://www.incidents.org/top10.html
The top ports receiving unsolicited scans are all well known,
TCP 8080
TCP 2967 (symantec)
TCP 445
TCP 139
TCP 1434
TCP 5900
Put a server on any other port, and your number of attacks is
toby
be demonstrably lower than the numbers above. Hence, reduced risk
andobscurity.motivated
Besides, given that so much hacking nowadays is financially
and aims at compromising the most systems starting with low hangingports
fruit, I don't see how could anyone could prove that non-standard
are attacked just as often as standard ports.
Anyways, obfuscation of ports is just one example of obscurity,
formsany study of that countermeasure would not be applicable to all
ofbeen
obscurity. That's why I objected to the absurd claim that it has
andmathematically proven that all forms of obscurity are ineffectual,
moreobjected to the attempts here to point out some examples of badpoint
obscurity in order to prove that obscurity is universally bad.
Certainly some forms of obscurity are ineffectual. I only need to
out one beneficial form of obscurity to invalidate such universal
statements. People talking about math should realize my side is
hardlikely to be proven true.to
significantly reduces the number and type of threats it was intended
There, I gave mathematical data suggesting that obscurity
reduce. Let's see some statistics proving otherwise.
environments and situations.Obscurity does not work.
It is impossible for you to make that assertion for all
Yes it is possible to make that assertion, based on logic and
(quantitative)math.
Security has nothing at all to do with raw numbers of break in
attempts,
Incorrect. Security is based on risk management and
torisk assessment, which are mathematical formulas that evaluate thenumbers
likelihood of certain risks occurring in a given year, e.g. raw
of break in attempts. Furthermore, risk assessment, whilemathematical,
is pretty meaningless unless you apply it to specific situations,particular
because the value, threats and existing countermeasures of a
system are variables that have to be known and inserted into theobscurity
mathematical formula. That's why I say you cannot assert that
is never a (cost) effective measure at reducing risk.risks,
Obscurity absolutely can and often does reduce certain kinds of
such as risk of script kiddies and viruses, frequently at very lowcost.
I can't see how anyone can debate that point. Though some hereclearly
do not see any value
quantitative risk assessment, work. Countermeasures are designed to
and everything to do with how resilient a system is to any
and all attacks.
That's not how security and countermeasure evaluation, e.g.
mitigate JUST SPECIFIC THREATS, not all of them. It is meaningless
becauseevaluate countermeasures by including threats that they were never
designed to mitigate. Firewalls don't protect against social
engineering, but that doesn't mean you don't need one.
The "obscurity factor" is utterly irrelevant because
it has no impact what so ever on actual security. Using offered
examples, if your passwords are good ones it makes absolutely no
difference how many times an attacker tries to guess them
anythey
simply can't make enough attempts in any sane time frame to do
exploited"crack"damage. Inversely, a single attempt is all it might take to
athe
weakly protected system regardless of what port it's made on. So
especiallyonly security one could possibly gain by limiting the numbers of
attempts is of type "false sense".
Not true. It is an obvious truism that most all computers,
those on the Internet, are going to be vulnerable to unpatched zeroday
vulnerabilities from time to time. Once a vulnerability is
byof
a network worm or easily downloadable script tool, your likelihood
andbeing compromised (a key component in quantitative risk assessment)decreases
increases. If you change the port on which your server listens, you
evade those attacks, and your likelihood of being compromised
significantly.
system is just as secure in both cases, because its configuration
Please note here that by your purely theoretical definition, the
withresistance to attack have not changed at all. And yet, in the realcompromise
world, the system has a reduced risk and/or reduced number of
events (which is the key result in quantitative risk assessmentformulas
used to judge security).
conclusion that it can't be any other way. Obscurity carries
itto
precisely as much potential for disaster as it does its ability
definition"hide
something". That direct relationship exists by the very
andof
actually risks of incompetent administration and failures of otherobscurity.
Most of the supposed dangers, risks and costs of obscurity are
recommended security countermeasures such as the system procedures
isconfiguration being documented. If your sysadmin assumes a system
inyou
the default configuration and takes a damaging action based on thatdamage
assumption, that's arguably not the fault of obscurity, and that
would arguably be just as likely to happen without obscurity, when
amounthave an incompetent sysadmin plus inadequate documentation.have"
And before we meander off into an endless debate about "would
andObscurity
"should have", I'll point out that all that is irrelevant.
adds far more complexity than it affords protection, and no
somethingofbad
after the fact tail chasing can change the fact that this is a
thing at its core.
Another broad, unsupportable generalization. Tell me how
countermeasurelike changing an FTP banner adds prohibitively costly complexity.only
Obscurity includes a lot of different things.
issue,
This is the brittleness experts warn you about. It's a real life
"nonstandard"not some theoretical mumbo-jumbo. By performing tasks in
ways you're as likely to confound the good guys as the bad. Not
assessment is an example of theory that is useful in the real world.does obscurity not work, if it has any real effect at all it's
more likely to be a negative one than not. :(
Again, quantitative risk assessment comes to the rescue. Risk
When using risk assessment to evaluate whether or not a
allis beneficial, you quantify and compare the amount that risks go upand
down. You are not using or demonstrating mathematics when you state
that the increased risk/cost of obscurity's complexity outweighs the
other security risks that obscurity decreases. Are you jumping to
conclusions, or do you have data to show that proves that in most
obscurityenvironments, systems and obscurity-related countermeasures,of
There
may be brief respites and fluctuations, but they're invariably
discovered and quite often attacked even harder than services on
standard ports, for obvious reasons.
I don't see how that's very likely. Putting hundreds of thousands
servers on the same nonstandard port would not be a goodimplementation
of obscurity. Attacking a poor implementation of anything is notreally
relevant to whether or not a good implementation of it has merit.using
Besides, unless you're talking hundreds of thousands of systems
the same non-standard port, you're still pretty much talking about
determined human attackers. I thought I made it clear that
issocial
not intended as a countermeasure to determined human attackers,
engineering, earthquakes, etc.
kind regards,
Karl Levinson
http://securityadmin.info
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Crane Group
- Prev by Date: Re: Apache Logs
- Next by Date: Re: Anonymity via Tor?
- Previous by thread: RE: Concepts: Security and Obscurity
- Next by thread: RE: Concepts: Security and Obscurity
- Index(es):
Loading