首页 > 其他分享 >逆向案例二十六(续)——中国观鸟记录,返回数据解密

逆向案例二十六(续)——中国观鸟记录,返回数据解密

时间:2024-07-20 11:57:34浏览次数:17  
标签:逆向 decrypted encrypted 解密 iv CryptoJS 观鸟 断点

在上一集中,我们已经获得了表单参数加密,请求头参数加密,现在需要对返回的数据进行解密。

跟栈分析,直接进入第三个

 

在疑似断点位置打上断点,已然发现解密位置。

function接收参数t是加密的密文,接着返回的a.parseData(t)是明文

 

所以解密函数是a.parseData() 

 

进入这个函数,再打上断点,result是明文

 

,进入上面的BIRDREPORT_APIJS.decode这个解密函数发现是一个AES解密

前面去找密钥和IV

 

开始写代码

 

完整代码:

const CryptoJS = require('crypto-js')
function get_decrypted(encrypted) {
        var key = CryptoJS.enc.Utf8.parse('C8EB5514AF5ADDB94B2207B08C66601C')
        var iv = CryptoJS.enc.Utf8.parse('55DD79C6F04E1A67')
        var decrypted = CryptoJS.AES.decrypt(encrypted, key , {
            iv: iv,
            mode: CryptoJS.mode.CBC,
            padding: CryptoJS.pad.Pkcs7,
        })

        return JSON.parse(decrypted.toString(CryptoJS.enc.Utf8))
};
encrypted_data = 'ncDfst+MbXleweHKbOyKB7gre10rA2aMmrcyL07nR1crexENNnYCrso/uyZFhSIREMhzFyelOdlUueoJccMoTXpDHAMEgQXOBwWtI4Lq82AXd6Ugtqeq6CK1P/g4yHrGqVJw2UABZozScMBnhILeOpdvxD/aNXK3L8kNZjJNOjSabb1rBI0W8K0ESiQi5v2o0GefuTFnExhpyr/V7Ap9lZUkO5hLUVPSd7IFF04maWRELB4RIkLbt4CHMDqo8cNT8afFqoCksdCU+duwqX0D1wrWgV13j077e7DTn3Z8VIZxzOFE5FLpJJgO/3qa6laJWma87X4c2XDUfB9SLA5/nd3+auErBfRr32JPUhpry5LKsYi2AVBuy4s7IePhpvGfTc85rWyTMPkzTM/8W9kQX2c8uibICm6a2QP6RgIvBOptX1h0/0StGyMLC3I0Zehij18HLXp+oyRZmN5XZo16Mh/utqLHgewe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SKpEG8TEsJE4lrPHq2vEbP9UHUiNWvx8MelDn91wT7TvG4+NPCOo4ubNKNIfDZPVHzDpGptV/igr3EglyDj7jdyDJ7OXIkRcrWLaVLoX9N2jUo7JUEJwbmg1ftKQVOXt2hRPy1HjIH+/Fo1axPsDSsNJG4tHU5vkIzsjfGp3BWF2LsRkaMjZivDnyM6Yag6BwiIkXKxgSF01dXOv2hr7GYbBXCkmICGj7JPKKlGwigyjZ1UrFwX8uDxJJcWTXKbMXlbzI+6e1qHeATRslhdJPW2I/GbAvodJSh398T+iG+qkWBDOh7XRio+t6c7N/aGnGVzSxiyZ/5gtK0Y+DaQKo7ZoUI/VkuzYg9RE2KI+/1cSTy2ztmEAsBesK+ZoHNkNTfOv5q21D5DS9xmIO7q10qdcSG4QXLE3tL9/1ZKSjLxA7m/R0vLSkvY2+iUrIzL8QqnZsBcn4KBYlrfbL/eDu7veTZnt5zH62Xle0XUh3pYBUdmY3naEbgMEYUe6ZOXBA4y8Wt1gkHJs='

console.log(get_decrypted(encrypted_data))

 

 

 

标签:逆向,decrypted,encrypted,解密,iv,CryptoJS,观鸟,断点
From: https://blog.csdn.net/m0_57265868/article/details/140568620

