@@ -450,6 +450,8 @@ const (
450450 FileName Field = "file.name"
451451 // FilePath represents the file full path (e.g. C:\Windows\System32\cmd.exe)
452452 FilePath Field = "file.path"
453+ // FilePathStem represents the full file path without extension (e.g. C:\Windows\System32\cmd)
454+ FilePathStem Field = "file.path.stem"
453455 // FileExtension represents the file extension (e.g. .exe or .dll)
454456 FileExtension Field = "file.extension"
455457 // FileOperation represents the file operation (e.g. create)
@@ -522,6 +524,8 @@ const (
522524 ImageDefaultAddress Field = "image.default.address"
523525 // ImagePath is the module full path
524526 ImagePath Field = "image.path"
527+ // ImagePathStem represents the full module path without extension
528+ ImagePathStem Field = "image.path.stem"
525529 // ImageName is the module name
526530 ImageName Field = "image.name"
527531 // ImagePID is the pid of the process where the image was loaded
@@ -997,6 +1001,7 @@ var fields = map[Field]FieldInfo{
9971001 ThreadCallstackFinalUserModuleSignatureCertSubject : {ThreadCallstackFinalUserModuleSignatureCertSubject , "final user space stack frame module signature certificate subject" , params .UnicodeString , []string {"thread.callstack.final_user_module.signature.cert.subject imatches '*Microsoft Windows*'" }, nil , nil },
9981002
9991003 ImagePath : {ImagePath , "full image path" , params .UnicodeString , []string {"image.patj = 'C:\\ Windows\\ System32\\ advapi32.dll'" }, nil , nil },
1004+ ImagePathStem : {ImagePathStem , "full image path without extension" , params .UnicodeString , []string {"image.path.stem = 'C:\\ Windows\\ System32\\ advapi32'" }, nil , nil },
10001005 ImageName : {ImageName , "image name" , params .UnicodeString , []string {"image.name = 'advapi32.dll'" }, nil , nil },
10011006 ImageBase : {ImageBase , "the base address of process in which the image is loaded" , params .Address , []string {"image.base.address = 'a65d800000'" }, nil , nil },
10021007 ImageChecksum : {ImageChecksum , "image checksum" , params .Uint32 , []string {"image.checksum = 746424" }, nil , nil },
@@ -1019,6 +1024,7 @@ var fields = map[Field]FieldInfo{
10191024
10201025 FileObject : {FileObject , "file object address" , params .Uint64 , []string {"file.object = 18446738026482168384" }, nil , nil },
10211026 FilePath : {FilePath , "full file path" , params .UnicodeString , []string {"file.path = 'C:\\ Windows\\ System32'" }, nil , nil },
1027+ FilePathStem : {FilePathStem , "full file path without extension" , params .UnicodeString , []string {"file.path.stem = 'C:\\ Windows\\ System32\\ cmd'" }, nil , nil },
10221028 FileName : {FileName , "full file name" , params .UnicodeString , []string {"file.name contains 'mimikatz'" }, nil , nil },
10231029 FileOperation : {FileOperation , "file operation" , params .AnsiString , []string {"file.operation = 'open'" }, nil , nil },
10241030 FileShareMask : {FileShareMask , "file share mask" , params .AnsiString , []string {"file.share.mask = 'rw-'" }, nil , nil },
0 commit comments