Skip to content

BatchClayderman/GooseBt

Repository files navigation

GooseBt

Developing GooseBt Malware Detection Framework (Anti-virus Framework)

Scheduled -> Developing -> Testing -> Release

Win DOS

Release

This is a folder, which should be hidden. The folder provides script tools written in Batch and VBS language. When one is in Windows PE, safety mode, or extreme limitation mode including no drivers or services that could be installed or started, the tools could do a favor.

Win DOS should be in release folder instead of the project folder or code folder. For more about Win DOS, as well as its Linux version, please see https://github.com/BatchClayderman/Win-Linux-DOS.

AntiVirusMon.exe

Scheduled

A console application to test the loading of DLL file. Currently, it has nothing to do since GooseBtDll.dll has nothing to do.

CfgDynamic.cfg

Release

The dynamic config file. An example is shown as follows.

void OnDelete(GObject object) // File deletion detected
{
	if (object.source.imagename == "rd.exe")
	{
		if (object.target.dirpath == "C:\\Windows\\system32")
		{
			object.options = '2';
			object.flags = FLAGS_NO_WARNINGS | FLAGS_FAILED_ERRORSCREEN;
		}
		else
		{
			object.options = '0';
			object.flags = FLAGS_NO_ALERTS | FLAGS_SECURE_PROCESS;
		}
	}
	else
	{
		object.options = 'Q';
		object.flags = FLAGS_NORMAL;
	}
	return;
}

CfgStatic.cfg

Release

The static config file. An example is shown as follows.

"\\??\\C:\\Windows\\system32\\\*": 
{
	"create": '1', 
	"read": '0', 
	"write": '1', 
	"delete": '2', 
	"rename": '1', 
	"exec": '0', 
	"flags": '0', 
}

ClickProgram.exe

Scheduled

A GUI written by C#. This is used for automatic clicking and Bad HID testing.

DriverLoader.exe

Release

A console application to install and start GooseBt drivers at first but extended to a driver manager currently. Administrator permission is required. Commandline mode is supported. A tool written by others would be started if no options are in the commandline.

GooseBtDll.dll

Scheduled

A DLL file to help run the dynamic codes in different Windows environment. Currently, it has nothing to do.

GooseBtMain.exe

Developing

An MFC application to provide the main window.

GooseBtMonitor.exe

Testing

A console application to check out whether GooseBt itself is running actively and normally.

GooseBtSVC.exe

Release

A service to help run the GooseBt. It would create a log in its directory.

GooseBtTray.exe

Developing

An MFC application to show the tray and action.

GooseBtUpdate.exe

Testing

A console application to update the whole GooseBt solution. However, it remains problems that replacing an opening files would be failed.

KMDFFile.sys

Scheduled

A kernel driver to monitor files' action.

KMDFFileProtector.sys

Testing

A kernel driver to protect files from being deleted. Currently, Just merely open targets in kernel, which makes it impossible to read, write, execute targets as well.

KMDFKeyboard.sys

Scheduled

A kernel driver to monitor keyboard.

KMDFProcessProtector.sys

Release

A kernel driver to protect processes. Note that ZwTerminateProcess.sys can defeat this protection.

KMDFPTM.sys

Release

A kernel driver to monitor the creation and deletion of processes, threads, and modules.

KMDFReg.sys

Scheduled

A kernel driver to monitor Registry.

KMDFSerial.sys

Release

A kernel driver to monitor data flows among serials.

NTNoDriverLoad.sys

Developing

A kernel driver to prevent drivers from being loading. The driver also hides other GooseBt drivers when it launches.

NTNoFileCreate.sys

Developing

A kernel driver to prevent files from being created.

NTNoProcessCreate.sys

Release

A kernel driver to forbid creating a new process. Module loading prevention is also included.

Scanner.exe

Release

A console application to simply scan file on the disk, merely a second-generation anti-virus software scanner, but without any database. Currently, it could only trigger scaning by third-party antivirus engines. Comparing a specified file with an known virus file is supported. Both commandline mode and interactive mode are supported.

SVCLauncher.exe

Testing

A console application to install and start GooseBt service. The creation and starting are not stable still. Administrator permission is required. Only commandline mode is supported.

wmif.exe

Release

A console application to manage file. Only commandline mode is supported.

wmip.exe

Release

A console application to manage process. Both commandline mode and interactive mode are supported.

wmir.exe

Release

A console application to manage registry. Only commandline mode is supported. Only kernel operation is provided.

ZwDeleteFile.sys

Release

A kernel driver to delete file forcibly in kernel mode. Removing occupied files is supported. Removing those under kernel protection is not supported still. Forcibly removing directory is not supported.

ZwOpReg.sys

Release

A kernel driver to operate the Registry in kernel mode.

ZwTerminateProcess.sys

Release

A kernel driver to terminate process by two kernel methods. Terminating anti-virus software processes that own self-protection is available on x64. Termination on x86 has not been tested. For x86, Micropoint Proactive Defense Software and PC Hunter Standard 32 are strongly recommended.

About

Developing GooseBt Malware Detection Framework (Anti-virus Framework)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published