forked from p15670423/monkey
Island: Fix attack technique T1210
This commit is contained in:
parent
a0b5ac2330
commit
03178b6011
|
@ -61,7 +61,7 @@ class T1210(AttackTechnique):
|
||||||
def get_exploited_services():
|
def get_exploited_services():
|
||||||
results = mongo.db.telemetry.aggregate(
|
results = mongo.db.telemetry.aggregate(
|
||||||
[
|
[
|
||||||
{"$match": {"telem_category": "exploit", "data.result": True}},
|
{"$match": {"telem_category": "exploit", "data.exploitation_result": True}},
|
||||||
{
|
{
|
||||||
"$group": {
|
"$group": {
|
||||||
"_id": {"ip_addr": "$data.machine.ip_addr"},
|
"_id": {"ip_addr": "$data.machine.ip_addr"},
|
||||||
|
|
|
@ -24,7 +24,7 @@ def process_exploit_telemetry(telemetry_json):
|
||||||
|
|
||||||
check_machine_exploited(
|
check_machine_exploited(
|
||||||
current_monkey=Monkey.get_single_monkey_by_guid(telemetry_json["monkey_guid"]),
|
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"],
|
exploiter=telemetry_json["data"]["exploiter"],
|
||||||
target_ip=telemetry_json["data"]["machine"]["ip_addr"],
|
target_ip=telemetry_json["data"]["machine"]["ip_addr"],
|
||||||
timestamp=telemetry_json["timestamp"],
|
timestamp=telemetry_json["timestamp"],
|
||||||
|
|
Loading…
Reference in New Issue