diff --git a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py index e9896e718..486211ded 100644 --- a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py +++ b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py @@ -16,11 +16,16 @@ logger = logging.getLogger(__name__) DEFAULT_DIRS = ["/.ssh/", "/"] SSH_CREDENTIAL_COLLECTOR_TAG = "SSHCredentialsStolen" -T1003_TAG = "T1003" -T1005_TAG = "T1005" -T1145_TAG = "T1145" +T1003_ATTACK_TECHNIQUE_TAG = "T1003" +T1005_ATTACK_TECHNIQUE_TAG = "T1005" +T1145_ATTACK_TECHNIQUE_TAG = "T1145" -SSH_COLLECTOR_EVENT_TAG = {SSH_CREDENTIAL_COLLECTOR_TAG, T1003_TAG, T1005_TAG, T1145_TAG} +SSH_COLLECTOR_EVENT_TAG = { + SSH_CREDENTIAL_COLLECTOR_TAG, + T1003_ATTACK_TECHNIQUE_TAG, + T1005_ATTACK_TECHNIQUE_TAG, + T1145_ATTACK_TECHNIQUE_TAG, +} def get_ssh_info(