Hi there,
I was recently hijacked by a babylon affiliate malware, and was able to remove everything quite easily, except for one problem.
Every time I opened a new tab, it would open an affiliate babylon search page.
After some searching, I found the culprit!
Firefox's prefs.js file was modified, to include a number of preferences that would cause the url to come up when a new tab is opened.
I could go through and manually fix it myself, but I thought that if others have the same problem, and come across my question, they might want an easier solution.
My solution would be a batch file (or vbs file) that will search "prefs.js" for lines containing the word "babylon" in it, and remove all of those lines.
Each preference setting is separated by a new paragraph line.
As an example for what I'm after, lets say the file contains the following lines in it:
Quote:
user_pref("CT2737658..clientLogIsEnabled", true);
user_pref("CT2737658..clientLogServiceUrl", "http://clientlog.users.conduit.com/ClientDiagnostics.asmx/ReportDiagnosticsEvent");
user_pref("CT2737658..uninstallLogServiceUrl", "http://uninstall.users.conduit.com/Uninstall.asmx/RegisterToolbarUninstallation");
user_pref("CT2737658.AboutPrivacyUrl", "http://www.conduit.com/privacy/Default.aspx");
user_pref("CT2737658.BrowserCompStateIsOpen_129531118722676073", true);
user_pref("CT2737658.CTID", "ct2737658");
user_pref("CT2737658.CurrentServerDate", "24-10-2011");
user_pref("CT2737658.DialogsAlignMode", "LTR");
user_pref("CT2737658.DialogsGetterLastCheckTime", "Sun Oct 23 2011 17:39:18 GMT-0700 (Pacific Daylight Time)");
user_pref("CT2737658.DownloadReferralCookieData", "");
user_pref("browser.babylon.HPOnNewTab", "search.babylon.com");
user_pref("browser.bookmarks.restore_default_bookmarks", false);
user_pref("browser.cache.disk.capacity", 1048576);
user_pref("browser.cache.disk.smart_size.first_run", false);
user_pref("browser.cache.disk.smart_size_cached_value", 430080);
user_pref("browser.display.background_color", "#C0C0C0");
user_pref("browser.display.use_system_colors", true);
user_pref("browser.download.lastDir", "S:\\download");
user_pref("browser.newtab.url", "http://search.babylon.com/?affID=111813&tt=010712_3&babsrc=NT_ss&mntrId=906b43d700000000000000ff7f106 aae");
user_pref("browser.places.smartBookmarksVersion", 3);
user_pref("browser.preferences.advanced.selectedTabIndex", 2);
|
The batch file (or vbs file), should locate the two lines that contain the word "babylon" in it, and remove those lines.
Simply telling the batch file to look for those lines specifically (e.g. user_pref("browser.babylon.HPOnNewTab", "search.babylon.com");") and removing it, would not be good enough, because other users may have an entirely different affiliate link attached, or other preferences written.
Is anyone here capable of writing such a batch (or vbs) file that can do this for me?
Thanks in advance!