Monday, December 8, 2014

Simplify - Android Deobfuscator / Decryptor

Here it is: https://github.com/CalebFenton/simplify
I'd build you a jar, but there have been a lot of commits recently, and you'll probably want to build it yourself.

It decrypts most types of string encryption and can remove some types of obfuscation, especially code that doesn't actually do anything.

This may be all you want to know. But this has got me thinking about optimization and deobfuscation, so continue on if you're into that sort of thing.

App obfuscation and string encryption are getting more popular, and they can be annoying as fuck. But, fundamentally, obfuscators just apply a set of rules to code, and the rules aren't that complex, because complex is really hard. It's just a thin layer of changes added on top. Intuitively, this means a general solution for undoing the changes probably takes a little more effort to undo than it did to conceive the original rules. So no matter how bad things get for crackers, it should always be possible to make a tool to fix things up.

In the PC scene, obfuscators are more evolved, but so are the deobfuscators. Just look at the feature list on this: https://github.com/0xd4d/de4dot. It's a deobfuscator and an unpacker, plus it supports a huge list of stuff.

There are a few tools like this for Android, but they are not nearly as complex (yet). Time for bullet points!
Simplify deobfuscates by virtually executing an app and analyzing the execution afterwards. So if there is an encrypted string that gets decrypted at run time, Simplify will see the encrypted, see it passed to the decryption method, and see it get get decrypted. And after it knows the value, it can remove the encrypted value and the decryption method call as redundant and replace it with a 'const-string' instruction with the decrypted literal.

It's not all the way cooked yet, but the idea is solid, and there are some interesting issues github page I'd quite like to see implemented. One of them is deobfuscating reflection.

Also, anyone who takes the time to create issues on github and follow through with closing them when they're resolved, is probably more than a little obsessive. Should be fun to watch.

