MediaGuardCardGuard by bezerker
-------------------------------

Software for PIC16[C/F]84(A) allows blocking EMM-s for Seca cards:
- 'MGCG_CWB_MB.hex' - version for original Crypto Blocker and MultiBlocker
- 'MGCG_mod_CWB.hex' - version for modified Crypto Blocker

Software can work in 4 modes:
- all EMM-s are blocked
- only EMM-y for the card's group (SA) are going to the card
- only EMM-y for the card's serial (UA) number are going to the card
- all EMM-s are going to the card

You can choose the proper mode by the PIN code function. Choosen mode is set immediatelly, saved and doesn't lose after turning off the power supply or resetting the card. Software is working in this mode all the time until you choose the other. For the software purposes the 5 PIN codes are reserved and you cannot use them to block channels:
- 9990: choose of blocking all EMM-s - after you enter this code, the software will block all EMM-s to the card
- 9991: choose of sending to the card only EMM-s for it's group (SA) - after you enter this code, the software will send to the card only EMM-s that is going to be decoded with MK01 key
- 9992: choose of sending to the card only EMM-s for it's serial number (UA) - after you enter this code, the software will send to the card only EMM-s that is going to be decoded with MK00 key
- 9993: choose of sending to the card all EMM-s - after you enter this code, all EMM-s will be send to the card
- 9994: turning on/off the view of the current mode - after you enter this code, you can go to the subscriptions menu and you'll see the software working mode instead of the name of the first provider on the card:
a) 'EMM mode:   NONE' - blocking all EMM-s
b) 'EMM mode:only SA' - sending to the card only EMM-s for it's SA
c) 'EMM mode:only UA' - sending to the card only EMM-s for it's UA
d) 'EMM mode:    ALL' - sending to the card all EMM-s
If you enter this code again, this option will be disabled.
After losing the power supply or resetting the card, the software runs with turned off the view of the current mode function and in subscriptions menu you'll see the name of the first provider stored on the card.
Other combinations don't make any changes in software working mode and they are send to and processed by the card. Due to the fact that the software allows to block channels with other than this 5 service codes, if the PIN code exists on card and you want to enter one of the service codes, you must first enter the current PIN. So the blockade on the card involve also the software settings and without knowing the current code value anyone wouldn't be able to make an unauthorized change of the software mode. If the PIN is already set on the card and you want to enter the service code, you must choose the option to change the PIN, enter this code and then enter the service code. The service code will be processed by the software and the PIN on the card won't be changed.

After programming chip, the software is in the blocking all EMM-s mode. So you can run decoder with card without any fears and then choose the preferred mode.

The software supports new instructions used by the OpenFirmware to communicate with the service card, so you can use it without any problems.

If somebody has receiver that doesn't have PIN management functions and would like to use this software and set the preferred mode, he must edit the byte in chip's internal eeprom at address 0x3F. Possible values and their meanings:
- 0x00: blocking all EMM-s
- 0x01: sending to the card only EMM-s for it's SA
- 0x02: sending to the card only EMM-s for it's UA
- 0x03: sending to the card all EMM-s
If the other value was entered, the software block all EMM-s - just like if there was 0x00 entered.

Info:
1. Original Crypto Blocker and MultiBlocker connections:
Decoder VCC -> PIC VCC (14) & Card VCC
Decoder GND -> PIC GND (5) & Card GND
Decoder CLK -> PIC OSC1 (16) & Card CLK
Decoder RST -> PIC MCLR (4)
Decoder I/O -> PIC RB7 (13)
PIC RB2 (8) -> Card RST
PIC RB4 (10) -> Card I/O
2. Modified Crypto Blocker connections:
Decoder VCC -> PIC VCC (14) & Card VCC
Decoder GND -> PIC GND (5) & Card GND
Decoder CLK -> PIC OSC1 (16) & Card CLK
Decoder RST -> PIC MCLR (4) & Card RST
Decoder I/O -> PIC RB7 (13)
PIC RA0 (17) -> Card I/O



bezerker
(ameal@poczta.onet.pl)

[DVHK Group - SAT4ALL]

09-01-2004

P.S. If you found this software useful, please go to http://www.pajacyk.pl and click on the puppet.

Homepage: http://www.warsztat.piwko.pl
DVHK Board: http://shadown.risp.pl/DVHK/Board_/index.php