How to secure and license CODESYS applications

25
Page 1 © Wibu-Systems 2013 CodeMeter Technology Software Protection & Licensing of CODESYS Applications Stefan Bamberg Senior Key Account & Partner Manager [email protected]

description

CODESYS from 3S-Smart Software Solutions is the most widely used manufacturer independent IEC 61131-3 Development System on the market. By including an integrated visualization with different clients, integrated connection to all standard fieldbus systems, motion functionality, safety solutions and communication interfaces, it covers the complete software side of automation. CodeMeter® from Wibu-Systems is a world leading technology that streamlines software monetization strategies. With the same unique platform customers can enjoy the most sophisticated software protection techniques and a highly flexible licensing management system. It finds optimal application in both the ISV and the industry automation worlds. The partnership between 3S-Smart Software Solutions and Wibu-Systems was born out of the market need for IP protection against reverse engineering and copy protection against counterfeiting attempts. The integration of CodeMeter with CODESYS has involved different technological levels: - the protection of the source code in the development tool - the protection of the boot application - the protection of the usage through application functions and libraries - the creation of protected code for PLC target systems During this presentation you will learn - how you can easily implement software protection when developing with CODESYS - how you can add plugins for license management to your CODESYS-based application - how you can get your entry level development kit - about recent development undertaken by the two companies over the last few months Your moment of truth is now: don’t let your CODESYS application be the prey of hackers, and start licensing it in a professional and convenient way. ******************************** Request CodeMeter SDK and try out Wibu-Systems' premier technology for yourself http://www.wibu.com/cm ********************************

Transcript of How to secure and license CODESYS applications

Page 1: How to secure and license CODESYS applications

Page 1© Wibu-Systems 2013

CodeMeter Technology

Software Protection & Licensing

of CODESYS Applications

Stefan Bamberg

Senior Key Account & Partner Manager

[email protected]

Page 2: How to secure and license CODESYS applications

Page 2© Wibu-Systems 2013

The whole Process

Page 3: How to secure and license CODESYS applications

Page 3© Wibu-Systems 2013

CODEMETER TECHNOLOGY

From a Vendor’s View

Page 4: How to secure and license CODESYS applications

Page 4© Wibu-Systems 2013

CodeMeter for a Vendor

Technologie(CmDongle /

CmActLicenses)

Software Integration

Backoffice Integration

AxProtector

CodeMeter API

CodeMeter

License Central

Dongles:

CmDongle (USB, SD,

CF, µSD, …)

Soft Licenses:

CodeMeter SmartBind®

License Models:

Single User, Trial,

Network, ….

Development

Tools

Embedded

Device

Page 5: How to secure and license CODESYS applications

Page 5© Wibu-Systems 2013

Integration in CODESYS:

Quelle: 3S Smart Software Solutions

Page 6: How to secure and license CODESYS applications

Page 6© Wibu-Systems 2013

Design of License Models

Text

License Quantity

Expiration Time

Usage Period

Unit Counter

Feature Map

Product Code

Maintainance Period

Customer Own License Information

Pro

duct

Item

Opt

ions

Single Station

Floating Network Licenses

Software Rental

Pay-Per-Use

Feature-On-Demand

Demo/Trial Licenses

Downgrade License

Cold / Hot Standby

Overflow Licenses

Page 7: How to secure and license CODESYS applications

Page 7© Wibu-Systems 2013

Secure License Storage

CmActLicense

CodeMeter SmartBind®

Dynamic fingerprint

Adjustable tolerance level

Trial licenses

Binding Extension

Individual binding to an

embedded device

CmDongle Hardware with high security Smart Card-Chip

Secure license storage (no unauthorized copy)

CmDongle

Software

CmActLicense

CodeMeter License Server

Page 8: How to secure and license CODESYS applications

Page 8© Wibu-Systems 2013

Secure License Storage

CF-KarteCmCard/CF

SD-CardCmCard/SD

USBCmStick/C Basic

µSD-CardCmCard/µSD

USBCmStick

Link to the data sheets:

http://www.wibu.com/en/hardwarebasierter-kopierschutz.html

InternalCmCard/I

Express-CardCmCard/E

SoftlicenseCmActLicense

