Giter Site home page Giter Site logo

downgrade-mas-applications's Introduction

Downgrading Mac App Store (MAS) Applications

An introduction to downgrade a specific application from MAS

Requirements

pip install frida-tools

or

pip3 install frida-tools

Downgrading

  1. Launch Proxyman, then App Store.
  • Search your target app on the App Store. You must already purchased that app to see the Download button instead of the Get or Purchase button.
  1. Disable SSL Pinning on appstoreagent
  • Run this command using Terminal:
frida appstoreagent -l path_to_disable_ssl_pinning_script
  • For example:
frida appstoreagent -l ./Downloads/disable_ssl_pinning.js
  1. Enable SSL Proxying on appstoreagent
  • Expand the traffic records on Apps section of Proxyman. Enable SSL Proxying on appstoreagent process under right click menu.

  1. Capture a list of App Version IDs
  • Click on the Download button from App Store to start download your app. After downloaded, MAS failed to install the app because of SSL verification.

  • Look at response of a request like this:

https://p41-buy.itunes.apple.com/WebObjects/MZBuy.woa/wa/buyProduct?guid=*

from appstoreagent process on Proxyman, try to find the key softwareVersionExternalIdentifiers. There is a list of app version IDs under this key. The newest version is at the bottom. Choose the version that you want to downgrade.

  • Paste your desired app version id into that text below:
  <key>appExtVrsId</key>
  <string>app_version_here</string>
  1. Create a traffic breakpoint
  • Create a breakpoint for a request from App Store. From Proxyman menu, access Tool > Breakpoint > Rules. Make sure to check Enable Breakpoint Tool, then click on + button to make a new breakpoint with the following rule:
https://p*-buy.itunes.apple.com/WebObjects/MZBuy.woa/wa/buyProduct?guid*

  1. Re-download the app again
  • Re-download the app again, Proxyman will show a window of breakpoint. Insert the code block on Step 4 into request body

  1. Stop disable-ssl-pinning script
  • Close terminal windows that disable SSL Pinning on appstoreagent from Step 2.
  1. Execute the breakpoint
  • Click on Execute button of Breakpoint windows from Step 6. Your target app will be downloaded and installed with the lower version that you choose.

Acknowledgement


Buy Me A Coffee

downgrade-mas-applications's People

Contributors

nghlt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.