Jury Rigging Google Chrome to Use Tor
Chromium is a great browser, but it does do various types of phoning home and packet routing, which makes using Tor with it somewhat tricky. I’ve devised a script that creates a new Chromium session configured to route its traffic only through Tor, and erases all evidence afterwards. It also disables Flash and Java (which will reveal your IP address), spoofs a generic Chrome user agent, disables metric reporting, prefetching, syncing, search result suggesting, and whatever other phoning home services I could identify to lock down. The first lines of the script run vidalia if it isn’t running, the official GUI for Tor. This is known to work on Chromium 10.x, which is the current dev channel; I do not know about prior versions.
$ cat Projects/torchrome.sh if ! ps -C vidalia > /dev/null; then vidalia& fi rm -rf /tmp/torchrome && mkdir -p /tmp/torchrome/Default && touch /tmp/torchrome/First\ Run cat <<END > /tmp/torchrome/Default/Preferences && { "alternate_error_pages": { "enabled": false }, "autofill": { "enabled": false }, "browser": { "custom_chrome_frame": true }, "default_search_provider": { "enabled": true, "encodings": "UTF-8", "icon_url": "about:blank", "id": "2", "instant_url": "", "keyword": "google.com", "name": "Google", "prepopulate_id": "1", "search_url": "{google:baseURL}search?ie={inputEncoding}&q={searchTerms}", "suggest_url": "" }, "dns_prefetching": { "enabled": false }, "download": { "directory_upgrade": true }, "extensions": { "autoupdate": { "next_check": "12940162523897409" }, "chrome_url_overrides": { "bookmarks": [ "chrome-extension://eemcgdkfndhakfknompkggombfjjjeno/main.html" ] }, "theme": { "id": "", "use_system": true } }, "geolocation": { "default_content_setting": 2 }, "google": { "services": { "username": "" } }, "homepage": "about:blank", "homepage_is_newtabpage": true, "ntp": { "alt_logo_end": 1255017600.0, "alt_logo_start": 1255017600.0, "pref_version": 3, "web_resource_cache_update": "1295688216.445951" }, "plugins": { "enabled_internal_pdf3": true }, "profile": { "clear_site_data_on_exit": true, "content_settings": { "pref_version": 1 }, "default_content_settings": { "plugins": 2 }, "exited_cleanly": true, "multiple_profile_prefs_version": 1, "notifications_default_content_setting": 2, "password_manager_enabled": false }, "safebrowsing": { "enabled": false }, "search": { "suggest_enabled": false }, "sync": { "passwords": false, "preferences": false, "sessions": false, "themes": false, "typed_urls": false }, "tabs": { "use_vertical_tabs": false }, "translate": { "enabled": false } } END chromium --incognito --proxy-server=socks5://localhost:9050 --user-data-dir=/tmp/torchrome --disable-plugins --disable-java --disable-metrics --disable-metrics-reporting --user-agent='Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10' && rm -rf /tmp/torchrome
<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.zx2c4.com%2F440&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=65&font=lucida+grande" style="border:none; overflow:hidden; width:450px; height:65px"></iframe>
Tweet
Having recently finished Dawking’s The God Delusion, an anxious audience murmured in fear of having their new deities of Facebook and Twitter crushed by Evgeny Morozov, at a lecture this Tuesday at Columbia’s School of International and Public Affairs on The Net Delusion, his recent analysis of social technology in authoritarian regimes. After working for NGOs that promoted “new media” for social justice, Morozov began to suspect that organizations like his own were doing more harm than good. He saw evidence not just of government censorship, but also of governments paying bloggers to publish propaganda and large government projects to scour social networks to learn how best to squelch opposition activists. Eventually he left his organization to investigate just how much an impact – for better or for worse – the Internet has had on activism in authoritarian countries.














