Awesome
CYBERSEC 2023 BYOVD Demo
Description
This demo is a presentation at the CYBERSEC 2023 in Taiwan. The presentation showcases the abuse of RTCore64.sys (CVE-2019-16098) from MSI and the nullification of the DSE flag to load a malicious unsigned driver. The presentation also demonstrates an attack on 360 Total Security by nulling out its ObRegisterCallbacks, enabling the execution of any malicious behavior on the processes of 360 Total Security.
Info
- Topic: Dive Into Kernel: Malware and Drivers in Collaboration
- Session: https://cyber.ithome.com.tw/2023/session-page/1799
- Slide: https://drive.google.com/file/d/1_FMVevsESPkAfI8uUgz3N4Yso4yjest9/view?usp=sharing
- Demo Video: https://www.youtube.com/watch?v=dLEHRmdY33c
Environment
- Windows 10 1909
- Visual Studio 2017
- 360 Total Security 6.6.0.1060
Usage
- Install 360 Total Security 6.6.0.1060
- Put BYOVD.exe, Malicious.sys, and RTCore64.sys to the same directory.
- Execute BYOVD.exe with Administrator, and 360 Total Security is expected to be killed.
Note that since the DSE flag is not reset to the original value, and the callbacks is forcelly nullified, the system may not be stable.
Reference
- find DSE flag: https://github.com/hfiref0x/DSEFix
- abuse RTCore64.sys (CVE-2019-16098) and null out notify callbacks: https://github.com/br-sn/CheekyBlinder