Join ABADSS Now

ABA DSS - Free to Air Satellite TV Community > Main > General Discussion Topics > General Chit Chat » Please Explain what is contained in a BIN

Registration is FAST, PRIVATE, and SECURE. Join our community today!

Download Our Free Toolbar

General Chit Chat Use this forum for general non FTA chit chat. Please do not post help requests.

Register Now for FREE!
Our records show you have not yet registered to our forums. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
 
Image Verification
Please enter the six letters or digits that appear in the image opposite.

  I agree to forum rules 

Reply
Old January 1st, 2008   #1 (permalink)
FTA Newbie
 

Join Date: Dec 2007
Posts: 6
Credits: 87.80
Thanks: 0
Thanked 0 Times in 0 Posts
Please Explain what is contained in a BIN

Hello,

Can anyone explain what goes into making a new BIN to counter ECM? What programming language is used etc. Thanks
maguiver77 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #2 (permalink)
Moderator
 
RICKSBEACH's Avatar
 

Join Date: Jan 2007
Location: Beautiful British Columbia, Canada
Posts: 18,327
Credits: 8,216.75
Thanks: 2,283
Thanked 6,600 Times in 3,665 Posts
Beer: [July 16th, 2009] - Private Hamburger Beer
Re: Please Explain what is contained in a BIN

WELCOME TO THE SITE
YOU HAVE POSTED IN THE WRONG SECTION AND I WILL NOW MOVE YOU TO PROPER SECTION .
PLEASE GO HERE FOR SOME INFO ON HOW TO GET AROUND THE SITE AND WE'LL BE GLAD TO ANSWER ANY QUESTIONS OR PROBLEMS YOU HAVE ..
GO HERE FOR INFO :
Newbies Section - ABA DSS - Free to Air Satellite TV Community

THANKS



Quote:
Originally Posted by maguiver77 View Post
Hello,

Can anyone explain what goes into making a new BIN to counter ECM? What programming language is used etc. Thanks
__________________
'
RICKSBEACH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to RICKSBEACH For This Useful Post:
gambler1960 (January 1st, 2008)
Old January 1st, 2008   #3 (permalink)
Veteran Abadss Member
 
mcdoogle's Avatar
 

Join Date: Dec 2006
Posts: 4,756
Credits: 737.55
Thanks: 241
Thanked 840 Times in 519 Posts
Re: Please Explain what is contained in a BIN

This Is a Cut and Paste, This will make your head spin... But this is what you asked for...

C/P
Satellite Video Decryption - HOW IT ALL WORKS





--------------------------------------------------------------------------------
HOW IT ALL WORKS

Part I

This document began life as a discussion between another group member and myself, and grew into a FAQ sheet. I only wish myself that something like this FAQ had been around when I started trying to understand what was happening with all these keys. I hope some of you find it enlightening.

Terminology.

Management Keys

Every card has MKs, which are hard to decrypt due to DES. They never change, are different for each card, and are used to decrypt operational keys.
Operational Keys (Op-Keys)
Can be changed every few hours (Sex-View), days (SCT) or every month (Seca). These are encrypted using a method known as DES. Every card for a given provider has the same op key. Op keys are used to decrypt the CW.

The CW

This is used to decode the video signal in real time. The video signal is encoded using a simple algorithm
Encoding/Decoding - weak scrambling system used on the video data
Encryption/Decryption - strong scrambling systems used for keys

OVERVIEW:

video signal (weakly encoded) is decrypted by CW(Code Word).
Op- keys (strongly encrypted in DES) are used to decrypt the CW
management keys (strongly encrypted in DES) used to decrypt the op keys.

Full explanation

To prevent unauthorized viewing of a channel, the service provider has to encode the video signal. However they can't use a very strong encoding algorithm to do this because they would not be able to encode the video signal fast enough, and your receiver would not be able to decode fast enough, for you to watch it. Remember the video signal contains megabytes of data every second!!

So they encode the video signal by a very basic method. One such basic method is to use the logical operation XOR which stands for eXclusive OR.
XOR operates on ever single bit of the video signal (a bit is a binary digit - either a zero or a one) It works like this.

If the data bit is 0 and the key bit is 0 then the result bit is 0
If the data bit is 0 and the key bit is 1 then the result bit is 1
If the data bit is 1 and the key bit is 0 then the result bit is 1
If the data bit is 1 and the key bit is 1 then the result bit is 0

