Beispiel #1
0
 def __init__(self):
     self.appid = 'Get KDE keyring'
     self.bus_info = [
         ('org.kde.kwalletd', '/modules/kwalletd'),
         ('org.kde.kwalletd5', '/modules/kwalletd5')
     ]
     ModuleInfo.__init__(self, 'kwallet', 'wallet')
Beispiel #2
0
    def __init__(self):
        ModuleInfo.__init__(self, 'hashdump', 'system')

        self.username = None
        self.iterations = None
        self.salt_hex = None
        self.entropy_hex = None
Beispiel #3
0
    def __init__(self, safe_storage_key=None):
        ModuleInfo.__init__(self, 'chrome', 'browsers')

        login_data_path = '/Users/*/Library/Application Support/Google/Chrome/*/Login Data'
        cc_data_path = '/Users/*/Library/Application Support/Google/Chrome/*/Web Data'
        self.chrome_data = glob.glob(login_data_path) + glob.glob(cc_data_path)
        self.safe_storage_key = safe_storage_key
Beispiel #4
0
    def __init__(self):
        ModuleInfo.__init__(self, 'robomongo', 'databases')

        self.paths = [
            {
                'directory': u'.config/robomongo',
                'filename': u'robomongo.json',
            },
            {
                'directory': u'.3T/robo-3t/1.1.1',
                'filename': u'robo3t.json',
            }
        ]
Beispiel #5
0
    def __init__(self):
        ModuleInfo.__init__(self, 'mimipy', 'memory')

        self.shadow_hashes = []
        self.rules = [
            {
                "desc": "[SYSTEM - GNOME]",
                "process": r"gnome-keyring-daemon|gdm-password|gdm-session-worker",
                "near": r"libgcrypt\.so\..+|libgck\-1\.so\.0|_pammodutil_getpwnam_|gkr_system_authtok",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - LightDM]",  # Ubuntu/xubuntu login screen :) https://doc.ubuntu-fr.org/lightdm
                "process": r"lightdm",
                "near": r"_pammodutil_getpwnam_|gkr_system_authtok",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - SSH Server]",
                "process": r"/sshd$",
                "near": r"sudo.+|_pammodutil_getpwnam_",
                "func": self.test_shadow,
            },
            {
                "desc": "[SSH Client]",
                "process": r"/ssh$",
                "near": r"sudo.+|/tmp/ICE-unix/[0-9]+",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - VSFTPD]",
                "process": r"vsftpd",
                "near": r"^::.+\:[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$",
                "func": self.test_shadow,
            },
        ]

        regex_type = type(re.compile("^plop$"))
        # precompile regexes to optimize speed
        for x in self.rules:
            if "near" in x:
                if type(x["near"]) != regex_type:
                    x["near"] = re.compile(x["near"])
            if "process" in x:
                if type(x["process"]) != regex_type:
                    x["process"] = re.compile(x["process"])

        self.look_after_size = 1000 * 10 ** 3
        self.look_before_size = 500 * 10 ** 3
Beispiel #6
0
 def __init__(self):
     ModuleInfo.__init__(self, 'lsa_secrets', 'windows', system_module=True)
Beispiel #7
0
    def __init__(self):
        ModuleInfo.__init__(self, 'coreftp', 'sysadmin')

        self._secret = "hdfzpysvpzimorhk"
 def __init__(self):
     ModuleInfo.__init__(self, 'mscache', 'windows', system_module=True)
 def __init__(self):
     ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin')
     # Interesting XML attributes in ADS connection configuration
     self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"]
Beispiel #10
0
 def __init__(self):
     ModuleInfo.__init__(self, 'keepass', 'memory')
Beispiel #11
0
 def __init__(self):
     ModuleInfo.__init__(self, 'clawsmail', 'mails')
    def __init__(self):
        ModuleInfo.__init__(self, 'sqldeveloper', 'databases')

        self._salt = self.get_salt()
        self._passphrase = None
        self._iteration = 42
Beispiel #13
0
 def __init__(self):
     ModuleInfo.__init__(self, 'credfiles', 'windows', dpapi_used=True)
Beispiel #14
0
 def __init__(self):
     ModuleInfo.__init__(self, 'gitforwindows', 'git')
Beispiel #15
0
 def __init__(self, browser_name, paths):
     self.paths = paths if isinstance(paths, list) else [paths]
     self.database_query = 'SELECT action_url, username_value, password_value FROM logins'
     ModuleInfo.__init__(self, browser_name, 'browsers', dpapi_used=True)
Beispiel #16
0
 def __init__(self, browser_name, path):
     self.path = os.path.expanduser(path)
     ModuleInfo.__init__(self, browser_name, category='browsers')
    def __init__(self):
        self.pwd_found = []

        ModuleInfo.__init__(self, 'psi-im', 'chats')
Beispiel #18
0
 def __init__(self):
     ModuleInfo.__init__(self, name='postgresql', category='databases')
Beispiel #19
0
 def __init__(self):
     ModuleInfo.__init__(self, name='postgresql', category='databases')
 def __init__(self):
     ModuleInfo.__init__(self, 'hashdump', 'windows', system_module=True)
Beispiel #21
0
 def __init__(self):
     ModuleInfo.__init__(self, 'unattended', 'sysadmin', system_module=True)
