DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Beware the Samsung rootkit  (Read 30,211 times)

Vurbal

  • Mostly harmless
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
    • Writer
Beware the Samsung rootkit
« on: February 14, 2014, 09:11 PM »
I feel kind of bad for waiting so long to post this but better late than never I guess...

A couple weeks ago my wife gave me a Samsung Galaxy 3 7" tablet. It didn't come with drivers and it seems Samsung only distributes them as part of their Kies transfer software so I went ahead and downloaded/installed it figuring I'd backup the drivers, check out the software, and then most likely uninstall it. Annoying but not surprisingly so.

A day or 2 later I happened to be looking at some files in my Windows folder and noticed one called MusicCityDownload.exe which naturally made me suspicious. A quick look at the PE headers using CFF Explorer made me even more suspicious but did at least provide me with the software vendor's name - MarkAny. A quick web search later and I figured out MarkAny is a Korean company which pretty well gave away the fact it was installed with Kies. A couple more searches and I ran across this gem on the XDA Developers forum.

To make a long story short, don't install Kies and if you already have it installed you should make a copy of the driver installer (located in the Kies program folder) and then immediately uninstall. The good news is Samsung's installer seems to be one of those rare ones that actually does the job right and unlike say the infamous Sony rootkit this one doesn't resist uninstallation. Also, conveniently, you can uninstall everything except the drivers.

If you need the drivers and haven't already installed Kies I'll be happy to send you the installer.

In case you want to be as thorough as possible when uninstalling here's a list of all the information I collected during my own little investigation. It's a combination of what I found on my own and the Kies install log. I didn't dig through the registry for all the Samsung entries so there's certainly more I'm missing. However, as I said, the uninstaller seemed to do a thorough job.

Code: (text)
Processes: 
    KiesTrayAgent.exe
    DeviceDataService.exe
    ConnectionManager.exe
    DeviceManager.exe
    Kies.exe
    KiesPDLR.exe
    KiesHelper.exe
    KiesAirMessage.exe

File System:
    C:\Users\[UserName]\AppData\Local\Temp\{A9E68544-3AA6-4AB9-9A4B-2BF631975A17}\
    C:\Users\[username]\AppData\Local\Temp\KiesTemporary\
    C:\Users\[username]\AppData\Local\Temp\MarkAny\
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UpdateClient\
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaAgent.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MAAuthProc.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MACLICX13.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MACLicX15.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MACSMANAGER.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaCSMgr.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaCSProHook.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\mapshapi.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\mapwij10.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaSyncP.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaWAMP.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MAWebControl.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MaWMP.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MPXBox.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\MtpAccess.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UpdateClient\MAFileUpdate.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UpdateClient\MAUpdate.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UpdateClient\MAUpdateBoot.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UpdateClient\MaUpdateClient.exe
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\UserShare.dll
    C:\Users\[username]\AppData\Local\Temp\MarkAny\ContentSafer\XSYNCClt.dll
    C:\Users\[username]\AppData\Local\Samsung\
    C:\Users\[username]\AppData\Local\Temp\KiesLiveupdateTemp\
    C:\Users\[username]\AppData\Local\Temp\KiesTemporary\
    C:\Users\[username]\AppData\Local\Temp\MarkAny\
    C:\Users\[username]\AppData\Local\Temp\SAMSUNG\
    C:\[KiesInstallPath]\Kies\External\FirmwareUpdate\AgentVer.txt
    C:\[KiesInstallPath]\Kies\EULAVer.txt
    C:\Users\[UserName]\AppData\Local\Temp\{A9E68544-3AA6-4AB9-9A4B-2BF631975A17}\WriteDescExecuteFileName.exe Software\Samsung\KIESSETUP Samsung Kies Installer 2.0
    C:\[KiesInstallPath]\Kies\External\DeviceModules\ConnectionManager.exe
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceManager.exe
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceDataService.exe
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceServiceModelDB.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceServiceCore.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceCommunication.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCADU.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAKOREAMITSOBEX.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAPARAGONATOBEX.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAPARAGONGM.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAPARAGONOBEX.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAWM.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DCAOBEX.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\THNRProghelp.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DevFileService.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\DeviceSearch.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\RASWraper.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\BackupRestoreLib.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\CDBurnCOM.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\StarburnX12.dll 
    C:\[KiesInstallPath]\Kies\External\DeviceModules\UPNPDevice_Kies.dll 
    C:\[KiesInstallPath]\Kies\External\TransModules\TG_Dump0708.DLL 
    C:\[KiesInstallPath]\Kies\External\MediaModules\MP3FileInfoCOM.dll 
    C:\[KiesInstallPath]\Kies\External\MediaModules\OGGFileInfoCOM.dll 
    C:\[KiesInstallPath]\Kies\External\MediaModules\AStoreMarshal.dll 
    C:\[KiesInstallPath]\Kies\External\MediaModules\MACSReaderAVI.ax 
    C:\[KiesInstallPath]\Kies\External\MediaModules\NEDFilter4Samsung.ax 
    C:\[KiesInstallPath]\Kies\External\SyncModules\secman.dll 
    C:\[KiesInstallPath]\Kies\External\SyncModules\metastore2.dll 
    C:\[KiesInstallPath]\Kies\External\SyncModules\Synchronization2.dll 
    C:\[KiesInstallPath]\Kies\External\SyncModules\nktwab.dll 
    C:\Windows\SysWOW64\Redemption.dll 
    C:\[KiesInstallPath]\Kies\External\smdecryption.dll 
    C:\[KiesInstallPath]\Kies\External\PRPlayerCore.dll
    C:\Windows\MusicCityDownload.exe

