Update CryptoObfuscator deobfuscator
This commit is contained in:
parent
140d043844
commit
88571cbf8b
|
@ -64,11 +64,10 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
deobfuscate(method);
|
||||
if (!containsString(method, "debugger is activ") &&
|
||||
!containsString(method, "debugger is running") &&
|
||||
!containsString(method, "run under a debugger") &&
|
||||
!containsString(method, "run under debugger") &&
|
||||
!containsString(method, "Debugger detected") &&
|
||||
!containsString(method, "Debugger was detected") &&
|
||||
!containsString(method, "{0} was detected"))
|
||||
!containsString(method, "{0} was detected") &&
|
||||
!containsString(method, "run under"))
|
||||
continue;
|
||||
|
||||
antiDebuggerType = type;
|
||||
|
|
|
@ -110,7 +110,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
MethodDef getProxyCreateMethod(TypeDef type) {
|
||||
if (DotNetUtils.findFieldType(type, "System.ModuleHandle", true) == null)
|
||||
return null;
|
||||
if (type.Fields.Count < 1 || type.Fields.Count > 12)
|
||||
if (type.Fields.Count < 1 || type.Fields.Count > 14)
|
||||
return null;
|
||||
|
||||
MethodDef createMethod = null;
|
||||
|
|
|
@ -312,6 +312,8 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
yield return method;
|
||||
else if (DotNetUtils.isMethod(method, "System.Byte[]", "(System.SByte,System.IO.Stream,System.UInt32)"))
|
||||
yield return method;
|
||||
else if (DotNetUtils.isMethod(method, "System.Byte[]", "(System.Char,System.IO.Stream)"))
|
||||
yield return method;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
|
||||
if (!method.IsStatic || !DotNetUtils.isMethod(method, "System.Void", "()"))
|
||||
return false;
|
||||
if (type.Methods.Count < 3 || type.Methods.Count > 16)
|
||||
if (type.Methods.Count < 3 || type.Methods.Count > 20)
|
||||
return false;
|
||||
if (DotNetUtils.getPInvokeMethod(type, "mscoree", "StrongNameSignatureVerificationEx") != null) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user