For example this is how we encode data using XOR

01101000 = clear video data
10101011 = encoding key
11000011 = result (encoded video data)

To understand the above example, read the ones and zeros in each vertical column, a one and a zero in a column produce a one in the result , two zeros or two ones in a column produce a zero in the result.

Decoding is just a matter of applying the same key to the encoded video data like this:

11000011 = encoded video data
10101011 = decoding key
01101000 = result - which you will see is the same as the original clear video data!

Using a method such as logical XOR is a very quick way of encoding a lot of data, but it is not a very secure way of doing it. One easy way to break XOR encoding for instance, is to look for parts of the data that would have originally been a long sequence of zero's. When you encode all zero data with XOR this is what happens:
00000000 = clear data
10101011 = key
10101011 = result which is the same as the key!

Please remember that these above examples are not necessarily the actual technique used for Viaccess encoding, In fact as of yet I have been unable to determine the exact method used. However they do demonstrate the basic principle. Also the above examples used a key that was only 8 bits long - in reality we use one which is 64 bits long. In other words a sequence of 64 ones and zeros!

Also remember that the decoding of the video signal itself takes place in the CAM/Reciever - NOT in the smartcard.

Part II

The problem with these simple encoding methods is that it would be fairly easy to devise special hardware that could determine the key used for XOR encoding almost in real time. Although they used a different method than the one I've demonstrated here, old scrambling systems such as Filmnet/Teleclub/RTL4 are a good example of decoders that were able to decode the video signal without needing the encoding key.

To prevent the current systems being hacked in this way the encoding key used is changed very often, usually every 5 to 10 seconds! This key (according to various different documentation) is called the "Control Word", "Check Word" or "Command Word". We will simply call it "CW". In order for your receiver to decode the video signal, it needs to know the correct CW to use and it has to receive a new CW every 5 seconds or so. In Viaccess this CW is sent to the receiver in a message called an "Entitlement Control Message" or ECM. To prevent unauthorizedusers from intercepting the ECM (and the CW it contains) the CW is encrypted using a powerful encryption technique called DES(Data Encryption Standard). DES itself is the topic of another FAQ, all we need to say here is that it is very difficult to break DES encryption without knowing the key used.

The ECM is passed by the receiver to the smart card, which contains the DES algorithm, and the necessary key to decode it. A smart card can easily handle using DES to decrypt one CW every five or ten seconds The smart card takes the encrypted CW contained in the ECM, decrypts it using a key, and passes the decrypted (or clear) CW back to the receiver to decode the video signal. The key used to decrypt the CW is called an operational key, or op-key.

Some documentation also refers to this key as SOK, or service operators key. We'll use the term "op-key". These op-keys are the ones you see posted on boards such as Vkeys - key 08: 09; etc.

There a couple other points about ECMs that are worthy of note:

Firstly the smart card actually contains a whole set of op-keys, and the ECM tells it which one to use to decode the CW.

Secondly the ECMs actually contain two CWs. The one being used now, and the one to be used next, this allows the card enough time to decrypt the next CW (using DES) before it is required to be used. This prevents any breakup of the video signal when it switches to the new CW.

Obviously there is only one video data stream being transmitted on one channel at a time, so all receivers have to use the same CW to decode it. Because there is not enough time to transmit different encrypted ECMs to different receivers every 5 seconds, it also stands to reason that each receiver gets the same encrypted CW and needs the same key to decrypt. So all smart cards for a given channel contain the SAME SET of op-keys!

But there is a problem with this. If all cards have to contain the same set of keys, then once pirates have access to those keys the service is hacked, and the service operator would have to replace all the cards it has issued, which is very costly and time consuming.

So to get around this problem the op-keys are sent to the smart card in a message called an EMM, or Entitlement Management Message. This means that the op-keys can be changed without replacing all the cards. The EMM containing the op-keys is again encrypted with DES, and in this case it is decrypted using a key called a Management Key or MK.

Because new op-keys only need to be sent to the card periodically (say every month, week, or in the case of Sexveiw, every 8 hours), it is perfectly feasible to have a different MK in each card, and to address a specific EMM to each card that can only be decrypted with that cards MK. In fact this is exactly what is done. Each card has a specific unique address UA and a specific set of Master keys MK00 - MK07.

