-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
brucewayne
committed
Sep 3, 2020
1 parent
f39043b
commit 1f0f99f
Showing
21 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pch.cpp | ||
dllmain.cpp | ||
x:\evtmute\evtmutehook\dllmain.cpp(170): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. | ||
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf' | ||
x:\evtmute\evtmutehook\dllmain.cpp(175): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. | ||
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf' | ||
x:\evtmute\evtmutehook\dllmain.cpp(183): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. | ||
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf' | ||
x:\evtmute\evtmutehook\dllmain.cpp(221): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. | ||
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf' | ||
x:\evtmute\evtmutehook\dllmain.cpp(263): warning C4101: 'oldProtect': unreferenced local variable | ||
x:\evtmute\evtmutehook\dllmain.cpp(260): warning C4101: 'cStringBuffer': unreferenced local variable | ||
x:\evtmute\evtmutehook\dllmain.cpp(263): warning C4101: 'oldOldProtect': unreferenced local variable | ||
x:\evtmute\evtmutehook\dllmain.cpp(362): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. | ||
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf' |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
EvtMute/EvtMuteHook/x64/Debug/EvtMuteHook.tlog/EvtMuteHook.lastbuildstate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0 | ||
Debug|x64|X:\EvtMute\| |
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
SharpEvtMute/.vs/SharpEvtMute/v15/Server/sqlite3/storage.ide-shm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rule Block_Image { | ||
meta: | ||
author = "@_batsec_" | ||
description = "Prevent an image from appering in any event logs" | ||
strings: | ||
$imagename = "hideme.exe" | ||
condition: | ||
$imagename | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
rule Block_Logon { | ||
meta: | ||
author = "@_batsec_" | ||
description = "Prevent a users logon being reported" | ||
strings: | ||
$provider = "Microsoft-Windows-Security-Auditing" | ||
$username = "backdoor" | ||
$logon1 = "LogonType" | ||
$logon2 = "TargetLogonId" | ||
condition: | ||
$provider and $username and $logon* | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
rule Block_Lsass_Dump { | ||
meta: | ||
author = "@_batsec_" | ||
description = "Prevent lsass dumping being reported by sysmon" | ||
strings: | ||
$provider = "Microsoft-Windows-Sysmon" | ||
$image = "lsass.exe" nocase | ||
$access = "GrantedAccess" | ||
$type = "0x1fffff" | ||
condition: | ||
all of them | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rule Block_All_Sysmon_Events { | ||
meta: | ||
author = "@_batsec_" | ||
description = "Prevent all sysmon events from being reported" | ||
strings: | ||
$provider = "Microsoft-Windows-Sysmon" | ||
condition: | ||
$provider | ||
} |