Registry:
    HKEY_CURRENT_USER\Software\AppDataLow\Software\MarkAny
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\090B0474CB502846DABF6D9B6BD86327
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0C0EAADEC0B0BEC47056488271833ED1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\290A1BAC3852561E434EDCF37ADDC650
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2F51676373E2C8FAFD1C3CB5D0FC6F78
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\32947F291B037BB37F4C94D15C71AFCC
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\364651BA342348B03E7E38A50F61D602
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3749FA404D1387FD0883E182C92F5AB1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\4482C36BEE44B81F7D56DABE40984FCE
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5390087D56653F56BFE40693A70A5A2A
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\61F50ED3728E668469DD5A9B7663EEFF
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6F5AD8238986F445D49AC9AE6A9CDD06
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\72798142C6A7CA8AEAFB493E6CA75C3D
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\90F0105370096E802C973171912E5EC9
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\93098AC90CB9B9D9E0B7DAF98117ABD6
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B0BA626160FBB7AF5AF852DC3D4E8C5C
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B245A3B6DB9BDEE94D368EAD00DF75C1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C0153905C28C684AD92906E7C31D656A
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\DAB70100ACFDAE9CF043224B28091403
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E71E9BD78DFE557AE8AD19C38A450BD8
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\EF765801CEFE877C538A6FB5CFB97515
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FB0AD455040F4F919919F27A26A877CA
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDA9F652221F00D6C071019FF16552A4
    HKEY_USERS\S-1-5-21-1034364882-3164073863-2110962517-1000\Software\AppDataLow\Software\MarkAny
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

jpfx

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 155
Re: Beware the Samsung rootkit
« Reply #1 on: February 14, 2014, 11:35 PM »
I have kies 3 installed but none of the registry entries or files you've listed.
       |\      _,,,---,,_         
