forked from p15670423/monkey
Agent: Add zerologon exploiter tag to zerologon_utils
This commit is contained in:
parent
ef581ff912
commit
d3a2fa8a4c
|
@ -25,6 +25,7 @@ from common.tags import (
|
|||
)
|
||||
from infection_monkey.exploit.HostExploiter import HostExploiter
|
||||
from infection_monkey.exploit.tools.wmi_tools import WmiTools
|
||||
from infection_monkey.exploit.zerologon_utils import ZEROLOGON_EXPLOITER_TAG
|
||||
from infection_monkey.exploit.zerologon_utils.dump_secrets import DumpSecrets
|
||||
from infection_monkey.exploit.zerologon_utils.options import OptionsForSecretsdump
|
||||
from infection_monkey.exploit.zerologon_utils.vuln_assessment import get_dc_details, is_exploitable
|
||||
|
@ -36,8 +37,6 @@ from infection_monkey.utils.threading import interruptible_iter
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
ZEROLOGON_EXPLOITER_TAG = "zerologon-exploiter"
|
||||
|
||||
EXPLOIT_TAGS = (
|
||||
ZEROLOGON_EXPLOITER_TAG,
|
||||
T1003_ATTACK_TECHNIQUE_TAG,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ZEROLOGON_EXPLOITER_TAG = "zerologon-exploiter"
|
|
@ -7,10 +7,11 @@ from impacket.dcerpc.v5 import nrpc, rpcrt
|
|||
from common.common_consts.timeouts import MEDIUM_REQUEST_TIMEOUT
|
||||
from common.tags import T1210_ATTACK_TECHNIQUE_TAG
|
||||
from common.utils.exceptions import DomainControllerNameFetchError
|
||||
from infection_monkey.exploit.zerologon import ZEROLOGON_EXPLOITER_TAG
|
||||
from infection_monkey.model import VictimHost
|
||||
from infection_monkey.utils.threading import interruptible_iter
|
||||
|
||||
from . import ZEROLOGON_EXPLOITER_TAG
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue