#include "tokenp.h"
#include "adt.h"
#include "adtp.h"
#include <sertlp.h>
Go to the source code of this file.
Defines | |
#define | INVALID_OBJECT_TYPE_LIST_INDEX 0xFFFFFFFF |
Functions | |
VOID | SepProbeAndCaptureString_U (IN PUNICODE_STRING SourceString, OUT PUNICODE_STRING *DestString) |
VOID | SepFreeCapturedString (IN PUNICODE_STRING CapturedString) |
VOID | SepAuditTypeList (IN PIOBJECT_TYPE_LIST ObjectTypeList, IN ULONG ObjectTypeListLength, IN PNTSTATUS AccessStatus, IN ULONG StartIndex, OUT PBOOLEAN GenerateSuccessAudit, OUT PBOOLEAN GenerateFailureAudit) |
VOID | SepExamineSaclEx (IN PACL Sacl, IN PACCESS_TOKEN Token, IN ACCESS_MASK DesiredAccess, IN PIOBJECT_TYPE_LIST ObjectTypeList OPTIONAL, IN ULONG ObjectTypeListLength, IN BOOLEAN ReturnResultList, IN PNTSTATUS AccessStatus, IN PACCESS_MASK GrantedAccess, OUT PBOOLEAN GenerateSuccessAudit, OUT PBOOLEAN GenerateFailureAudit) |
NTSTATUS | SepAccessCheckAndAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN PHANDLE ClientToken OPTIONAL, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSID PrincipalSelfSid, IN ACCESS_MASK DesiredAccess, IN AUDIT_EVENT_TYPE AuditType, IN ULONG Flags, IN POBJECT_TYPE_LIST ObjectTypeList OPTIONAL, IN ULONG ObjectTypeListLength, IN PGENERIC_MAPPING GenericMapping, IN BOOLEAN ObjectCreation, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus, OUT PBOOLEAN GenerateOnClose, IN BOOLEAN ReturnResultList) |
BOOLEAN | SepSinglePrivilegeCheck (LUID DesiredPrivilege, IN PACCESS_TOKEN Token, IN KPROCESSOR_MODE PreviousMode) |
BOOLEAN | SeCheckAuditPrivilege (IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN KPROCESSOR_MODE PreviousMode) |
NTSTATUS | NtPrivilegeObjectAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN HANDLE ClientToken, IN ACCESS_MASK DesiredAccess, IN PPRIVILEGE_SET Privileges, IN BOOLEAN AccessGranted) |
VOID | SePrivilegeObjectAuditAlarm (IN HANDLE Handle, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN ACCESS_MASK DesiredAccess, IN PPRIVILEGE_SET Privileges, IN BOOLEAN AccessGranted, IN KPROCESSOR_MODE AccessMode) |
NTSTATUS | NtPrivilegedServiceAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PUNICODE_STRING ServiceName, IN HANDLE ClientToken, IN PPRIVILEGE_SET Privileges, IN BOOLEAN AccessGranted) |
VOID | SePrivilegedServiceAuditAlarm (IN PUNICODE_STRING ServiceName, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN PPRIVILEGE_SET Privileges, IN BOOLEAN AccessGranted) |
NTSTATUS | NtAccessCheckAndAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN ACCESS_MASK DesiredAccess, IN PGENERIC_MAPPING GenericMapping, IN BOOLEAN ObjectCreation, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus, OUT PBOOLEAN GenerateOnClose) |
NTSTATUS | NtAccessCheckByTypeAndAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSID PrincipalSelfSid, IN ACCESS_MASK DesiredAccess, IN AUDIT_EVENT_TYPE AuditType, IN ULONG Flags, IN POBJECT_TYPE_LIST ObjectTypeList OPTIONAL, IN ULONG ObjectTypeListLength, IN PGENERIC_MAPPING GenericMapping, IN BOOLEAN ObjectCreation, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus, OUT PBOOLEAN GenerateOnClose) |
NTSTATUS | NtAccessCheckByTypeResultListAndAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSID PrincipalSelfSid, IN ACCESS_MASK DesiredAccess, IN AUDIT_EVENT_TYPE AuditType, IN ULONG Flags, IN POBJECT_TYPE_LIST ObjectTypeList OPTIONAL, IN ULONG ObjectTypeListLength, IN PGENERIC_MAPPING GenericMapping, IN BOOLEAN ObjectCreation, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus, OUT PBOOLEAN GenerateOnClose) |
NTSTATUS | NtAccessCheckByTypeResultListAndAuditAlarmByHandle (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN HANDLE ClientToken, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSID PrincipalSelfSid, IN ACCESS_MASK DesiredAccess, IN AUDIT_EVENT_TYPE AuditType, IN ULONG Flags, IN POBJECT_TYPE_LIST ObjectTypeList OPTIONAL, IN ULONG ObjectTypeListLength, IN PGENERIC_MAPPING GenericMapping, IN BOOLEAN ObjectCreation, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus, OUT PBOOLEAN GenerateOnClose) |
NTSTATUS | NtOpenObjectAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId OPTIONAL, IN PUNICODE_STRING ObjectTypeName, IN PUNICODE_STRING ObjectName, IN PSECURITY_DESCRIPTOR SecurityDescriptor OPTIONAL, IN HANDLE ClientToken, IN ACCESS_MASK DesiredAccess, IN ACCESS_MASK GrantedAccess, IN PPRIVILEGE_SET Privileges OPTIONAL, IN BOOLEAN ObjectCreation, IN BOOLEAN AccessGranted, OUT PBOOLEAN GenerateOnClose) |
NTSTATUS | NtCloseObjectAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN BOOLEAN GenerateOnClose) |
NTSTATUS | NtDeleteObjectAuditAlarm (IN PUNICODE_STRING SubsystemName, IN PVOID HandleId, IN BOOLEAN GenerateOnClose) |
VOID | SeOpenObjectAuditAlarm (IN PUNICODE_STRING ObjectTypeName, IN PVOID Object OPTIONAL, IN PUNICODE_STRING AbsoluteObjectName OPTIONAL, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PACCESS_STATE AccessState, IN BOOLEAN ObjectCreated, IN BOOLEAN AccessGranted, IN KPROCESSOR_MODE AccessMode, OUT PBOOLEAN GenerateOnClose) |
VOID | SeOpenObjectForDeleteAuditAlarm (IN PUNICODE_STRING ObjectTypeName, IN PVOID Object OPTIONAL, IN PUNICODE_STRING AbsoluteObjectName OPTIONAL, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PACCESS_STATE AccessState, IN BOOLEAN ObjectCreated, IN BOOLEAN AccessGranted, IN KPROCESSOR_MODE AccessMode, OUT PBOOLEAN GenerateOnClose) |
VOID | SeTraverseAuditAlarm (IN PLUID OperationID, IN PVOID DirectoryObject, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN BOOLEAN SubjectContextLocked, IN ACCESS_MASK TraverseAccess, IN PPRIVILEGE_SET Privileges OPTIONAL, IN BOOLEAN AccessGranted, IN KPROCESSOR_MODE AccessMode) |
VOID | SeCreateObjectAuditAlarm (IN PLUID OperationID OPTIONAL, IN PVOID DirectoryObject, IN PUNICODE_STRING ComponentName, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN ACCESS_MASK DesiredAccess, IN PPRIVILEGE_SET Privileges OPTIONAL, IN BOOLEAN AccessGranted, OUT PBOOLEAN AuditPerformed, IN KPROCESSOR_MODE AccessMode) |
VOID | SeObjectReferenceAuditAlarm (IN PLUID OperationID OPTIONAL, IN PVOID Object, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, IN ACCESS_MASK DesiredAccess, IN PPRIVILEGE_SET Privileges OPTIONAL, IN BOOLEAN AccessGranted, IN KPROCESSOR_MODE AccessMode) |
VOID | SeAuditHandleCreation (IN PACCESS_STATE AccessState, IN HANDLE Handle) |
VOID | SeCloseObjectAuditAlarm (IN PVOID Object, IN HANDLE Handle, IN BOOLEAN GenerateOnClose) |
VOID | SeDeleteObjectAuditAlarm (IN PVOID Object, IN HANDLE Handle) |
VOID | SepExamineSacl (IN PACL Sacl, IN PACCESS_TOKEN Token, IN ACCESS_MASK DesiredAccess, IN BOOLEAN AccessGranted, OUT PBOOLEAN GenerateAudit, OUT PBOOLEAN GenerateAlarm) |
VOID | SepSetAuditInfoForObjectType (IN UCHAR AceFlags, IN ACCESS_MASK AccessMask, IN ACCESS_MASK DesiredAccess, IN PIOBJECT_TYPE_LIST ObjectTypeList, IN ULONG ObjectTypeListLength, IN BOOLEAN ReturnResultList, IN ULONG ObjectTypeIndex, IN PNTSTATUS AccessStatus, IN PACCESS_MASK GrantedAccess, IN BOOLEAN FailedMaximumAllowed, OUT PBOOLEAN GenerateSuccessAudit, OUT PBOOLEAN GenerateFailureAudit) |
BOOLEAN | SepInitializePrivilegeFilter (BOOLEAN Verbose) |
BOOLEAN | SepFilterPrivilegeAudits (IN PPRIVILEGE_SET PrivilegeSet) |
BOOLEAN | SeAuditingFileOrGlobalEvents (IN BOOLEAN AccessGranted, IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext) |
BOOLEAN | SeAuditingFileEvents (IN BOOLEAN AccessGranted, IN PSECURITY_DESCRIPTOR SecurityDescriptor) |
Variables | |
BOOLEAN | SepAuditShutdownEvents = FALSE |
PLUID * | SepFilterPrivileges = NULL |
PLUID | SepFilterPrivilegesLong [] |
PLUID | SepFilterPrivilegesShort [] |
|
Referenced by SepExamineSaclEx(). |
|
Definition at line 1820 of file seaudit.c. References FALSE, NULL, PAGED_CODE, and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 1879 of file seaudit.c. References FALSE, NULL, PAGED_CODE, and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 1943 of file seaudit.c. References NULL, PAGED_CODE, SepAccessCheckAndAuditAlarm(), and TRUE.
|
|
Definition at line 2007 of file seaudit.c. References ClientToken, PAGED_CODE, SepAccessCheckAndAuditAlarm(), and TRUE.
|
|
Definition at line 2492 of file seaudit.c. References ASSERT, EffectiveToken, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, RtlCopySid(), SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SeLengthSid, SepAdtCloseObjectAuditAlarm(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SepTokenAuthenticationId, SepTokenUserSid, SeReleaseSubjectContext(), and Status.
|
|
Definition at line 2627 of file seaudit.c. References ASSERT, EffectiveToken, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, RtlCopySid(), SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SeLengthSid, SepAdtDeleteObjectAuditAlarm(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SepTokenAuthenticationId, SepTokenUserSid, SeReleaseSubjectContext(), and Status.
|
|
Definition at line 2072 of file seaudit.c. References ANYSIZE_ARRAY, ASSERT, ClientToken, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, IsValidElementCount, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, _SECURITY_SUBJECT_CONTEXT::PrimaryToken, ProbeForRead, ProbeForWriteBoolean, PsGetCurrentProcess, PsProcessAuditId, PTOKEN, SeCaptureSecurityDescriptor(), SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SepAdtAuditThisEvent, SepAdtOpenObjectAuditAlarm(), SepAdtPrivilegeObjectAuditAlarm(), SepExamineSacl(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SepTokenObjectType, SeReleaseSecurityDescriptor(), SeReleaseSubjectContext(), Status, Token, and TRUE.
|
|
Definition at line 731 of file seaudit.c. References ANYSIZE_ARRAY, ASSERT, ClientToken, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), IsValidElementCount, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, _SECURITY_SUBJECT_CONTEXT::PrimaryToken, ProbeForRead, PTOKEN, SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SepAdtPrivilegedServiceAuditAlarm(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SepTokenObjectType, SeReleaseSubjectContext(), Status, and Token.
|
|
Definition at line 406 of file seaudit.c. References ANYSIZE_ARRAY, ASSERT, ClientToken, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), IsValidElementCount, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, _SECURITY_SUBJECT_CONTEXT::PrimaryToken, ProbeForRead, _SECURITY_SUBJECT_CONTEXT::ProcessAuditId, PTOKEN, SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SepAdtPrivilegeObjectAuditAlarm(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SepTokenObjectType, SeReleaseSubjectContext(), Status, and Token. Referenced by IsPrivileged().
|
|
Definition at line 3736 of file seaudit.c. References FALSE, Handle, NULL, PAGED_CODE, _AUX_ACCESS_DATA::PrivilegesUsed, PsGetCurrentProcessId(), PTOKEN, SepAdtOpenObjectAuditAlarm(), SepAdtPrivilegeObjectAuditAlarm(), SeSubsystemName, and TRUE. Referenced by NtDuplicateObject(), and ObpCreateHandle().
|
|
Definition at line 4693 of file seaudit.c. References PAGED_CODE, and SepAdtAuditThisEvent.
|
|
Definition at line 4648 of file seaudit.c. References EffectiveToken, FALSE, NULL, PAGED_CODE, PTOKEN, SepAdtAuditThisEvent, and TRUE.
|
|
Definition at line 199 of file seaudit.c. References KernelMode, NULL, PAGED_CODE, SeAuditPrivilege, SepPrivilegeCheck(), and SePrivilegedServiceAuditAlarm(). Referenced by NtCloseObjectAuditAlarm(), NtDeleteObjectAuditAlarm(), NtOpenObjectAuditAlarm(), NtPrivilegedServiceAuditAlarm(), NtPrivilegeObjectAuditAlarm(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 3826 of file seaudit.c. References EffectiveToken, Handle, NTSTATUS(), PAGED_CODE, SeCaptureSubjectContext(), SepAdtCloseObjectAuditAlarm(), SepTokenAuthenticationId, SepTokenUserSid, SeReleaseSubjectContext(), SeSubsystemName, and Status. Referenced by NtClose().
|
|
Definition at line 3538 of file seaudit.c. References DirectoryName, EffectiveToken, ExFreePool(), FALSE, KernelMode, NULL, PAGED_CODE, SepAdtAuditThisEvent, SepAdtCreateObjectAuditAlarm(), SepExamineSacl(), SepQueryNameString(), SepTokenAuthenticationId, SepTokenUserSid, and TRUE. Referenced by CmpCheckCreateAccess(), and ObCheckCreateObjectAccess().
|
|
Definition at line 3892 of file seaudit.c. References EffectiveToken, Handle, NTSTATUS(), PAGED_CODE, SeCaptureSubjectContext(), SepAdtDeleteObjectAuditAlarm(), SepTokenAuthenticationId, SepTokenUserSid, SeReleaseSubjectContext(), SeSubsystemName, and Status. Referenced by NtDeleteKey(), and NtMakeTemporaryObject().
|
|
Definition at line 3660 of file seaudit.c. References EffectiveToken, FALSE, KernelMode, NULL, PAGED_CODE, SepAdtAuditThisEvent, SepAdtObjectReferenceAuditAlarm(), and SepExamineSacl(). Referenced by ObpCheckObjectReference().
|
|
Definition at line 2765 of file seaudit.c. References EffectiveToken, ExAllocatePool, ExFreePool(), FALSE, _AUX_ACCESS_DATA::GenericMapping, KernelMode, NULL, PAGED_CODE, PagedPool, _AUX_ACCESS_DATA::PrivilegesUsed, PTOKEN, RtlCopyUnicodeString(), RtlMapGenericMask(), SepAdtAuditThisEvent, SepAdtOpenObjectAuditAlarm(), SepExamineSacl(), SepFilterPrivilegeAudits(), SepQueryNameString(), SepQueryTypeString(), SeSubsystemName, Token, and TRUE. Referenced by IopParseDevice(), and ObCheckObjectAccess().
|
|
Definition at line 3085 of file seaudit.c. References EffectiveToken, ExAllocatePool, ExFreePool(), FALSE, _AUX_ACCESS_DATA::GenericMapping, KernelMode, NULL, PAGED_CODE, PagedPool, _AUX_ACCESS_DATA::PrivilegesUsed, PTOKEN, RtlCopyUnicodeString(), RtlMapGenericMask(), SepAdtAuditThisEvent, SepAdtOpenObjectAuditAlarm(), SepAdtOpenObjectForDeleteAuditAlarm(), SepExamineSacl(), SepFilterPrivilegeAudits(), SepQueryNameString(), SepQueryTypeString(), SeSubsystemName, Token, and TRUE.
|
|
Definition at line 1050 of file seaudit.c. References ASSERT, _SECURITY_SUBJECT_CONTEXT::ClientToken, ClientToken, EffectiveToken, ExAllocateLocallyUniqueId, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, _SECURITY_SUBJECT_CONTEXT::ImpersonationLevel, IsValidElementCount, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, _SECURITY_SUBJECT_CONTEXT::PrimaryToken, ProbeForRead, ProbeForWrite(), ProbeForWriteBoolean, ProbeForWriteUlong, PsGetCurrentProcess, PsProcessAuditId, PTOKEN, SeCaptureObjectTypeList(), SeCaptureSecurityDescriptor(), SeCaptureSid(), SeCaptureSubjectContext(), SeCheckAuditPrivilege(), SeFreeCapturedObjectTypeList(), SeLockSubjectContext(), SepAccessCheck(), SepAdtAuditThisEvent, SepAdtAuditThisEventEx, SepAdtOpenObjectAuditAlarm(), SepAdtPrivilegeObjectAuditAlarm(), SepExamineSaclEx(), SepFreeCapturedString(), SepProbeAndCaptureString_U(), SePrivilegePolicyCheck(), SepTokenIsOwner(), SepTokenObjectType, SeReleaseSecurityDescriptor(), SeReleaseSid(), SeReleaseSubjectContext(), SeUnlockSubjectContext(), Status, and TRUE. Referenced by NtAccessCheckAndAuditAlarm(), NtAccessCheckByTypeAndAuditAlarm(), NtAccessCheckByTypeResultListAndAuditAlarm(), and NtAccessCheckByTypeResultListAndAuditAlarmByHandle().
|
|
Definition at line 4093 of file seaudit.c. References Index, NT_SUCCESS, OBJECT_FAILURE_AUDIT, OBJECT_SUCCESS_AUDIT, PAGED_CODE, and TRUE. Referenced by SepSetAuditInfoForObjectType().
|
|
Definition at line 3952 of file seaudit.c. References FALSE, FirstAce, NextAce, NULL, PAGED_CODE, SepSidInToken(), Token, and TRUE. Referenced by NtOpenObjectAuditAlarm(), SeCreateObjectAuditAlarm(), SeObjectReferenceAuditAlarm(), SeOpenObjectAuditAlarm(), SeOpenObjectForDeleteAuditAlarm(), and SeTraverseAuditAlarm().
|
|
Definition at line 4257 of file seaudit.c. References FALSE, FirstAce, Index, INVALID_OBJECT_TYPE_LIST_INDEX, NextAce, NT_SUCCESS, NULL, PAGED_CODE, SepObjectInTypeList(), SepSetAuditInfoForObjectType(), SepSidInToken(), Token, and TRUE. Referenced by SepAccessCheckAndAuditAlarm().
|
|
Definition at line 4587 of file seaudit.c. References FALSE, NULL, PAGED_CODE, RtlEqualLuid(), SepFilterPrivileges, and TRUE. Referenced by SeOpenObjectAuditAlarm(), SeOpenObjectForDeleteAuditAlarm(), SepAdtPrivilegeObjectAuditAlarm(), and SePrivilegedServiceAuditAlarm().
|
|
Definition at line 370 of file seaudit.c. References ExFreePool(), and PAGED_CODE. Referenced by NtCloseObjectAuditAlarm(), NtDeleteObjectAuditAlarm(), NtOpenObjectAuditAlarm(), NtPrivilegedServiceAuditAlarm(), NtPrivilegeObjectAuditAlarm(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 4556 of file seaudit.c. References SepFilterPrivileges, SepFilterPrivilegesLong, SepFilterPrivilegesShort, and TRUE. Referenced by SepAdtInitializePrivilegeAuditing().
|
|
Definition at line 259 of file seaudit.c. References DestString, ExAllocatePoolWithTag, ExFreePool(), ExSystemExceptionFilter(), NTSTATUS(), NULL, PAGED_CODE, PagedPool, ProbeAndReadUnicodeString, ProbeForRead, SourceString, and Status. Referenced by NtCloseObjectAuditAlarm(), NtDeleteObjectAuditAlarm(), NtOpenObjectAuditAlarm(), NtPrivilegedServiceAuditAlarm(), NtPrivilegeObjectAuditAlarm(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 989 of file seaudit.c. References EffectiveToken, PAGED_CODE, PTOKEN, RtlEqualSid(), SeLocalSystemSid, SepAdtAuditThisEvent, SepAdtPrivilegedServiceAuditAlarm(), SepFilterPrivilegeAudits(), SepTokenUserSid, SeSubsystemName, and Token. Referenced by ObpIncrementHandleCount(), RtlpNewSecurityObject(), SeCheckAuditPrivilege(), and SeSinglePrivilegeCheck().
|
|
Definition at line 650 of file seaudit.c. References Handle, KernelMode, PAGED_CODE, SepAdtPrivilegeObjectAuditAlarm(), and SeSubsystemName. Referenced by IsPrivileged(), ObpCreateHandle(), and SeCheckPrivilegedObject().
|
|
Definition at line 4179 of file seaudit.c. References NT_SUCCESS, OBJECT_FAILURE_AUDIT, OBJECT_SUCCESS_AUDIT, SepAuditTypeList(), and TRUE. Referenced by SepExamineSaclEx().
|
|
Definition at line 143 of file seaudit.c. References ASSERT, PAGED_CODE, SepPrivilegeCheck(), SeTcbPrivilege, and Token. Referenced by SepAccessCheck(), and SePrivilegePolicyCheck().
|
|
Definition at line 3429 of file seaudit.c. References _SE_AUDITING_STATE::AuditOnFailure, _SE_AUDITING_STATE::AuditOnSuccess, EffectiveToken, FALSE, KernelMode, NULL, PAGED_CODE, SeAuditingState, SeLockSubjectContext(), SepAdtTraverseAuditAlarm(), SepExamineSacl(), SepTokenAuthenticationId, SepTokenUserSid, and SeUnlockSubjectContext(). Referenced by IopParseDevice().
|
|
|
|
Definition at line 4520 of file seaudit.c. Referenced by SepFilterPrivilegeAudits(), and SepInitializePrivilegeFilter(). |
|
Initial value: Definition at line 4522 of file seaudit.c. Referenced by SepInitializePrivilegeFilter(). |
|
Initial value: Definition at line 4545 of file seaudit.c. Referenced by SepInitializePrivilegeFilter(). |