├── dbg_flash_vul_2.0
├── dbg_flash_vul.v11.suo
├── dbg_flash_vul
│ ├── dbg_flash_vul.aps
│ ├── dbg_flash_vul.vcxproj.user
│ ├── dbg_flash_vul.def
│ ├── stdafx.cpp
│ ├── targetver.h
│ ├── resource.h
│ ├── dllmain.cpp
│ ├── stdafx.h
│ ├── dbg_flash_vul.vcxproj.filters
│ ├── ReadMe.txt
│ ├── dbg_flash_vul.vcxproj
│ └── dbg_flash_vul.cpp
└── dbg_flash_vul.sln
├── Discover Flash Player Zero-day attacks in the wild from big data.pptx
└── README.md
/dbg_flash_vul_2.0/dbg_flash_vul.v11.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blaquee/DbgFlashVul/HEAD/dbg_flash_vul_2.0/dbg_flash_vul.v11.suo
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blaquee/DbgFlashVul/HEAD/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.aps
--------------------------------------------------------------------------------
/Discover Flash Player Zero-day attacks in the wild from big data.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blaquee/DbgFlashVul/HEAD/Discover Flash Player Zero-day attacks in the wild from big data.pptx
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # FED
2 | DbgFlashVul
3 |
4 | A extension of Windbg, help to debug flash samples
5 |
6 | You need to insall VS2012 redist first.
7 |
8 | It is a tool for researchers not for users. May has some bugs in it.
9 |
10 | Detail information is in the PPT file.
11 |
12 | Wrote by @heisecode
13 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.def:
--------------------------------------------------------------------------------
1 | LIBRARY "DbgFlashVul.DLL"
2 |
3 | EXPORTS
4 | WinDbgExtensionDllInit
5 | ExtensionApiVersion
6 | SetBaseAddress
7 | SetBpForJitCode
8 | EnableTraceJit
9 | EnableTraceJitEx
10 | SetIdBpForJitCode
11 | HandleHookId
12 | HandleHookName
13 | help
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // my_windbg_ext.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by my_windbg_ext.rc
4 |
5 | // Next default values for new objects
6 | //
7 | #ifdef APSTUDIO_INVOKED
8 | #ifndef APSTUDIO_READONLY_SYMBOLS
9 | #define _APS_NEXT_RESOURCE_VALUE 101
10 | #define _APS_NEXT_COMMAND_VALUE 40001
11 | #define _APS_NEXT_CONTROL_VALUE 1001
12 | #define _APS_NEXT_SYMED_VALUE 101
13 | #endif
14 | #endif
15 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dllmain.cpp:
--------------------------------------------------------------------------------
1 | // dllmain.cpp : Defines the entry point for the DLL application.
2 | #include "stdafx.h"
3 |
4 | BOOL APIENTRY DllMain( HMODULE hModule,
5 | DWORD ul_reason_for_call,
6 | LPVOID lpReserved
7 | )
8 | {
9 | switch (ul_reason_for_call)
10 | {
11 | case DLL_PROCESS_ATTACH:
12 | case DLL_THREAD_ATTACH:
13 | case DLL_THREAD_DETACH:
14 | case DLL_PROCESS_DETACH:
15 | break;
16 | }
17 | return TRUE;
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11 | // Windows Header Files:
12 | #include
13 |
14 |
15 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
16 |
17 | #include
18 | #include
19 |
20 | // TODO: reference additional headers your program requires here
21 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2012
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dbg_flash_vul", "dbg_flash_vul\dbg_flash_vul.vcxproj", "{87965BB5-0C72-48C8-9848-763919DD025D}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Release|Win32 = Release|Win32
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {87965BB5-0C72-48C8-9848-763919DD025D}.Debug|Win32.ActiveCfg = Debug|Win32
13 | {87965BB5-0C72-48C8-9848-763919DD025D}.Debug|Win32.Build.0 = Debug|Win32
14 | {87965BB5-0C72-48C8-9848-763919DD025D}.Release|Win32.ActiveCfg = Release|Win32
15 | {87965BB5-0C72-48C8-9848-763919DD025D}.Release|Win32.Build.0 = Release|Win32
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Header Files
23 |
24 |
25 | Header Files
26 |
27 |
28 | Header Files
29 |
30 |
31 |
32 |
33 | Source Files
34 |
35 |
36 | Source Files
37 |
38 |
39 | Source Files
40 |
41 |
42 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | DYNAMIC LINK LIBRARY : my_windbg_ext Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this my_windbg_ext DLL for you.
6 |
7 | This file contains a summary of what you will find in each of the files that
8 | make up your my_windbg_ext application.
9 |
10 |
11 | my_windbg_ext.vcxproj
12 | This is the main project file for VC++ projects generated using an Application Wizard.
13 | It contains information about the version of Visual C++ that generated the file, and
14 | information about the platforms, configurations, and project features selected with the
15 | Application Wizard.
16 |
17 | my_windbg_ext.vcxproj.filters
18 | This is the filters file for VC++ projects generated using an Application Wizard.
19 | It contains information about the association between the files in your project
20 | and the filters. This association is used in the IDE to show grouping of files with
21 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
22 | "Source Files" filter).
23 |
24 | my_windbg_ext.cpp
25 | This is the main DLL source file.
26 |
27 | When created, this DLL does not export any symbols. As a result, it
28 | will not produce a .lib file when it is built. If you wish this project
29 | to be a project dependency of some other project, you will either need to
30 | add code to export some symbols from the DLL so that an export library
31 | will be produced, or you can set the Ignore Input Library property to Yes
32 | on the General propert page of the Linker folder in the project's Property
33 | Pages dialog box.
34 |
35 | /////////////////////////////////////////////////////////////////////////////
36 | Other standard files:
37 |
38 | StdAfx.h, StdAfx.cpp
39 | These files are used to build a precompiled header (PCH) file
40 | named my_windbg_ext.pch and a precompiled types file named StdAfx.obj.
41 |
42 | /////////////////////////////////////////////////////////////////////////////
43 | Other notes:
44 |
45 | AppWizard uses "TODO:" comments to indicate parts of the source code you
46 | should add to or customize.
47 |
48 | /////////////////////////////////////////////////////////////////////////////
49 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 |
14 | {87965BB5-0C72-48C8-9848-763919DD025D}
15 | Win32Proj
16 | dbg_flash_vul
17 | DbgFlashVul
18 |
19 |
20 |
21 | DynamicLibrary
22 | true
23 | v110
24 | Unicode
25 | Static
26 |
27 |
28 | DynamicLibrary
29 | false
30 | v110
31 | true
32 | Unicode
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | true
46 |
47 |
48 | false
49 |
50 |
51 |
52 | Use
53 | Level3
54 | Disabled
55 | WIN32;_DEBUG;_WINDOWS;_USRDLL;dbg_flash_vul_EXPORTS;%(PreprocessorDefinitions)
56 | true
57 |
58 |
59 | Windows
60 | true
61 |
62 |
63 |
64 |
65 | Level3
66 | Use
67 | MaxSpeed
68 | true
69 | true
70 | WIN32;NDEBUG;_WINDOWS;_USRDLL;dbg_flash_vul_EXPORTS;%(PreprocessorDefinitions)
71 | true
72 |
73 |
74 | Windows
75 | true
76 | true
77 | true
78 | dbg_flash_vul.def
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 | false
95 |
96 |
97 |
98 |
99 |
100 | Create
101 | Create
102 |
103 |
104 |
105 |
106 |
107 |
--------------------------------------------------------------------------------
/dbg_flash_vul_2.0/dbg_flash_vul/dbg_flash_vul.cpp:
--------------------------------------------------------------------------------
1 | //// my_windbg_ext.cpp : Defines the exported functions for the DLL application.
2 | ////
3 | //
4 | #include "stdafx.h"
5 | //
6 | #include
7 | #pragma comment (lib ,"dbgeng.lib")
8 |
9 | #include
10 | #include
11 | #include