Beispiel #22
0
	def __init__(self):
		ModuleInfo.__init__(self, 'coreftp', 'sysadmin')
		
		self._secret = "hdfzpysvpzimorhk"
Beispiel #23
0
 def __init__(self):
     ModuleInfo.__init__(self, 'mavenrepositories', 'maven')
     # Interesting XML nodes in Maven repository configuration
     self.nodes_to_extract = ["id", "username", "password", "privateKey", "passphrase"]
     self.settings_namespace = "{http://maven.apache.org/SETTINGS/1.0.0}"
Beispiel #24
0
 def __init__(self):
     ModuleInfo.__init__(self, 'pypykatz', 'windows', system_module=True)
Beispiel #25
0
 def __init__(self):
     ModuleInfo.__init__(self, 'cli', 'sysadmin')
Beispiel #26
0
 def __init__(self):
     ModuleInfo.__init__(self, 'pidgin', 'chats')
Beispiel #27
0
 def __init__(self):
     ModuleInfo.__init__(self, name='squirrel', category='databases')
Beispiel #28
0
 def __init__(self):
     ModuleInfo.__init__(self, 'winscp', 'sysadmin', registry_used=True)
     self.hash = ''
Beispiel #29
0
 def __init__(self):
     ModuleInfo.__init__(self, 'pidgin', 'chats')
Beispiel #30
0
 def __init__(self):
     ModuleInfo.__init__(self, 'shadow', 'sysadmin')
 def __init__(self, browser_name, path):
     self.path = path
     ModuleInfo.__init__(self, browser_name, 'browsers')
Beispiel #32
0
    def __init__(self):
        ModuleInfo.__init__(self, name='dbvis', category='databases')

        self._salt = self.get_salt()
        self._passphrase = 'qinda'
        self._iteration = 10
Beispiel #33
0
 def __init__(self):
     ModuleInfo.__init__(self, 'wifi', 'wifi')
Beispiel #34
0
 def __init__(self):
     ModuleInfo.__init__(self,
                         'autologon',
                         'windows',
                         registry_used=True,
                         system_module=True)
Beispiel #35
0
 def __init__(self):
     ModuleInfo.__init__(self, 'filezilla', 'sysadmin')
Beispiel #36
0
 def __init__(self):
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', dpapi_used=True)
Beispiel #37
0
 def __init__(self, browser_name, path):
     self.path = path
     ModuleInfo.__init__(self, browser_name, 'browsers')
Beispiel #38
0
 def __init__(self):
     ModuleInfo.__init__(self, 'windows', 'windows')
Beispiel #39
0
 def __init__(self):
     ModuleInfo.__init__(self, 'mscache', 'windows', system_module=True)
Beispiel #40
0
 def __init__(self):
     ModuleInfo.__init__(self, 'gitforlinux', 'git')
Beispiel #41
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opensshforwindows', 'sysadmin')
 def __init__(self):
     ModuleInfo.__init__(self,
                         'vault',
                         'windows',
                         only_from_current_user=True)
Beispiel #43
0
 def __init__(self):
     ModuleInfo.__init__(self, 'fstab', 'sysadmin')
Beispiel #44
0
 def __init__(self):
     ModuleInfo.__init__(self, 'puttycm', 'sysadmin', registry_used=True)
Beispiel #45
0
 def __init__(self):
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', winapi_used=True)
Beispiel #46
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opera', 'browsers')
Beispiel #47
0
 def __init__(self):
     ModuleInfo.__init__(self, 'lsa_secrets', 'windows', system_module=True)
Beispiel #48
0
 def __init__(self):
     ModuleInfo.__init__(self, 'roguestale', 'games')
Beispiel #49
0
 def __init__(self, browser_name, paths):
     self.paths = paths if isinstance(paths, list) else [paths]
     self.database_query = 'SELECT action_url, username_value, password_value FROM logins'
     ModuleInfo.__init__(self, browser_name, 'browsers', winapi_used=True)
Beispiel #50
0
 def __init__(self):
     ModuleInfo.__init__(self, 'system', 'system')
Beispiel #51
0
 def __init__(self):
     ModuleInfo.__init__(self, 'tortoise', 'svn', winapi_used=True)
Beispiel #52
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opensshforwindows', 'sysadmin')
     self.key_files_location = os.path.join(constant.profile["USERPROFILE"], u'.ssh')
Beispiel #53
0
 def __init__(self):
     self.vnckey = [23, 82, 107, 6, 35, 78, 88, 7]
     ModuleInfo.__init__(self, name='vnc', category='sysadmin')
Beispiel #54
0
 def __init__(self):
     ModuleInfo.__init__(self, 'grub', 'sysadmin')
 def __init__(self):
     ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin')
     # Interesting XML attributes in ADS connection configuration
     self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"]
Beispiel #56
0
 def __init__(self):
     ModuleInfo.__init__(self, 'filezilla', 'sysadmin')
Beispiel #57
0
 def __init__(self):
     ModuleInfo.__init__(self, 'shadow', 'sysadmin')
Beispiel #58
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opera', 'browsers')
Beispiel #59
0
 def __init__(self):
     ModuleInfo.__init__(self, 'kalypsomedia', 'games')
 def __init__(self):
     ModuleInfo.__init__(self, 'galconfusion', 'games', registry_used=True)