Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how build Parallel Dongle

Status
Not open for further replies.

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,564
parallel dongle

i look for build Parallel Dongle can help me or give me some link ?
i look for build Serial Dongle can help me or give me some link ?
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,268
keylok algo*

maziar said:
i look for build Parallel Dongle can help me or give me some link ?

For what ? Software protection, JTAG ???
 

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,564
serial dongle encryption algorithm

i need it for software protection


in parallel - i cant how build it (i try use MCU for protect) without efect printer and printer can work noramally ....
 

sadat007

Full Member level 4
Joined
Dec 31, 1999
Messages
235
Helped
13
Reputation
26
Reaction score
7
Trophy points
1,298
Location
Pakistan
Activity points
1,773
how to make a parallel dongle

Hi,
I did long time ago, used PIC16C54 and DLL for accessing LPT. It works for Dotmatrix printers without there special features in their drivers. But could not able to work with color printers because of bidirectional communication between printer and PC.
I used it for commercial so could not put here.
Then I changed to
https://www.keylok.com
They are the cheapest I think. I prefer you to use it.
SADAT
 

bogdanm

Advanced Member level 4
Joined
Jun 24, 2003
Messages
106
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Activity points
1,215
dongle parallel poort naar seriele poort

If you have the book "Programming and Customizing the AVR microcontroller" you'll find a design of a parallel port dongle in there. I don't have the book, I only read it once. Basically it contains a microcontroller powered from the parallel port that uses a LFSR (Linear Feedback Shift Register) to implement a simple but effective encryption algorithm. Look for some info on LFSR, it's worth to have a look at it. I would personally recommend serial port dongles, not parallel, or better yet USB ones. There are many places on the net where you can find circuits that use microcontrollers powered directly from the serial port (for example look at hxxp://elm-chan.org/works/temp4/report.html).
 

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,564
dongle breakpoints

sadat007 nice but i must BUILd have you info to do it ?

bogdanm: good link some info with do other mcu (such as 89c2051 ?)
 

Sobakava

Full Member level 6
Joined
Mar 27, 2002
Messages
350
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
3,342

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
parallal dongle write

Hi,

I would like to point something when you want to build a new hardware lock for softwares.The hardware based locks are not so complex to build but there is a BIG problem with it :
Software Envelope!
What is that?
For example you build your parallel port dongle and write a code something like that :

void main ()
{
bool DongleExist;
DongleExist = CheckDongle ();
//declared in hpp like bool CheckDongle();
if (!DongleExist) {
MessageBox(0,"No Dongle","Proggy 1.0",16);
exit(1);
}
.
.
.
//program flows..
.
.
.
}

So if i would be a cracker, it is very easy to c*rack it. I put a breakpoint to Message Dialog, then patch previous function.So, the most important thing is to pack exe or (better) make an envelope for it.To pack exe is not very effective way to protect because when cracker put a breakpoint to int 3, he can easily find oep and manually unpack exe :) To avoid this i advice you to write an envelope for this.
Enveloped exe has 2 parts envelope and encrypted data.When you run env. exe, envelope checks something (for example licence code, a licence file or dongle) if it is exists, envelope decrypt and unpack data to memory.So it is harder to patch these exe files.
If you decided to build a dongle, i advice you to search and find datas about envelope+exe packers+polymorphic exe crypters+low level port accessers.Be sure it is NOT easy to do.
For further questions, just ask me.

Analyzer.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top