{
	"id": "380bc7ae-0220-4982-afd0-104b907f942a",
	"created_at": "2023-01-12T15:09:11.743183Z",
	"updated_at": "2026-11-16T08:58:38.959014Z",
	"deleted_at": null,
	"sha1_hash": "066ded95aaf6f00ea7c7c103561b4ed452e4f7ee",
	"title": "2020-06-24 - Glupteba malware hides in plain sight",
	"llm_title": "2020-06-24 - Glupteba malware hides in plain sight",
	"authors": "",
	"file_creation_date": "2022-05-27T21:51:23Z",
	"file_modification_date": "2022-05-27T21:51:23Z",
	"file_size": 714423,
	"plain_text": "1/8\r\nAndrew Brandt June 24, 2020\r\nGlupteba malware hides in plain sight\r\nnews.sophos.com/en-us/2020/06/24/glupteba-report/\r\nThis morning, SophosLabs is publishing a report on a malware family whose infection\r\nnumbers have been steadily growing since the beginning of the year. This malware, with its\r\nhard-to-pronounce name, has been getting regular updates and feature enhancements that\r\nseem to be focused on its ability to conceal itself from detection on infected computers.\r\nIn our report, we’ve taken a deep dive into what makes the Glupteba malware distinctive.\r\nThe core malware is, in essence, a dropper with extensive backdoor functionality, but it is a\r\ndropper that goes to great efforts to keep itself, and its various components, hidden from\r\nview by the human operator of an infected computer, or the security software charged with its\r\nprotection.\r\nTo accomplish these tasks, the creators of Glupteba have opted to take a modular approach\r\nto their malware, which can download and execute payloads intended to extend the\r\nfunctionality of the bot. Many of these payloads are exploit scripts and binaries that originate\r\nin open source tool repositories, like Github, and have been lifted whole-cloth from their\r\narchives to be leveraged against the victim’s computer.\n\n2/8\r\nOne of the ways Glupteba uses these exploits is for privilege escalation, primarily so it can\r\ninstall a kernel driver the bot uses as a rootkit, and make other changes that weaken the\r\nsecurity posture of an infected host. The rootkit renders filesystem behavior invisible to the\r\ncomputer’s end user, and also protects any other file the malware decides to store in its\r\napplication directory. A watcher process then monitors the rootkit and other components for\r\nany sign of failure or a crash, and can reinitialize the rootkit driver or restart a buggy\r\ncomponent.\r\nThat watcher process also gets used to deliver a surprising amount of bug reporting\r\ntelemetry back to Glupteba’s creator(s). After all, an application crash is a very noticeable\r\nevent, and if the goal of the malware is to maintain its stealth, then avoiding crashes is of\r\nparamount importance.\n\n3/8\r\nThe malware also uses the Windows Registry to its advantage, storing many of its\r\nconfiguration options under unobtrusive Registry key names. The names of some of these\r\nconfiguration values also provide a clue about Glupteba’s overall goals. For instance, the bot\r\nstores the name(s) of its command-and-control server(s) under a key labeled “CDN” – a term\r\nof art in the hosting industry that refers to a Content Delivery Network, a type of business\r\nthat caches frequently-requested data so it can be retrieved more rapidly by a large\r\npopulation.\r\nWe can infer from the bot’s propensity to self-protection and stealth, and this CDN label, that\r\nGlupteba’s creators intend this malware to be part of a service offering to other malware\r\npublishers, giving them a pay-per-install business model for malware delivery.\r\nWhere does Glupteba come from?\r\nWe found Glupteba in a large number of downloads that claimed to be installers of pirated,\r\ncommercial software, but these are not likely to be the only sources of this malware.\n\n4/8\r\nThe Glupteba installers we found all share certain distinctive characteristics. Their filenames,\r\nfor example contained one of two unique strings of text, either -rtmd- or -fmld- in the middle\r\nof the filename. These strings turned out to be indicators the malware used to set certain\r\nparameters when first launched on the victim’s computer.\r\nThese installers were technically droppers, which dropped then executed other components\r\nof the infection into specific directories on the infected system. The malware then protected\r\nthese directories using the rootkit driver, which it installs to the DRIVERS folder under\r\n%system% on Windows computers. These drivers, under Windows 10, are usually named\r\nwinmon.sys, winmonfs.sys, and winmonprocessmonitor.sys, but the dropper contains\r\nother versions that run on older Windows operating systems as well.\n\n5/8\r\nThe dropper component also sets up Registry keys where it stores configuration data. These\r\nare located under the Registry path HKEY_USERS\\\u003cSID\u003e\\Software\\Microsoft\\TestApp (in\r\nwhich SID represents the user account SID that executed the malware). The malware then\r\nprofiles the infected system, produces a small report about the configuration of the system,\r\nand connects to a command-and-control server to upload the data and “register” the bot\r\nwithin the Glupteba botnet.\r\nThe bot also spends a significant amount of effort attempting to shut down various protective\r\nmeasures built into Windows, and also attempts to terminate the processes of a long list of\r\nsecurity or analysis tools that might otherwise alert a user to the infection, or prevent it from\r\ntaking hold. As to how much success the bot achieves killing its adversarial processes, we\r\ndon’t have all the data to know.\r\nWho watches the watchers?\r\nOnce the bot is set up and configured, it initializes a process we call the “watcher” that,\r\nbasically, continuously polls each of the other installed components to ensure they’re still\r\nrunning. If the watcher process (windefender.exe) finds that a driver or component has\r\ncrashed, it will attempt to reinitialize/execute the payload.\r\nShellcode embedded in the Glupteba dropper that the bot injects into other processes\r\nThere are watcher components that monitor the core dropper and its own service entry, the\r\nstate of Windows Defender (which the bot attempts to halt), a network proxy component the\r\nbot uses to communicate to the outside world, and the XMRig cryptocurrency miners it\r\n(currently) delivers as a payload.\r\nThe watcher components keep an eye on the dropper for another reason: The dropper’s\r\nsecondary function is to use the initial infected machine as a foothold from which it will scan\r\nthe internal network wherever it is installed in search of vulnerable machines to which it can\n\n6/8\r\nlaunch an EternalBlue exploit against, spreading the dropper laterally across the network to\r\nany other machines it can find.\r\nThe Glupteba bot will\r\ntry to use two different implementations of EternalBlue to spread itself around the network\r\nThe dropper actually contains both the “original” leaked implementation of EternalBlue as\r\nreleased by the Shadow Brokers hacker group, as well as an alternate implementation it will\r\nattempt to use if the first one fails.\r\nOnce all the setup, spreading, and initial communication with the C2 is complete, the bot\r\nrelaxes into a mode where it continuously polls the C2 server for instructions, and\r\nperiodically sends telemetry about the functioning state of the Glupteba dropper and its\r\ncomponents. The bot also begins scanning the public internet for routers made by MikroTik,\r\nand attempts to exploit any it finds using scripts embedded into the dropper.\r\nIf any of the watcher components detect a crash, they retrieve the crash dump and,\r\nperiodically, upload those dumps as well as a count of the number of crashes (labeled in the\r\nsubmission with the Russian text Количестводампов, which translates to “number of\r\ndumps”).\r\nUpdating the C2 from the blockchain\r\nOne of Glupteba’s more intriguing features is the way that it retrieves an updated list of the\r\nservers where it downloads payloads (which it refers to as a “CDN,” or content delivery\r\nnetwork). It does this by querying one or more bitcoin transaction IDs hardcoded into the\r\nbinary.\n\n7/8\r\nThe JSON response to Glupteba’s blockchain queries includes the encoded string (“hex”)\r\nthat updates the C2 server addresses.\r\nInside the specific wallets it reads, the transaction data contains a long string of letters and\r\nnumbers. The servers it queries return a JSON-formatted file that contains a field labeled\r\nOP_RETURN. The bot parses and decrypts the contents of this OP_RETURN field, which\r\ntranslates into one or more domain names, which the bot then adds to the Registry keys\r\nwhere it stores its configuration data.\r\nFor a malware that delivers a cryptocurrency miner, it’s an interesting choice. After all, the\r\nbot’s payload is already communicating with bitcoin wallets and the blockchain, so perhaps\r\nthe bot’s creators thought they would be able to sneak one additional connection past that\r\nnobody would notice.\r\nAll the details about how the bots parse and decode the domain names out of these\r\nblockchain transaction logs are in the report.\r\nPreventing or detecting Glupteba\n\n8/8\r\nThe Glupteba installers we’ve seen appear to be pirated software installers. End users may\r\nprevent infection by obtaining properly licensed software from official sources, rather than\r\npirated copies of unknown provenance.\r\nGlupteba and its components, including the rootkit driver, are detected by Sophos endpoint\r\nproducts. The EDR team has built a list of queries that users of Sophos EDR 3.0 can use to\r\nperform proactive threat hunts against machines on their network. Those queries can be\r\nfound on the Sophos Community forum.\r\nIndicators of compromise for the samples associated with this analysis can be found on the\r\nSophosLabs Github.\r\nAcknowledgments\r\nSophosLabs acknowledges the work of Luca Nagy, assisted by Gábor Szappanos, Ferenc\r\nLászló Nagy, Vikas Singh, and Ronny Tyink, to produce this research.",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"VXUG"
	],
	"origins": [
		"pdf"
	],
	"references": [
		"https://papers.vx-underground.org/papers/Malware Defense/Malware Analysis 2020/2020-06-24 - Glupteba malware hides in plain sight.pdf"
	],
	"report_names": [
		"2020-06-24 - Glupteba malware hides in plain sight.pdf"
	],
	"threat_actors": [
		{
			"id": "d4f7cf97-9c98-409c-8b95-b80d14c576a5",
			"created_at": "2022-10-25T16:07:24.561104Z",
			"updated_at": "2026-11-16T02:00:28.55968Z",
			"deleted_at": null,
			"main_name": "Shadow Brokers",
			"aliases": [],
			"source_name": "ETDA:Shadow Brokers",
			"tools": [],
			"source_id": "ETDA",
			"reports": null
		},
		{
			"id": "171b85f2-8f6f-46c0-92e0-c591f61ea167",
			"created_at": "2023-01-06T13:46:38.830188Z",
			"updated_at": "2026-11-16T02:00:17.951349Z",
			"deleted_at": null,
			"main_name": "The Shadow Brokers",
			"aliases": [
				"The ShadowBrokers",
				"TSB",
				"Shadow Brokers",
				"ShadowBrokers"
			],
			"source_name": "MISPGALAXY:The Shadow Brokers",
			"tools": [],
			"source_id": "MISPGALAXY",
			"reports": null
		}
	],
	"ts_created_at": 1673536151,
	"ts_updated_at": 1794819518,
	"ts_creation_date": 1653688283,
	"ts_modification_date": 1653688283,
	"files": {
		"pdf": "https://archive.orkl.eu/066ded95aaf6f00ea7c7c103561b4ed452e4f7ee.pdf",
		"text": "https://archive.orkl.eu/066ded95aaf6f00ea7c7c103561b4ed452e4f7ee.txt",
		"img": "https://archive.orkl.eu/066ded95aaf6f00ea7c7c103561b4ed452e4f7ee.jpg"
	}
}