45 comments :

  1. congratulations for your blog, you really have lots of good material here! I'll be studying with your material. thanks for sharing!

    ReplyDelete
  2. 'I'd build you a jar'

    Please just do it.

    ReplyDelete
    Replies
    1. Download the repository, with cmd go to the project's main directory and run "gradlew shadowJar". This should compile all but I dont know how to get the jar :S

      Delete
  3. I've checkout the repository, ran "gradlew shadowJar" it completed correctly but I dont know how to go on... any suggestions?

    ReplyDelete
    Replies
    1. sure,
      fish - you want simplify/build/libs/simplify*.jar

      how to fish - just search your file system for all jars starting from that directory and see which one makes sense

      Delete
    2. lohan bro we need example with atleast one sample apk

      Delete
    3. there's a sample / demo app that comes with the project. check it out.

      Delete
  4. Hi there, I have an app I am playing around with. What it does, is generates a long unique url, sends a request to that url and the http response is just a simple date. and that date is an expiry date for a trial period.

    My thinking is, if I can instead of using the dynamic retrieved value, can I not just change the value to a fixed static date far into the future?

    the code looks like this to generate the url:
    http://pastebin.com/dZKe2L8Z
    But I have no idea where I should set the value..

    ReplyDelete
    Replies
    1. what is the return type of the method? it's a java/util/Date. how do you create a date object which has the value you want? write the code in java and convert it to smali.

      Delete
    2. Please upload COMPILED simplify.jar directly, so we could use in on windows easily.

      Delete
  5. Great post man thanks for sharing this useful information but I was i serach for Mega Premium free accounts and finally i found one original and working Mega Premium account free-No Mega Upload limit/Mega Download limit for free follow the link to read more.

    ReplyDelete
  6. I love reading this article. It was really very helpful.
    android-vs-ios

    ReplyDelete
  7. Thanks for sharing this post. It really helped me.
    android-vs-ios

    ReplyDelete

  8. Flipkart CashBack Offers - SBI, HDFC, ICICI, Citibank Cards,flipkart sbi debit card emi,flipkart upcoming offers on mobiles,snapdeal credit card offers,flipkart credit card,flipkart cashback phonepe,flipkart credit card generator,flipkart cashback offer phonepe,flipkart american express,india fake debit card generator,flipkart pockets offer,flipkart bank offers 2018,flipkart american express gift card,sbi credit card offers on flipkart today,sbi flipkart offer,sbi debit card offers cash back,sbi flipkart offer 2018,Flipkart Cashback Offers || Flipkart Bank Offers || Flipkart Deals 2018 ||


    cashback offers coupons,
    cashback offers coupons


    Offers.Flipkart .
    flipkart bank offers,flipkart cash back coupons, flipkart offers,flipkart cashback offers ,flipkart cashback offers,flipkart cash back offers,flipkart cashback coupons,flipkart cashback,Flipkart Cashback Offers,Flipkart Bank Offers, flipkart upcoming offers on mobiles, flipkart hdfc offer, flipkart icici offer,sbi credit card offers on flipkart today,sbi flipkart offer, hdfc credit card offers on flipkart, flipkart upcoming offers on mobiles, flipkart offers


    amazon Cashback Offers 2018 Upto 65% Cashback Deals, AMAZON CASHBACK
    OFFERS 2018, DISCOUNT COUPON OFFERS 2018, Amazon cashback offers with sbi hdfc icici axis banks credit&debit card offers more. amazon cashback offers2018,amazon india cashback,amazon offers on mobiles,amazon cashback2018,amazon offers 2018


    "cash back coupons "Coupons, Discounts & Offers on 1500+ Shopping Sites in
    India. Get Extra Cashback Everytime You Shop Online using Coupons of Amazon, Flipkart, Tata CLiQ, Nykaa etc."cashback, vouchers, coupons, discounts, offers, deals, promo codes,Coupons, Promo Codes & Cashback Offers



    "Flipkart Cashback Offers || Flipkart Bank Offers || Flipkart Deals 2018 ||" "flipkart upcoming offers on mobiles, hdfc credit card offers on flipkart 2018, sbi credit card offers on flipkart today, flipkart hdfc offer terms and conditions, sbi flipkart offer 2018, flipkart cashback phonepe, flipkart hdfc offer august 2018, flipkart icici offers

    Musafir, My Bus Tickets, Myles, Orbitz, Qatar Airways, Rehlat, Sixt Car Rental, Skyscanner, SOTC Holidays, Starline Tours, Thomas Cook, Ticket Goose, Travelguru, Travel Talk Tours, Treebohotels

    ,Credit card offers in jabong,jabong hdfc Cashback,jabong icici cashback,jabong sbi cashback,
    Jabong Cashback Offers & Discount Coupons 2018 : Extra 20% Offer,jabong coupons, jabong offers, hdfc jabong offer, icici jabong offer 2018, jabong footwear, sbi jabong offer, jabong axis bank offer, jabong sbi offer 2018,jabong cashback Offers, jabong cashback, jabong Deals,Credit card offers in jabong,jabong hdfc Cashback,jabong icici cashback,jabong sbi cashback ,jabong axis cashback,jabong offers,Jabong cashback coupons,jabong offers


    Online Sale - Online Sale Shopping of up to 70% Of...
    zivame cash back offers
    Jabong Bank Coupons April 2018 for ICICI, SBI, HDF...
    Ferns N Petals
    Amazon today's deals great saving every day
    Up to 40% off TVs & Appliances + Additional 10% cashback offers

    ReplyDelete

  9. amazon cashback offers,Amazon Cashback Offers May 2018 Upto 65% Cashback Deals,Amazon cashback offers January,Amazon cashback offers February,amazon cashback march,Amazon offers april , Cashback offers may , August cashback amazon , September offers cashback November , Cashback offers on December , HDFC Credit card offers on amazon,Axis Bank credit card offer on amazon,ICICI bank offers in amazon,Citi bank cashback on amazon

    Amazon cashback offers January , Amazon cashback offers February , amazon cashback march , Amazon offers april , Cashback offers may , August cashback amazon , September offers cashback November , Cashback offers on December , HDFC Credit card offers on amazon , Axis Bank credit card offer on amazon , ICICI bank offers in amazon , Citi bank cashback on amazon

    make my trip citi credit and debit cards offers

    "Cashback Offers Coupons Offers you dozens of Cashback offers with your Credit / debit / Net banking for Top eCommerce,cash back offers coupons

    Ferns N Petals ,ferns and petals login, ferns and ...
    shopclues paytm offer, shopclues 25 off coupon, sh...
    myntra coupons, myntra cashback paytm, myntra hdfc...
    Jabong Cashback - Jabong Offers, Cashback & Coupons,Cashback Coupons : CashBack Offers, Discount Coupons & Promo


    Ajio 40% off on 2990
    All shopping websites DISCOUNTS upto 80% offers HERE
    flipkart baby toys min 40% off
    flipkart Featured Deals
    Snapdeal cashback offers on Electronics upto 65% off on mobiles and accessories


    Cashback Offers Coupons - India's Best Cashback Coupon website
    Today Special deal offers


    CashBack Offers, Discount Coupons, Bank Offers & Promo Codes


    Bata offers
    Axis Bank Account Opening
    Amazon Up to 60% off on Ladders and Hardware Get U...
    Ajio Flat 40-70% off Extra 1000 off on 2290 Get Flat offers

    ReplyDelete


  10. flipkart emi for debit card,
    flipkart debit card emi,
    flipkart emi debit card sbi,
    flipkart sbi debit card emi,
    flipkart icici debit card emi,
    flipkart emi debit card mobile,
    flipkart debit card offers,
    flipkart offer debit card,
    flipkart debit card emi icici,
    flipkart sbi debit card offer,
    flipkart hdfc debit card emi
    flipkart emi on debit card sbi,
    flipkart axis debit card emi,
    flipkart hdfc debit card offer,
    flipkart icici debit card offer,
    flipkart emi debit card icici,
    flipkart emi debit card axis bank,
    flipkart sbi debit card emi offer,
    flipkart sbi debit card emi eligibility check,
    flipkart refund to debit card,
    flipkart debit card emi purchase,
    flipkart debit card emi message,
    flipkart debit card emi products list,
    flipkart axis bank debit card emi,
    flipkart debit card emi terms and conditions,
    flipkart debit card emi bob,
    flipkart debit card emi news,
    flipkart debit card emi iob,
    flipkart emi without debit card,
    flipkart debit card loan,
    flipkart debit card emi ,
    flipkart pe debit card emi kaise banaye,
    flipkart hdfc debit card emi products,
    flipkart debit card no cost emi,
    flipkart accept debit card for emi,
    flipkart debit card emi banks,
    flipkart debit card emi option hdfc,
    flipkart hdfc debit card emi offer,
    flipkart debit card emi video,
    flipkart par debit card se emi,
    flipkart debit card emi hdfc sms,
    flipkart debit card emi kaise kare,
    flipkart hdfc bank debit card emi,
    flipkart emi on debit card quora,
    flipkart debit card emi union bank,
    flipkart debit card emi tamil,
    flipkart debit card emi in hindi,
    flipkart debit card emi bank of baroda,
    flipkart debit card emi indian bank,
    flipkart debit card emi sbi in hindi,
    flipkart debit card emi hindi,
    flipkart debit card emi yes bank,
    flipkart sbi debit card emi eligibility check sms,
    flipkart debit card payment,
    flipkart debit card payment offers,
    flipkart debit card emi not eligible,
    flipkart debit card emi number,
    flipkart debit card emi youtube,
    flipkart icici bank debit card emi,
    flipkart hdfc debit card emi eligibility,
    flipkart debit card emi rules,
    flipkart debit card emi 2018,
    flipkart debit card emi indusind bank,
    flipkart axis debit card offer,
    flipkart axis bank debit card offer,
    flipkart debit card ad,
    flipkart pnb debit card offer,
    flipkart debit card emi quora,
    flipkart axis bank debit card

    ReplyDelete


  11. flipkart emi for debit card,
    flipkart debit card emi,
    flipkart emi debit card sbi,
    flipkart sbi debit card emi,
    flipkart icici debit card emi,
    flipkart emi debit card mobile,
    flipkart debit card offers,
    flipkart offer debit card,
    flipkart debit card emi icici,
    flipkart sbi debit card offer,
    flipkart hdfc debit card emi
    flipkart emi on debit card sbi,
    flipkart axis debit card emi,
    flipkart hdfc debit card offer,
    flipkart icici debit card offer,
    flipkart emi debit card icici,
    flipkart emi debit card axis bank,
    flipkart sbi debit card emi offer,
    flipkart sbi debit card emi eligibility check,
    flipkart refund to debit card,
    flipkart debit card emi purchase,
    flipkart debit card emi message,
    flipkart debit card emi products list,
    flipkart axis bank debit card emi,
    flipkart debit card emi terms and conditions,
    flipkart debit card emi bob,
    flipkart debit card emi news,
    flipkart debit card emi iob,
    flipkart emi without debit card,
    flipkart debit card loan,
    flipkart debit card emi ,
    flipkart pe debit card emi kaise banaye,
    flipkart hdfc debit card emi products,
    flipkart debit card no cost emi,
    flipkart accept debit card for emi,
    flipkart debit card emi banks,
    flipkart debit card emi option hdfc,
    flipkart hdfc debit card emi offer,
    flipkart debit card emi video,
    flipkart par debit card se emi,
    flipkart debit card emi hdfc sms,
    flipkart debit card emi kaise kare,
    flipkart hdfc bank debit card emi,
    flipkart emi on debit card quora,
    flipkart debit card emi union bank,
    flipkart debit card emi tamil,
    flipkart debit card emi in hindi,
    flipkart debit card emi bank of baroda,
    flipkart debit card emi indian bank,
    flipkart debit card emi sbi in hindi,
    flipkart debit card emi hindi,
    flipkart debit card emi yes bank,
    flipkart sbi debit card emi eligibility check sms,
    flipkart debit card payment,
    flipkart debit card payment offers,
    flipkart debit card emi not eligible,
    flipkart debit card emi number,
    flipkart debit card emi youtube,
    flipkart icici bank debit card emi,
    flipkart hdfc debit card emi eligibility,
    flipkart debit card emi rules,
    flipkart debit card emi 2018,
    flipkart debit card emi indusind bank,
    flipkart axis debit card offer,
    flipkart axis bank debit card offer,
    flipkart debit card ad,
    flipkart pnb debit card offer,
    flipkart debit card emi quora,
    flipkart axis bank debit card

    ReplyDelete
  12. Good blog post. Thank you for sharing.
    Do you want to sign up bigolive app ?
    bigo live signup

    ReplyDelete
  13. I am new to android development and keeps on reading different articles to enhance my knowledge. I am gad that I discovered this article so early. Sky Potential is one of the best UK based android development agency.

    ReplyDelete
  14. This is a very interesting article to read. Thank you for giving very good information. Nice post.
    bigo live is Nice app. connect friends and relatives.

    Download the application
    BIGO LIVE APK
    BIGO LIVE LOGIN
    MESSENGER APP
    BIGO MOD APK
    DOWNLOAD FREE BIGO LIVE APK
    EARN MONEY ONLINE
    LIVE BROADCASTINGS

    ReplyDelete

  15. Nice Article. Thank you for sharing the informative article with us. PlayBox is the best online Streaming App for android users. Click the below link to know more about
    PlayBox Online,

    PlayBox Online,

    PlayBox APP for Android,

    PlayBox APP for iOS,

    PlayBox Online,

    ReplyDelete
  16. Thanks for this amazing post its help me a lot to solve my issues click here to download Kinemaster Mod APK

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. Thank you for writing can I say something for those people who are looking for one of the best website to find details about latest gadget launch, there price, fac3book, dslr full form, USSd code of airtel, idea and protected text like websites so why you are finding, its here read out Sir G.. Pinoy TV

    ReplyDelete
  19. I like this fucking guy lol!

    Provide any services?

    ReplyDelete
  20. Hi I m happy to see your post keep it up click here to download kinemaster mod apk

    ReplyDelete
  21. Nice Article. Thank you for sharing the informative article with us. Morpheus tv apk is the best online Streaming App.Click the below link to know more about
    Morpheus tv apk
    morpheus tv
    morpheus tv apk
    morpheus app
    morpheus tv ios
    morpheus tv on your windows

    ReplyDelete
  22. Nice Article. Thank you for sharing the informative article with us. Morpheus tv apk is the best online Streaming App.Click the below link to know more about
    Morpheus tv apk
    morpheus tv
    morpheus tv apk
    morpheus app
    morpheus tv ios
    morpheus tv on your windows

    ReplyDelete
  23. Pinoy Teleserye, Pinoy Tambayan,Pinoy Tv Replay, Pinoy Lambingan, Pinoy1tv, Pinoy Tv Shows Replay, Pinoy ako.

    ReplyDelete
  24. Dil Yeh Ziddi Hai Zee TV Drama Serial Watch Online HD Video Episode https://dilyeziddihai.net//

    ReplyDelete
  25. Watch Hd Online Bepanah Pyar Latest Hd Video Online By Voot, Hindi Drama Serial Bepanah Pyar Complete Episodes https://bepanahpiyar.net/

    ReplyDelete
  26. putlocker Your content is really awesome and understandable, thanks for the efforts in this blog. Visit Mutual Fund Wala for Mutual Fund Schemes.

    ReplyDelete
  27. Pinoy Tv Replay is another type of Pinoy Tambayan shows because there are different terms
    for each of them so Pinoy Tambayan is also a famous Keyword and Pinoy Tv Channel are also watched and loved by the people of Phillippines.
    OFWs generally can not find the place outside of their country to watch all these Pinoy Tv Shows so we are giving them a chance to bookmark our website so they can watch all of them at this place.

    ReplyDelete
  28. Pinoy Tv Replay is another type of Pinoy Tambayan shows because there are different terms
    for each of them so Pinoy Tambayan is also a famous Keyword and Pinoy Tv Channel are also watched and loved by the people of Phillippines.
    OFWs generally can not find the place outside of their country to watch all these Pinoy Tv Shows so we are giving them a chance to bookmark our website so they can watch all of them at this place.

    ReplyDelete
  29. tik tok shayari. and sequinned clutch is

    ReplyDelete

Do NOT post about or link to specific apps!