Windows Defender
My notes on Windows Defender and VBA Scripting
  • 09/11/2020 - Windows Defender
    • Windows defender doesnt seem to like this function being declared...
Private Declare PtrSafe Function VirtualProtectEx Lib "kernel32" ( _
ByVal hProcess As LongPtr, _
ByVal lpAddress As LongPtr, _
ByVal dwSize As Long, _
ByVal flNewProtect As Long, _
ByRef lpflOldProtect As LongPtr _
) As Long
  • Basically it doesnt seem to like any WinAPI functions being declared from what I Can see now...
  • CreateProcess
  • VirtualAllocEx
  • GetProcAddress
  • LoadLibrary
Copy link