Merge pull request #223 from guardicore/feature/add_config_to_pth

Actually use mimikatz configuration variable
This commit is contained in:
MaorCore 2018-12-06 16:11:50 +02:00 committed by GitHub
commit 24eed6d069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@
"alive": true,
"collect_system_info": true,
"extract_azure_creds": true,
"should_use_mimikatz": true,
"depth": 2,
"dropper_date_reference_path_windows": "%windir%\\system32\\kernel32.dll",

View File

@ -38,7 +38,9 @@ class WindowsInfoCollector(InfoCollector):
super(WindowsInfoCollector, self).get_info()
self.get_wmi_info()
self.get_installed_packages()
self.get_mimikatz_info()
from infection_monkey.config import WormConfiguration
if WormConfiguration.should_use_mimikatz:
self.get_mimikatz_info()
return self.info