Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obfuscator: 未知变种 寻求来源后适配 #97

Closed
cocoyamnut opened this issue Jun 9, 2024 · 10 comments
Closed

obfuscator: 未知变种 寻求来源后适配 #97

cocoyamnut opened this issue Jun 9, 2024 · 10 comments

Comments

@cocoyamnut
Copy link

image
样本

@echo094
Copy link
Owner

echo094 commented Jun 10, 2024

更新下代码

@cocoyamnut
Copy link
Author

更新下代码

刚刚上传

@echo094
Copy link
Owner

echo094 commented Jun 10, 2024

是更新下这个工具的代码,最新代码的第254行不是你截图中的内容

@cocoyamnut
Copy link
Author

是更新下这个工具的代码,最新代码的第254行不是你截图中的内容

代码已经是新的了
image

@echo094
Copy link
Owner

echo094 commented Jun 10, 2024

你现在用的是obfuscator_variant分支,这个是专门针对 #74 的版本的,你切换到main分支就行

@cocoyamnut
Copy link
Author

你现在用的是obfuscator_variant分支,这个是专门针对 #74 的版本的,你切换到main分支就行

image
试过了

@echo094
Copy link
Owner

echo094 commented Jun 10, 2024

main分支的254行是下面这个,你明显没切过去,删了重新下吧

function find2(refer_path) {
if (
refer_path.parentPath.isCallExpression() &&
refer_path.listKey === 'arguments' &&
refer_path.key === 0
) {

@cocoyamnut
Copy link
Author

main分支的254行是下面这个,你明显没切过去,删了重新下吧

function find2(refer_path) {
if (
refer_path.parentPath.isCallExpression() &&
refer_path.listKey === 'arguments' &&
refer_path.key === 0
) {

大佬我这还有一个样本
image

@cocoyamnut
Copy link
Author

看起来非常像ob混淆的特征

@echo094
Copy link
Owner

echo094 commented Jun 10, 2024

https://note.ms/oxtj

它有一个和 #96#100 类似的特征,即使用ForStatement替代WhileStatement,故猜测是同一系列的工具

待确定工具的来源后再进行适配(如果不是公开的工具,没什么普遍性,这边适配了,那边立马又更新了)

Index

https://imgservices-1252317822.image.myqcloud.com/coco/s06072022/26ccde4c.lst7lt.js

@echo094 echo094 changed the title obfuscator:无法处理 unknown: 等待适配 Jun 14, 2024
@echo094 echo094 changed the title unknown: 等待适配 obfuscator: 变种 Jun 14, 2024
@echo094 echo094 changed the title obfuscator: 变种 obfuscator: 未知变种 寻求来源后适配 Jun 16, 2024
@echo094 echo094 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants