Showing posts with label Anti-Piracy 2. Show all posts
Showing posts with label Anti-Piracy 2. Show all posts

Friday, March 25, 2011

How not to File Share Delphi in Eastern Europe

In certain forums, there's always this person who have a need to share "Delphi 6, 7, 2005, 2006, C++ Builder" and unfortunately, many of them live in Romania and... Czech Republic.

Unknown to them, since Borland sold off their Delphi assets to Embarcadero, it was later found that Embarcadero has presence in Romania and Czech Republic.

For instance, the head regional manager of Embarcadero Romania and the sales manager at Embarcadero Czech can easily go and get a court order to Deutsche Telekom (and other ISPs) to disclose the IP addresses for those illegal forums and FTP sites.

Here are some suggestions to fight against piracy in their own countries:

a) The registrar for the .EU and .CZ domains keeps records who pays for what and who the owners are. They can strike off a domain based on fraud registration. (i.e., person gave fake credentials to register domain for software piracy).

b) They can bring the ISP to court to lookup the IP address of the idiots who opens FTP sites to share Embarcadero Delphi and C++ Builder...

Hint: the physical IP address of them are in Sofia, a few miles from Embaradero's head office :).

c) They can then advertise the person's name publicly after going to court. That way, everyone will never employ these persons ever again.

d) Bring RapidShare to court to find the actual IP address of that person. One company solved this by setup a fake file-sharing website to nab the actual IP address of the file-sharing person.

The funny thing about is, Delphi developers complain there are no jobs, maybe reason is stinkers sharing Embarcadero Delphi are doing this to their own people in their own countries.


Article Update: Czechoslovakia changed to Czech.

Wednesday, January 5, 2011

Vulnerabilities

Thy found a vulnerability in thine neighbour's software land. What should dost do?

a) Go ye first to town hall and distribute thine neighbour's goods to thy peasants.
b) Go at night to thine neightbour's plot of land and harvest thine grain from thine neighbour's land.
c) Inform thy neighbour ye padlock (i.e., copy-protection) is flawed and requires amendment.


What should thy do?
Discuss...

Tuesday, October 26, 2010

Pirates of the Delhi-burn


Pawnage #1 - updated

One useless FastReport owner, responsible for the massive software piracy of FastReport version 4, is Mr. Vicente B. Leonel who uploaded his version of FastReports to a warez site.

The proof, because there needs to be proof -

The way how the FastReports installer watermark the files is the header and footer of the file contains a ______ watermark. This is always removed by the users.

However, one careless individual posted his *.log file of the install. It contains this entry:

C:\Documents and Settings\Vincente B. Leonel\My Documents\Fast Reports\ ____


All you need to do is google Mr. Vincente and realize he is a FastReports user.

Special thanks to the moderators of a certain forum for removing this information :)

Just hint for the vendor to remove his access to the Fast Report private customer access area.

:)

Wednesday, July 14, 2010

Congratulations to TMS, DevExpress

Your reviewer sees some progress with vendors implementing better protection towards their products.

My congratulation goes towards DevExpress for implementing their new Copy-protection which has seen 0 public leaks so far. There are no public leaks of DevExpress.VCL build #51 yet. They have fixed their copy-protection scheme such that leaks are afraid to release their leaks to public, for fear of being identified, people have started to beg, beg for latest version of DevExpress.VCL build #51.

My congratulation also goes towards TMS for implementing their new copy-protection scheme by reading the copy-protection ideas found on this blog. There are no more public leaks for TMS packs for latest versions.

This is good news. These vendors must be reporting new sales where there is none, people who are dishonest can no longer get free copies of these products.

Thursday, July 8, 2010

Anti Piracy Technique - Watermarking Images

Your reviewer found two interesting vendors who started to get tough on leaks. I will discuss about this interesting new feature added by one of these vendors.

This vendor sells skinning and special effects libraries in Delphi. This vendor uses CCR Exif library to embed a small change into the PNG and JPG files that makes up the skins and special effects library.

What happened the next few days? Vendor releases new version of his skinning library, pirate took the bait and the vendor recovered his library package (on certain file sharing websites), opened some of the images and on next release, your reviewer noticed people were begging for the latest version.

