DakotaNelson / sneaky-creeper

Get your APT on using social media as a tool for data exfiltration.
https://strikersecurity.com/projects/sneaky-creeper-covert-data-exfiltration/
MIT License
143 stars 28 forks source link

Channel Attributes #71

Open DakotaNelson opened 8 years ago

DakotaNelson commented 8 years ago

Alongside the existing maxLength, maxHourly, requiredParams, description, etc., I propose some new ones:

This is inspired by Powershell Empire:

    # metadata info about the module, not modified during runtime
        self.info = {
            # name for the module that will appear in module menus
            'Name': 'Invoke-Something',

            # list of one or more authors for the module
            'Author': ['@yourname'],

            # more verbose multi-line description of the module
            'Description': ('description line 1'
                            'description line 2'),

            # True if the module needs to run in the background
            'Background' : False,

            # File extension to save the file as
            'OutputExtension' : None,

            # True if the module needs admin rights to run
            'NeedsAdmin' : False,

            # True if the method doesn't touch disk/is reasonably opsec safe
            'OpsecSafe' : True,

            # The minimum PowerShell version needed for the module to run
            'MinPSVersion' : '2',

            # list of any references/other comments
            'Comments': [
                'comment',
                'http://link/'
            ]
        }

All told, the full attribute list for modules would be:

davinerd commented 8 years ago

make sense if use it. We can add them as a future enhancement (I'd say: in the base class and with default value that should be overrided by each channel.

What do you think?

DakotaNelson commented 8 years ago

:+1: Sounds great to me. Not particularly urgent, but it'd be nice to have.