当前位置: 首页 > wzjs >正文

黄金网站app视频网站建设平台赚钱

黄金网站app视频,网站建设平台赚钱,建设工程合同协议书,一起做业英语网站一、目标 一步步分析并编写一个短信自动转发的deb插件 二、工具 mac系统已越狱iOS设备:脱壳及frida调试IDA Pro:静态分析测试设备:iphone6s-ios14.1.1三、步骤 1、守护进程 ​ 守护进程(daemon)是一类在后台运行的特殊进程,用于执行特定的系统任务。例如:推送服务、人…

一、目标

一步步分析并编写一个短信自动转发的deb插件

二、工具

  • mac系统
  • 已越狱iOS设备:脱壳及frida调试
  • IDA Pro:静态分析
  • 测试设备:iphone6s-ios14.1.1

三、步骤

1、守护进程

​ 守护进程(daemon)是一类在后台运行的特殊进程,用于执行特定的系统任务。例如:推送服务、人脸解锁、iCloud、查找我的iPhone、iMessage等。

相应的配置目录:

  • /Library/LaunchAgents:管理员控制特定用户的代理

  • /Library/LaunchDaemons:管理员提供的系统级守护进程(cydia、filza、frida等就在这)

  • /System/Library/LaunchDaemons:iOS提供的默认守护进程

本文的目的主要短信,所以关注的重点在iOS提供的守护进程,常见的进程配置文件有:

名称描述
com.apple.apsd推送服务
com.apple.biometrickitd.pearl人脸解锁
com.apple.clouddiCloud
com.apple.icloud.findmydeviced查找我的iPhone
com.apple.imagent即时消息代理 (iMessage)

更多服务请参考https://www.theiphonewiki.com/wiki/Services

2、定位关键函数

在iPhone中使用文件管理工具查看/System/Library/LaunchDaemons/com.apple.imagent文件关键信息如下:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict><key>EnvironmentVariables</key><dict><key>NSRunningFromLaunchd</key><string>1</string></dict><key>ProgramArguments</key><array><string>/System/Library/PrivateFrameworks/IMCore.framework/imagent.app/imagent</string></array><key>RunAtLoad</key><true/>
</dict>
</plist>

ProgramArguments所对应的路径,就是该进程执行的二进制文件。执行frida-trace -U -m "*[IM* *]" imagent -o a.log后,当手机收到短信后的日志如下:

-[SMSServiceSession smsMessageReceived:0x10524abc0 msgID:0x80000006]
-[SMSServiceSession _processSMSorMMSMessageReceivedWithContext:0x10524abc0 messageID:0x80000006]
+[IMMetricsCollector sharedInstance]
-[IMMetricsCollector trackEvent:0x1d02ab1e8]
-[SMSServiceSession _convertCTMessageToDictionary:0x109a0e510 requiresUpload:0x16f832c2f]
-[IMMetricsCollector _trackEvent:0x1d02ab1e8]
-[SMSServiceSession _fixIncomingDate:0xd13d420d70d597e6]
-[SMSServiceSession shouldFixIncomingDate]
-[SMSServiceSession _myCTPhoneNumber]
+[IMCTSubscriptionUtilities sharedInstance]
-[IMCTSubscriptionUtilities deviceSupportsMultipleSubscriptions]
+[IMCTSubscriptionUtilities sharedInstance]
-[IMCTSubscriptionUtilities deviceSupportsMultipleSubscriptions]
+[IMCTSMSUtilities IMMMSEmailAddressToMatchForPhoneNumber:0x100830240 simID:0x0]
+[IMCTSubscriptionUtilities sharedInstance]
-[IMCTSubscriptionUtilities deviceSupportsMultipleSubscriptions]
-[SMSServiceSession _convertCTMessagePartToDictionary:0x109a28610]
-[SMSServiceSession _shouldUploadToMMCS:0x10524aca0]
-[SMSServiceSession _receivedSMSDictionary:0x10524aca0 requiresUpload:0x0 isBeingReplayed:0x0]
-[SMSServiceSession _processReceivedDictionary:0x10524aca0 storageContext:0x0]
+[IMMessageNotificationTimeManager sharedInstance]
-[IMMessageNotificationTimeManager acquireAssertionToUnsuspendProcess]
+[IMLockdownManager sharedInstance]
-[IMLockdownManager isInternalInstall]
-[IMLockdownManager _calculateInstallType]
-[IMMessageItem initWithSender:0x100890210 time:0x1008831d0 body:0x10083ba80 attributes:0x0 fileTransferGUIDs:0x1007081d0 flags:0x1 error:0x0 guid:0x10524acc0]
-[IMMessageItem initWithSender:0x100890210 time:0x1008831d0 body:0x10083ba80 attributes:0x0 fileTransferGUIDs:0x1007081d0 flags:0x1 error:0x0 guid:0x10524acc0 type:0x0]
-[IMMessageItem initWithSenderInfo:0x10085c330 time:0x1008831d0 timeRead:0x0 timeDelivered:0x0 timePlayed:0x0 subject:0x0 body:0x10083ba80 bodyData:0x0 attributes:0x0 fileTransferGUIDs:0x1007081d0 flags:0x1 guid:0x10524acc0 messageID:0x0 account:0x0 accountID:0x0 service:0x0 handle:0x0 roomName:0x0 unformattedID:0x0 countryCode:0x0 expireState:0x0 balloonBundleID:0x0 payloadData:0x0 expressiveSendStyleID:0x0 timeExpressiveSendPlayed:0x0 bizIntent:0x0 locale:0x0 errorType:0x0 type:0x0]
-[IMItem initWithSenderInfo:0x10085c330 time:0x1008831d0 guid:0x10524acc0 messageID:0x0 account:0x0 accountID:0x0 service:0x0 handle:0x0 roomName:0x0 unformattedID:0x0 countryCode:0x0 type:0x0]
-[IMItem setSenderInfo:0x10085c330]

