基于抽象语法树转换的PowerShell混淆技术研究

Xiaomeng Xu, S. Liu, Pu Yu, Yuntian Zhao
{"title":"基于抽象语法树转换的PowerShell混淆技术研究","authors":"Xiaomeng Xu, S. Liu, Pu Yu, Yuntian Zhao","doi":"10.1109/ISCTIS51085.2021.00032","DOIUrl":null,"url":null,"abstract":"In recent years, PowerShell scripts can be easily obfuscated and widely used due to its usability and flexibility. However, anti-obfuscation tools such as PowerShellProfiler and CyberChef also developed rapidly. In order to improve the security of scripts, this paper proposes a PowerShell obfuscation technology based on abstract syntax tree transformation. Firstly, this technology performs the equivalent replacement of the grammatical structure in the script. In addition, it also changes the sequence of the child nodes of the abstract syntax tree. Finally,it obfuscates the PSToken in the script. Thus, this technology can make up for the defects of the traditional obfuscation technology, and hide the program logic better to improve the concealment of the script. The experimental results show that the use of this technology proposed in this paper can improve the strength of obfuscation over 82.7% on average, which is 16% higher than traditional obfuscation technology. Moreover, this method is more effective against anti-obfuscation tools.","PeriodicalId":403102,"journal":{"name":"2021 International Symposium on Computer Technology and Information Science (ISCTIS)","volume":"41 6","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Research on PowerShell Obfuscation Technology Based on Abstract Syntax Tree Transformation\",\"authors\":\"Xiaomeng Xu, S. Liu, Pu Yu, Yuntian Zhao\",\"doi\":\"10.1109/ISCTIS51085.2021.00032\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, PowerShell scripts can be easily obfuscated and widely used due to its usability and flexibility. However, anti-obfuscation tools such as PowerShellProfiler and CyberChef also developed rapidly. In order to improve the security of scripts, this paper proposes a PowerShell obfuscation technology based on abstract syntax tree transformation. Firstly, this technology performs the equivalent replacement of the grammatical structure in the script. In addition, it also changes the sequence of the child nodes of the abstract syntax tree. Finally,it obfuscates the PSToken in the script. Thus, this technology can make up for the defects of the traditional obfuscation technology, and hide the program logic better to improve the concealment of the script. The experimental results show that the use of this technology proposed in this paper can improve the strength of obfuscation over 82.7% on average, which is 16% higher than traditional obfuscation technology. Moreover, this method is more effective against anti-obfuscation tools.\",\"PeriodicalId\":403102,\"journal\":{\"name\":\"2021 International Symposium on Computer Technology and Information Science (ISCTIS)\",\"volume\":\"41 6\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 International Symposium on Computer Technology and Information Science (ISCTIS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISCTIS51085.2021.00032\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Symposium on Computer Technology and Information Science (ISCTIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISCTIS51085.2021.00032","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

近年来,由于PowerShell脚本的可用性和灵活性,它很容易混淆并被广泛使用。然而,像PowerShellProfiler和CyberChef这样的反混淆工具也发展迅速。为了提高脚本的安全性,本文提出了一种基于抽象语法树转换的PowerShell混淆技术。首先,该技术对脚本中的语法结构进行等效替换。此外,它还更改抽象语法树的子节点的顺序。最后,它混淆了脚本中的PSToken。因此,该技术可以弥补传统混淆技术的缺陷,更好地隐藏程序逻辑,提高脚本的隐蔽性。实验结果表明,采用本文提出的技术可使模糊强度平均提高82.7%以上,比传统的模糊技术提高16%。此外,该方法对反混淆工具更有效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Research on PowerShell Obfuscation Technology Based on Abstract Syntax Tree Transformation
In recent years, PowerShell scripts can be easily obfuscated and widely used due to its usability and flexibility. However, anti-obfuscation tools such as PowerShellProfiler and CyberChef also developed rapidly. In order to improve the security of scripts, this paper proposes a PowerShell obfuscation technology based on abstract syntax tree transformation. Firstly, this technology performs the equivalent replacement of the grammatical structure in the script. In addition, it also changes the sequence of the child nodes of the abstract syntax tree. Finally,it obfuscates the PSToken in the script. Thus, this technology can make up for the defects of the traditional obfuscation technology, and hide the program logic better to improve the concealment of the script. The experimental results show that the use of this technology proposed in this paper can improve the strength of obfuscation over 82.7% on average, which is 16% higher than traditional obfuscation technology. Moreover, this method is more effective against anti-obfuscation tools.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信