Island: Fix attack technique T1210

This commit is contained in:
Ilija Lazoroski 2022-02-23 10:04:56 +01:00
parent a0b5ac2330
commit 03178b6011
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class T1210(AttackTechnique):
def get_exploited_services():
results = mongo.db.telemetry.aggregate(
[
{"$match": {"telem_category": "exploit", "data.result": True}},
{"$match": {"telem_category": "exploit", "data.exploitation_result": True}},
{
"$group": {
"_id": {"ip_addr": "$data.machine.ip_addr"},

View File

@ -24,7 +24,7 @@ def process_exploit_telemetry(telemetry_json):
check_machine_exploited(
current_monkey=Monkey.get_single_monkey_by_guid(telemetry_json["monkey_guid"]),
exploit_successful=telemetry_json["data"]["exploitation_success"],
exploit_successful=telemetry_json["data"]["exploitation_result"],
exploiter=telemetry_json["data"]["exploiter"],
target_ip=telemetry_json["data"]["machine"]["ip_addr"],
timestamp=telemetry_json["timestamp"],