mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-11 22:50:09 +00:00
Enables dynamic analysis on real jailbroken iOS devices connected via USB or WiFi SSH, complementing the existing Corellium-based iOS analysis.
- SSH connectivity — connects to jailbroken devices over USB (via iproxy port forwarding) or WiFi using Paramiko SSH
- Frida instrumentation — spawns/attaches Frida on-device, with full hook support matching the existing Corellium flow
- Environment setup — installs AppSync Unified and Frida server on first run; supports both arm and arm64 devices
- Dynamic analysis — app file extraction, system log streaming (oslog), screenshot capture, process listing, and report generation
- SSH terminal — execute shell commands on the device over SSH
---------
Co-authored-by: CylentSec <[email protected]>
Co-authored-by: Oz <[email protected]>
15 lines
484 B
JavaScript
15 lines
484 B
JavaScript
function traceJSON(){
|
|
send('Tracing JSON Data');
|
|
var jsonHook = ObjC.classes.NSJSONSerialization["+ JSONObjectWithData:options:error:"];
|
|
Interceptor.attach(jsonHook.implementation,
|
|
{
|
|
onEnter: function(args) {
|
|
var jsonData = ObjC.Object(args[2]);
|
|
var jsonStr = jsonData.bytes().readUtf8String(jsonData.length());
|
|
send(JSON.stringify({'[MBSFDUMP] json': jsonStr}));
|
|
}
|
|
});
|
|
}
|
|
try {
|
|
traceJSON();
|
|
} catch(err) {}
|