Breaking Eggs And Making Omelettes

Topics On Multimedia Technology and Reverse Engineering


Archives:

Chaos Works In Strange Ways

April 25th, 2005 by Multimedia Mike

This evening, I implemented the VerbNameMaker Java class for the Retroguard project by simply copying the NounNameMaker class and replacing the animal list with a list of English verbs extracted from verba.org. So the class picks a random verb from a list of over 4000 verbs and replaces obfuscated method names. Remember that dequantizer method from the previous post? Guess what the new Java class, working in conjunction with Java’s random number generator, decided to name the method?

    private void fondle(int i)
    {
        short aword0[] = australianKestrel[i];
        for(int j = 0; j < 64; j++)
            kingsnake[eastAfricanCrownedCrane[j]] = aword0[j] * conch[j];
    }

Just as I have long suspected, Java is a sick, perverted language.

I am particularly pleased to see that this experiment did succeed in undoing the operator overloading committed by the original Retroguard process. Look at these 4 original, overloaded, obfuscated method declarations:

    private static void a(int ai1[], int i1, int j1)
    private static void a(int ai1[][], int i1, int j1)
    private static void a(int ai1[][][], int i1, int j1)
    private static void a(int ai1[], int i1, int j1, int k1)

After processing through the new VerbNameMaker class:

    private static void unfurl(int ai[], int i, int j)
    private static void militarize(int ai[][], int i, int j)
    private static void soundOut(int ai[][][], int i, int j)
    private static void streamline(int ai[], int i, int j, int k)

As a matter of course, I feel I should give the original Retroguard program author the opportunity to roll these changes into the official codebase. I have this weird feeling that to incorporate these modifications would violate that project’s charter. So I will probably need to make the changes available via this website.

Posted in Java, Reverse Engineering | Comments Off on Chaos Works In Strange Ways

Comments are closed.