
脱獄(ジェイルブレイク)専用のiOSユーティリティです。インストール済みアプリの実行ファイルを復号化し、.ipaまたはrawバイナリファイルとしてダンプします。セキュリティ調査やリバースエンジニアリングを目的としています。
Clutch は高速な iOS 復号化ツールです。Clutch は iPhone、iPod Touch、iPad、およびすべての iOS バージョン、アーキテクチャタイプ、ほとんどのバイナリをサポートしています。Clutch は教育目的およびセキュリティ研究のみを目的としています。
Clutch は、バージョン 8.0 以降の脱獄済み iOS デバイスを必要とします。
Clutch [OPTIONS]
-b --binary-dump Only dump binary files from specified bundleID
-d --dump Dump specified bundleID into .ipa file
-i --print-installed Print installed application
--clean Clean /var/tmp/clutch directory
--version Display version and exit
-? --help Display this help and exit
Clutch は、多数のフレームワークを含むアプリをダンプする際に Segmentation Fault: 11 が発生することがあります。ulimit -n 512 を使用してデバイスの最大オープンファイル記述子数を増やしてください(デフォルトは 256 です)。
xcode-select --install(または Apple のデベロッパサイト から)killall Xcode
cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist ~/
sudo /usr/libexec/PlistBuddy -c "Set :DefaultProperties:CODE_SIGNING_REQUIRED NO" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
sudo /usr/libexec/PlistBuddy -c "Set :DefaultProperties:AD_HOC_CODE_SIGNING_ALLOWED YES" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
Xcode を更新した場合、これらのコマンドを再度実行する必要があるかもしれません。
xcodebuild clean build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/iphoneos.toolchain.cmake ..
make -j$(sysctl -n hw.logicalcpu)
ビルド後、Clutch という名前のバイナリのコピーがビルドディレクトリに配置されます。これをデバイスにコピーしてください:
scp ./build/Clutch root@<your.device.ip>:/usr/bin/Clutch
iproxy を使用している場合は、次の行を使用してください(必要に応じて 2222 を別のポートに置き換えてください):
scp -P 2222 ./build/Clutch root@localhost:/usr/bin/Clutch
デバイスに SSH で接続したら、Clutch を実行します。
unc0ver 脱獄 を使用している場合は、以下を実行する必要があるかもしれません:
inject /usr/bin/Clutch
Clutch は、それぞれのライセンスの下で以下のライブラリを使用しています。
Clutch は、以下の人々なしでは現在のものにはならなかったでしょう:
© Kim Jong-Cracks 1819-2017