forked from KiExitDispatcher/GoDefender
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
74 lines (69 loc) · 2.29 KB
/
main.go
File metadata and controls
74 lines (69 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package main
import (
"fmt"
"os"
// Anti-Virtualization
"github.com/EvilBytecode/GoDefender/AntiVirtualization/TriageDetection"
"github.com/EvilBytecode/GoDefender/AntiVirtualization/MonitorMetrics"
"github.com/EvilBytecode/GoDefender/AntiVirtualization/VirtualboxDetection"
"github.com/EvilBytecode/GoDefender/AntiVirtualization/VMWareDetection"
"github.com/EvilBytecode/GoDefender/AntiVirtualization/KVMCheck"
"github.com/EvilBytecode/GoDefender/AntiVirtualization/UsernameCheck"
// Anti-Debug
"github.com/EvilBytecode/GoDefender/AntiDebug/IsDebuggerPresent"
"github.com/EvilBytecode/GoDefender/AntiDebug/RemoteDebugger"
"github.com/EvilBytecode/GoDefender/AntiDebug/pcuptime"
"github.com/EvilBytecode/GoDefender/AntiDebug/CheckBlacklistedWindowsNames"
"github.com/EvilBytecode/GoDefender/AntiDebug/RunningProcesses"
"github.com/EvilBytecode/GoDefender/AntiDebug/ParentAntiDebug"
"github.com/EvilBytecode/GoDefender/AntiDebug/KillBadProcesses"
// Process Related
"github.com/EvilBytecode/GoDefender/Process/CriticalProcess"
)
func main() {
/*
ANTIDEBUG
-----------
- IsDebuggerPresent
- RemoteDebugger
- PC Uptime Check
- Running Proccesses Count
- Check blacklisted windows
- KillBlacklisted Proceseses
- Parent AntiDebug
*/
IsDebuggerPresent.IsDebuggerPresent()
remotedebuggercheck.RemoteDebugger()
pcuptime.CheckUptime(1200)
runningprocesses.CheckRunningProcessesCount(50)
blacklistcheck.CheckBlacklistedWindows()
parentantidebug.ParentAntiDebug()
processkiller.KillProcesses()
/*
AntiVirulization
----------------
- Triage Check
- VMWare Check
- Anti KVM
- Username Check
-
*/
triagecheck.TriageCheckDebug()
MonitorMetrics.IsScreenSmall()
VirtualboxDetection.GraphicsCardCheck()
fmt.Println("Debug Check: VirtualBox isnt present")
VMWare.GraphicsCardCheck()
fmt.Println("Debug Check: VMWare isnt present")
if kvmcheck.CheckForKVM() {
os.Exit(-1)
}
usernamecheck.CheckForBlacklistedNames()
artifactsdetector.BadVMFilesDetection()
fmt.Println("IF YOURE HERE YOU PASSED LOL")
/*
EXTRA THINGS NOW:
*/
//programutils.SetDebugPrivilege() this is for devs who plan on continuing
//programutils.SetProcessCritical() // this automatically gets the SeDebugPrivillige
fmt.Scanln()
}