�ᰮ�ƽ� - 52pojie.cn

 �һ�����
 ע��[Register]

QQ��¼

ֻ��һ�������ٿ�ʼ

����
�鿴: 3940|�ظ�: 56
��һ���� ��һ����
��������

[Android ԭ��] ij����Ƶ33.x.0��boringssl����ץ������

  [��������]
��ת��ָ��¥��
¥��
��������ש�� ������ 2025-4-12 17:17 ��������


��˵boringssl���������������� Google Ϊ Android ����Ŀ���Ƶ����������������� OpenSSL������ʵ�ּ���ͨ�źͰ�ȫЭ�顣SSL_CTX_set_custom_verify �� BoringSSL �����������Զ���֤����֤�߼��ĺ��������ĺ���ԭ�ʹ������£�
void SSL_CTX_set_custom_verify(SSL_CTX *ctx, int mode,                               ssl_custom_verify_callback callback);
�������ͣ�
  • ctx��Ҫ���õ� SSL �����ģ�SSL_CTX����
  • mode����֤ģʽ������ SSL_VERIFY_PEER����
  • callback�����Լ�ʵ�ֵĻص����������ڴ���֤����֤�߼���


֮ǰ2022�ꡢ2023�ꡢ2024���İ汾
callback�����DZ�����libboringssl.so��libsscronet.so���еģ�������֤�����dz����ң���IDA�鿴SSL_CTX_set_custom_verify����������������IDA�������ַ����� VerifyCert������"HandlerVerifyResult"�Ϳ��Զ�λcallback������������ʾ



���ڣ���ѧ�����ˣ��������������⼸���ַ��������ˣ���������д�����غ���������ô�죿
��ʵ�ܼ򵥣���SSL_CTX_set_custom_verify����û������SSL_CTX_set_custom_verify() ͨ������ʼ�� TLS/SSL ������ʱ������Ҳ����˵�����㴴���� SSL_CTX����û���� SSL ����ǰ������
��������ԭ�����ǾͿ���ͨ��hook SSL_CTX_set_custom_verify������ȡ������֤��������ΪSSL_CTX_set_custom_verifyִ����app��ʼ����ʱ��ִ�У�����������Ҫ������dlopen��libttboringssl.so�ռ��ص�ʱ����ȥhook SSL_CTX_set_custom_verify �����Ƚϱ���

ִ��./spawn find_boringssl_custom_verify_func.jsʹ��spawn��ʽ�������нű� hookЧ�����������Ƿ���������callback������hook����


�������ǿ�����fridaʵ��replace callback����ǿ����֤ͨ��




����ִ��./attach hook_verify_ok.js ����socksdroid����charlesץ�������ǿ��Կ�������֤������������1��֤ʧ�ܱ�����ǿ���滻����0��app��֤�ɹ�



ץ��Ч��


hook_verify_ok.jsʵ�־Ͳ��������ˣ���Ϊ���ҵİ汾��ͬҲ�����ã�find_boringssl_custom_verify_func.js���Ը����ң���������ͨ��
https://github.com/CreditTone/hooker?tab=readme-ov-file#19-find_boringssl_custom_verify_funcjs


image.png (747.35 KB, ���ش���: 1)

image.png

��������

�������� 12�ᰮ�� +14 ����ֵ +11 ���� ����
yousan + 1 + 1 ���Ļظ���
theStyx + 1 + 1 ���Ļظ���
timeni + 1 + 1 ���Ļظ���
zx2000 + 1 + 1 �Һ���ͬ��
beihai1314 + 1 + 1 �Һ���ͬ��
haiyangnanzi + 1 + 1 лл@Thanks��
huxiaoheng4567 + 1 + 1 �Һ���ͬ��
Issacclark1 + 1 лл@Thanks��
xuanle + 1 + 1 ��ӭ�������۽������ᰮ�ƽ���̳���������ʣ�
jk998 + 1 + 1 �Һ���ͬ��
anwen + 3 + 1 �ö��� ���ղر����˷�ֹ��OTA��~
winw2 + 1 + 1 �Һ���ͬ��

�鿴ȫ������

����ǰҪ��������̳���������ܣ��������ܻ�����Ҫ�ҵĴ𰸻����Ѿ����˷�������ͬ�����ˣ������ظ�������

�Ƽ�
 ¥��| ��������ש�� ������ 2025-4-12 17:24 |¥��
find_boringssl_custom_verify_func.js ��ַ��
https://github.com/CreditTone/hooker/blob/master/js/find_boringssl_custom_verify_func.js
�Ƽ�
airwenlee ������ 2025-4-13 01:21
�����������ʸ����⣺Ϊʲô��Щ��Ƶ���߷ֱ���1080P��������ҳ���߲�720P�������Թ��������ؽ�������Ҳ������720P�����Թ�2���˺Ŷ�������720P
��������https://www.douyin.com/video/7407791273555299635
3#
ydl567 ������ 2025-4-12 17:21
4#
 ¥��| ��������ש�� ������ 2025-4-12 17:22 |¥��
ydl567 ������ 2025-4-12 17:21
����������

��л֧��
5#
winw2 ������ 2025-4-12 18:01
˼·�ܲ���
6#
cf19870410 ������ 2025-4-12 18:20
����һϯ��
7#
anwen ������ 2025-4-12 18:26
���������� anwen �� 2025-4-12 18:28 �༭

�����������ƿصģ���֮ǰ��ͬһ�汾������ǰ���ã�����һ���İ汾ȴ����ץ����....

����ȥ����Ч����������������ĥ��ô��һ��

��л���� �о��о���ôʹ��.. ��һ������໣��˼����ù�����

8#
gwgdaemon ������ 2025-4-12 18:29
�ܲ������ղ�һ��
9#
mw26973 ������ 2025-4-12 18:34
��л�����з���������һ��ƽ��
10#
jk998 ������ 2025-4-12 18:43
����������лл¥������
����Ҫ��¼���ſ��Ի��� ��¼ | ע��[Register]

�������ֹ���

�����б�

RSS����|С����|������¼|��ϵ����|�ᰮ�ƽ� - LCG - LSG ( ��ICP��16042023�� | ���������� 11010502030087�� )

GMT+8, 2025-8-14 16:23

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

���ٻظ� ���ض��� �����б