├── AntiReversing
├── AntiReversing.vcxproj
└── main.cpp
├── DLL
├── DLL.vcxproj
├── dll.cpp
└── dll.h
├── ProReversing.sln
├── ProReversingLib
├── Debugger.cpp
├── Debugger.h
├── NtGlobalFlag.cpp
├── NtGlobalFlag.h
├── PebBeingDebugged.cpp
├── PebBeingDebugged.h
├── PebHeapFlags.cpp
├── PebHeapFlags.h
├── ProReversing.cpp
├── ProReversing.h
├── ProReversingLib.vcxproj
├── ProReversingLib.vcxproj.filters
├── ProTechnique.cpp
├── ProTechnique.h
├── SimpleCommunicator.cpp
├── SimpleCommunicator.h
├── System.cpp
├── System.h
├── Systemx64.asm
└── Systemx86.asm
├── README.md
├── Release
└── ProReverse.dll
├── Test
├── ProReversingTest.h
├── SimpleCommunicatorTest.h
├── Test.vcxproj
├── Test.vcxproj.filters
└── test.cpp
└── x64
└── Release
└── ProReverse.dll
/AntiReversing/AntiReversing.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Debug
10 | x64
11 |
12 |
13 | Release
14 | Win32
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | {F7DA347C-7A61-49A8-9CD0-473EBCD4DEF8}
23 | Win32Proj
24 | AntiReversing
25 | AntiReversing
26 |
27 |
28 |
29 | Application
30 | true
31 | MultiByte
32 |
33 |
34 | Application
35 | true
36 | MultiByte
37 |
38 |
39 | Application
40 | false
41 | true
42 | MultiByte
43 |
44 |
45 | Application
46 | false
47 | true
48 | MultiByte
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | true
68 |
69 |
70 | true
71 |
72 |
73 | false
74 |
75 |
76 | false
77 |
78 |
79 |
80 |
81 |
82 | Level3
83 | Disabled
84 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
85 | MultiThreadedDebug
86 | ../ProReversingLib;$(BOOSTDIR)/include
87 |
88 |
89 | Console
90 | true
91 | $(BOOSTDIR)/lib;$(OutDir)
92 | ProReversing.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
93 |
94 |
95 |
96 |
97 |
98 |
99 | Level3
100 | Disabled
101 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
102 | MultiThreadedDebug
103 | ../ProReversingLib;$(BOOSTDIR)/include
104 |
105 |
106 | Console
107 | true
108 | $(BOOSTDIR)/lib64;$(OutDir)
109 | ProReversing.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
110 |
111 |
112 |
113 |
114 | Level3
115 | NotUsing
116 | MaxSpeed
117 | true
118 | true
119 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
120 | MultiThreaded
121 | $(BOOSTDIR)/include;../ProReversingLib
122 |
123 |
124 | Console
125 | true
126 | true
127 | true
128 | $(BOOSTDIR)/lib;$(OutDir)
129 | ProReversing.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
130 |
131 |
132 |
133 |
134 | Level3
135 | NotUsing
136 | MaxSpeed
137 | true
138 | true
139 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
140 | MultiThreaded
141 | $(BOOSTDIR)/include;../ProReversingLib
142 |
143 |
144 | Console
145 | true
146 | true
147 | true
148 | $(BOOSTDIR)/lib64;$(OutDir)
149 | ProReversing.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
--------------------------------------------------------------------------------
/AntiReversing/main.cpp:
--------------------------------------------------------------------------------
1 | /* ============================================================================
2 | * Copyright (c) 2012, Sebastian Eschweiler analyst[at]gmail.com>
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted provided that the following conditions are met:
7 | * * Redistributions of source code must retain the above copyright
8 | * notice, this list of conditions and the following disclaimer.
9 | * * Redistributions in binary form must reproduce the above copyright
10 | * notice, this list of conditions and the following disclaimer in the
11 | * documentation and/or other materials provided with the distribution.
12 | * * Neither the name of the nor the
13 | * names of its contributors may be used to endorse or promote products
14 | * derived from this software without specific prior written permission.
15 | *
16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 | * =============================================================================
27 | */
28 |
29 | #include
30 | #include
31 | #include