SalSA
SalSA copied to clipboard
Salvaging Static Analysis
Add support for `__str__`, `__repr__` and static class methods. Basically make this class more "pythonic"
need to define custom exception for PE class instead of just catching all exceptions.
According to Microsoft the timestamp fields in the PE header could contain a hash instead of the actual build timestamp: https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx#debug_type
Resource tree walk to check for Microsoft spec compliance and interesting types/values. This will be a complex rule. Need some industry white-papers/research on this subject to give more guidance.
Check each header for invalid values (detect tampering). This won't be easy and will probably require a rule per each unique header...
Check for invalid data directory entries (not in a valid section) and alert on them.
Need to add validation of certificates to `pe.py` functionality. Allows for rules to examine the signatures embedded inside the executable.