{
	"id": "cb198701-0a49-477c-827d-590134e40fdd",
	"created_at": "2026-11-27T02:21:26.177597Z",
	"updated_at": "2026-11-27T02:32:34.298407Z",
	"deleted_at": null,
	"sha1_hash": "1a677a90bbfba92c49ef3fc8a88fb4df8453af31",
	"title": "Shining the Spotlight on Cherry Picker PoS Malware",
	"llm_title": "Shining the Spotlight on Cherry Picker PoS Malware",
	"authors": "Trustwave",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 70587,
	"plain_text": "https://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\nShining the Spotlight on Cherry Picker PoS Malware\n\nPublished: 2015-11-16 · Archived: 2026-11-27 02:05:36 UTC\n\nIntroduction\n\nFor the last five years Trustwave has been monitoring a threat across a number of forensic cases that we have dubbed\n\n\"Cherry Picker\". This targeted Point of Sale (PoS) memory scraper has enjoyed a very low detection rate in the wild\n\nfor quite some time. Cherry Picker uses a new memory scraping algorithm, a file infector for persistence, and cleaner\n\nmalware that removes all traces of the infection from target systems. This sophisticated functionality and highly\n\ntargeted victims have helped the malware remain under the radar of many AV and security companies. This post will\n\nexpose the functionality of Cherry Picker and hopefully help organizations provide protection from this threat.\n\nThe Past\n\nIn 2011 Trustwave's forensic analysts worked on a case involving several pieces of malware that worked in concert\n\nto obtain Card Holder Data (CHD) from memory of the target process.\n\nCompile\nFilename Hash\nDate\n\n2009-\n\nsearcher.dll B532B2C489EC2989AA976151D9E3878323B9AAD20AF0DC8538F1B30379449162 11-05\n\n20:12:18\n\n2009-\n\nsr.exe E81D12CB40A32A233780328D0BB73598D393C47049847DBBA24881DE034BF938 11-05\n\n20:12:12\n\nSr.exe is a command line interface that accepts n Process IDs (PID) and injects the searcher.dll into each process.\n\nSearcher.dll looks for CHD in the injected process and writes out the found data to a plain text file as\n\n%WINDIR%\\system32\\Data.txt directory. These samples are fairly well detected with both files being flagged by a\n\nlarge number of AVs as a generic banking Trojan or Point of Sale (PoS) memory scraper. However, this tool set\n\nnever seems to be alone on the system. Our investigations have found it being used with, or embedded in, an AutoIt\n\nscript such as fishnetsecurity discusses. TrendMicro found it in use with another PoS memory scraper called Rdasrv.\n\nTrustwave's malware researchers presented this threat at the Sector conference detailing exactly how they worked as\n\nwell as including both Cherry Picker and Searcher artifacts in a SANS course: Sniper Forensics.\n\nSo not exactly under the radar huh? Okay, fair enough. Just like in all the infomercials we get to the part you all\n\nknow… BUT WAIT! There's more.\n\nCherry Picker\n\nPage 1 of 6\n\nhttps://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\nCherry Picker is a set of malware that has also been seen on systems in conjunction with searcher.dll; however,\n\nunlike Searcher it has gone largely unnoticed by the AV and security community. While Searcher has remained\n\nunchanged on the various cases it has been seen on, Cherry Picker has undergone consistent improvement over the\n\nyears. So what is Cherry Picker exactly? There are essentially been 3 versions of the main malware:\n\nFilename: Pserver32.dll\n\nCompile\nVersion Hash\nDate\n\n2009-\n\n1 CB71B31AF4BC5A5D3F541BEFF87ECBFD55F24BA7AD6249484608E359D880F2DD 12-05\n\n05:12:21\n\n2010-\n\n2 AC1837B37A495BEDF644A2824CD36F2BFB34CAD122C26E1FE497146A8F2A16A4 03-04\n\n13:22:59\n\n2015-\n\n3 3F366CCED9473CFBEDA0245F5817699D5BEB81D0AB4D2C81E1E3DCB7DCE7465D 02-01\n\n01:13:33\n\nIf this were a legitimate development project these versions would be minor version updates. Each one adds a small\n\namount of functionality to the previous version.\n\nLoading\n\nBefore we can talk about the meat of Cherry Picker's functionality, we need to take a look at how the DLL is loaded\n\ninto memory. In the searcher.dll case, sr.exe was used to inject the scraper into the memory of a target running\n\nprocess. No persistence was used to perform this function automatically. Cherry Picker has two different ways to\n\ninstall persistence. In several of the cases, a registry file was discovered, that when ran added pserver32.dll the\n\nfollowing registry key:\n\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows]\n\n\"AppInit_DLLs\"=\"pserver32.dll\"\n\nFrom the Microsoft support site:\n\n\"The AppInit_DLLs are loaded by using the LoadLibrary() function during the\n\nDLL_PROCESS_ATTACH process of User32.dll. Therefore, executables that do not link with User32.dll does not\n\nload the AppInit_DLLs. There are very few executables that do not link with User32.dll.\"\n\nIn order for the DLL to be loaded from the AppInit_DLLs registry key, it must be \"turned on\". This is accomplished\n\nby setting the following registry key to 1:\n\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows]\n\nPage 2 of 6\n\nhttps://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\n\"LoadAppInit_DLLs\"=0x00000001\n\nThis causes numerous applications to load the malicious DLL at startup. On the most recent case our analysts found\n\nan additional install mechanism that greatly increased the options available to the attacker. The author upgraded\n\nsr.exe to srf.exe:\n\n2010-03-02\nsrf.exe 7AB1F21B41134FF21476760434569383D8FD55D444DF035C900F330B13F70CBD\n16:35:23\n\nSrf requires that the first argument match a hardcoded string (\"password\") in the binary. This may help it prevent\n\nAVs from marking it as malware since it exits without performing any malicious activity. Srf provides a handy usage\n\nto show what options are available to install the malware:\n\nSrf usage\n\nThe injection option is still here, although it has been expanded to include the ability to inject into all running\n\nprocesses, processes by name, or processes by PID. They can also install/uninstall a variable DLL name into the\n\nAppInit_DLLs registry key (which is what they mean by autorun). Then there is the patch DLL option. This option is\n\na sophisticated file infector that patches the legitimate user32.dll on disk to first load the malicious DLL provided in\n\nthe option before continuing on with the legitimate functionality of the system DLL. Srf uses a little known\n\nlegitimate function of windows (sfc_os.dll #5) to disable system write protection on all 3 versions of user32.dll\n\nstored on the system. The legitimate copy is then copied to the same directory under user32.tmp before adding a\n\nDllEntryPoint to user32.dll with malicious code to load the supplied DLL.\n\nThis is the entry point for the legitimate user32.dll:\n\nBefore file infection\n\nAfter the modification, the new entry point is DllEntryPoint:\n\nAfter file infection\n\nEvery time user32.dll is loaded by an application, pserver32.dll is loaded first and then the legitimate code is\n\nexecuted. This has basically the same effect as AppInit_DLLs registry key but without leaving the tell tale traces that\n\ncan be found by a forensic analyst. The majority of Windows executables load user32.dll.\n\nThe Config\n\nThe first thing the malware does is look for a hardcoded filename in the current working directory that contains\n\nconfiguration information. In version 1 the config file was name graph32.dll and was a plaintext file with the header\n\n\"[config]\". The lines after that contain \"key=value\" pairs that set options available to the malware. The API\n\nGetPrivateProfileIntA and GetPrivateProfileStringA are used to parse the plain text file and obtain the configuration\n\nvalues. In version 2 a new type of config file was introduced and the hardcoded filename changed to: kb852310.dll.\n\nWhile the plain text config was still supported, if the malware doesn't find the \"[config]\" header it will attempt to\n\ndecode the file using a custom de-obfuscation algorithm. I have reversed this algorithm and written a python script,\n\nwhich writes out the de-obfuscated config to disk. The script can be found here. The plain-text config and the\n\nobfuscated config are parsed in two different manners but contain essentially the same information. The one\n\nPage 3 of 6\n\nhttps://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\ndifference is the obfuscated config can contain a public key, which will allow Cherry Picker to encrypt CHD before\n\nwriting it to the exfiltration file. Both configs contain the following fields:\n\nTarget Process Process name to target for injection\n\nFTP Username Username for logging into FTP server\n\nFTP Password Password for logging into FTP server\n\nFTP Host Hostname/IP for FTP server\n\nFTP Passive Use FTP Passive mode\n\nRAR Password Password for creating encrypted RAR archives\n\nRAR Template Naming template for encrypted RAR archives\n\nCHD dump file location Full path to CHD file ex: C:\\Windows\\system32\\sysss.dll\n\nTime What time to perform exfiltration of dump files. Ex: time=2045 (8:45PM)\n\nTimeout Time to wait before scraping memory\n\nThis is how Cherry Picker came by its name. The configuration specifies a target process that it expects to be loaded\n\nin. If the parent process does not match the name specified by this field the malware will exit. This implies that the\n\nmalware author already has scouted the system and knows exactly what process they are targeting. Just like a cherry\n\npicker in basketball, Cherry Picker all the other processes on the system to target one process and go after that sweet,\n\nsweet card data.\n\nOff and Running\n\nOnce the malware has loaded the configuration file and verified that it is running in the correct process, a mutex is\n\ncreated. This prevents multiple copies from spawning on the system and synchronizes the collection of CHD and the\n\nexfiltration of files. In version 1 and 2 the hardcoded mutex was:\n\nGlobal\\\\Srch1Mutex\n\nVersion 3 changed the name to:\n\nGlobal\\\\SYNC32TOOLBOX\n\nThe malware runs two threads. The first thread is responsible for finding the CHD in the process, writing the results\n\nto a file, and preparing the files for exfiltration. The location of the exfiltration file, time to perform the exfiltration,\n\nand destination are all contained in the configuration file.\n\nCherry Picker enumerates the files in the %WINDIR%\\System32 directory and builds a list of all .rar files that are\n\nfound. It then begins to loop through the memory of the target process looking for CHD and writing it out to the file\n\nspecified by the config for exfiltration. In version 3 of the malware, the author introduces a new technique for\n\nPage 4 of 6\n\nhttps://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\nscraping memory using the API QueryWorkingSet. We will be releasing a follow up to this blog tomorrow detailing\n\nthis technique.\n\nIf a public key is in the config, the data in encrypted before writing it to the exfiltration file, otherwise it is written in\n\nplain text. Once the system time matches the exfiltration time listed in the configuration file, the malware will add\n\nthe file containing the CHD to an encrypted archive using the following command:\n\nrar m \u003ctemplate_rar_filename\u003e \u003cexfil_file\u003e 0 -y -hp\u003cpassword\u003e\n\nThis thread will then release the mutex and sleep for 15 seconds plus the configured sleep timer. It will then re-\n\nacquire the mutex and repeat the above process indefinately.\n\nThe second thread is responsible for exfiltrating the file to the FTP server specified in the configuration file. This\n\nthread waits for the mutex to be released and then FTPs all .rar files contained in the global list to the FTP server. If\n\nthe config is missing the FTP username or password, it will use the IP in the configuration file to perform a POST\n\nrequest to /update.php on the server. The archive is deleted after it is exfiltrated from the system.\n\nThis thread also maintains a log of the activities on the system based on the file path given in the configuration file.\n\nHowever, in all the observed configs there was no path listed which caused the log file to be written to\n\n%WINDIR%\\0.log (or just 0 depending on the version). This file contains a log of the exfiltration attempts and is\n\nexfiltrated with the CHD:\n\n\u003ctime_date_stamp\u003e \u003cexfil_file_size\u003e \u003crar_exfil_name\u003e\n\nThe Cleanup\n\nIt is rare for malware authors to clean up artifacts on an infected system. On one of the systems the forensic analyst\n\nwas able to discover a file that did exactly this and more. The author went above and beyond writing a cleaner that\n\nreturn the system to a \"clean\" state. This cleaner was highly targeted, and contained hardcoded paths to the malware,\n\nexfiltration files, and the legitimate files on the system. The recent compile time of the cleaner also points to the\n\ncleaner being written for the current malware campaign.\n\n2015-06-\n\nCvc.exe C79C6EB598E496B27263B59858FC394AC6262302D63C7FD6CD5148852EA0E744 30\n\n03:57:24\n\nCvc looks for the TeamViewer process running on the system and injects code into it if it finds it, exiting if it doesn't\n\nexist. TeamViewer is a free third party remote desktop software. The use of weak or default passwords on remote\n\nadmin tools is a common initial vector of compromise on PoS systems and was likely the ingress method for the\n\nmost recent forensic case involving Cherry Picker. The code contains a custom \"shredder\" function that takes a file\n\npath overwrites the file multiple times with 00's, FF's, and cryptographic junk before moving the file to a random\n\nname in the same folder. The random name is then deleted. A hardcoded list of malware and exfiltration file\n\nlocations are shredded. The injected code also shreds the original cvc.exe. The AppInit_DLLs registry key is checked\n\nfor the pserver32.dll value and deleted if it exists. The PoS software that was being targeted is terminated and then\n\nre-launched to remove the malware from memory. Once the malware has been removed from the system, the system\n\nhandles held by the TeamViewer process are enumerated and the handle to the current log file is obtained. The\n\nPage 5 of 6\n\nhttps://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/\n\ncurrent position is set to the beginning of the file, causing TeamViewer to overwrite its own logs. The injected code\n\nthen deletes all old log files from the TeamViewer directory. Finally, the connection log is accessed and any\n\nreference to the malware author's connection is overwritten with 00's. The injected thread terminates and concludes\n\nrestoring the system to a near pre-infection state. It does not reset the LoadAppInit_DLLs Registry key to 0, which\n\ndoesn't necessarily mean that the system was infected by Cherry Picker but isn't typically set to 1 on a system with\n\ndefault settings.\n\nDetection\n\nTrustwave's Endpoint Protection contains custom signatures that protect our customers from the Cherry Picker\n\nthreat. In addition to this we have released Yara rules capable of finding the installation, main malware, and cleaner\n\nfor Cherry Picker malware. The yara signatures can be found at Trustwaves github page.\n\nConclusion\n\nAny malware author's main goal is to obtain target data while not being discovered or blocked by the owners of the\n\ntarget network. Cherry Picker was built to evade security controls through its use of configuration files, encryption,\n\nobfuscation, command line arguments and highly targeted victims. The introduction of a new way to parse memory\n\nand find CHD, a sophisticated file infector, and a targeted cleaner program have allowed this malware family to\n\nremain under the radar of many security and AV companies. Hopefully this post will raise awareness and drive\n\nfurther discussion of this malware family so that customers will be protected from this threat.\n\nSource: https://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherr\ny-Picker-PoS-Malware/\n\nPage 6 of 6",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/"
	],
	"report_names": [
		"Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware"
	],
	"threat_actors": [],
	"ts_created_at": 1795746086,
	"ts_updated_at": 1795746754,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/1a677a90bbfba92c49ef3fc8a88fb4df8453af31.pdf",
		"text": "https://archive.orkl.eu/1a677a90bbfba92c49ef3fc8a88fb4df8453af31.txt",
		"img": "https://archive.orkl.eu/1a677a90bbfba92c49ef3fc8a88fb4df8453af31.jpg"
	},
	"iocs": [
		{
			"type": "domain",
			"value": "web.archive.org",
			"count": 7,
			"flags": [
				"in_url_host"
			],
			"some_flags": [
				"in_url_host"
			]
		},
		{
			"type": "domain",
			"value": "www.trustwave.com",
			"count": 7,
			"flags": [
				"in_url_host"
			],
			"some_flags": [
				"in_url_host"
			]
		},
		{
			"type": "sha256",
			"value": "3f366cced9473cfbeda0245f5817699d5beb81d0ab4d2c81e1e3dcb7dce7465d",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "7ab1f21b41134ff21476760434569383d8fd55d444df035c900f330b13f70cbd",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "ac1837b37a495bedf644a2824cd36f2bfb34cad122c26e1fe497146a8f2a16a4",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "b532b2c489ec2989aa976151d9e3878323b9aad20af0dc8538f1b30379449162",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "c79c6eb598e496b27263b59858fc394ac6262302d63c7fd6cd5148852ea0e744",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "cb71b31af4bc5a5d3f541beff87ecbfd55f24ba7ad6249484608e359d880f2dd",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "sha256",
			"value": "e81d12cb40a32a233780328d0bb73598d393c47049847dbba24881de034bf938",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "url",
			"value": "https://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherr",
			"count": 1,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "url",
			"value": "https://web.archive.org/web/20180315031615if_/https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/",
			"count": 6,
			"flags": [],
			"some_flags": []
		},
		{
			"type": "url",
			"value": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherr",
			"count": 1,
			"flags": [
				"in_url_path"
			],
			"some_flags": [
				"in_url_path"
			]
		},
		{
			"type": "url",
			"value": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Shining-the-Spotlight-on-Cherry-Picker-PoS-Malware/",
			"count": 6,
			"flags": [
				"in_url_path"
			],
			"some_flags": [
				"in_url_path"
			]
		}
	]
}