forked from p15670423/monkey
Agent: Define exploiter and propagation tags correctly
This commit is contained in:
parent
f917654f41
commit
ce6ca64b4d
|
@ -49,22 +49,18 @@ class SMBExploiter(HostExploiter):
|
|||
}
|
||||
USE_KERBEROS = False
|
||||
SMB_SERVICE_NAME = "InfectionMonkey"
|
||||
|
||||
def _EXPLOITER_TAGS(self) -> Tuple[str, ...]:
|
||||
return (
|
||||
SMBEXEC_EXPLOITER_TAG,
|
||||
T1021_ATTACK_TECHNIQUE_TAG,
|
||||
T1110_ATTACK_TECHNIQUE_TAG,
|
||||
T1210_ATTACK_TECHNIQUE_TAG,
|
||||
)
|
||||
|
||||
def _PROPAGATION_TAGS(self) -> Tuple[str, ...]:
|
||||
return (
|
||||
SMBEXEC_EXPLOITER_TAG,
|
||||
T1021_ATTACK_TECHNIQUE_TAG,
|
||||
T1105_ATTACK_TECHNIQUE_TAG,
|
||||
T1210_ATTACK_TECHNIQUE_TAG,
|
||||
)
|
||||
_EXPLOITER_TAGS = (
|
||||
SMBEXEC_EXPLOITER_TAG,
|
||||
T1021_ATTACK_TECHNIQUE_TAG,
|
||||
T1110_ATTACK_TECHNIQUE_TAG,
|
||||
T1210_ATTACK_TECHNIQUE_TAG,
|
||||
)
|
||||
_PROPAGATION_TAGS = (
|
||||
SMBEXEC_EXPLOITER_TAG,
|
||||
T1021_ATTACK_TECHNIQUE_TAG,
|
||||
T1105_ATTACK_TECHNIQUE_TAG,
|
||||
T1210_ATTACK_TECHNIQUE_TAG,
|
||||
)
|
||||
|
||||
def _exploit_host(self):
|
||||
|
||||
|
|
Loading…
Reference in New Issue