-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check .NET-Anti-Debug coverage #596
Comments
private static bool IsAdministrator()
{
var identity = WindowsIdentity.GetCurrent();
var principal = new WindowsPrincipal(identity);
return principal.IsInRole(WindowsBuiltInRole.Administrator);
}
|
Hello everyone, This issue appears to not have any progress since January, so I decided to contribute with my own rule. The field that I targeted is : "anti vm: Select * from Win32_ComputerSystem, virtual, vmware, virtualbox" I left the "examples" field empty as I'm not sure if any example is already on the capa-testfiles repo, if not, I can provide the EXE that I created and using to test the rules. I can also provide all the other rules if you let me take the issue. I hope it helps, thanks! |
Great, would be great if you want to tackle more rules here and contribute a PR. If there's no examples, you can provide them or place the rules in the nursery directory. Please also note the potential overlap with related rules, e.g., |
Hello, Thanks for assigning the task to me. The following rules mentioned are already done and I don't think there's any need to modify them.
md5: new System.Security.Cryptography.MD5CryptoServiceProvider(), ComputeHash is administrator:
I added the whole CPU information at host-interaction/hardware/cpu/get-cpu-information.yml, for reference: f2da1d4 Regarding the rules the following rules, I will add them in their respective file, I don't think there's a need to create a new one and also I will target dotnet to prevent overlap's. For the rules targeting macid and Environment.TickCount, I have no idea where to put them so I will add them to nursery later on. Thanks :) |
Great, thanks for your work here! |
https://github.com/Outbuilt/.NET-Anti-Debug
The text was updated successfully, but these errors were encountered: