So - thanks to moderator - the question is reopen. What's your situation looks like is a fake distribution of Tor or TorBrowser. It sounds weird, but I've helped a person about a year ago with the exactly the same problem: tor.exe binary was replaced and did not worked as supposed to, but it have tried to imitate the Tor's real console output and even passed something through! I suspect it was even trying to wiretap the data, so I hope you haven't tried anything privacy-sensitive so far. Here is what you need to do - please follow it step by step and I think your problem will be fixed as well. If some part of the problem will remain - feel free to drop a line and we'll fix it all! So - shall we begin?
First of all - pack your "fake tor distribution" in an archive for further investigation and delete the folder after the archive was made. Tor distributions are not requiring any registry or service tasks, so just removing the folder will be fine.
This step is kind of optional, but - as a precaution - run a full antivirus check with a proper antivirus. Who knows what exactly was in that fake distro. If you're using a crap Like Esen NOD32 or any of Kasperskiy's products - REMOVE IT, it's a crapware, spying for you. Under the windows I do recommend BitDefender or Sophos - in both the SSL traffic inspection is turned on by default, but you can turn it off and it actually turns off. Sophos is more like a PRO-tool, so if you're not so experienced in a system administration area - no problem, just use BitDefender. SSL inspection there is turned off in Web protection gear sign.
Now you go to TorProject full downloads page https://www.torproject.org/download/download.html.en and downloading the Expert Bundle, not the browser one. You get the exe and the dot-sig file. It's a digital signature that is elaborated not just for authenticity ferification, but also for intergrity purposes, i.e. the distro you'll about to download was not modified on-flight. After that use this tutorial from TorProject to verify the signatures. As you'll verify it all - you'll extract the zip into c:\tor folder. You can change the drive letter, but change the following lines as well then. Do not use any space-containing, non-english or long names for a directory - it will save you tons of time! After doing this you'll have 2 folders from zip - Tor and Data as c:\tor\Tor and c:\tor\Data. Create a folder c:\tor\local and leave it empty.
Next step is to create a very basic config file for Tor. It does have a very reasonable defaults, but let us just be specific. Create file c:\tor\Tor\torrc - without any extension, just name it torrc
. If you have any difficulties with that - create it as torrc.txt
and replace it in lines below. The contents of this file will be simple and straightforward as well:
RunAsDaemon 0
FastFirstHopPK 0
AllowSingleHopCircuits 0
EnforceDistinctSubnets 1
UseEntryGuards 1
DisableAllSwap 1
DataDirectory c:\tor\local
GeoIPFile c:\tor\Data\Tor\geoip
GeoIPv6File c:\tor\Data\Tor\geoip6
Log notice stdout
SocksPort 127.0.0.1:9050
ExitPolicy reject *:*
ExitPolicy reject6 *:*
DNSPort 127.0.0.1:53
Cool, but what does it means? Basically, we're about to store the local instance data in c:\tor\local subfolder, i.e. in case of future updates you just safely overwrite the Data and Tor folders as you need and leaving the instance data intact. We instruct Tor to avoid disr swap and usage as good as possible - nowdays we have enourg RAM on computers to run Tor: Raspberry Pi B+ with 512Mb and one core runs Tor just perfect without any need in swap, so your PC will do as well. We're instructing Tor to run in foreground, not as a service and log everything to the console - so if something is wrong, we will see it. We prohibit any traffic exiting from the node and telling where to get a copy of MaxMind GeoIP base - it's free edition is distributed with Tor.
Next we need to run our Tor :) Create a batch file - like torrun.bat
with the next lines in it:
@echo on
cd c:\tor\Tor
C:\tor\Tor\tor.exe -f C:\tor\Tor\torrc
pause
Remember I was talking about torrc..txt instead of just torrc ? If you did txt file - a line C:\tor\Tor\tor.exe -f C:\tor\Tor\torrc
goes to be C:\tor\Tor\tor.exe -f C:\tor\Tor\torrc.txt
Run this - and if you'll see Bootstrapped 100%
line - you're in! Use Firefox and FoxyProxy add-on to divert all the traffic through SOCKS at 127.0.0.1 port 9050 and don't forget to click checkbox to resolve DNS via proxy. Feel free to ask any further questions! If your Tor will not bootstrap to 100% - send the console log via pastebin.com