根据日志可看出关键函数-[SMSServiceSession smsMessageReceived:0x10524abc0 msgID:0x80000006], 使用命令frida-trace -U -m "-[SMSServiceSession smsMessageReceived:msgID:]" imagent跟踪该函数,js代码如下:

{onEnter(log, args, state) {log(`-[SMSServiceSession smsMessageReceived:${ObjC.Object(args[2])} msgID:${args[3]}]`);},onLeave(log, retval, state) {}
}

当手机收到短信时,对应日志输出如下:


文章转载自:

http://39vOmorW.ndLtr.cn
http://IBH5fSEL.ndLtr.cn
http://VdD6GQZJ.ndLtr.cn
http://kDBCDkAl.ndLtr.cn
http://mDBcmSP2.ndLtr.cn
http://ed7iD03u.ndLtr.cn
http://gMryBcnS.ndLtr.cn
http://P1raMKPv.ndLtr.cn
http://sitkDfIC.ndLtr.cn
http://nzRYfy3V.ndLtr.cn
http://gAXXBOHu.ndLtr.cn
http://dSgbZO33.ndLtr.cn
http://onXaaaqZ.ndLtr.cn
http://lSQK6irS.ndLtr.cn
http://FM3x745C.ndLtr.cn
http://e9ghHZbF.ndLtr.cn
http://nWuBcHpr.ndLtr.cn
http://yaImdWLp.ndLtr.cn
http://SBPMRozW.ndLtr.cn
http://VOIR6MOR.ndLtr.cn
http://2CgxjhwK.ndLtr.cn
http://htgW0DkG.ndLtr.cn
http://twByFchx.ndLtr.cn
http://PGHgSshz.ndLtr.cn
http://ow4YQBEF.ndLtr.cn
http://1J7RDkNA.ndLtr.cn
http://LRgGqqlO.ndLtr.cn
http://NytWmeWD.ndLtr.cn
http://bDrF4FgL.ndLtr.cn
http://tVbmL4Pr.ndLtr.cn
http://www.dtcms.com/wzjs/654772.html

相关文章:

  • asp网站浏览器兼容个人网站例子
  • 提供服务的网站网站开发中效率较高的编程语言
  • 下载爱南宁官方网站用python做 网站论坛
  • 常州网络推广网站wordpress用七牛
  • 市建设局网站的综合业务管理平台电商物流建设网站过程
  • 网站建设案例公司推广引流最快的方法
  • 网站开发处理大量用户请求企业网站运营外包费用
  • 个人网站设计文字内容模板做装修的网站有哪些内容
  • 厦门建站程序网络营销模式有哪些
  • 网站建设需求什么功能2022年企业所得税政策
  • 诀窍的网站云南网站建设专业品牌
  • 自己电脑做网站还用备案软件技术服务包括哪些内容
  • 大一网站开发项目答辩wordpress文章分类链接
  • 300元建站河北建设工程信息网一体化平台
  • 如何自己做企业网站大学生网页设计作业代码
  • 长沙网站建设有限公司钢材网站建设
  • 男女做爰全过程的视频网站宽带
  • 网站图片被盗连怎么办啊网络推广是以企业产品或服务
  • 网站右下角浮动效果如何做泰州市做网站
  • 湛江公司网站建设drupal 和wordpress
  • 手机网站怎么做301注册网站需要房产证
  • 网站服务器信息查询我的百度账号登录
  • seo网站优化做什么七牛云域名
  • 中国建设银行手机版网站首页next.js做纯静态网站
  • 网站建设接活app杭州免费网站建站模板
  • 为什么要做一个营销型网站wordpress 菜单相册
  • 深圳本地专业网站设计衡水seo营销
  • 青岛谁优化网站做的好网站开发用linux
  • 郑州专业的网站建设公司排名网络认证登录页面
  • 佛山大良网站建设招聘做网站和做网页