xhtdtk 发表于 2024-11-16 22:05

某云无感滑块逆向之懵了几天(下)【修改一下有始有终】

本帖最后由 xhtdtk 于 2024-11-16 23:45 编辑

继上次发帖《某云无感滑块逆向之“大爷,饶了我吧!”(上)》后休息了几天,终于到了第三、四次请求的时候。

由于后两次请求与第二次请求相比,共通点太多了,因此直接从第四次请求的棘手点开始。

CaptchaVerifyParam

第四次请求的数据:

AccessKeyId: LTAI5tSEBwYMwVKAQGpxmvTd
SignatureMethod: HMAC-SHA1
SignatureVersion: 1.0
Format: JSON
Timestamp: 2024-11-16T13:24:00Z
Version: 2023-03-05
Action: VerifyCaptchaV2
SceneId: 19x5u7lo
CertifyId: 784e2c8e17317634323122429e7d15
CaptchaVerifyParam: {"sceneId":"19x5u7lo","certifyId":"784e2c8e17317634323122429e7d56","deviceToken":"V0VCI3NoODdiZDE1MTJoc2IwM2NiNDA1ODAzYTMwN2RiZTMyLWgtMTczMTc2MzQzMjc3NS0yNGY3NjYxN2NjMzI0NTYyOGE4ZTEwMTBlY2M5NDgyMSNpZVphRjVYUmdVNE12OVg5enVSdDJwT0h5UzQ3dWFacDYxL0xBeUFRMW1HQTBCK3NHc29HWEVkMGxPcDdqaXRmS0loak5DcjdWUmtBMEdqb25LcnNHN2praG00dUZmcmdPdTk2aUxCVkhZT0pMakNVWVcvVk1CVVpXYXpxejZGUmVJM0xjbno4OFdBRmVDTWdHcFQrYVVkb2FOaldGLzg5TE1qakx2a3V3RzlSNTRpZjUrWEpCaTlSeUo4Tit1OXBKYXNFZlQxNnlqR2hZeXhFR0VzcmFPV0RqUE9GcTF0V2VNa3dZbnArVDVJbTFCcjJ2ODdKeVN4V3pEM1JzZW5lejYvYUNXNncwRTd3Zi9qTGZDY0dkdDlCYkx1YkViVmc2a2VyS1JnQ3JvY0ozRHhTcGh6MVhSM2FXYWs3NGxxbzZPV0ZodjRPRmxuV1RTQlhSQzR0TTVvbElLRHpFN0p1OEUzd2s2Z3A4Mytob0dOOEZUa1lKTFNxTzl3aC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tGg4lylHoidekcPztMoFLugJ9MS8d36W0pLDFW7poXWqBIUqOXypB8s5w+fjD0BgdxzbZb2tVTK6qgSpUlW3SaeGVxsUkC5UBlsKyJ87SaPKjvJHHXt5ai97iJlxQj31d+f/QyiVovOz8+ndrOO+WQ5vFSvAgsI9y+2+ocL39+p/DNwRjpu2F8Exn7A7sPJ+G4x7mg93QSFqwSBq2+lgTfpzxpLLRcZlj6m2ri8uKjNF2803dRmISxVC48b6iUFdVoUp/b0OXSSmMpCgqd9uB5obuNE08SiWxc8IVB5MXYTOAKYM7mwOLGRhynnhvElN/tWEsSM3TRwm8shICeUWVKrEDhgoP5Us0ZKkmBM"}
UserUserId: D9g3+lrRzZ8T0CvauHYne4QnyywTl98nhVI/Rceo1Mw=
SignatureNonce: 20c847de-3508-41c8-8d29-6123c46a9e19
Signature: gDr5lqDGihTqmWp8nslRdDKc2l0=

其中CaptchaVerifyParam的数据为

sceneId
certifyId
deviceToken
data

