Giter Site home page Giter Site logo

reverseame / winesap Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 0.0 245 KB

Volatility plugin to search for all Autostart Extensibility Points (AESPs)

Home Page: https://doi.org/10.1016/j.diin.2019.01.026

License: GNU Affero General Public License v3.0

Python 100.00%
volatility volatility-plugins python malware-analysis malware-persistence autostar-extensibility-points aesp

winesap's People

Contributors

duroz avatar martinidelimon avatar ricardojrdez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

winesap's Issues

Add JSON render

This plugin doesn't have json output.
Plesase, add the functionality.

This function works for me.

def render_json(self, outfd, data):
        for gen in data:
            for key in gen:
                root = key['root']
                filtered_keys = self.filter_key(key['key'], key['value'])
                for filtered_key in filtered_keys:
                    if not self._config.MATCH or (self._config.MATCH and filtered_key['reason']):
                        #if filtered_key['reason']:
                        #    outfd.write('\nWARNING: {0}'.format(warning_message(', '.join(filtered_key['reason']))))
                        #outfd.write('\n{0}{1}\n'.format(root, self.regapi.reg_get_key_path(filtered_key['key'])))

                        tp, dt = rawreg.value_data(filtered_key['value'])
                        if tp == 'REG_BINARY' or tp == 'REG_NONE':
                            dt = "\n" + "\n".join(["{0:#010x}  {1:<48}  {2}".format(o, h, ''.join(c)) for o, h, c in
                                                   utils.Hexdump(dt[:0x40])])
                        dic = {'key': '{0}{1}'.format(root, self.regapi.reg_get_key_path(filtered_key['key'])),
                               'name': self.get_value_name(filtered_key['value']),
                               'type': tp,
                               'value': dt,
                               'warning': ', '.join(filtered_key['reason']) if filtered_key['reason'] else None
                               }

                        #outfd.write('{0}: {1}: {2}\n'.format(self.get_value_name(filtered_key['value']), tp, dt))
                        outfd.write('{0}\n'.format(json.dumps(dic)))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.