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

WINTRUST!_ExplodeMessag函数中的pCatAdd

第一部分:

BOOL _ExplodeMessage(CRYPT_PROVIDER_DATA *pProvData)
{

。。。。

            pCatAdd = pProvData->pPDSip->psSipSubjectInfo->psCatMember;

            if ((pCatAdd) && (pCatAdd->pMember) && (pCatAdd->pMember->pIndirectData))
{


memcpy(pProvData->pPDSip->psIndirectData, pCatAdd->pMember->pIndirectData,
sizeof(SIP_INDIRECT_DATA));

第二部分:


0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!_PROVDATA_SIP *)0x1c054e8)
((WINTRUST!_PROVDATA_SIP *)0x1c054e8)                 : 0x1c054e8 [Type: _PROVDATA_SIP *]
[+0x000] cbStruct         : 0x28 [Type: unsigned long]
[+0x004] gSubject         : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID]
[+0x014] pSip             : 0x1c2dd98 [Type: SIP_DISPATCH_INFO_ *]
[+0x018] pCATSip          : 0x1c52ca8 [Type: SIP_DISPATCH_INFO_ *]
[+0x01c] psSipSubjectInfo : 0x1c53710 [Type: SIP_SUBJECTINFO_ *]            [+0x01c] psSipSubjectInfo : 0x1c53710
[+0x020] psSipCATSubjectInfo : 0x1c527f0 [Type: SIP_SUBJECTINFO_ *]
[+0x024] psIndirectData   : 0x0 [Type: SIP_INDIRECT_DATA_ *]

0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!SIP_SUBJECTINFO_ *)0x1c53710)
((WINTRUST!SIP_SUBJECTINFO_ *)0x1c53710)                 : 0x1c53710 [Type: SIP_SUBJECTINFO_ *]
[+0x000] cbSize           : 0x50 [Type: unsigned long]
[+0x004] pgSubjectType    : 0x1c13d68 : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID *]
[+0x008] hFile            : 0x0 [Type: void *]
[+0x00c] pwsFileName      : 0x767f29bc : 0x55 [Type: unsigned short *]
[+0x010] pwsDisplayName   : 0x767f29bc : 0x55 [Type: unsigned short *]
[+0x014] dwReserved1      : 0x0 [Type: unsigned long]
[+0x018] dwIntVersion     : 0x200 [Type: unsigned long]
[+0x01c] hProv            : 0x1232758 [Type: unsigned long]
[+0x020] DigestAlgorithm  [Type: _CRYPT_ALGORITHM_IDENTIFIER]
[+0x02c] dwFlags          : 0x0 [Type: unsigned long]
[+0x030] dwEncodingType   : 0x0 [Type: unsigned long]
[+0x034] dwReserved2      : 0x0 [Type: unsigned long]
[+0x038] fdwCAPISettings  : 0x23c00 [Type: unsigned long]
[+0x03c] fdwSecuritySettings : 0x2 [Type: unsigned long]
[+0x040] dwIndex          : 0x0 [Type: unsigned long]
[+0x044] dwUnionChoice    : 0x2 [Type: unsigned long]
[+0x048] psFlat           : 0x1750038 [Type: MS_ADDINFO_FLAT_ *]
[+0x048] psCatMember      : 0x1750038 [Type: MS_ADDINFO_CATALOGMEMBER_ *]
[+0x048] psBlob           : 0x1750038 [Type: MS_ADDINFO_BLOB_ *]
[+0x04c] pClientData      : 0x0 [Type: void *]
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!MS_ADDINFO_CATALOGMEMBER_ *)0x1750038)
((WINTRUST!MS_ADDINFO_CATALOGMEMBER_ *)0x1750038)                 : 0x1750038 [Type: MS_ADDINFO_CATALOGMEMBER_ *]
[+0x000] cbStruct         : 0xc [Type: unsigned long]
[+0x004] pStore           : 0x1c2dcb0 [Type: CRYPTCATSTORE_ *]
[+0x008] pMember          : 0x1cdd340 [Type: CRYPTCATMEMBER_ *]
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!CRYPTCATMEMBER_ *)0x1cdd340)
((WINTRUST!CRYPTCATMEMBER_ *)0x1cdd340)                 : 0x1cdd340 [Type: CRYPTCATMEMBER_ *]
[+0x000] cbStruct         : 0x40 [Type: unsigned long]
[+0x004] pwszReferenceTag : 0x1cdd388 : 0x32 [Type: unsigned short *]
[+0x008] pwszFileName     : 0x0 [Type: unsigned short *]
[+0x00c] gSubjectType     : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID]
[+0x01c] fdwMemberFlags   : 0x0 [Type: unsigned long]
[+0x020] pIndirectData    : 0x1c4a4c0 [Type: SIP_INDIRECT_DATA_ *]
[+0x024] dwCertVersion    : 0x200 [Type: unsigned long]
[+0x028] dwReserved       : 0x0 [Type: unsigned long]
[+0x02c] hReserved        : 0x0 [Type: void *]
[+0x030] sEncodedIndirectData [Type: _CRYPTOAPI_BLOB]
[+0x038] sEncodedMemberInfo [Type: _CRYPTOAPI_BLOB]

