Decrypt Samsung Tv Recordings
I would like to burn the recordings onto a DVD, but the.TS-file seems to be encrypted. The PVR records to an external harddrive. I've succeeded in getting the files from the harddrive on to my PC. The problem now is, that I can't find any software that will decrypt the files. Every recording is stored inside a directory called recording name.ts. Sort your Samsung TV channels in your PC. SamyGo ChanEdit. SamyGo ChanEdit is a program to manipulate TV channel line-up of Samsung TV on a PC. Today it only supports channel lists of Samsung C and D Series TV. David Lodge, of Pen Test Partners, borrowed a Samsung smart TV and used network inspection tool Wireshark to examine the data coming out of the set to the wider internet; he has good and bad news. The telly only records what’s said in front of it after the wake-up command, such as 'Hi TV', is spoken – so it's not recording all the time. When I bought my Samsung TV around five years ago, I was pretty happy about all the smart features. But as a developer I of course want to customize every little detail - and this was when I found SamyGO. Among other things, I used it to be able to record to my Synology NAS. This way I’m able to watch the recorded movies on any other device. The non recording HD box does have component out but it does not function for HD material. Early Sky HD boxes do have HD component out but it's now removed on newer boxes. Humax Foxsat-hdr, Humax HDR1000S, 2x HDR-FOX T2, Sony STRDN1050 receiver, Sony KDL-40W4000 TV.
Challenge
You have recording(s) made with your Samsung LED TV on a harddisk and you want to keep them as Matroska (mkv) files.
Prerequisites
- Linux (I use ubuntu so you might have to do some substitutions)
- git (
apt-get install git
) - (lots of) space
Solution
We need to do:
- Mount the Samsung LED TV formatted disk
- Decrypt the needed file(s)
- Convert the needed file(s)
Mount disk
The Samsung LED TV formatted disks are formatted as a XFS filesystem and you have to be able to mount it.
It can be done on a Mac (search for fuse-xfs) and on Linux. I will explain the Linux version as I have not yet found
a decryption tool for the mac.
- Put your USB harddisk with Samsung TV recordings in your linux machine
- First you have to find which disk you have inserted. Use
sudo fdisk -l
and find the disk you have inserted. The output should look something like below and you should be able to recognize your disk.
- Use the disk found (in the example /dev/sde1)
- Mount the XFS formatted disk
- See what’s there. You should see something like this..
The structure of the Samsung LED TV formatted disk is always like above.
The Items in the CONTENTS folder are probably different :-)
The *.srf files are the actual media files. These srf files are encrypted though.
Samsung is trying to make it difficult for us, but we are smarter!
Decrypt srf files
- Enter drmdecrypt. I actually use my own fork because I changed a few bytes.
So now you have the means to decrypt the .srf files to .ts files!
Convert ts to mkv
- Get HandBrakeCLI
So now you have the means to convert movies!
- I use the following command to convert movies. You must of course search for your own best settings.
Done!
Automate
The first time you should do all of the above because you must install stuff but when done you don’t want to type a lot
so I would say… automate it :-)
- You might want to create the following script in your bin folder. I called it
samsungtv
- Make it executable
chmod 755 samsungtv
- Now you can convert files by just mounting the disk, go into the CONTENT folder and use a command like:
samsungtv 20140131221505
- It will take care of the decryption and conversion in 1 go.
June 10, 2014 - Thanks to Nick
You may also want to mention that on at least some Samsung TVs if not all recent
ones ? ie the one that I own Model UEF5064000AK, the TV will quite happily record
to a ext4 filesystem and not require the disk to be reformatted in XFS as would
be the case if the filesystem was FAT32 or NTFS.
December 25, 2014 - after a couple of mails
Samsung Tv Recording Usb
It seems that the drmdecrypt does not work for all models or for newer model of Samsung.
Please do not mail me with questions of how to fix them. Mails of that nature won’t be answered anymore.
You may of course mail me with a fix :-) or do a pull request on github.
I will give credit where credit is due…
The current version works for me, so good luck in making it work for you hehe.
Ivo.
Please have your discussions but don’t ask me for help anymore…
Updated Not only is your Samsung smart TV snooping on what you say, it sends recordings of your voice over the internet unencrypted – leaving it open to eavesdropping and mischief – security researchers say.
Samsung insisted last week that its TV voice-control technology isn't half as creepy as its terms and conditions suggested. But findings by security consultancy Pen Test Partners will renew fears of smart gizmos riding roughshod over your privacy.
Modern Samsung smart TVs can be controlled by voice: just speak, and a builtin microphone will hear you. You start a command by saying a phrase, such as 'Hi TV”. This causes the television to listen in for more, and then – as the terms and conditions state – your voice, and whatever else is going on around you, is recorded and transmitted over the internet for processing.
This has been the case for some time: it was flagged up last year, but only this month has word spread across the world.
David Lodge, of Pen Test Partners, borrowed a Samsung smart TV and used network inspection tool Wireshark to examine the data coming out of the set to the wider internet; he has good and bad news.
The telly only records what’s said in front of it after the wake-up command, such as 'Hi TV', is spoken – so it's not recording all the time. This could change in a future firmware update, Lodge points out, but for now this is reassuring.
However, recorded voice commands are sometimes sent as encoded audio to an outside organization for processing – this applies to any commands more complex than, say, changing the volume. For example, spoken web search requests are piped to a company called Nuance to analyze and turn into query results sent back to the TVs.
A specific server receives data from the televisions in plaintext, and replies with unencrypted responses; for those itching to firewall off access, it is:
The information is sent over port 443, normally used for TLS-secured HTTPS connections and typically not firewalled off. The stream is not encrypted, Lodge said. This allows a man-in-the-middle in the network to eavesdrop on the data and tamper with it.
Intercepted data from the smart TV ... Credit: Pen Test Partners
“What we see here is not SSL encrypted data,” Lodge explains in a blog post revealing traffic snippets and analysis. “It’s not even HTTP data, it's a mix of XML and some custom binary data packet.”
Information transmitted includes plenty of information about the TV including its MAC address and the version of the OS in use, as well as the audio; the processing server sends back a transcript of what was said, also in plaintext.
Lodge points out this opens the door to possible on-the-fly mischief making: spoken commands could be swapped for others, and web search results could be altered, maliciously, for instance.
The lack of encryption means that, even as things stand, plenty of sensitive data generated by smart TVs is making its way onto the internet.
Lodge concludes: “Based on the limited information leaked above in plaintext, there’s plenty to suggest that interesting data is making its way on to the interwebs from your TV. Come on Samsung, how about at least protecting it with SSL?”
Ken Munro, of Pen Test Partners, told The Register that since publishing the blog, its security researchers had been able to decode the encoded voice audio, allowing them to replay what the hi-tech telly overheard.
“So it does kinda spy on you, but then leaks the spied data on to the public internet,” Munro told El Reg. “The critical point about this is that Samsung haven’t encrypted the traffic.”
Nuance was not available for immediate comment. ®
Update
Since the publication of this story, Samsung has been in touch to say:
Destroi - Decrypt Samsung Tv Recordings 1.3
Samsung takes consumer privacy very seriously and our products are designed with privacy in mind. Our latest Smart TV models are equipped with data encryption and a software update will soon be available for download on other models.