>();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MemeVM Devirt/Protections/VM.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace MemeVMDevirt.Protections
8 | {
9 | public static class VM
10 | {
11 | public static void Execute()
12 | {
13 | AnalyseMethod.AnalysePhase();
14 | AnalyseResources.InitialiseResources();
15 | InitiliseMethod.InitiliaseMethodage();
16 | InitialiseReplace.ReplacePhase();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/MemeVM Devirt/Protections/VMInstructions/VMInstructions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace MemeVMDevirt.Protections.VMInstructions
8 | {
9 | public struct VMInstruction
10 | {
11 | internal VMInstruction(VMOpCode code, object op = null)
12 | {
13 | this.Code = code;
14 | this.Operand = op;
15 | }
16 | internal VMOpCode Code;
17 | internal object Operand;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/MemeVM Devirt/Protections/VMInstructions/VMOpCode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace MemeVMDevirt.Protections.VMInstructions
8 | {
9 | public enum VMOpCode : byte
10 | {
11 | Int32,
12 | Int64,
13 | Float,
14 | Double,
15 | String,
16 | Null,
17 | Add,
18 | Sub,
19 | Mul,
20 | Div,
21 | Rem,
22 | Dup,
23 | Pop,
24 | Jmp,
25 | Jt,
26 | Jf,
27 | Je,
28 | Jne,
29 | Jge,
30 | Jgt,
31 | Jle,
32 | Jlt,
33 | Cmp,
34 | Cgt,
35 | Clt,
36 | Newarr,
37 | Ldarg,
38 | Ldloc,
39 | Ldfld,
40 | Ldelem,
41 | Starg,
42 | Stloc,
43 | Stfld,
44 | Stelem,
45 | Call,
46 | Ret,
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/MemeVM Devirt/bin/Debug/MemeVM Devirt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/bin/Debug/MemeVM Devirt.exe
--------------------------------------------------------------------------------
/MemeVM Devirt/bin/Debug/MemeVM Devirt.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MemeVM Devirt/bin/Debug/MemeVM Devirt.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/bin/Debug/MemeVM Devirt.pdb
--------------------------------------------------------------------------------
/MemeVM Devirt/bin/Debug/dnlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/bin/Debug/dnlib.dll
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.csproj.CopyComplete:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/obj/Debug/MemeVM Devirt.csproj.CopyComplete
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | eeb4ae1ad2d0bfbbf2c6e73eb352184d2f55285b
2 |
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\obj\Debug\MemeVM Devirt.csprojAssemblyReference.cache
2 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\obj\Debug\MemeVM Devirt.csproj.CoreCompileInputs.cache
3 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\bin\Debug\MemeVM Devirt.exe.config
4 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\bin\Debug\MemeVM Devirt.exe
5 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\bin\Debug\MemeVM Devirt.pdb
6 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\bin\Debug\dnlib.dll
7 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\obj\Debug\MemeVM Devirt.csproj.CopyComplete
8 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\obj\Debug\MemeVM Devirt.exe
9 | C:\Users\VirtualMachine\Documents\GitHub\MemeVMDevirt\MemeVM Devirt\obj\Debug\MemeVM Devirt.pdb
10 |
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/obj/Debug/MemeVM Devirt.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/obj/Debug/MemeVM Devirt.exe
--------------------------------------------------------------------------------
/MemeVM Devirt/obj/Debug/MemeVM Devirt.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/obj/Debug/MemeVM Devirt.pdb
--------------------------------------------------------------------------------
/MemeVM Devirt/virus.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/congviet/MemeVMDevirt/bbfe0483ab8b7dbbdf3fd3616bc33041a2f51879/MemeVM Devirt/virus.ico
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | MemeVM
2 | Hello today I offer you a small project on which I worked on recently and which consists of devitualizing MemeVM which this vm has been done by xsilence, of course this is in no way for the purpose of veangeance or anything, but for educational purposes.
3 | How To Use
4 |
5 | - Add dnlib dll to the dependance
6 | - Build the exe
7 | - Drag and drop exe directly on the console or use cmd
8 |
9 | Sample in CMD : Exe_Patch_Of_MemeDevirt Exe_Patch_To_EXE
10 |
11 | 
12 | 
13 | Working example
14 | 
15 | -I’m going to debug this method manually to get Instructions
16 | 
17 | -Here are the store instructions for this method
18 | 
19 | -And here are the instructions to compare with the original virtualised method,
20 | and which are replaced, it displays that the method is fucked because the virtualization doesn’t take into account the instructions, but they are translated correctly with respect to the image above, which is the original list of instructions.
21 | License
22 | MIT
23 |
--------------------------------------------------------------------------------