{
	"id": "bb7b805c-3d3e-40d5-8c8d-76597d0cc98b",
	"created_at": "2026-12-02T02:29:41.127386Z",
	"updated_at": "2026-12-02T02:42:48.720878Z",
	"deleted_at": null,
	"sha1_hash": "1880aee027fc36e687c67ebeb67b568fb95e687b",
	"title": "How the Iranian Cyber Security Agency Detects Emissary Panda Malware",
	"llm_title": "How the Iranian Cyber Security Agency Detects Emissary Panda Malware",
	"authors": "Team Cymru",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 66304,
	"plain_text": "https://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/\n\nHow the Iranian Cyber Security Agency Detects Emissary Panda\n\nMalware\n\nBy Next \u003c \u003e Previous\n\nPublished: 2020-03-25 · Archived: 2026-12-02 02:16:11 UTC\n\nOther threat intelligence groups have previously publicised that the Chinese-attributed threat group, Emissary\n\nPanda (aka APT27, TG-3390, BRONZE UNION, Iron Tiger and LuckyMouse), have been targeting various sectors\n\nin the Middle East, including government organisations.\n\nOn 15 December 2019, Iran’s Minister of Communications and Information Technology, Mohammad Javad Azari-\n\nJahromi, announced that Iranian authorities had detected foreign spying malware on their government servers\n\nwhich they attributed to the “well-known APT27” (Figure 1).\n\nFigure 1: Announcement about APT27 by Iran’s Minister of Communications and\n\nInformation Technology\n\nWe decided to take a look at our data in an attempt to identify any malware indicators of this compromise.\n\nAlthough Emissary Panda are known to utilise a wide-array of tools, they are most often associated with\n\nHyperBro, an in-memory RAT. Therefore, we decided to start by searching for any previously unobserved samples\n\nof this malware we have within our datasets. HyperBro malware is installed on a system via three components:\n\nA legitimate executable used to side-load\n\nA malicious DLL used to decrypt and load\n\nA third file as a DLL (the malicious payload)\n\nWe also know from previous analysis that HyperBro creates various unique artefacts on a victim system,\n\nincluding:\n\n1. A registry key that contains configuration information that the malware relies on to function.\n\n2. A service created by the malware which is used to install itself on a victim system.\n\n3. A process mutex created by HyperBro to ensure that only one instance of the malware is running at any\n\ntime.\n\n1 – REGISTRY\n\nHyperBro stores configuration data in a registry key. The path of this registry key is dynamically generated based\n\non information collected on the victim system.\n\nHyperBro queries the registry\n\nkey HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0 for the value\n\nPage 1 of 5\n\nhttps://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/\n\nof Identifier(Figure 2).\n\nFigure 2: Example value of Identifier\n\nThe example in Figure 3 has the value Intel64 Family 6 Model 62 Stepping 4. That value is subsequently used\n\nby HyperBro to create a registry key in the HKEY_CLASSES_ROOT. In this example, the created key would\n\nbe HKEY_CLASSES_ROOT\\Intel64 Family 6 Model 62 Stepping 4-ll37389743nxshkhjhgee.\n\nThe appended value –ll37389743nxshkhjhgee is a part of the malware’s embedded configuration and may change\n\nover time.\n\n2 – SERVICE\n\nHyperBro installs itself to run as a service by injecting itself into a spawned svchost.exe process.\n\nThe HyperBro process will be an orphaned (no parent process) svchost.exe process.\n\n3 – MUTEX\n\nHyperBro creates a process mutex in order to ensure that only one instance of the malware is running at any\n\ngiven time. The name of the process mutex is created by collecting the name of the user currently logged onto the\n\ncompromised system and appending a hard-coded string. Samples analysed to-date have used the string Defender.\n\nFor example, if the current system profile has a username “Joe”, HyperBro will create a mutex with the\n\nname JoeDefender.\n\nIRANIAN GOVERNMENT DETECTION AND REMOVAL TOOLS\n\nWhen searching for HyperBro samples via the Malware Add-on for Augury, our data analyst’s portal, one\n\nparticular sample stood out to us (SHA1: f7979ded11e695448c24a7a8efc1ea2649f9196c) (Figure 3):\n\nPage 2 of 5\n\nhttps://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/\n\nFigure 3: Sample of interest that created a process mutex associated with HyperBro\n\nWe conducted some further analysis on this sample, and while it created a process mutex associated with\n\nHyperBro (PhilDefender), the functionality was vastly different from what we expected. In fact, the version\n\ninformation of the sample suggested that this was not HyperBro at all (Figure 4):\n\nFigure 4: Version information from sample of interest\n\nAFTA are the Iranian Cyber Security Agency. A screenshot from our malware sandbox showed the following\n\nimage (Figure 5):\n\nFigure 5: Screenshot from malware sandbox\n\nThe logo on the right is for AFTA. Further searches within open source associated the other logo with BitBaan, an\n\nIranian malware analysis laboratory. BitBaan even tweeted about their APT27 remediation tools on 30 December\n\n2019.\n\nBitBaan may be a contractor for the Iranian government and this software was developed to share with\n\ngovernment agencies and contractors.\n\nUnpacking the sample provided us with strings – specifically contact details for AFTA –   which we used to\n\nidentify an archive that was submitted to VirusTotal from an Iranian IP address, with the filename AFTA-APT27-\n\nDetector.rar (SHA1: e38ab5339aef4fe8b2587e178fc38879dbc34209).\n\nThe archive contains tools and documentation for detecting and removing HyperBro malware on both single\n\nworkstations and a Windows domain, including the aforementioned sample that we previously identified. Each set\n\nof tools has its own directory.\n\nThe tools and documentation for the “stand-alone” deployment (i.e. tools to be used on a single workstation) are\n\nin a folder named Stand-alone_APT27_afta; the contents of this folder are shown below:\n\nFilename AFTA-APT27-Detector.exe\n\nPage 3 of 5\n\nhttps://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/\n\nSHA1\n\nDescription\n\nFilename\n\nSHA1\n\nDescription\n\nFilename\n\nSHA1\n\nDescription\n\nThe tools and documentation for deployment to hosts connected to a Windows domain are in a folder\n\nnamed Domain_APT27_afta; the contents of this folder are shown below:\n\nFilename\n\nSHA1\n\nDescription\n\nFilename\n\nSHA1\n\nDescription\n\nFilename\n\nSHA1\n\nDescription\n\nFilename\n\nSHA1\n\nDescription\n\nThe documentation describes creating a network share for storing the tools that all workstations can access. Users\n\nare then directed to use the batch script (detector3.bat) as a scheduled task on all workstations connected to the\n\nf69ab51268efc334616dfe49c6ee8e3808a0674f\n\nHyperBro detection tool\n\nAFTA-APT27-Removal.exe\n\nf7979ded11e695448c24a7a8efc1ea2649f9196c\n\nHyperBro removal tool\n\nAPT27-Help.pdf\n\n6cf2dfc970033889883e61977ac7ca49e2bceba2\n\nTechnical documentation on using the detection and removal tools\n\nAFTA-APT27-Detector.exe\n\nee1360de2aec10db6e49b55202bbe280ae40d5b4\n\nHyperBro detection and removal tool.\n\nAPT-27_Detector.pdf\n\n9bfb4b4d6c9c1afb5ccea5fee2c97d8f2aa847e2\n\nTechnical documentation on using the detection and removal tools.\n\ndetector3.bat\n\n4d8479e8fbc59c10a66abf989051f5b6e41bf8b7\n\nBatch script that will run detection/removal utility and store logs.\n\nsummarize-x86.exe\n\ne88b5f201f20e6024095c4dca4170d851f7d9cfe\n\nTool that will create summary analysis of all log files generated by AFTA-\n\nAPT27-Detector.exe\n\nPage 4 of 5\n\nhttps://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/\n\ndomain. Logs generated by the batch script are stored on the previously-created network share. The tool\n\nsummarize-x86.exe will create a summary of the log files created by workstations that can be reviewed by\n\nnetwork incident responders.\n\nThe AFTA detection software (AFTA-APT27-Detector.exe) checks for the existence of the three indicators of\n\ncompromise previously detailed in this blog (registry, service, mutex). When checking for the HyperBro service,\n\nthe detection utility scans running processes and attempts to identify an orphaned svchost.exeprocess, and if\n\nsuccessful will store the name of the DLL file linked to run using that process. The stored name of the DLL file is\n\nthen used in the removal process (see below).\n\nThe removal utility (AFTA-APT27-Removal.exe) will attempt to remove HyperBro (and its artefacts) from an\n\ninfected host in the following order:\n\n1. The registry key containing the configuration data.\n\n2. The service installed by HyperBro, in order to prevent the malware from running again.\n\n3. The svchost.exe process is then terminated.\n\n4. The executable, DLL and payload are deleted from disk.\n\nWhile the discovery of these tools does not confirm the full extent of the compromise of Iranian Government\n\nsystems by Emissary Panda, their existence alone indicates that the compromise was significant enough that the\n\nIranian Cyber Security Agency (in co-operation with BitBaan) needed to develop tools and documentation to\n\ndistribute across multiple networks/Windows domains.\n\nCategories Commercial Products, Network Security, Who and Why\n\nTags @teamcymru, #augury, #threatintelligence, APT, cybersecurity, data breach\n\nSource: https://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-e\nmissary-panda-malware/\n\nPage 5 of 5",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"Malpedia"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/"
	],
	"report_names": [
		"how-the-iranian-cyber-security-agency-detects-emissary-panda-malware"
	],
	"threat_actors": [],
	"ts_created_at": 1796178581,
	"ts_updated_at": 1796179368,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/1880aee027fc36e687c67ebeb67b568fb95e687b.pdf",
		"text": "https://archive.orkl.eu/1880aee027fc36e687c67ebeb67b568fb95e687b.txt",
		"img": "https://archive.orkl.eu/1880aee027fc36e687c67ebeb67b568fb95e687b.jpg"
	},
	"iocs": [
		{
			"type": "domain",
			"value": "team-cymru.com",
			"count": 6,
			"flags": [
				"in_url_host"
			],
			"some_flags": [
				"in_url_host"
			]
		},
		{
			"type": "domain",
			"value": "web.archive.org",
			"count": 6,
			"flags": [
				"in_url_host"
			],
			"some_flags": [
				"in_url_host"
			]
		},
		{
			"type": "sha1",
			"value": "4d8479e8fbc59c10a66abf989051f5b6e41bf8b7",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "6cf2dfc970033889883e61977ac7ca49e2bceba2",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "9bfb4b4d6c9c1afb5ccea5fee2c97d8f2aa847e2",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "e38ab5339aef4fe8b2587e178fc38879dbc34209",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "e88b5f201f20e6024095c4dca4170d851f7d9cfe",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "ee1360de2aec10db6e49b55202bbe280ae40d5b4",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "f69ab51268efc334616dfe49c6ee8e3808a0674f",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha1",
			"value": "f7979ded11e695448c24a7a8efc1ea2649f9196c",
			"count": 2,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "url",
			"value": "https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-e",
			"count": 1,
			"flags": [
				"in_url_path"
			],
			"some_flags": [
				"in_url_path"
			]
		},
		{
			"type": "url",
			"value": "https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/",
			"count": 5,
			"flags": [
				"in_url_path"
			],
			"some_flags": [
				"in_url_path"
			]
		},
		{
			"type": "url",
			"value": "https://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-e",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "url",
			"value": "https://web.archive.org/web/20200806190325if_/https://team-cymru.com/2020/03/25/how-the-iranian-cyber-security-agency-detects-emissary-panda-malware/",
			"count": 5,
			"flags": [],
			"some_flags": []
		}
	]
}