data其实就是轨迹的加密,而轨迹的格式如下

    track_dict = {
      "TrackList": {
            "mc": "597,308,15083, ,1",
            "tc": "",
            "mu": "",
            "te": "",
            "mp": "1388,438,14451,1|1388,438,14452,1|1381,435,14452,1|1370,434,14453,1|1360,431,14454,1|1352,429,14455,1|1341,426,14456,1|1332,425,14457,1|1320,422,14458,1|1310,421,14459,1|1298,417,14460,1|1289,416,14461,1|1276,413,14462,1|1267,412,14463,1|1255,409,14464,1|1245,408,14465,1|1233,404,14466,1|1224,403,14467,1|1211,400,14468,1|1202,399,14469,1|1190,396,14470,1|1180,395,14471,1|1171,391,14472,1|1160,390,14473,1|1148,387,14474,1|1137,386,14475,1|1125,382,14476,1|1113,381,14477,1|1099,378,14478,1|1088,377,14479,1|1079,374,14480,1|1076,373,14481,1|1074,372,14482,1|1069,372,14486,1|1061,370,14487,1|1053,369,14488,1|1042,366,14489,1|1033,365,14490,1|1024,362,14491,1|1016,361,14492,1|1005,357,14493,1|996,356,14494,1|989,355,14495,1|983,355,14496,1|974,353,14497,1|966,352,14498,1|957,351,14499,1|949,349,14500,1|941,348,14501,1|933,345,14502,1|924,344,14503,1|919,343,14504,1|912,341,14505,1|905,340,14506,1|899,339,14507,1|892,337,14508,1|885,336,14509,1|880,335,14510,1|877,335,14511,1|873,333,14512,1|867,333,14513,1|863,332,14514,1|858,330,14515,1|855,329,14516,1|849,328,14517,1|848,328,14518,1|845,328,14519,1|842,328,14520,1|839,328,14521,1|835,326,14522,1|832,326,14523,1|830,325,14524,1|829,325,14525,1|827,325,14526,1|825,323,14527,1|824,323,14528,1|823,322,14529,1|821,322,14531,1|819,322,14532,1|817,322,14533,1|816,322,14535,1|815,321,14536,1|814,320,14537,1|814,319,14606,1|814,318,14607,1|814,317,14639,1|814,316,14639,1|814,315,14650,1|814,314,14650,1|814,313,14651,1|814,312,14656,1|814,311,14657,1|814,310,14663,1|814,309,14664,1|813,308,14669,1|811,307,14671,1|811,306,14673,1|811,305,14677,1|811,304,14677,1|810,303,14678,1|809,303,14680,1|809,302,14684,1|809,301,14686,1|807,301,14687,1|806,299,14690,1|805,299,14691,1|804,298,14692,1|803,298,14694,1|801,297,14696,1|800,296,14697,1|799,296,14698,1|798,296,14699,1|797,294,14700,1|794,293,14701,1|793,293,14704,1|792,293,14705,1|789,291,14706,1|787,290,14708,1|786,290,14709,1|781,289,14710,1|780,288,14711,1|778,287,14712,1|776,287,14714,1|773,287,14715,1|772,287,14716,1|770,287,14717,1|768,287,14718,1|767,287,14719,1|763,286,14720,1|761,285,14721,1|758,284,14722,1|756,284,14723,1|755,284,14724,1|753,284,14725,1|749,282,14726,1|746,282,14727,1|743,281,14728,1|741,281,14729,1|738,281,14730,1|735,281,14731,1|734,281,14732,1|732,281,14733,1|730,281,14734,1|727,281,14735,1|724,281,14736,1|721,281,14737,1|718,281,14738,1|715,281,14739,1|712,281,14740,1|709,281,14741,1|707,281,14742,1|705,281,14743,1|703,281,14744,1|700,281,14745,1|697,281,14746,1|694,281,14747,1|693,281,14748,1|691,281,14749,1|689,281,14750,1|687,281,14751,1|685,281,14752,1|683,281,14753,1|682,281,14754,1|680,281,14755,1|679,281,14756,1|677,281,14757,1|675,281,14759,1|674,281,14760,1|672,281,14761,1|670,281,14763,1|669,281,14764,1|667,281,14767,1|666,281,14769,1|665,281,14773,1|664,281,14774,1|663,281,14846,1|662,281,14847,1|661,281,14847,1|660,281,14857,1|659,281,14859,1|658,281,14867,1|657,281,14868,1|656,282,14871,1|656,283,14873,1|655,284,14878,1|654,284,14880,1|654,285,14888,1|652,286,14890,1|651,286,14896,1|650,286,14897,1|649,287,14902,1|649,288,14905,1|648,288,14912,1|647,288,14913,1|646,288,14920,1|645,288,14922,1|644,290,14923,1|643,291,14929,1|642,291,14931,1|641,291,14934,1|639,291,14936,1|638,291,14937,1|637,291,14938,1|637,292,14939,1|635,294,14941,1|634,294,14946,1|632,295,14947,1|632,296,14948,1|630,296,14950,1|629,296,14953,1|628,296,14954,1|627,296,14955,1|626,296,14956,1|625,298,14957,1|624,298,14958,1|623,299,14959,1|621,299,14961,1|620,299,14962,1|619,300,14963,1|618,301,14964,1|617,301,14965,1|616,301,14966,1|615,301,14967,1|613,301,14968,1|612,301,14970,1|610,303,14971,1|609,304,14973,1|608,304,14975,1|607,304,14976,1|606,304,14977,1|604,305,14979,1|603,307,14981,1|601,307,14983,1|600,307,14984,1|599,307,14991,1|598,307,14992,1|597,308,14993,1|597,309,15136,1|598,309,15143,1|599,309,15144,1|600,309,15146,1|601,309,15148,1|602,309,15149,1|603,309,15150,1|604,309,15152,1|607,309,15153,1|608,309,15154,1|610,309,15155,1|611,309,15156,1|612,309,15158,1|613,309,15159,1|615,309,15160,1|617,309,15162,1|619,309,15163,1|622,309,15164,1|624,309,15165,1|626,309,15166,1|628,309,15168,1|631,309,15169,1|634,309,15170,1|635,309,15171,1|637,309,15172,1|639,309,15173,1|640,309,15174,1|642,309,15175,1|645,309,15176,1|648,309,15177,1|651,309,15178,1|654,309,15179,1|655,309,15180,1|657,309,15181,1|661,309,15182,1|663,309,15183,1|665,309,15184,1|668,309,15185,1|671,309,15186,1|676,309,15187,1|680,309,15188,1|682,309,15189,1|686,309,15190,1|688,309,15191,1|692,309,15192,1|696,309,15193,1|699,309,15194,1|702,309,15195,1|705,309,15196,1|710,309,15197,1|714,309,15198,1|718,309,15199,1|721,309,15200,1|726,309,15201,1|730,309,15202,1|739,311,15203,1|743,312,15204,1|747,313,15205,1|753,315,15206,1|760,316,15207,1|768,317,15208,1|774,319,15209,1|781,320,15210,1|788,321,15211,1|796,323,15212,1|802,324,15213,1|809,325,15214,1|816,327,15215,1|824,328,15216,1|832,329,15217,1|840,331,15218,1|846,334,15219,1|853,336,15220,1|860,337,15221,1|867,337,15222,1|876,339,15223,1|884,340,15224,1|890,341,15225,1|897,343,15226,1|904,344,15227,1|912,345,15228,1|918,347,15229,1",
            "tmv": "",
            "mm": "597,308,15083,1|597,309,15136,1|598,309,15143,1|599,309,15144,1|600,309,15146,1|601,309,15148,1|602,309,15149,1|603,309,15150,1|604,309,15152,1|607,309,15153,1|608,309,15154,1|610,309,15155,1|611,309,15156,1|612,309,15158,1|613,309,15159,1|615,309,15160,1|617,309,15162,1|619,309,15163,1|622,309,15164,1|624,309,15165,1|626,309,15166,1|628,309,15168,1|631,309,15169,1|634,309,15170,1|635,309,15171,1|637,309,15172,1|639,309,15173,1|640,309,15174,1|642,309,15175,1|645,309,15176,1|648,309,15177,1|651,309,15178,1|654,309,15179,1|655,309,15180,1|657,309,15181,1|661,309,15182,1|663,309,15183,1|665,309,15184,1|668,309,15185,1|671,309,15186,1|676,309,15187,1|680,309,15188,1|682,309,15189,1|686,309,15190,1|688,309,15191,1|692,309,15192,1|696,309,15193,1|699,309,15194,1|702,309,15195,1|705,309,15196,1|710,309,15197,1|714,309,15198,1|718,309,15199,1|721,309,15200,1|726,309,15201,1|730,309,15202,1|739,311,15203,1|743,312,15204,1|747,313,15205,1|753,315,15206,1|760,316,15207,1|768,317,15208,1|774,319,15209,1|781,320,15210,1|788,321,15211,1|796,323,15212,1|802,324,15213,1|809,325,15214,1|816,327,15215,1|824,328,15216,1|832,329,15217,1|840,331,15218,1|846,334,15219,1|853,336,15220,1|860,337,15221,1|867,337,15222,1|876,339,15223,1|884,340,15224,1|890,341,15225,1|897,343,15226,1|904,344,15227,1|912,345,15228,1|918,347,15229,1",
            "ks": "",
            "fi": "",
            "startTime": 1731508021832,
            "si": "1393,3440,1271,1393,1271,1392,1440,154.55950543806017,3440"
      },
      "TrackStartTime": 1731508021832,
      "VerifyTime": 1731508037064,
      "arg": "ak0haTIeEhFPZD69TgF/NhZ+Qn2WFvAlZZ8OCRkY"
    }