The EMM tells the smart card which MK it needs to use to decrypt the op-key contained in the EMM, and the EMM is also addressed to a specific card using the UA. In practice some large service provides who have lots of cards use groups of 256 or 4096 cards which have the same shared address (SA) and the same master keys.

The EMMs containing the new op-keys are sent out over and over again during the days/hours before an op-key change so that each card has chance to receive the new key at least once before that key is used.

The idea behind the above system was that if pirates broke into a card and found the MKs, as soon as those keys became public the service operator could "kill" the official card using those MKs and at the same time "kill" all the clones of that card. If the pirate cards just contained the op-keys then those cards would only last until the next op-key update, which could be only a few hours away.

The current weakness in this system is of course the Internet. At the time it was designed, no one imagined we would have boards such as Vkeys instantly accessible to thousands of people and containing the current op-keys, which of course are the same for all cards. And of course thanks must go to all the kind people who log those channels for EMMs and kindly post the op-keys for the rest of us!
__________________
__________________
Signal theft is illegal. I don't condone the practice. Nor do I commit the offence. Govern yourself accordingly.
How you choose to use the "entertainment only" information provided on this forum is of your own accord. Not mine.

Last edited by RICKSBEACH; January 1st, 2008 at 09:44 PM.. Reason: EDIT NAMES..
mcdoogle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mcdoogle For This Useful Post:
jordy1669 (January 1st, 2008)
Old January 1st, 2008   #4 (permalink)
Expert Site Helper
 
SoDarkTheCon's Avatar
 

Join Date: Oct 2007
Location: Dark Side Of The Moon
Posts: 4,106
Credits: 2,019.30
Thanks: 376
Thanked 2,138 Times in 1,345 Posts
N3 Fix
Re: Please Explain what is contained in a BIN

You should try google or the glossary. But basically its just a binary file that is able to uncode what the current problem is, and thats it. It can't emulate the system of choice 100% as of yet. How do you know that this dude ain't a DN or BEV employee and you just gave him the info needed to shut us down. Nice job.




OH BY THE WAY THAT WAS A JOKE.....
__________________




SoDarkTheCon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #5 (permalink)
Moderator
 
RICKSBEACH's Avatar
 

Join Date: Jan 2007
Location: Beautiful British Columbia, Canada
Posts: 18,327
Credits: 8,216.75
Thanks: 2,283
Thanked 6,600 Times in 3,665 Posts
Beer: [July 16th, 2009] - Private Hamburger Beer
Re: Please Explain what is contained in a BIN

Good One Doog..
This Will Keep Everyone Busy For Awhile..lol..
__________________
'
RICKSBEACH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #6 (permalink)
Expert Site Helper
 
vtoskov's Avatar
 

Join Date: May 2007
Posts: 2,554
Credits: 1,496.30
Thanks: 805
Thanked 1,549 Times in 959 Posts
Re: Please Explain what is contained in a BIN

Quote:
Originally Posted by maguiver77 View Post
Hello,

Can anyone explain what goes into making a new BIN to counter ECM? What programming language is used etc. Thanks
Why don't you just download a simple Hex Editor and open the bin file with it. This way you'll experience the truth first hand.It won't be pretty I guarantee you. lol
And if you wanna reuse the same file I suggest you save a back up copy before hand and/or not modify the file while in the Editor.

Happy New Year
vtoskov is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #7 (permalink)
Veteran Abadss Member
 
mcdoogle's Avatar
 

Join Date: Dec 2006
Posts: 4,756
Credits: 737.55
Thanks: 241
Thanked 840 Times in 519 Posts
Re: Please Explain what is contained in a BIN

LOL how about Rick, Sorry tried to star the names but I must have missed some...
__________________
Signal theft is illegal. I don't condone the practice. Nor do I commit the offence. Govern yourself accordingly.
How you choose to use the "entertainment only" information provided on this forum is of your own accord. Not mine.
mcdoogle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #8 (permalink)
Veteran Abadss Member
 
mcdoogle's Avatar
 

Join Date: Dec 2006
Posts: 4,756
Credits: 737.55
Thanks: 241
Thanked 840 Times in 519 Posts
Re: Please Explain what is contained in a BIN

Wow 666 post not good.....
__________________
Signal theft is illegal. I don't condone the practice. Nor do I commit the offence. Govern yourself accordingly.
How you choose to use the "entertainment only" information provided on this forum is of your own accord. Not mine.
mcdoogle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #9 (permalink)
Moderator
 
creativegenius's Avatar
 

