首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PDF解析器和OPcodeExtraction

PDF解析器和OPcodeExtraction
EN

Security用户
提问于 2017-06-29 10:26:31
回答 2查看 311关注 0票数 0

我在执行一个关于恶意软件检测的大学项目。具体而言,我需要:

代码语言:javascript
复制
  - extract javascript from a PDF,                                          
  - put it in the right order,                                               
  - extract opcode sequences of a possible embedded shellcode using for 
    example libemu.   

特别是,解析过程必须处理混淆/加密的javascript,甚至处理不位于文档所指的正常位置的javascript。

任何关于我如何执行这些任务的建议都将不胜感激。有什么东西已经实现了吗?非常感谢。

EN

回答 2

Security用户

发布于 2017-06-29 12:15:28

试试Didier的PDF工具,它应该允许您通过CLI而不是GUI:https://blog.didierstevens.com/programs/pdf-tools/来完成这个任务。此外,迪迪埃在混淆方法上做了很多工作,所以他们应该帮助你处理大多数畸形的情况。

票数 1
EN

Security用户

发布于 2017-06-29 11:37:37

试着像声明的这里那样使用这些工具。

建议使用PDF流翻车机,因为这些工具仍在积极支持。github源提到了命令行支持。

代码语言:javascript
复制
PdfStreamDumper currently only supports one command line option which is /extract
    usage: pdfstreamdumper "c:\blah blah\bad.pdf" /extract "c:\some folder"
        When run in this mode, it will load the pdf file (interface visible) extract all of
        of the streams it could process without error to the folder specified and then exit.
    The folder need not exist, it will build the path to it if it can. The files will be 
    named stream_x.ext where ext is the relevant file type extension if it can be determined.
票数 0
EN
页面原文内容由Security提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://security.stackexchange.com/questions/163047

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档