ZZZzzz /,`.-'`'    -.  ;-;;, 
      |,4-  ) )-,_. ,\ (  `'-'    
     '---''(_/--'  `-'\_)

Vurbal

  • Mostly harmless
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
    • Writer
Re: Beware the Samsung rootkit
« Reply #2 on: February 15, 2014, 01:26 AM »
I have kies 3 installed but none of the registry entries or files you've listed.

Sounds like you're safe then. Just make sure to watch out for any future updates in case Samsung tries to sneak it in.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

Innuendo

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,266
Re: Beware the Samsung rootkit
« Reply #3 on: February 15, 2014, 04:46 PM »
I had already decided not to go with Samsung for my next phone. This news just tells me that I was right in my decision.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Beware the Samsung rootkit
« Reply #4 on: February 16, 2014, 12:28 AM »
A couple more searches and I ran across this gem on the XDA Developers forum.

Quote
I noted that this malware was actually monitoring ALL your media files that are in some known formats (MPEG, OGG... and even JPEG images), in order to MODIFY them on the fly, storing a personnally identifiable tracking ID in them, within some obscure extension subtags permitted in these formats.

MarkAny describes this process as "watermarking". This behaves like a rootkit because once the malware is running, it then attempts to HIDE this watermark to the normal OS I/O operations, in order for these files to appears as if they were still clean of any alternation.

BUT....

This watermarking process not only has a very intrusive effect (no this is not a keylogger process, but a process that will report to some internet server in Korea all media files that contain any other watermark inserted by "MarkAny ContentSAFER" from another PC/user. The watermark is personnally identifiable because MarkAny ContentSafer is installed SILENTLY as a REQUIRED bundle with other softwares requiring an online registration (for example when installing Samsung Kies, you need to register an account at Samsung, and this registration includes this personal data which is sent SILENTLY to MarkAny to associate your generated UUID which will be stored in YOUR media files, with YOUR identity).

Wow.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Beware the Samsung rootkit
« Reply #5 on: February 16, 2014, 11:49 AM »
Another approach could be like we do here: Despite the fact we have several Samsung phones and tablets, we never installed the Kies software, just let Windows install the usb-driver on first connect, required to access the memory, and install updates directly from the phone/tablet. :up:
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

Vurbal

  • Mostly harmless
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
    • Writer
Re: Beware the Samsung rootkit
« Reply #6 on: February 16, 2014, 06:23 PM »
Another approach could be like we do here: Despite the fact we have several Samsung phones and tablets, we never installed the Kies software, just let Windows install the usb-driver on first connect, required to access the memory, and install updates directly from the phone/tablet. :up:

That was my initial plan. Unfortunately Windows couldn't find a driver so I was forced to install kies if I wanted to connect to the tablet's internal storage directly.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.
« Last Edit: February 16, 2014, 06:33 PM by Vurbal »

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: Beware the Samsung rootkit
« Reply #7 on: February 16, 2014, 11:31 PM »
I could be wrong, of course, but I can't see that this discussion has in fact so far identified any real risk/threat - it seems to be all supposition.
I would recommend great care. The link to the allegations of spyware in the Kies install is to a discussion here that levels alarmist criticism without actually proving/substantiating what is said. Even some of the comments in that thread seem to throw doubt on the validity of the alarmism.

If you wanted to contain/inhibit the "suspect" software or DLLs - just-in-case (nothing wrong with paranoia) - without disrupting anything or disabling the Kies installation, then it might be worth considering trying to do that via Windows Software Restrictions Policies.

By the way, TotalVirus and Malwarebytes do not seem to object to the software involved, but that's my copy of the installed software. Check your own software as it may be different.

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
Re: Beware the Samsung rootkit
« Reply #8 on: February 17, 2014, 03:28 AM »
I don’t think the poster at the XDA forum understands exactly what a rootkit is. This program ain't. It's not a nice program IMO, mainly because it does "watermark" your media files, and not just those downloaded from Samsung's service - at least from what I have read. MarkAny touts itself as the No. 1 DRM and watermarking company in the world, so their purpose is very clear. And if they only watermarked files downloaded from the service providing MAAgent.exe then simply don’t use that service.

It's reported that all parts of the program are removed upon normal installation. However if as the poster at XDA claims unrelated media files on your box are left with this "home-calling" watermarking, then it should be considered to be a bad program, and possibly even malware.

Jim
"I am getting so tired of slitting the throats of people who say that I am a violent psychopath."

Vurbal

  • Mostly harmless
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
    • Writer
Re: Beware the Samsung rootkit
« Reply #9 on: February 17, 2014, 11:05 AM »
I could be wrong, of course, but I can't see that this discussion has in fact so far identified any real risk/threat - it seems to be all supposition.
I would recommend great care. The link to the allegations of spyware in the Kies install is to a discussion here that levels alarmist criticism without actually proving/substantiating what is said. Even some of the comments in that thread seem to throw doubt on the validity of the alarmism.

I would recommend you check for yourself before making proclamations like this then.

That was not the sole reference I found to MarkAny's rootkit. Actually worm might be more accurate although technically it's not entirely either. At any rate every source I found which provided any level of detail about what ContentSAFER does all indicated it silently adds code to your media files without asking for permission first or notifying you afterwards. IMO that's inherently a threat.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

Innuendo

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,266
Re: Beware the Samsung rootkit
« Reply #10 on: February 17, 2014, 01:24 PM »
....silently adds code to your media files without asking for permission first or notifying you afterwards. IMO that's inherently a threat.

That's text book behavior for a virus. I don't care what the program's called or what it's supposed to do, especially if what it is doing is for the benefit of someone other than the owner of the computer.

jpfx

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 155
Re: Beware the Samsung rootkit
« Reply #11 on: February 18, 2014, 03:50 PM »
found this software on a different pc with kies installed. so one with and one without.
I have to agree with IainB post. as far as I can tell this software was used by the samsung store for DRM and also signed content so it could be played on older samsung phones/mp3 players.
it uninstalled without issue too.
       |\      _,,,---,,_         
ZZZzzz /,`.-'`'    -.  ;-;;, 
      |,4-  ) )-,_. ,\ (  `'-'    
     '---''(_/--'  `-'\_)
« Last Edit: February 18, 2014, 03:57 PM by jpfx »

Original address: https://www.donationcoder.com/forum/index.php?topic=37260.0