这里轨迹的信息先不管什么意思,我们是看看如何实现加密的。
在别的帖子里,轨迹的加密说是zip加密,我也不知道什么意思,但是我在逆向的时候注意到了关键词【TextEncoder】【Uint8Array】,说明和普通的aes、hmac、XHRcipher不一样。
后来发现是将轨迹信息转化为数组、然后转化为二进制、然后再进行转化得到的,通过百度和扣代码的方式,终于拿下轨迹的加密,和浏览器生成的一模一样。


最后轨迹的加密再进行aes加密就是需要的data。


有始有终,补充加密细节


找到输出加密的函数



此时我们注意一下ts,在控制台输入ts(t)后就是数组,我们进入ts函数看一下



ts函数返回一个e,e的生成找到关键词textencoder,百度一下是什么意思



没看懂什么意思,但是照抄就对了,写个js试一下



对比控制台生成的数据是一模一样的,那么这个数组又是如何变成加密的数据呢



这个push就是生成就加密的数据



找到需要扣的代码了,但是注意,我看到了prototype,说明不能只扣一段,否则补环境非常麻烦。
然后实现了效果(上面第一个图),加密之后进行aes加密,密钥和偏移量不是很隐秘因此不再啰嗦了,至于其他加密不重要但是却有必要,慢慢找总能找的到。
最后从浏览器生成的轨迹里复制后测试成功。

msmvc 发表于 2024-11-18 10:15

我使用.net+playwright, +google浏览器,在打开显示后拖动滑块,要么没到位置,要么就是出个错误提示,要重试
在普通 google浏览器里就可以正常拖动

Pwaerm 发表于 2024-11-17 07:59

厉害厉害

一看到加密数据就蒙了
我昨天也是为了一个阿里滑块验证折腾很久
js和python直接滑动不能通过,最后用ddxoft虚拟鼠标滑动的

yuqing0419 发表于 2024-11-17 09:30

一看到加密数据就蒙了

淡淡哇 发表于 2024-11-17 10:06

哥们牛逼

AjiaJiShu 发表于 2024-11-17 10:23

来学习一下,牛逼

凯gg 发表于 2024-11-17 12:01

来学习一下

liugangdan321 发表于 2024-11-17 12:09

太难学了

liuhongwen2001 发表于 2024-11-17 12:14

进来学习一下,牛逼

aa888666p 发表于 2024-11-17 12:42

看到加密就懵,我自己逻辑能力不太行

Sunflowerl 发表于 2024-11-17 13:15

太强了,学习一下
页: [1] 2 3
查看完整版本: 某云无感滑块逆向之懵了几天(下)【修改一下有始有终】