It sure beats clicking on those Rick Roll links. Thanks goes towards Mr. Christopher R. for his excellent library.

Thursday, July 1, 2010

Anti Piracy Technique - Total Code Reordering.

Your reviewer found a superb example of watermarking. Your reviewer call this "Total Code Reordering", where the Implementation part of the unit is totally randomized and watermarked. This deterred some people from releasing vendor's source codes.

Who should use this?
The first person your reviewer thinks should use this is Mr. Michael Philippenko, the Fast Reports vendor. The watermarks are always removed from the files and files made public. Your reviewer won't say how exactly FR source codes are watermarked, but with this technique, Mr. Michael Philippenko can trace down who exactly leaked Fast Reports next time.


Same goes for LMD, TMS, and other vendors who sell with source codes. With the latest version of TMS, files are watermarked, but this technique goes one step further -- with all files randomized, it becomes impossible to do a "difference" search between each version to remove the watermarks in those files.

Source code preparation.
1) Split the source-codes into interface and implementation. Make a program to make 1 procedure or 1 function as 1 line entries.
2) Encrypt the files using AES with a strong key. Make sure you do not embed the key in the EXE file.


Source code install:
1) On decrypt the file, since each line = 1 entry, translate the key into an ordered scheme where you can reverse or work out back who leaked the source codes
2) Reorder the implementation section and combine with interface. It will compile since a procedure can be anywhere inside the implementation section.
3) Add your additional watermarks, etc.
4) Run the GExperts code re-format in-memory where new line on begin, new line on end option and statements on each line makes the source codes readable again and then save result file to disk.

On Software Pirate's PC:
The software pirate using Fast Report source codes is dying to release the source codes but needs to remove the watermarks. Since the source code implementation section is randomized, the compare shows many, many changes and since comparing it takes long time (have to trace many changes including new features, etc.), that frustrates software pirate and since he paid it with his money or fake credit card/ (or begged for it from vendor).

Your reviewer pays, pays, pays, the free-loaders don't. Now they will...
Every year, your reviewer pays for the licenses, there are lots of Delphi developers who have very high morale and donate lot of money to Church, etc. but do not know what the left-hand does and what the right-hand do and deny about it. These Delphi developers cheer the vendors for releasing new products, but sales are very slow.

Now that knowledge of this technique is made public, almost all the vendors will certainly implement this scheme to protect their source codes.

What will happen...
1) Developer sales will start to jump from 1's, 2's, 3's to maybe 50 or 60 copies per month.
2) With strong sales, more people get hired.
3) People will think twice about leaking source codes out.
4) Vendors who sweat blood and tears to make new products will not face what is happening today - Ruin and famine with no end in sight.

Wednesday, June 2, 2010

TMS new installer does On-line activation

Someone does read this blog.

Your reviewer recently found out there is now on-line activation for TMS software.
Stay tuned for detailed security analysis soon...

:)

Wednesday, January 13, 2010

DevExpress VCL Build 48 - A haunting in Nevada

Analyzing Security Flaws

Full Blown Cryptography
Your reviewer recommends not 256, 512, 768, but try using 2048-bit security. At RSA/2048 bit key, it will be fun, really fun to hack DevExpress. That would give Danny Su'ed an interesting challenge when he cracks CodeRush or extract DevExpress.NET sources


GeoIP and double-check before downloading AES private key
Your reviewer thinks using GeoIP would be a good idea. Some smelly Delphi vendor who licensed DevExpress.VCL will who sends it to China with same license code should get blocked.

Which leads to part 2. Right now, DevExpress sends a request without checking who is the server, so a HTTPS SOAP call could be spoofed with considerable effort (just edit the binary EXE - "HTTPS" to "HTTP" and then sent without SSL. It would be wise to do a check, like ping/ping to check credentials of the server first before downloading the actual AES key would have much harder time.

For part 3, if someone installs more than 5 or 10 times in 1 day, it's time to flag that account as need "review". For obvious reasons.


DXIF with AES, with multiple passwords
Could it be, a DXIF file with multiple passwords? That could be true soon. It could make things much harder. A wise-crack who licensed QuantumGrid can no longer unlock ExpressBars or maybe ExpressPrinters ;)