相关文章

  • 逆向案例二十七——某妈妈返回值解密
    网址:蝉妈妈-内容营销与电商增长一站式服务平台有会员会返回所有数据,抓包分析,会发现返回的数据进行了加密。直接搜索找加密位置,因为这个参数太烂大街了,因此,直接搜索decrypt 找到疑似加密位置,断点分析,并打印参数 貌似是个AES解密,传入的e是加密的参数 r是最终加密的......
  • 【JS逆向课件:第八课:异常处理】
    异常处理首先我们要理解什么叫做**"异常”**?在程序运行过程中,总会遇到各种各样的问题和错误。有些错误是我们编写代码时自己造成的:比如语法错误、调用错误,甚至逻辑错误。还有一些错误,则是不可预料的错误,但是完全有可能发生的:比如文件不存在、磁盘空间不足、......
  • 【JS逆向课件:第七课:模块与包】
    模块与包模块模块介绍在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护。为了编写可维护的代码,我们把很多函数分组,分别放到不同的文件里,这样,每个文件包含的代码就相对较少,很多编程语言都采用这种组织代码的方式。而这样的一......
  • RSA加解密笔记
        前文介绍了SM国产的对称加密算法介绍,这里记录一下RSA非对称加密情况,不太情况贸然上手还是有一些坑,密钥位数分为512,1024,2048,4096之类,公钥,私钥成对出现,一般文本之类,如请求参数而言,公钥加密,私钥解密,如果是证书,情况会稍微不同,这里不展开记录,比如:双方对接数据的时候......
  • (新)app逆向四(常见加密算法)
    加密的分类1、单向加密:MD5、sha系列不可逆2、对称加密:AES、DES3、非对称加密:RSA、DSA4、补充算法:base641.md5importhashlibm=hashlib.md5()m.update('helloworld'.encode("utf8"))print(m.hexdigest())2.shaimporthashlibsha1=hashlib.sha1()data='hellow......
  • 安卓MT管理器v2.16.2/逆向修改神器 本地VIP已解锁
    MT管理器是一款强大的文件管理工具和APK逆向修改神器。如果你喜欢它的双窗口操作风格,可以单纯地把它当成文件管理器使用。如果你对修改APK有深厚的兴趣,那么你可以用它做许许多多的事,例如汉化应用、替换资源、修改布局、修改逻辑代码、资源混淆、去除签名校验等,主要取决于你如......
  • (新)app逆向二(adb操作)
    一、逆向的基本流程#1.获取app的目标(官网,豌豆荚,下载历史老版本);尽量不要去华为,小米应用市场下载;——》拿到app放在电脑上,并且安装到手机上#2.使用抓包工具,手机上操作app,进行抓包是(charles,fiddler);#3.使用反编译工具(JADX,JD_GUI),把apk问阿金反编译成java代码,分析代码,定位位置......
  • (五)JS逆向——问财同花顺
    爬取问财网的今日涨停信息 载荷多试几次可以发现除了页码等信息,都是固定值,因此变化一定是在请求头 可以发现变化的就是HeXin-V的值,并且在cookie中也有对应的键值对,所以下一步就是找到该值生成的位置。因为Cookie中有这个值,所以可以通过CookieHook的方式来定位(function......
  • 网络安全实验一 分组密码实验(AES加解密)
    本实验代码附在文末实验目的与要求:理解对称密码体制和分组密码算法的基本思想理解分组密码AES的基本原理实现AES的加解密过程,可以对各种文件(word、txt、mp3、jpg)进行加解密实现分组密码的密码分组链接工作模式与计算器工作模式实验环境:MicrosoftVisualStudio2022等......
  • (新)app逆向一 虚拟环境的使用
    python虚拟环境创建1.使不同的应用开发环境独立2.环境升级也不影响其他的应用,也不会影响全局的python环境3.防止报管理混乱及版本的冲突导出项目的依赖#.查看模块pipfreeze#虚拟模块导出到文件中pipfreeze>requirements.txt#别人要用我们的项目-打开项目后执行......