Join Date: Dec 2007
Location: 3rd rock from the Sun
Posts: 14,247
Credits: 16,617.92
Thanks: 2,622
Thanked 14,317 Times in 5,374 Posts
Beer: [July 17th, 2009] - Private The World: [July 25th, 2009] - Private Four Leaf Clover: [July 28th, 2009] - Private
Re: Please Explain what is contained in a BIN

New sets of instructions.

Creative Genius



Quote:
Originally Posted by maguiver77 View Post
Hello,

Can anyone explain what goes into making a new BIN to counter ECM? What programming language is used etc. Thanks
creativegenius is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #10 (permalink)
Veteran Abadss Member
 
mcdoogle's Avatar
 

Join Date: Dec 2006
Posts: 4,756
Credits: 737.55
Thanks: 241
Thanked 840 Times in 519 Posts
Re: Please Explain what is contained in a BIN

Ok it's now gone...... Wow...Thought they where coming after me LOL......
__________________
Signal theft is illegal. I don't condone the practice. Nor do I commit the offence. Govern yourself accordingly.
How you choose to use the "entertainment only" information provided on this forum is of your own accord. Not mine.
mcdoogle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #11 (permalink)
FTA Newbie
 

Join Date: Dec 2007
Posts: 6
Credits: 87.80
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Please Explain what is contained in a BIN

So what does the man keep changing. I guess what i want to learn is how the signal is decrypt and what is changed in the new working bin? This is so interesting to me. It is like the comic Spy Vs Spy.
maguiver77 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #12 (permalink)
Veteran Abadss Member
 
mcdoogle's Avatar
 

Join Date: Dec 2006
Posts: 4,756
Credits: 737.55
Thanks: 241
Thanked 840 Times in 519 Posts
Re: Please Explain what is contained in a BIN

That's Not something that you or me will ever know unless you can Brake the decrypt code as the Coders do.... Is all math.......
__________________
Signal theft is illegal. I don't condone the practice. Nor do I commit the offence. Govern yourself accordingly.
How you choose to use the "entertainment only" information provided on this forum is of your own accord. Not mine.
mcdoogle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 1st, 2008   #13 (permalink)
FTA Newbie
 
jacktate's Avatar
 

Join Date: Dec 2007
Posts: 19
Credits: 2.90
Thanks: 1
Thanked 4 Times in 4 Posts
Re: Please Explain what is contained in a BIN

Quote:
Originally Posted by maguiver77 View Post
So what does the man keep changing. I guess what i want to learn is how the signal is decrypt and what is changed in the new working bin? This is so interesting to me. It is like the comic Spy Vs Spy.
You need to do a lot of reading off site. Your not going to learn that here. There's a lot you will need to learn before you would even understand the answer to you question. It is interesting and you will find some info if you dig deep enough but it's a long road to the end.
jacktate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 2nd, 2008   #14 (permalink)
FTA Newbie
 

Join Date: Dec 2007
Posts: 6
Credits: 87.80
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Please Explain what is contained in a BIN

point me in the right direction. I am currently pursuing an electronic engineering degree so i might understand a few things.
maguiver77 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 2nd, 2008   #15 (permalink)
Expert Site Helper
 
SoDarkTheCon's Avatar
 

Join Date: Oct 2007
Location: Dark Side Of The Moon
Posts: 4,106
Credits: 2,019.30
Thanks: 376
Thanked 2,138 Times in 1,345 Posts
N3 Fix
Re: Please Explain what is contained in a BIN

Quote:
Originally Posted by maguiver77 View Post
point me in the right direction. I am currently pursuing an electronic engineering degree so i might understand a few things.
Are you good with calculus and advanced equations...lol ? that would be a start. Its very hard to code, plus most receivers have coders already. Get a hex editor and open a bin file with that like someone stated before.
__________________




SoDarkTheCon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Related Content   #1.5
ABAdss Site Sponsors
 
 
Posts: lots
Bot is online  
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Search ABAdss
Find Top Dealers
What's New
Site Sponsors
Forum Stats
Translate ABADSS
Hot Deals
Tag Cloud
All times are GMT -4. The time now is 09:44 AM.

FTA Files

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0

vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
Copyright by ABADSS SystemAd Management by RedTyger


Vote for us at these links!

Enter DSS Top 33 and Vote for this site !!!  FTA Top List -- The Best Free to Air Sites on the Net!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455