xorsearch.py: Python Functions, (Sat, May 17th)
Didier Stevens发布了工具`xorsearch.py`用于搜索XOR编码文本。新版本移除了旧选项`-t`,新增`-P`(使用Python函数过滤可打印文本)和`-D`(转储解码数据)。示例中使用XOR密钥`0x6f`解码隐藏命令。 2025-5-17 09:22:18 Author: isc.sans.edu(查看原文) 阅读量:7 收藏

A couple years ago I published tool xorsearch.py for this diary entry: "Small Challenge: A Simple Word Maldoc - Part 4".

It could be used to search for XOR-encoded text:

This was a beta version, and its user interface was subject to change. The version I released recently is a rewrite, and option -t no longer exists.

To achieve a similar result with the new version of xorsearch.py, one uses now option -P (Python) and provides a Python function that filters out printable text: IsPrintable

Option -D can then be used to dump the decoded data with an extra newline:

Here too XOR encoding with key 0x6f reveals the hidden command.

Didier Stevens
Senior handler
blog.DidierStevens.com


文章来源: https://isc.sans.edu/diary/rss/31858
如有侵权请联系:admin#unsafe.sh