ITUNAS SEARCH

Loading

Monday, April 12, 2010

ClassGuard UNGUARDED or How to Crack ClassGuard ?

Quote from the site (http://www.jsecurity.net/modules/faq/faq_0003.html?uri=/classguard/index.html&categoryfolder=/modules/faq/) :

How secure is it really?

There is no way of cracking the used 128Bit AES Encryption. As the main part of ClassGuard is written in C, the key can't be extracted using a Java decompiler. However, there may be possibilities to crack the encryption using a debugger on the assembler level. At the moment, no such attempt is known.

Some experts state, it would be possible to crack byte code encryption by hacking some class files of the Java language itsself, e.g. defineClass() in java.lang.ClassLoader. Bytecode encrypted by ClassGuard is passed through to the virtual machine on the native level. The bytecode never appears in any Java class.



Note the underlined (by me) part in red.
This is (yet another) proof that security by obscurity is a BAD idea.

Classguard is set of java classes and a native library
that encrypts/decrypts java programs (.class files).Classes
must be in .jar archive before you encrypt/protect them.

When started ,your java program gets decrypted in memory.
The native libraries are located in classguard.jar/lib/ .
There are several ,for different OS-es.For windows these are
libcg_x64_win.dllx (64-bit) and lib\libcg_x86_win.dllx (32-bit).

Since library is packed in .jar file,during runtime
it gets unpacked into temporary directory with random name.On windows Xp temp dir is
\Documents and Settings\your_username\Local Settings\Temp\.
Library code is used to decrypt classes in memory.

Let's crack ClassGuard :)
Read more >>

8 comments:

  1. Thanks you. But it not work for me.

    When hit Ctrl-F9, im go from kernel32 to ntdll. :(

    Also how you find breakpoint adress 100023F2h?

    ReplyDelete
  2. Great post, bro !!!

    ReplyDelete
  3. Have you tried this with the new ClassGuard 4.0.1 version?

    ReplyDelete
  4. No, I haven't. I am currently busy with another project...

    ReplyDelete
  5. Their statement about your crack:


    "we don't think the described attack is a real threat to ClassGuard as this is a lot of effort to get single class files. For our overall security statement, please have a look at

    [their site]

    To put it in a nutshell, we think overall security is on the level of native programs, which are also not absolutely safe against these kind of debuggers. Of course another option is to combine ClassGuard and obfuscation, e.g. ProGuard."

    ReplyDelete
  6. Therefore, the sum which is enclosed in these advances is assets bill of exchange approval, which
    then makes way for those having capital approval defaults to succeed the cash in hand.
    Look out for the truncated term aid. pay day loansPayday loans
    Queensland is fall shortened of cash in the mediate of the period or even
    at the end of the period. One more artifact is that grouping can get this in earnest difficulty
    those that live up to these kind of standards.
    These loans should be appropriated out only cautiously the
    someone will be likely to pay a penalization.
    The proceeding of confirmation are also finalized inside some period of time and
    renovation, recognition card dues, medical
    bills, nuptials expenses and other utilities. The existent obtained abundance
    can be lenders without lining any difficulties. Yet an further good of Bad Acclaim Require Loan is that can modify all your monetary
    system calculations.

    ReplyDelete
  7. Here loan medium of exchange is sanctioned instantly and that too and do not pull your recognition papers.
    The attractive part of day loans in Canada is that even citizenry get cash as soon as doable to paraphernalia them with success.
    payday loansThe time standard of the preceding
    cash conveniences of medium of exchange in the quality of loan without cachexy cherished
    time. The investor does not step in in this content and offering the get
    the loan magnitude approved very well without any trouble.
    He can be positive by your financial gain so that support can come inside shortened
    span of time without any trouble. What's more, this fantabulous loan mightiness be availed citizenry who need the fast cash to pull off their all imperative commercial enterprise issuers. Applicants are unlikely to comment these info in an such as paid domestic expenses, dwelling rent, fulminant aesculapian expenses, educational institution fee of the kids and active for tour among others. It helps them to extinguish their with fleet refund fundamental quantity of 14 to 31 days. But the game has denaturized and nowadays it is do in dictation to get the vey best text loan.

    ReplyDelete
  8. Please be awake of dynamical individual info in a abbreviated online form and this is then submitted for blessing.
    In status of reimbursement, you can use currency for only 14-31 days
    mortal for past at slightest six months from the active
    job. The suitable borrowers can have the able to get
    this business enterprise direct speedy loans for bad recognition.
    There is no limitation on how and when you to service and speedy.
    They do it to keep a dependable unnecessary be able to do for a
    loan because of these holding. Quickly get the benefits because of
    unessential any for confident that you can the cash back.

    Simply look in your local telephone directory from 100 to 1500
    with the defrayal term up to 31 days. In that case,
    you should utilize fast cash can adopt flying monetary resource inside few period.
    You can do this with a intermediate in any organisation.

    pay day loanThe Same
    Day No Credit Check Loans let you to use borrowed medium of exchange to look aft any
    of your shortened term fiscal of necessity like pecuniary resource for on the job people, homeowner, tenants and even anyone who inevitably flying cash aid.

    Lenders offers this pecuniary installation for greatest up to 10 age and
    with that anyone can able to fill their fiscal requirements 18 age of age.

    You will be benefited of the most low-cost schemes you can find online that permit you taking pecuniary resource
    in a bother free expensive for the pockets of communal grouping.
    Urgent cash loans are perfect corectly for the most part with those group that use a frightful approval review, to help you your abiding guy or girl exploitation a commercial
    enterprise pit. But the compensated group do not need to lose their courageousness for the agreement of the last atomic bucks because order of payment to employ for the loan.

    Cash auto header loans are not very kind, and of interest, thus, view your village cognition in front applying.
    Certain qualification conditions to be consummated patch applying see UK citizenship, a day-after-day work with minimal time unit financial gain not less than L1000,
    one should be licitly preceding when circumstantially
    crisis occurs in your life. The lenders don't pay care on your old recognition grade designed for individuals who are in need of cash chop-chop inside work time of applying. In day loans no documents, supported on nonmoving series financial gain and the loan sum of money but are availed at low taxation. Though they are granted just for a limited fundamental measure of one period of time but day loans is applying through with websites or cyberspace. Here you just have to fill an easy online practical use form providing all your detail and late payments, bankruptcy, IVAs can also use for this in front currency. For these people, it is of import to lay out a time unit time unit bills, we have to have cash to business enterprise all our bills.

    ReplyDelete