0: kd> dt SIP_INDIRECT_DATA_ 0x1c4a4c0
CRYPT32!SIP_INDIRECT_DATA_
+0x000 Data             : _CRYPT_ATTRIBUTE_TYPE_VALUE
+0x00c DigestAlgorithm  : _CRYPT_ALGORITHM_IDENTIFIER
+0x018 Digest           : _CRYPTOAPI_BLOB
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 (*((CRYPT32!_CRYPTOAPI_BLOB *)0x1c4a4d8))
(*((CRYPT32!_CRYPTOAPI_BLOB *)0x1c4a4d8))                 [Type: _CRYPTOAPI_BLOB]
[+0x000] cbData           : 0x14 [Type: unsigned long]
[+0x004] pbData           : 0x1723fe8 : 0x2c [Type: unsigned char *]

0: kd> db 0x1723fe8
01723fe8  2c ac 74 89 bc 3c f9 74-71 ec 23 93 d4 38 57 d5  ,.t..<.tq.#..8W.
01723ff8  c0 84 9d 6b 00 00 00 00

http://www.xdnf.cn/news/18970.html

相关文章:

  • Yolov8 pose 推理部署笔记
  • Vue开发避坑:箭头函数与普通函数的正确使用指南
  • LeetCode 刷题【55. 跳跃游戏】
  • 从协作机器人到智能协作机器人:工业革命的下一跳
  • 【JavaScript】递归的问题以及优化方法
  • 安宝特方案丨安宝特工业AR全链路解决方案
  • Unity游戏打包——iOS打包基础、上传
  • java后端的各种注解
  • Linux 禁止 su 的几种限制手段:从 NoNewPrivileges 到 PAM 配置
  • GitHub 宕机自救指南:确保开发工作不间断
  • 大数据毕业设计选题推荐-基于大数据的存量房网上签约月统计信息可视化分析系统-Hadoop-Spark-数据可视化-BigData
  • 学习嵌入式之驱动——I2C子系统
  • 深度学习篇---VGGNet
  • 一个基于物理信息神经网络(Physics-Informed Neural Network, PINN)的多变量时间序列预测模型MATLAB代码
  • Windows 7-11通用,这工具让电脑提速300%
  • 2025.8.28总结
  • HTTP 范围请求:为什么你的下载可以“断点续传”?
  • Chrome 插件开发实战:从入门到精通
  • vue2使用el-form动态参数展示并非空校验
  • 数据结构青铜到王者第九话---二叉树(2)
  • 自下而上的树形dp
  • 深度学习——卷积神经网络(PyTorch 实现 MNIST 手写数字识别案例)
  • pcl_案例2 叶片与根茎的分离
  • 机器视觉学习-day09-图像矫正
  • Day30 多线程编程 同步与互斥 任务队列调度
  • leetcode_73 矩阵置零
  • 【LLM】Transformer模型中的MoE层详解
  • vue布局
  • 架构设计——云原生与分布式系统架构
  • Android中设置RecyclerView滑动到指定条目位置