How to: Stop your cards being stolen via Oscam

Vangerwen

File Master
File Master
Dec 28, 2012
345
6
16
Narnia
This is a quick how to for those of you who want to protect your local card after the recent rise of card fakers/stealers. With oscam currently users can take your C line that you have given and put direct to oscam thus bypassing any reshare limits you set. They can then go one step further and fake your local with the 256 trick in CCcam versions prior to 2.1.4 (2.1.3,2.0.11 etc.).
What you need to use is Anticascading.

So if you have a peer who is doing re-sharing/faking do the following:

In your oscam config directory create a file oscam.ac and put in these lines:
HTML:
#
# anti-cascading table
#
# format: : =

Here is an example for Sky italia.
HTML:
093B:000000 = 9
*=15

In your oscam.conf add following:
HTML:
[anticasc]
enabled = 1
numusers = 1
sampletime = 2
samples = 5
penalty = 0
aclogfile = /var/log/oscam_ac.log
denysamples = 9
fakedelay = 1000

In oscam.user, for each guilty user add:
HTML:
penalty = 1

Here is example for sky UK:
HTML:
#
# anti-cascading table
#
# format: <0963>:<0963:000000>=<9>
*=15

in oscam.conf

HTML:
[anticasc]
enabled = 1
numusers = 1
sampletime = 2
samples = 5
penalty = 0
aclogfile = /var/log/oscam_ac.log
denysamples = 9
fakedelay = 1000

In oscam.user, for each guilty user add:
HTML:
penalty = 1

This will work as follows:

oscam will sample every user for ecm requests for 15 minutes. If a bad, bad guy exceeds the limit oscam will send a fake cw for the next 9 samples. If in userfile you do penalty = 0 the user will not be punished but it will be logged in aclog file. Do not go too tight with the settings as people chnge channels and create additional ecm requests.

Above settings works OK

Credit to original author