Custom Setups
The best thing that could ever happen to DevExpress/Build environment is to put the build environment on-demand. Then, start to break-up the package. For example, most customers who didn't license full version of DevExpress subscription probably will not need all files, except the cracker who wants to extract all files.


Calling Dr. Jones, Jones Calling Doctor Jones
Why not consider give DevExpress customers a nice phone call. Your reviewer DelphiHater will be thrilled to hear Amanda (from DevExpress) on phone discuss about Licensing or maybe as security check.


The next weakest link
The next weakest link is one password for whole DXIF archive. It needs to have multiple passwords. The only other vendor who have multiple passwords is Mathias/Madshi vendor whose Madshi.RAR file has multiple passwords in 1 RAR file, and only way to extract the contents is by having valid Key file.


The 3rd weakest link
Your reviewer thinks using AS-Protect, WinLicense to protect binaries will slow them down. Why not protect using Silicon Realms Armadillo, ASProtect, WinLicense? It would deter only the most hardened hacker to hack DevExpress.VCL.


The Dope of Embracing Illegal Software
The irony of being a hacker. Get recognized as a hero, respect and honour. Did anyone try hiring one, and find out, they are total idiots?

It takes 9 to 12 months to make an application. But most of these "hackers" are total idiots when it comes to hard work, making money, and earning decent living.

For example, let's take DevExpress.VCL, it costs US$1500 per developer, and annual subscription. If the hacker (being an idiot, btw) uses it for 5 years, someone will find out sooner or later most of the things are Warez and he'll get into trouble. If the application uses TMS/LMD/or ReportBuilder, it adds up to more and more costs. In the end, the hacker will still be a 1 person company/ or forever dependent on employment, but wait, since Delphi is dead, what jobs? (see next part)


The Delphi Hate-Love Affair
Your reviewer was looking at how much it costs to make ExpressBars, or QuantumGrid. It could cost US$200,000 in development costs. Somebody has to pay for it. If more people buy DevExpress products, that means lower costs, more innovation. but it's opposite, now to buy DevExpress costs more money and only for bug-fixing, very slow new product development.

If you log into DevExpress private newsgroups, you can see Julian Bucknall lament about poor sales, how NET version of their products saved the day. That also means, many newer features found in Silverlight, their C# version won't be in VCL version anytime soon...


Delphi Revival, what revival?
That also means, while Embarcardero, DevExpress and other companies are hoping for turn around of fortunes..

Your reviewer should say, there is no hope in Delphi, if you sell to developers, you sell to an extremely limited market, and if you do not make prices very high, you lose on mass-piracy. That means less and less people will want to buy "original" and everyone loses. If everyone loses, that means, Delphi is dead, everyone will migrate to C#/SilverLight/PHP to save costs.

(disclaimer:
DelphiHater loves WaveMaker, PHP and DoJo, the US$0 solution.)


Brave things to do...
(disclaimer: from a post your reviewer saw before it was deleted)

- The crackers/hackers cannot even KeyGenn DevExpress.VCL

- There are no proper working crack for Addin-Express

- Most of the things released are cracked garbage
(ahh, the Dope of Embrace ;))

- Most expensive software, like BrickSoft, Addin-Express, Gnostice PDF subscription
with sources will never get keygenned or full-source-code release.

funny


Did you know?
- Members of DevExpress team read this.

There are an estimated 20,000 Delphi users using DevExpress.VCL illegally. That would translate to +/- US$20,000,000 in lost sales. If every Delphi developer licensed original software, it would translate into more jobs, higher salaries for existing Delphi developers. What happened? with massive piracy, this cuts Delphi's future. The future is here, there are few (or no) jobs, no money, nothing.

Friday, November 27, 2009

Forums & Privacy

Your reviewer was looking at a pirate "forum for sale" (funny) and wondering what kind of data privacy concerns it would have (even more funnier).


Your reviewer will raise following points:

1) Your reviewer thinks this is golden opportunity. Why constantly try to hack these boards and dump the database when you can "buy" the forum, slowly by slowly cherry pick them for "follow-up action". :)

2) Yippe yIP. Since the board also contains list of IP addresses, we can find out who the uploaders are, where they come from....

Hey bro, did you see the Bait Car(tm) show?
Google for Bait Car.

Did you see the Master-Bait car?
Me neither.

:)

Saturday, October 17, 2009

Vendor Fail

Your reviewer was thinking about some vendors who monitor rapidshare and other file-uploading websites. They would monitor them and then get the file deleted...

Here's an interesting suggestion, why not "do not" monitor them and allow unconditional downloading?

There's this thing called free-usage, you know, what the internet is? You give them all the months and months of hard work you did, only to get some technical support request on some warez forum, because your forum is filled with spam.

The people are asking, Request, this component, and it's your work. Should you allow them to have "unconditional and free access" to your months and months of work? They should be able to use it without problems, right?

The vendor there, didn't do such good job of testing, so the people who downloaded for free, they tested it well, and gave unbiased feedback. Like how it crashed, or how they replaced your components for another set of components, like your competitor's!, right!.

Or maybe, the vendor did not do such good job of documentation, and complain how the documentation is "pure garbage" and they needed to google around for answers. Or maybe there is simply no help files, no demos or nothing. Maybe some stupid DCUs nobody can even use.

Then, think about the costs. The vendor spend hours and hours writing the library, making component after component, and put a US$299 price tag for the library, which for some reason, nobody can seem to pay?

Then, think about it, the Euro 2599 cost for Delphi 2010, who is going to pay it? someone must have come up with the money to pay it... the rent for the vendor's house, or mortgage for the vendor's house?

Maybe it's time to have a hard look around, and maybe start considering another market, another job..., oh wait, maybe there's money from free, like:

1,000 downloads x 0 paid customers = US$0
10,000 rapidshare downloads x 0 paid customers = US$0

The components are free! The vendor is getting lots of unpaid customers but, zero paid customers!

Example Needs
Your reviewer was looking at "very urgent" need for BIDI (Bi_Directional) input, but sadly, none of the current developers, from DevExpress, TMS and even LMD do not have it. Why? Because none of those asking for it are willing to pay for it. No pay, no components.

Another example, is some funny times-table component, which is custom-made string-grid with custom-draw in it. Help me! I need this free of charge, can you help me? I won't even pay you for it, I'll spit on you when done, you won't even get any profits from the final work. :)

Another example, is Explorer Shell Namespace (Namespace) Integration. It's really easy in C++, but hard to do in Delphi because nobody bothered to translate the headers from C++ to Delphi (probably because the former Jedi person who did it got insulted, personal attacks), and the Jedi team then stopped the C++ conversions and focus on Jedit Component Library and J-VCL.

More Examples
I really need AppControls Delphi 2009/Delphi 2010 edition, the same one DelphiHater reviewed*! ... (Maybe the reason why there is no AppControls is because the vendor has no money to pay for the original version and cannot release a Delphi 2009 edition).

I also need either VCLZip or some Zipping tool for Delphi 2009/2010 with sources please! Or maybe MadExcept for D2009/D2009, please help me!

Conclusion
Help-me, I very, very much need help for free libraries and components, to build my product that sells for thousands of dollars, but nothing I will ever pay!

[* Your reviewer updated AppControls to D2009/D2010]

Monday, October 12, 2009

Tales from the Scene #6: Theory & Practice #1

Your reviewer shares some thoughts about Pirates of the Deli'burn.
Your reviewer pretends to a Captain of the British Navy studying them.

Most of them are novices, like Guybrush Threepwood, the wannabe pirate and take the easy way out on things.

Tale #1 required some explanation, so I will give examples.



Example #1: Addictive Software, spell checker.
It's easy to find non-legal copies of Addictive Spell Checker with sources. Google for:
""Addictive Spell Checker" warez"
""Addictive Spell Checker" rapidshare.com"
""Addictive Spell Checker" rapidshare.de"

This Delphi vendor uses Innosetup and Password. Download Innounp* and then extract the files. Mr. Glenn Couch, if you are reading this, please use another copy protection scheme.

* References:
innoup - http://innounp.sourceforge.net

DelphiHater gives some advice:
- Mr. Glenn Couch, you might want to consider checking your customers for "unclean" and "non-contactable" customers.
- Have you considered giving your "newer" customers a phone call or customers and watermarking files? That would greatly deter on fraudulent customers.
- Have you considered using BPL-only trials?
- Have you considered on-line activation?



Example #2: AidAim.com, Custom setups
It's easy to find non-legal copies of Accuracer. Google for:
""Accuracer" warez"
""Accuracer" rapidshare.com"
""Accuracer" rapidshare.de"

This Delphi vendor uses Custom Setup (with flaws). Mrs. Ella Pellaman, if you are reading this DelphiHater gives some advice:

- Consider checking your customers for "unclean" and "non-contactable" customers.
- This vendor uses custom-setup, with one flaw: files are not watermarked after installation.
- While AidAim contacts customers, allowing full access to their customer download site is inviting trouble, is it not? Have you considered putting serial number check before allowing access to download site?
- Have you considered using BPL-only trials?
- Have you considered on-line activation?




Example #3: AppControls.com, Innosetup
It's easy to find non-legal copies of AppControls. Google for:
""AppControls" warez"
""AppControls" rapidshare.com"
""AppControls" rapidshare.de"

This Delphi vendor uses Innosetup. Mr. Alexey K., if you are reading this DelphiHater gives some advice:

- Use another installer instead.
- Watermark files after installation.
- Have you considered using BPL-only trials?
- Have you considered on-line activation?




Example #4: RemObjects, Wise Installer
It's easy to find non-legal copies of RemObjects. Google for:
(you know...)

This Delphi vendor uses Wise Installer. Mr. Cornelius, if you are reading this DelphiHater gives some advice:

- If you use Wise unpacker, you can unpack all files. Why bother with setup?
- Use another installer instead.
- The website has flaw: You can re-construct the URL and download the setups :)
- Does not watermark files after installation.
- Mostly using XOR
- Have you considered using BPL-only trials?
- Have you considered on-line activation?




Example #5: DevExpress, custom setup.
It's easy to find non-legal copies of DevExpress.VCL. Google for:
(you know...)

This Delphi vendor uses custom setup. Mr. Julian Bucknall, if you are reading this DelphiHater gives some advice:

- Don't put all sources into 1 RAR file (the RAR password is easily found out).
- Don't use XOR (LOL)
- XOR, like XOR Machine Name,
- XOR, like XOR RAR Password
- Put a dead man's switch to prevent people from abusing the SSL activation service
Have you considered GeoIP and blocking repeat failures?
- Don't put newer downloads for non-active customers :)
- Consider watermarking files



Example #6: TMS, innosetup.
It's easy to find non-legal copies of TMS. Google for:
(you know...)

This Delphi vendor uses innosetup. Mr. Bruno, if you are reading this DelphiHater gives some advice:

- Consider using another installer. People just use innounp and extract all files. The installer cannot even watermark files yet :)
- Don't put newer downloads for non-active customers :)
- Have you considered using BPL-only trials?
- Have you considered on-line activation?




More to come...

:)

Sunday, October 11, 2009

Tales from the scene #5: How not to criticize this blog

Your reviewer got some emails and some flak*

(* flak: Soldiers of Fortune, reader replies)

Every now and then, there would be some feeble-minded person who would just say, this blog is full of hearsay, or not accurate.

Here's some suggestion for those who want to criticize this blog:

1) Be specific. There are over 50 articles on this blog, and if it's one article where the facts are inaccurate, you can point it out:

- There were several corrections, spelling-mistake fixes, date-error fixes, factual inaccuracies corrected for the TurboPower article.

[Can someone inform person who is saying it is inaccurate that factual inaccuracies were fixed?]

- There were also corrections made for other articles as well.

- Corrections will be made, and scheduled.

2) There is right of reply. You are most welcome to slam this blog, and for this blog to publish facts defending the articles itself.

3) This blog is not interested in name-calling, mud-raking, personal attacks, or insults. Every time there is "intelligent discussion" about problems and issue with Delphi, it degenerates into mud-slinging, insults and personal attacks.

This blog focuses on facts, articles to debunk these people...

If the tool is soooo good, everyone should be making thousands of dollars, there would be excellent libraries, professional people, the kind you meet in freemason lodges or the Borcon conventions, thousands of people would attend them...

Instead, it degenerated into loss, poor-quality libraries, "Delphi forums" would be best called "dens of thieves" and nothing but cheating and stealing is common practice.

If a student who comes out from University comes and become a Delphi developer, only to learn his masters download pirated material, use all pirated software, the student will ask himself what future he has with his poor salary and poor work?

If the masters only depend on stealing and cheating, what will become of them?

I don't know the answer, but for DelphiHater, it seems to be easier for a camel to go through the eye of a needle than for a rich man to enter the kingdom of God...

Many of those people who developed in the 1980's, 1990s are now in their 40's, 50's and 60's... What are you going to do when you "get there?" Tell everyone you were part of the "scene" - ROR, TMG, FCN, DND, FLT, had "slots" and "rights"?

If you have no sin, cast the first stone, there is really no need to uphold the law (Thou shalth not steal, Thou shalth not bear false witness...)

What will you tell the priest when you go to confession? or when will you get "right" with your life?

4) Morality aside, your reviewer welcomes your comments.

To come:
Your reviewer is digging up financial information about Developer Express (surprising information), supposed Delphi-usage in Skype (Delphi-ICE (the protocol Skype uses), Global Sound licensing), Julian Zierch WpTools review (and suggested corrections to Julian's website), Smells like Team Spirit Nevrona, Delphi Economics Part 2, More people exposed, Delphi 2009, Update 5&6 review, SVCom review.

:)

Saturday, October 10, 2009

Tales from the scene #4 - Freebies

Has anyone wondered why nobody in Delphi community gives free components anymore? Your reviewer, DelphiHater will tell very dark tale.

Replying to Mr. DelphiLover (or one of Mr. DelphiLover's friends et al). there's always some kind of community project which for some reason, would require paid components and paid libraries, some free webhosting.

(Don't be surprised that one of Mr. Delphi Lover's friends/ or himself is organizing one right now...)

The tale goes back 8 or 9 years ago, in the wild, wild west of the internet. Many years ago, the there were these kind souls which would want to make those open-source projects and then use a bit of "paid" Delphi libraries here and there, and then post on their website they used this or that, etc.

In those days, there were plenty of open-source projects going along, when it seemed better to make open-source projects and somehow, paid libraries got in the way of doing business. Some kind souls would ask those paid-libraries vendors for a free version of their product in return for some blurb on their website that they used this, that, etc.

Some of those suckers were Mr. Tim Young (ElevateSoft), Mr. Glenn Couch (ESB Consult), Mr. Franciso Sanchez (Billenium Effects), Mr. Serge (Dream Company), Mr. Roy Woll (Woll2Woll) and Mr. Ray N. (DevExpress), Mr. Serge (TRichView), Mr. Mike S. (Scalabium), Mr. Vincent P. (of AToZed) to name a few.

The tale would go in this manner, there are kind souls who wants to make an open-source product and had some fetish "need" for using paid libraries and asked in return to make products which would benefit everyone.

What happened was opposite instead. Anyone remembers those days when the vendor released it, a few days later, the "free" version of his products would start floating around?

One of the vendors who got poor sales was Billenium Effects, Mr. Franciso Sanchez. He "used" to entertain those requests for free versions until he (and some other vendors) registered himself into those "Delphi Forums" and found the same culprit releasing his product for free... One of the more outspoken vendors, Mr. Vincent (AToZed) posted on the newsgroup about it. The word spread around, and from what DelphiHater knows, that kind soul (et al), lost almost all his "licenses".

Now you know why nobody gives free licenses, even for open-source projects...

... and, coming back to DelphiHater's reply to DelphiLover's question, the last version that was leaked out from ElevateSoft was DBISAM v4.28, and since the leak was shut down (wonder why?) there have been no leaks since then.

For AdinExpress, the files were watermarked. your reviewer, DelphiHater compared his version of AdinExpress 2007/2008/2009 files to DelphiLover's AdinExpress 2007 "free" to know that...

For DvaExpress, nobody is paid subscriber, otherwise, they would know about the components posted as attachment to DvaExpress private forums. They are interesting and useful.

DelphiHater can easily get support from Mr. Hoffman, Mr. Cornelius and Mr. Diman. and access more expensive libraries, such as Kaka Ez-PlanIt.

до встречи,

:)

Tuesday, September 22, 2009

Setup on demand.

The joys of making a custom setup for each user.
Your reviewer was amused over the next generation of watermarking - custom setups.

This would involve putting the setup environment to the server. It involves putting an PHP/ASPX/Java back-end to call either Final Builder/Automated QA/ or an automated custom script.

Thus:
1) User clicks on a link to start a batch process that lasts 3 or 4 minutes.
2) The click triggers a FB Server or AQ Server or custom script.
3) The script goes and in turn automate the setup package build process (of course, on the server)
4) The script would put some nice watermarks into the setup (unnoticed, of course)
5) Then EXE is created (try to use EXE, not MSI).
6) Code-sign the setup package.
7) Move it to the download site for user to download.

Additional:
8) Deploy an activation server.
9) Give the password to activate the thing.
10) The activation server downloads the actual password to decrypt the RAR (DevExpress), CustomZip file (RentACoder - Exhedra solution packages).
11) Setup complete, along with watermarking all necessary files.

10 needs explanation:
a) You give the login and password to the user
b) The user logs in and "authenticate" to the activation server
c) The activation server via SSL will download the RAR/Encrypted packages password file
d) Decrypt the files and then "forget" the password after that.

Joys of BPL building.

What happens when cracked DCUs are not available, and cracked BPLs goes available?

Continuing with BPLs (or Delphi DLLs in other words) The first thing that happens are posts from pirates are those asking for help to deploy his solution. Your reviewer was amused over forum posts, such as, which BPL files to redistribute.

One notable vendor (reasonably, after reading this blog) started to ship BPLs only for their demo version. Then, it was "cracked", partly because they used weak copy protection...

The fun part was the uncomfortable side-effects it caused for users. Now suppose you protect a BPL with Armadillo or WinLicense or EXECrypt. The first thing that happens is loss of debugging ability with your component. Sure, they can debug, but when they step-into the BPL, the Delphi EXE crashes or bombs. Several users reported that the vendor's demos worked 100% and their programs (with cracked BPLs) does not work and needed "help" for someone else "share" the paid version. Would you be so kind to buy it and share it? :)

The next fun part is environment. That vendor forced them to use the default version of Indy that ships with Delphi. Since Indy is often recompiled, asking the user to adjust back to default version of Indy was painful.

The next fun part is deployment. Since the person using BPLs would have to ship many other BPL files, it becomes difficult for the person to deploy it without having to redistribute other necessary BPLs.

After much annoyances, the unpaid user was saving-up to buy the component, to "share" it with his friends. After sharing it, he lost his license because of ... watermarking. :)

Friday, August 21, 2009

Fan Mail: Tar and NET feathers

Some people emailed DelphiHater about NET piracy and asked DelphiHater's thoughts about it.

The first thing is the "required usage" of assemblies and "reflections" along with certain files to be installed. That makes it harder to pirate NET components.

Calling Home?
DelphiHater looked around and found most ASP.NET files "call-home" or have undocumented watermarks for the vendor to "check" around.

An example, someone deploys a pirated copy of [Product].NET along with his application, don't be surprised few months later, [vendor's] lawyers demand payment for the license... or expose that person as a software pirate. At the risk of being exposed a software pirate, the person will just pay-up.

A funny example, is when [vendor] watermarked "[product] beta" files with customer name, and someone got fired for leaking it out. it was funny because the person leaking it out didn't know about it, and make a ruckus on the vendor's forum. Unfortunately, most of the message on that vendor's forum were deleted.

How did the vendor know? the vendor implemented call home feature which used IE behind the scenes. With IE, unless you have good firewall, you don't know when it will "call home". Unfortunately for that person, most of the people who used that NET library didn't care.

On server environment, ASP.NET assemblies are given access to internet, and from-time-to-time, some of these call home with IP address, domain-name, and details such as usage and so on.

Watermarking, Part 2
Another funny example, specific to Delphi, is Help & Manual, if you have access to H&M private forums, you can read about the how Mr. Alexander Hasler from time to time googles around for "This help file is made with unregistered version of Help & Manual" (or something like that) and ask them to pay-up for the license. Since the help file is on web-site and the company's "contact-us" is known, it becomes simple to ask the website-owner to pay for his product.


Funny.


[Corrections]
The part referring to Help & Manual, there is only 1 post out of thousands of posts in Help & Manual private forums. The original post which referring to this article is deleted/ or not "topic not found".

Tuesday, July 28, 2009

Eddie Shipman Pwned !

Just when you think Tim K. got owned:
https://forums.codegear.com/thread.jspa?threadID=19882

Another person got owned:
https://forums.embarcadero.com/thread.jspa?threadID=19966&tstart=0

Wow - Mr. Eddie Shipman using unlicensed DevExpress software!

Quoted from Julian B.:
No, Eddie, they didn't say that. They marked the issue as "Insufficient Information" because they couldn't find the license you are using. So, they quite rightly asked you for your registration information because your customer record on our system had no products assigned to it.

DelphiHater wonders what "other" things he did not license, such as:

CleverComponents?
http://www.delphigroups.info/2/8/510403.html

InfoPower?
http://coding.derkeiler.com/Archive/Delphi/borland.public.delphi.thirdpartytools.general/2007-09/msg00067.html

maybe even Delphi itself... :)

Friday, July 10, 2009

Joys of watermarking

Note: this was changed to include Delphi itself :)

Watermark: to prevent or deter unauthorized copying of [Delphi components]/[Delphi]

Kudos to XXXXX for starting to watermark their [components]/[Delphi]. DelphiHater salutes to XXXXX for stopping pirated components/delphi from leaking out their [customer's download site]/[betas site] and blocking abused customer accounts (used to share pirated materials)

Q: How do I watermark files?
A: You need to first encrypt the sources in your install. If you use InnoSetup, you need to use a password, but wait - if you have a password, there's Innounp (google for it) so obviously you would need another installer. try writing your own. it's not that hard.

Q: How do i write my own installer?
A: Look at Innosetup sources for ideas, or other vendors, such as GhostInstaller, SetupFactory.

Q: What kind of copy-protection should I use?
A: You should use on-line activation kind, the type which calls home via SSL to your web-server and get a response.

Q: Should I ship DCUs?
A: You should ship only BPLs

Q: Should I use IceLicense?
A: Only if you feel confident you can pay US$299 per copy for each time you ship, since you are linking with source-code to their libraries.

Q: Should I use GPL components?
A: If you need to also ship your product as full source code, but wait, remember the money?

Q: What kind of files should I watermark?
A: At some places, like the TLB files, where you can slip in an extra GUID of the customer, or resource file, where it is not easily found.

Q: Does it work?
A: DelphiHater could find XXXXX watermarked files easily, and it prevents software piracy.

:)

Wednesday, October 15, 2008

Unusual Post. How to prevent Delphi third-party software piracy

This is perhaps the most unusual post I've ever posted.
Some Delphi developers have posted what should be done about Delphi third-party piracy.

Here is my best advice:

Delphi has an option to create both DCU and BPL packages.

Interestingly, when it creates a BPL package, it can link to the BPL without any DCUs required. This is called dynamic linking.

Thus, you can link your trial DCUs and BPLs. The person will link to the trial BPL without requiring any DCUs

Of course, when you have DCUs, they are unprotected assembly files while BPLs can be protected (e.g., using AssProtect, Arnie Armdillo).

Make me a BPL!
The most successful Delphi vendors I've seen never ship any DCUs with their trial products, they only ship BPLs. Much to the amusement, these vendors get lots of sales and healthly profits.

The vendors who are struggling often provide Trial-DCUs and sooner or later, cracked versions of their DCUs are floating around on the Internet.

DelphiHater's advice to all Dephi third-party vendors out there:
Start shipping your trial products with BPL only.

No DCUs are required to create the trial. Product your product using some copy-protection.
Then, watch how your trial customers get really pissed-off, and how they need to "buy" :)