PC-CardCmCard

ChipCmASIC

Page 9: How to secure and license CODESYS applications

Page 9© Wibu-Systems 2013

SOFTWARE INTEGRATION

From a Vendor’s View

Page 10: How to secure and license CODESYS applications

Page 10© Wibu-Systems 2013

Integration in Software

Wrapper (Automatic protection)

AxProtector

Standard systems: Windows 32-bit / 64-bit, Mac OS

X, Linux, .NET Assemblies, Java J2SE, J2EE

Embedded Systems: CODESYS, VxWorks, Windows

CE, Windows Embedded, Embedded Linux

CodeMeter Core API

Acquire license information

Data encryption with secret key in CmDongle or in

CmActLicense

Signature-API (Sign, Check)

Page 11: How to secure and license CODESYS applications

Page 11© Wibu-Systems 2013

CodeMeter for Embedded Systems

Similar Requirements (as PC-Software)

Intellectual property protection

Software licensing

Features-on-Demand

New Challenges

Integrity protection of the device

Access control to an embedded device

Different Environments

Operating System is under the control of the vendor

Devices with low performance, less memory

Page 12: How to secure and license CODESYS applications

Page 12© Wibu-Systems 2013

Wibu-Systems Offers:

Wrapper for Embedded Devices

AxProtector VxWorks, Windows CE, Windows Embedded,

Linux Embedded, …

CodeMeter Compact Driver

Modular (CmDongle, CmActLicense, CmLan, …)

Designed to work with low ressources

Available as library or source code

Secure Storage of the Keys

Private Key (Authentication)

Secret Keys (Encryption of data/software)

Page 13: How to secure and license CODESYS applications

Page 13© Wibu-Systems 2013

Wibu-Systems Offers 2:

Signatur-API

Used for integrity check of software on embedded

systems

Integration in the boot process

Pre-Boot loader checks boot loader

Boot loader checks operating system

Professional Services

Individual concepts and implementations

Page 14: How to secure and license CODESYS applications

Page 14© Wibu-Systems 2013

BACK OFFICE INTEGRATION

From a Vendor’s View

Page 15: How to secure and license CODESYS applications

Page 15© Wibu-Systems 2013

Ticket /

Fingerprint

4

Us

er

Online Activation ServerIS

V

Ticket3

License5

Ticket

2

SKU1

Online Activation Server

Page 16: How to secure and license CODESYS applications

Page 16© Wibu-Systems 2013

Options for the Backoffice Integration

AS

WSi

License CentralERP

CRM

Webdepot

Gateway

ConnectoreCommerce

Shop

CRM

(Sales Force)

Activation

Wizard

Browser

Connector

Web Server

in DMZ

C

C

Customized

Application

G

C

DB

Intranet Internet

ERP

CRM

C

C

Customized

Application

G

C

Webdepot

Gateway

ConnectoreCommerce

Shop

CRM

(Sales Force)

Activation

Wizard

Browser

Connector

Page 17: How to secure and license CODESYS applications

Page 17© Wibu-Systems 2013 Page 17

Activation-Wizard I

Page 18: How to secure and license CODESYS applications

Page 18© Wibu-Systems 2013 Page 18

Activation-Wizard II

Page 19: How to secure and license CODESYS applications

Page 19© Wibu-Systems 2013 Page 19

Activation-Wizard III

Page 20: How to secure and license CODESYS applications

Page 20© Wibu-Systems 2013 Page 20

Activation-Wizard IV

Page 21: How to secure and license CODESYS applications

Page 21© Wibu-Systems 2013

License Portal I

Page 22: How to secure and license CODESYS applications

Page 22© Wibu-Systems 2013

License Portal II

Page 23: How to secure and license CODESYS applications

Page 23© Wibu-Systems 2013

Individualization of the License Portal

Page 24: How to secure and license CODESYS applications

Page 24© Wibu-Systems 2013

Easy License Transfer in CODESYS

CODESYS

Runtime

CODESYSPortal

Vendor

Libraries

…C

mD

on

gle

Page 25: How to secure and license CODESYS applications

Page 25© Wibu-Systems 2013

FOR YOUR ATTENTION

Thank You