This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------------------------------------- | |
.Developer | |
Jean - Pierre LESUEUR(@DarkCoderSc) | |
https://www.twitter.com/darkcodersc | |
https://github.com/DarkCoderSc | |
www.phrozen.io | |
[email protected] | |
PHROZEN | |
.License | |
Apache License |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#------------------------------------------------------------------------------- | |
.Developer | |
Jean-Pierre LESUEUR (@DarkCoderSc) | |
https://www.twitter.com/darkcodersc | |
https://github.com/DarkCoderSc | |
www.phrozen.io | |
[email protected] | |
PHROZEN | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net.NetworkInformation; | |
/* | |
String[] vmMacAddresses = | |
{ | |
"08:00:27", | |
"00:0C:29", | |
"00:1C:14", | |
"00:50:56", | |
"00:05:69", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
32Bit Example of File Melting | |
} | |
program Melt; | |
{$APPTYPE CONSOLE} | |
{$R *.res} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program NtQueryProcessInformation; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
uses | |
Winapi.Windows, | |
System.SysUtils; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
[DllImport("ntdll.dll", SetLastError = true)] | |
static extern int NtQueryInformationProcess( | |
IntPtr processHandle, | |
int processInformationClass, | |
ref IntPtr processInformation, | |
uint processInformationLength, | |
ref IntPtr returnLength |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
Example of DLL Code to test DLL Injection: | |
------------------------------------------ | |
BOF>> | |
library UnprotectTestDLL; | |
uses | |
WinApi.Windows, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
Example of DLL Code to test DLL Injection: | |
------------------------------------------ | |
BOF>> | |
library UnprotectTestDLL; | |
uses | |
WinApi.Windows, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Support both x86-32 and x86-64 | |
program Unprotect_RunPE; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
uses | |
System.Classes, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
void timeStomp(String targetFile) | |
{ | |
targetFile = Path.GetFullPath(targetFile); | |
if (!File.Exists(targetFile)) | |
{ | |
throw new FileNotFoundException(String.Format("File \"{0}\" does not exists.", targetFile)); |