Open decalage2 opened 6 years ago
Also, need to check class names in lowercase, because they are not case sensitive. E.g. the following code is not right:
if rtfobj.class_name == b'OLE2Link':
To fully close this one, we need to have a list of class names matching each CLSID, as it is not limited to "equation.3".
For some samples like the following, there is no CLSID and rtfobj does not detect the type of object: https://www.hybrid-analysis.com/sample/3cf7272c35aad460bd3c162e4e1499c383ac06dec02ef36e506eb50d9e84116f/5b9f46d47ca3e170d27c8508
In that case, rtfobj should use the class name to detect well-known object types such as the MS Equation editor here (CVE-2017-11882).