Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

AntiCrack-DotNet

> 开发工具
Open source

.NET Project containing plenty of advanced techniques to detect various types of malicious actions on your software, with syscall support.

356 stars0 likes1 views
WebsiteGitHub

About

.NET Project containing plenty of advanced techniques to detect various types of malicious actions on your software, with syscall support.

️ AntiCrack DotNet ️

A .NET Project which Contains some useful techniques to detect debugging and other harmful actions and bypass methods which can be used by crackers to analyze your assembly. (also feel free to open an issue for adding additional anti-debugging features, etc) with syscall support.

you can see it's showcase here. also please star the project if you found it useful, it will encourage me to continue developing it.

Hooks

  • Preventing unauthorized retrieval of .NET functions pointer to prevent raw memory modifications of functions at runtime.

Anti Debugging

  • NtUserGetForegroundWindow (looks for bad active window names to check if it's a known debugger)

  • Debugger.IsAttached

  • Hide Threads From Debugger

  • IsDebuggerPresent

  • PEB.BeingDebugged

  • PEB.NtGlobalFlag

  • NtSetDebugFilterState

  • Page Guard Breakpoints Detection

  • NtQueryInformationProcess: ProcessDebugFlags, ProcessDebugPort, ProcessDebugObjectHandle

  • NtClose: Invalid Handle, Protected Handle

  • Parent Process Checking (Checks if parent are explorer.exe or cmd.exe)

  • Detection of Hardware Breakpoints

  • FindWindow (looks for bad window names)

  • GetTickCount

  • OutputDebugString

  • Crashing Non-Managed Debuggers with a Debugger Breakpoint

  • OllyDbg Format String Exploit

  • Patching DbgUiRemoteBreakin and DbgBreakPoint (Anti-Debugger Attaching)

Anti Virtualization

  • Detecting Any.run

  • Detecting Triage

  • Detecting Qemu.

  • Detecting Parallels.

  • Detecting Sandboxie

  • Detecting Comodo Container

  • Detecting Qihoo360 Sandbox

  • Detecting Cuckoo Sandbox

  • Detecting VirtualBox and VMware

  • Detecting HyperV

  • Detecting Emulation

  • Checking For Blacklisted Usernames

  • Detecting KVM

  • Detecting Wine

  • Checking For Known Bad VM File Locations

  • Checking For Known Bad Process Names

  • Checking For Ports on the system (useful if the VM or the sandbox have no ports connected)

  • Checking if the Time values in KUSER_SHARED_DATA is static, which many emulators don't update regularly.

  • Checking for devices created by VMs or Sandboxes

  • Checking if AVX x64/x86 instructions are properly implemented to see if we are in an emulator.

  • Checking for RDRAND x64/x86 instruction to see if it's properly implemented which could indicate an emulator.

  • Checking for flags manipulation (for x64 and x86) checks to see if it's correctly handled.

Anti Injection

  • Taking Advantage of Binary Image Signature Mitigation Policy to prevent injecting Non-Microsoft Binaries.

  • Checking if any injected libraries are present (simple dlls path whitelist check)

  • Thread Injection Detection

  • changing the main module info of the program like module name, base address, address of entrypoint, size of image, etc to prevent info lookups, dumping, and modification.

  • Changing the CLR module image magic in the memory of the process to try to prevent (some) external processes/software from retrieving some critical info about our assemblies while still being functional by making it seem like debugger exports is missing.

  • Detecting process hollowing in our program by checking suspicious image base address.

Other Detections

  • Detecting if Unsigned Drivers are Allowed to Load

  • Detecting if Test-Signed Drivers are Allowed to Load

  • Detecting if Kernel Debugging are Enabled on the System

  • Detecting if Secure Boot are Enabled on the System

  • Detecting if Virtualization-Based Security is Enabled.

  • Detecting if Memory Integrity Protection is Enabled.

  • Detecting if the current assembly has been invoked.

Hooks Detection

  • Detecting Most Anti Anti-Debugging Hooking Methods on Common Anti-Debugging Functions by checking for Bad Instructions on Functions Addresses and it detects user-mode anti anti-debuggers like scyllahide, and it can also detect some sandboxes which uses hooking to monitor application behaviour/activity (like Sandboxie/Sandboxie Plus, Hybrid Analysis, Cuckoo Sandbox, and a lot of other online malware analysis websites/applications).

  • Basic detection for stealthy page guard hooking.

  • Detecting CLR Functions Hooking (like harmony hooks).

Why in C# even tho it's easily decompiled?

I think C# as AOT is being developed more and more that it's gonna be suitable for this kind of stuff and such tool may come in handy for software protection or anti-cheat development.

Notice

This Project are created for educational purposes only, also this project are licensed under MIT License. you can use the code however you please, just please use it responsibly (NOT for malware) (e.g. you are developing an anti-cheat).

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#anti-debuganti-debugginganti-detectionanti-sandbox

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具