diff --git a/Cookie.ico b/Cookie.ico new file mode 100644 index 0000000..fbba873 Binary files /dev/null and b/Cookie.ico differ diff --git a/NoMoreCookies.jpg b/NoMoreCookies.jpg deleted file mode 100644 index 8e3c101..0000000 Binary files a/NoMoreCookies.jpg and /dev/null differ diff --git a/NoMoreCookies/NoMoreCookies/dllmain.cpp b/NoMoreCookies/NoMoreCookies/dllmain.cpp index 5be09dd..0075bc7 100644 --- a/NoMoreCookies/NoMoreCookies/dllmain.cpp +++ b/NoMoreCookies/NoMoreCookies/dllmain.cpp @@ -121,7 +121,10 @@ bool IsBrowser(char* FileName) { return true; } - + if (hasEnding(FileName, "vivaldi.exe") && Signed) + { + return true; + } if (hasEnding(FileName, "chrome.exe") && Signed) { return true; @@ -248,7 +251,7 @@ std::wstring FirefoxPath; std::wstring YandexPath; std::wstring OperaPath; std::wstring WaterfoxPath; - +std::wstring VivaldiPath; BOOL Startup() { wchar_t Username[50]; @@ -272,6 +275,8 @@ BOOL Startup() OperaPath.append(L"AppData\\Roaming\\Opera Software\\Opera Stable"); WaterfoxPath = UserPath.c_str(); WaterfoxPath.append(L"AppData\\Roaming\\Waterfox\\Profiles"); + VivaldiPath = UserPath.c_str(); + VivaldiPath.append(L"AppData\\Local\\Vivaldi\\User Data"); return true; } else @@ -289,7 +294,8 @@ BOOL IsBlacklistedPath(LPCWSTR FilePath) WFilePath.rfind(FirefoxPath.c_str(), 0) == 0 || WFilePath.rfind(YandexPath.c_str(), 0) == 0 || WFilePath.rfind(OperaPath.c_str(), 0) == 0 || - WFilePath.rfind(WaterfoxPath.c_str(), 0) == 0) + WFilePath.rfind(WaterfoxPath.c_str(), 0) == 0 || + WFilePath.rfind(VivaldiPath.c_str(), 0) == 0) { return true; } @@ -467,4 +473,4 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv } } return TRUE; -} \ No newline at end of file +} diff --git a/NoMoreCookiesInstaller/NoMoreCookiesInstaller/Cookie.ico b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/Cookie.ico new file mode 100644 index 0000000..fbba873 Binary files /dev/null and b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/Cookie.ico differ diff --git a/NoMoreCookiesInstaller/NoMoreCookiesInstaller/NoMoreCookiesInstaller.csproj b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/NoMoreCookiesInstaller.csproj index 8b492b5..c525ceb 100644 --- a/NoMoreCookiesInstaller/NoMoreCookiesInstaller/NoMoreCookiesInstaller.csproj +++ b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/NoMoreCookiesInstaller.csproj @@ -36,10 +36,14 @@ app.manifest + + Cookie.ico + + @@ -55,5 +59,9 @@ + + + + \ No newline at end of file diff --git a/NoMoreCookiesInstaller/NoMoreCookiesInstaller/ico.ico b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/ico.ico new file mode 100644 index 0000000..fbba873 Binary files /dev/null and b/NoMoreCookiesInstaller/NoMoreCookiesInstaller/ico.ico differ diff --git a/NoMoreCookiesNew.jpg b/NoMoreCookiesNew.jpg new file mode 100644 index 0000000..199bffe Binary files /dev/null and b/NoMoreCookiesNew.jpg differ diff --git a/NoMoreCookiesService/NoMoreCookiesService/Cookie.ico b/NoMoreCookiesService/NoMoreCookiesService/Cookie.ico new file mode 100644 index 0000000..fbba873 Binary files /dev/null and b/NoMoreCookiesService/NoMoreCookiesService/Cookie.ico differ diff --git a/NoMoreCookiesService/NoMoreCookiesService/NoMoreCookiesService.csproj b/NoMoreCookiesService/NoMoreCookiesService/NoMoreCookiesService.csproj index 36045dd..a2b25cf 100644 --- a/NoMoreCookiesService/NoMoreCookiesService/NoMoreCookiesService.csproj +++ b/NoMoreCookiesService/NoMoreCookiesService/NoMoreCookiesService.csproj @@ -26,17 +26,23 @@ true - AnyCPU + x64 pdbonly true bin\Release\ TRACE prompt 4 + true + + + Cookie.ico + + @@ -58,5 +64,8 @@ + + + \ No newline at end of file diff --git a/NoMoreCookiesService/NoMoreCookiesService/Program.cs b/NoMoreCookiesService/NoMoreCookiesService/Program.cs index 8df45ca..4494ed3 100644 --- a/NoMoreCookiesService/NoMoreCookiesService/Program.cs +++ b/NoMoreCookiesService/NoMoreCookiesService/Program.cs @@ -1,3 +1,4 @@ + using System; using System.Collections.Generic; using System.ComponentModel; @@ -24,3 +25,59 @@ static void Main() } } } + +/* +using System; +using System.Threading; +using System.ServiceProcess; +using System.Windows.Forms; + +namespace NoMoreCookiesService +{ + internal static class Program + { + private static NotifyIcon notifyIcon; + + static void Main() + { + // NotifyIcon + notifyIcon = new NotifyIcon(); + notifyIcon.Text = "NoMoreCookiesService"; + notifyIcon.Visible = true; + + // context NotifyIcon + ContextMenuStrip contextMenu = new ContextMenuStrip(); + ToolStripMenuItem exitMenuItem = new ToolStripMenuItem("Exit"); + exitMenuItem.Click += ExitMenuItem_Click; + contextMenu.Items.Add(exitMenuItem); + notifyIcon.ContextMenuStrip = contextMenu; + + // double click + notifyIcon.DoubleClick += NotifyIcon_DoubleClick; + + // start service + ServiceBase[] ServicesToRun; + ServicesToRun = new ServiceBase[] + { + new MainService() + }; + ServiceBase.Run(ServicesToRun); + + // Infinity time + Application.Run(); + } + + private static void ExitMenuItem_Click(object sender, EventArgs e) + { + // Exit + notifyIcon.Visible = false; + notifyIcon.Dispose(); + Application.Exit(); + } + + private static void NotifyIcon_DoubleClick(object sender, EventArgs e) + { + + } + } +} */ diff --git a/README.md b/README.md index f037f0a..1035549 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # NoMoreCookies

- +

Browser Protector against various stealers, written in C# & C/C++. @@ -12,6 +12,7 @@ Works by hooking NtCreateFile and prevent accessing browser files, in addition t * StormKitty * FireFox-Thief * DcRat +* Umbral-Stealer * XWorm RAT * Raccoon Stealer * EdgeGuard @@ -29,7 +30,7 @@ Supported Browsers: * Yandex * Opera * Waterfox - +* Vivaldi #### Installation you can find the release here, after you extract the files execute NoMoreCookiesInstaller.exe which will give you the option to both install and uninstall NoMoreCookies, and after installing/uninstalling it's preferred to restart your system.