├── Gigabyte_CI ├── Gigabyte_CI │ ├── stdafx.h │ ├── stdafx.cpp │ ├── targetver.h │ ├── Gigabyte_CI.cpp │ ├── Gigabyte_CI.vcxproj.user │ ├── Gigabyte_CI.vcxproj.filters │ └── Gigabyte_CI.vcxproj └── Gigabyte_CI.sln └── README.md /Gigabyte_CI/Gigabyte_CI/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASkyeye/CVE-2018-19320/HEAD/Gigabyte_CI/Gigabyte_CI/stdafx.h -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASkyeye/CVE-2018-19320/HEAD/Gigabyte_CI/Gigabyte_CI/stdafx.cpp -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASkyeye/CVE-2018-19320/HEAD/Gigabyte_CI/Gigabyte_CI/targetver.h -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/Gigabyte_CI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASkyeye/CVE-2018-19320/HEAD/Gigabyte_CI/Gigabyte_CI/Gigabyte_CI.cpp -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/Gigabyte_CI.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CVE-2018-19320 2 | 3 | Exploiting ring0 memcpy-like functionality to disable Driver Signing Enforcement (DSE) as documented here: http://deniable.org/windows/windows-callbacks 4 | 5 | ### References 6 | 7 | - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-19320 8 | - https://www.secureauth.com/labs/advisories/gigabyte-drivers-elevation-privilege-vulnerabilities 9 | -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/Gigabyte_CI.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;hh;hpp;hxx;hm;inl;inc;ipp;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 | Header Files 20 | 21 | 22 | Header Files 23 | 24 | 25 | 26 | 27 | Source Files 28 | 29 | 30 | Source Files 31 | 32 | 33 | -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2037 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Gigabyte_CI", "Gigabyte_CI\Gigabyte_CI.vcxproj", "{C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Debug|x64.ActiveCfg = Debug|x64 17 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Debug|x64.Build.0 = Debug|x64 18 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Debug|x86.ActiveCfg = Debug|Win32 19 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Debug|x86.Build.0 = Debug|Win32 20 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Release|x64.ActiveCfg = Release|x64 21 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Release|x64.Build.0 = Release|x64 22 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Release|x86.ActiveCfg = Release|Win32 23 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {21F043AA-C407-411A-8D12-4355220FFE1E} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Gigabyte_CI/Gigabyte_CI/Gigabyte_CI.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 15.0 23 | {C34FEF43-D508-4A30-8F51-7E5FD0A3BE96} 24 | Win32Proj 25 | GigabyteCI 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Use 88 | Level3 89 | Disabled 90 | true 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | MultiThreadedDebug 94 | 95 | 96 | Console 97 | true 98 | 99 | 100 | 101 | 102 | Use 103 | Level3 104 | Disabled 105 | true 106 | _CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 107 | true 108 | MultiThreadedDebug 109 | 110 | 111 | Console 112 | true 113 | 114 | 115 | copy $(TargetPath) c:\users\rui\desktop\kd-transfer\ 116 | 117 | 118 | 119 | 120 | Use 121 | Level3 122 | MaxSpeed 123 | true 124 | true 125 | true 126 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 127 | true 128 | MultiThreaded 129 | 130 | 131 | Console 132 | true 133 | true 134 | true 135 | 136 | 137 | 138 | 139 | Use 140 | Level3 141 | MaxSpeed 142 | true 143 | true 144 | true 145 | _CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 146 | true 147 | MultiThreaded 148 | 149 | 150 | Console 151 | true 152 | true 153 | true 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | Create 164 | Create 165 | Create 166 | Create 167 | 168 | 169 | 170 | 171 | 172 | --------------------------------------------------------------------------------