Page 1 of 4 1234 LastLast
Results 1 to 20 of 70

Thread: Ird1 HMK support in emus?

  1. #1
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default Ird1 HMK support in emus?

    Can someone please remind me whether any of the softcams emulate Irdeto 1 properly from HMK & HSN (rather than just from PMK)?

    Or don't people bother? I know we can update PMKs by hand but surely one of the emus supports EMM updates from HMK alone?

    I dug out an old DM500 for Aurora the other day but now that keys are rolling I can't remember how to configure it, apart from with an external phoenix and official card or wafer.



Look Here ->
  • #2
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    Hmmm, I got impression scam might work but tried 3.29a, 29-12-2007, 26-11-05 & 3.x all without avail

    H: { SN SN SN { MK MK MK MK MK MK MK MK MK MK } }
    M: { 00 ID ID { PK PK PK PK PK PK PK PK } }

    Suggestions anyone?

  • The Following User Says Thank You to gw1 For This Useful Post:

    soft (19-02-11)

  • #3
    Junior Member
    Join Date
    Jan 2008
    Location
    Adelaide
    Posts
    223
    Thanks
    11
    Thanked 31 Times in 19 Posts
    Rep Power
    212
    Reputation
    371

    Default

    From memory (long time since I used it) Newcamd used to update with the HMK included in the config file. The file was called something like puua.

  • #4
    Premium Member
    hoe's Avatar
    Join Date
    Jan 2008
    Age
    60
    Posts
    6,367
    Thanks
    266
    Thanked 4,596 Times in 1,948 Posts
    Rep Power
    1820
    Reputation
    70528

    Default

    i think it was ppau....
    Last edited by hoe; 21-03-09 at 01:49 AM.

  • #5
    Junior Member tvroman's Avatar
    Join Date
    Jan 2008
    Location
    far north queensland
    Posts
    57
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    199
    Reputation
    11

    Default

    Have a read of this thread it should get you going.

  • #6
    Junior Member
    Join Date
    Jan 2008
    Posts
    37
    Thanks
    1
    Thanked 1 Time in 1 Post
    Rep Power
    199
    Reputation
    15

    Default

    Use Newcamd 6.10b and put ppau file in var/scce it will auto update for you.

    Regards
    Ricci

  • #7
    Senior Member cwispy's Avatar
    Join Date
    Jan 2008
    Location
    In bed sleeping
    Posts
    1,090
    Thanks
    140
    Thanked 296 Times in 114 Posts
    Rep Power
    265
    Reputation
    1581

    Default

    Gbox will keep them up to date
    What would you do if your server was stolen or failed beyond repair?
    http://www.2000cn.com.au/shadowprotect.html

  • #8
    Junior Member
    Join Date
    Mar 2009
    Age
    52
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    185
    Reputation
    10

    Default

    Quote Originally Posted by gw1 View Post
    Can someone please remind me whether any of the softcams emulate Irdeto 1 properly from HMK & HSN (rather than just from PMK)?

    Or don't people bother? I know we can update PMKs by hand but surely one of the emus supports EMM updates from HMK alone?

    I dug out an old DM500 for Aurora the other day but now that keys are rolling I can't remember how to configure it, apart from with an external phoenix and official card or wafer.

    just add the plain keys to the autoroll.key file in var/keys and away you go

    will look something like this
    I 00xx00 PMK xxxxxxxxxxxxxxxx

    and scam will work for auto updating

  • #9
    Premium Member
    hoe's Avatar
    Join Date
    Jan 2008
    Age
    60
    Posts
    6,367
    Thanks
    266
    Thanked 4,596 Times in 1,948 Posts
    Rep Power
    1820
    Reputation
    70528

    Default

    hey tnarg, i thought you were banned....

  • #10
    Junior Member
    Join Date
    Mar 2009
    Age
    52
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    185
    Reputation
    10

    Default

    really now thats news to me
    maybe you have me confused with someone else ?

  • #11
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    Thanks guys, the advice regarding newcamd was spot on.

    For those catching up on all this, with Irdeto 1 you have
    - Hex Serial Number (HSN) and Hex Master Key (HMK)
    - Provider ID (ProvID) and Plan Master Key (PMK)
    - Plain Keys (session keys)
    The secret held by smartcards is the HMK. The HSN is unique to the card.
    Plain Keys are stored by cards and used during ECM processing to decrypt the control words needed to decode pictures.
    Plain Keys are supplied to groups of cards based on Provider ID, and they're sent out in encrypted EMMs that require the PMK for unpacking.
    PMKs are supplied to cards by the stream, sent out as EMMs addressed to individual HSNs. To minimise traffic they aren't sent as often as Plain Key EMMs. The value of the PMK doesn't necessarily change all the time, but at the moment they are changing.

    At times like these, when the PMKs are changing, if you have the PMK but not the HMK you'll get pictures for a while but it'll stop working with the next PMK change. If you use an emulator which lets you specify the HSN and HMK it will get the other things automatically from the stream when the necessary EMMs arrive. Not all emulators let you specify the HMK but Newcamd 6.10d is one which does.

    For those who are interested here's what I did, using PLi DM500 Jade. I assume you've already set up Antenna settings for your LNB and scanned Aurora network (12407 Vertical 30000 2/3).

    1. under Setup | System Settings
    enable network & DHCP, make note of IP address

    2. under Setup | Software Management | Downloads | SoftCams
    select and install Newcamd 6.10b
    (no need to install Newcamd Config 6.10b)

    3. Open a shell prompt (I use on XP or Terminal on Leopard)
    connect to dreambox:
    telnet 192.168.0.4 (or whatever the dreambox IP address is)
    username: root
    password: dreambox

    4. cd /var/scce

    5. vi ppua
    Press 'I' for insert and type the following line:
    0602:000000:00:00c3ssssss:mm mm mm mm mm mm mm mm

    where
    ssssss = Hex Serial Number (three bytes / 6 digits)
    mm mm mm ... = Hex Master Key (ten bytes / 20 digits)

    You can obtain values for HSN and HMK from a working gold/silver Aurora card, or from various files floating around, or from friendly Austech members.

    6. Press esc to stop insertion
    Then ':wq' to write change and quit.

    7. under Setup | Softcam Setup
    select Default SoftCam: newcamd-6.10b
    choose Save and restart cam

    8. tune to an Aurora channel (eg ABC TV SE).
    You may need to wait up to 20 minutes for pictures initially since PMK update EMMs aren't very frequent.

    Once you have pictures you'll find a bunch of other files get written to /var/scce directory by newcamd. In particular
    /var/scce/ppua : gets updated with additional line containing ProvID Group and PMK
    /var/scce/keylist : stores plain (session) keys

    Newcamd also uses files in /var/keys directory such as SoftCam.Key and newcamd.conf, but you don't need to worry about them if you're just using it to emulate Irdeto 1 Aurora.

  • The Following 15 Users Say Thank You to gw1 For This Useful Post:

    + Show/Hide list of the thanked

    aalyasseri (05-07-11),bloggs (02-06-09),gareth41 (13-02-10),Goose (30-06-10),LeroyPatrol (29-05-09),mcs (27-02-10),mkhannah (17-06-09),OSIRUS (15-05-09),oyama (02-06-09),pedro99 (04-08-09),porkop (15-07-09),rammaoz (02-09-10),Smacca (26-07-09),t4796 (17-02-10),worthp (26-06-12)

  • #12
    Junior Member OzBlackKnight's Avatar
    Join Date
    Jan 2008
    Location
    Dandenong
    Posts
    170
    Thanks
    140
    Thanked 23 Times in 13 Posts
    Rep Power
    204
    Reputation
    91

    Default

    Thanks GW1. Another excellent tutorial.

  • #13
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    Correction, the line above should be
    0602:000000:00:00c3ssssss:mm mm mm mm mm mm mm mm mm mm

    (The Hex Master Key, indicated by mm above, is 10 bytes long - not 8.)

  • #14
    Senior Member jamesv's Avatar
    Join Date
    Jan 2008
    Posts
    554
    Thanks
    58
    Thanked 22 Times in 14 Posts
    Rep Power
    218
    Reputation
    141

    Default

    Quote Originally Posted by cwispy View Post
    Gbox will keep them up to date
    care to share a little cwispy....

    thanks gw1....

  • #15
    Junior Member
    Join Date
    Jan 2008
    Posts
    88
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    200
    Reputation
    10

    Default

    Thanks for the info.
    Another thing that I found that might help others is that the hex needs to be in lower case.

    Someone may correct me however

  • #16
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    I tried Newcamd 6.10b's ppua file with upper case and it definitely still works. What you do need to include is the spaces within the HMK - if you omit them it won't work.

    Hexadecimal parsers are nearly always case insensitive, at least in my experience. It would be an unusual C programmer who parses hex without handling case properly. But I agree that capitalisation is worth checking when having problems.

  • #17
    Senior Member jamesv's Avatar
    Join Date
    Jan 2008
    Posts
    554
    Thanks
    58
    Thanked 22 Times in 14 Posts
    Rep Power
    218
    Reputation
    141

    Default

    Quote Originally Posted by gw1 View Post
    I tried Newcamd 6.10b's ppua file with upper case and it definitely still works. What you do need to include is the spaces within the HMK - if you omit them it won't work.

    Hexadecimal parsers are nearly always case insensitive, at least in my experience. It would be an unusual C programmer who parses hex without handling case properly. But I agree that capitalisation is worth checking when having problems.
    Trying it now gw1 without success. It is ppua and not ppau? I have spaces in between and cmod 755 applied - is this cmod necessary?

    thks

  • #18
    Junior Member oscillator_1's Avatar
    Join Date
    Jan 2008
    Posts
    244
    Thanks
    113
    Thanked 24 Times in 14 Posts
    Rep Power
    209
    Reputation
    157

    Default

    Quote Originally Posted by jamesv View Post
    Trying it now gw1 without success. It is ppua and not ppau? I have spaces in between and cmod 755 applied - is this cmod necessary?

    thks
    Install newcamd 6.10b and create a file called ppua and put it into /var/scce.
    Newcamd then creates some other files, one of which holds the plain keys.
    If there is an EMK update it should handle that too (so no going back to a logger for new EMK).

    Create the 'ppua' file (no extension) using notepad or similar and copy in the following:

    0602:000000:00:0001XXXXXX:aa aa aa aa aa aa aa aa
    0602:000000:00:00c3YYYYYY:bb bb bb bb bb bb bb bb bb bb

    Just 2 lines is all.

    XXXXXX is the provid
    aa's are the PMK
    YYYYYY is the HSN
    bb's are the HMK

    Should all be OK after that.

    Thanks go to enf

  • The Following 3 Users Say Thank You to oscillator_1 For This Useful Post:

    aalyasseri (05-07-11),bloggs (02-06-09),OSIRUS (15-05-09)

  • #19
    Super Moderator
    enf's Avatar
    Join Date
    Jan 2008
    Location
    Canberra
    Age
    70
    Posts
    17,752
    Thanks
    16,817
    Thanked 34,961 Times in 9,058 Posts
    Rep Power
    13677
    Reputation
    644429

    Default

    Quote Originally Posted by oscillator_1 View Post
    Install newcamd 6.10b and create a file called ppua and put it into /var/scce.
    Newcamd then creates some other files, one of which holds the plain keys.
    If there is an EMK update it should handle that too (so no going back to a logger for new EMK).

    Create the 'ppua' file (no extension) using notepad or similar and copy in the following:

    0602:000000:00:0001XXXXXX:aa aa aa aa aa aa aa aa
    0602:000000:00:00c3YYYYYY:bb bb bb bb bb bb bb bb bb bb

    Just 2 lines is all.

    XXXXXX is the provid
    aa's are the PMK
    YYYYYY is the HSN
    bb's are the HMK

    Should all be OK after that.

    Thanks go to enf
    Hell...months since I wrote that...I don't see how you can go wrong.

    Remember though...gw1 says that you dont need the PMK line...this is true if they are rolling keys. When I wrote that they weren't, so that line had to go in to get pictures.

    It will auto update perfectly after that. Just remember to put Aurora on when there is am EMK update and wait until it gets a hit...maybe a while depending on how fast the keys are rolling. The rest of the time when you switch to Aurora, you may have to wait a couple of minutes to get a plain key, so be patient.....

    Cheers
    enf
    The fact that there's a highway to hell and a stairway to heaven says a lot about the anticipated traffic flow.

  • The Following User Says Thank You to enf For This Useful Post:

    OSIRUS (15-05-09)

  • #20
    Member
    Join Date
    Jan 2008
    Location
    Here & There
    Posts
    293
    Thanks
    136
    Thanked 23 Times in 13 Posts
    Rep Power
    208
    Reputation
    63

    Default

    Thanks Guy's great info.

  • Page 1 of 4 1234 LastLast

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •