Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crap code
Message
De
19/04/2021 16:09:51
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
19/04/2021 02:52:33
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679827
Message ID:
01679907
Vues:
76
>>Do you not think that such a kind of obfuscation only need some code to resolve it? Looks like security by obscurity.

VFP needs its IL/p-code unpacked into memory to run it; once there, easy search patterns allow quick recreation of the source project with files and code. IME the full VFP source project can be extracted from a commercially protected/walled package in perhaps 5 minutes. I would call that failed security by obscurity; for VFP you need to mess with the IL somehow if you want to protect.

This was why Refox added a block on scripted strtofile(), so you can't easily inject a Trojan Horse .prg that finds and harvests the IL.

Defox altered internal structure of sensitive sections of IL and changed the unpack parameters so even if you harvest it, a hacker now needs to single step bespoke encryption to figure it out. Some years back there was a public challenge on Foxite confirming how much more difficult this makes it, with only one participant able to extract Leonid's simple example.

VFP C++ Compiler leaves very little behind in IL to be harvested, as well as obfuscating and decomposing heavily in the C++ so even a journeyman C++ hacker is going to get frustrated trying to perform math inside a dll to find key sequences as simple as ch(13). You'd be better off hooking the execution to try to build backwards, but that exposes you to absent code sections and randomized antihacks. Add variable obfuscation, loops and decomposed conditionals and it's nightmarish trying to recreate the source.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform