PowerVu - Any explanation as to how you get the dates for the next key change

joolzg

Registered
Messages
45
Anyone have the description on how you can decode the EMM and get the new keys AND the date of the change.

thanks

joolz
 

joeuser

Senior Member
Messages
199
For the next key change, you have to use your crystal ball.
For the last key change, oscam-emu/osemu writes the date, time and UA key used as a comment after each new key found.
Code:
P 0009000B 01 xxxxxxxxxxxxxxxx ; added by OSEmu Sat Jan 23 01:53:03 2016 UA: 00xxxxx
 

joolzg

Registered
Messages
45
OK just weird as ive seen thing about keys with dates in the future.

Just wondered how they knew it was going to change
 

joeuser

Senior Member
Messages
199
Some providers are more predictable than others...

But all send the new key before it is used. That is why there are two keys 00 and 01. When say 00 is active, they update 01 via EMM and vice versa. Some send the new keys just minutes before the change, others send days or even weeks in advance. For example, for some powervu encyrpted channels the new keys are sent for a very short time very shortly before the change because they can assume their "subscriber" is tuned in non-stop since the channels are feeds. Others need to account for subscribers who regularly turn their boxes off when not in use, so they send new keys well in advance and quite often.
 

kebien

Well Known Member
Messages
1,329
And in another note,sometime they do not use some keys they send.
The theory of "next key" doesn't always apply,I noticed.
 

joolzg

Registered
Messages
45
thanks, just started to add powervu to tsdecrypt so will make it watch the emm for updates automatically
 

kebien

Well Known Member
Messages
1,329
TSdecrypt is able to run emu plugins? MD or DVBcore ?
or emus are embedded?
 

joeuser

Senior Member
Messages
199
TSDecrypt supports camd/newcamd connection to oscam (or other..)
It already supports sending EMM to oscam-emu, so you can test the EMM processing without any changes. (Might want to use the --emm-only option and/or set some filters...)
 

joolzg

Registered
Messages
45
UPDATE

tsdecrypt now processing EMMs!!

[Emu] Key found in EMM: P 0000 00 B8DC9665B4830E ; UA: 5ECD0A
[Emu] Key found in EMM: P 0000 01 0E6E897430F27A ; UA: 5ECD0A
2016-02-08 10:44:40 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 9b 10 99 01 0e 00 00 00 06 8f 00 5e cd 0a 00 00 03 80 0c 00 b8 dc ..
2016-02-08 10:44:40 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 4a 10 48 01 0e 00 00 00 06 3e 00 5e cd 0a 00 00 03 00 0c 08 80 48 ..
2016-02-08 10:44:45 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 9b 10 99 01 0e 00 00 00 06 8f 00 5e d9 e8 00 00 03 80 0c 00 b8 dc ..
2016-02-08 10:44:45 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 4a 10 48 01 0e 00 00 00 06 3e 00 5e d9 e8 00 00 03 00 0c 08 80 48 ..
2016-02-08 10:44:52 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 9b 10 99 01 0e 00 00 00 06 8f 00 5f 62 20 00 00 03 80 0c 00 b8 dc ..
2016-02-08 10:44:52 | EMM | CAID: 0x0e00 PID 0x005a Use:0 Data: 82 30 4a 10 48 01 0e 00 00 00 06 3e 00 5f 62 20 00 00 03 00 0c 08 80 48 ..
 

dale_para_bajo

Well Known Member
Messages
646
joolzg

I saw your message in upload logs..
I saw you post at tsdecrypt git.

I see you have a thread to chat. Nice...

So you are trying to update tsdecrypt for pvu. And you want to "stream into your current network". But can you give me better description of what is this good for?

I guess you will run this in linux, have oscam and tsdecrypt to re-stream? I am right?

On windows there are post saying they are re-streaming using tsreader+pvuemu.

Just give me an idea of your intention. Listen I love to get involve in this small projects. There is always something to learn. But until now Anubis_Ir have give us the fish, and I love to learn fishing...

Many many thanks to Anubis_Ir for the wonderful tools you have provided us. I am not complaining about that. I just like to learn.

So you should have no trouble finding sources to decrypt ecm, powervu_mdl or oscam patch should help you. What is missing is how is the interaction with CSA.dll. How video and audio keys are been pass.

I guess you will need to modify your own csa library to make it work in linux. I have not seen any discussion as how is done in linux. My best guess finding an example is the adaptation of oscam in dreambox.

Are you doing this privatly or like to have friend in your work?


--------------------------------------------------------------
jijijiji

I feel s7up1d you got the asnwer in another thread

Manio updated his vdr-plugin-dvbapi to add extended_cw support and DES decryption. His changes should be quite helpful to you...
https://github.com/manio/vdr-plugin-dvbapi/commit/20819875ca597cb3859c8861cdb196258b2d57b0

I guess they called it "extended_cw support and DES decryption"
 
Last edited:

joolzg

Registered
Messages
45
I currently use tsdecrypt+oscam to share my canal digital cards.

having a dish fitted next week so i can get more channels, as i now live in the wilderness, well a small town outside malmo.

I am added the PVU direct into tsdecrypt, 2 small key files powervu.keys and powervu.new will provide the keys for the channels, at the moment only 1 provider will be used but that will be changed once its working.
 

dale_para_bajo

Well Known Member
Messages
646
So it is a Linux PC Setup?

Anyway I have little time. And I am doing many things at once. SO I never finish one. jijiji

I saw you working on this and I got the need to do what I have not done, figure out the csa/des component.

So I am now hacking the CSA.DLL on the mdl emulator. Like in
"[CONFIG]
DLL_DIR=C:\DVBViewer\CSA.dll"

But in fact I do not even know if Anubis_Ir powervu emu 2.# requires any more this "CSA.dll". I guess not!

But this are all PC WIN solutions. I my best guess is that you are working in a Linux server solution.

Anyway I will be around expecting you progress report. I got limited experience but if you think I can help you just ask.
 
Top