🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #18582

Re: Hiding our IP

#18582
From: 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
Technical Details
Message-ID: <Xns909AC828BC5F5shaddacktypecom@195.250.128.40>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!nntp1.aeq.teleglobe.net!teleglobe.net!news.vol.cz!not-for-mail
References: <fe251fd9420f9a91080c169f69999f42@mix2.hyperreal.pl> <mon8ft8ruhpkga4ssi50se6tk66q74838h@4ax.com> <7xn18rt0lz.fsf@ruckus.brouhaha.com> <Xns90999E6F04118shaddacktypecom@195.250.128.40> <0lgbftkgsm798fkv85dcs97vdnrub26103@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns909AC828BC5F5shaddacktypecom@195.250.128.40>
Subject: Re: Hiding our IP
Date: Mon, 07 May 2001 18:03:24 +0000
From: NOSPAMshaddack@type2.com (Thomas Shaddack)
References: <fe251fd9420f9a91080c169f69999f42@mix2.hyperreal.pl> <mon8ft8ruhpkga4ssi50se6tk66q74838h@4ax.com> <7xn18rt0lz.fsf@ruckus.brouhaha.com> <Xns90999E6F04118shaddacktypecom@195.250.128.40> <0lgbftkgsm798fkv85dcs97vdnrub26103@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!nntp1.aeq.teleglobe.net!teleglobe.net!news.vol.cz!not-for-mail
Newsgroups: alt.privacy,alt.privacy.anon-server,alt.security.pgp
Organization: New Wave Microtechnology
Lines: 71
NNTP-Posting-Host: dateld-39.dialup.vol.cz
X-Trace: news.vol.cz 989258604 61041 212.20.106.39 (7 May 2001 18:03:24 GMT)
X-Complaints-To: abuse@vol.cz
NNTP-Posting-Date: Mon, 7 May 2001 18:03:24 +0000 (UTC)
User-Agent: Xnews/M3