tlark
03/13/2024, 1:46 AMwmic
output at all anywhere?seph
wmi
queries through osquery. But that ships in the kolide product. So not a huge helptlark
03/27/2024, 1:10 AMwmi
table for? Looking at the docs it implies I can use the windows query language to return results?seph
wmi
table? I wrote a kolide_wmi
table, and shipped it in launcher, and did not document it. I think fleet lifted it into their code base, which is mostly, but perhaps not entirely, compliant with the license. But I don’t know what all they’re doing.tlark
03/27/2024, 1:13 AMtlark
03/27/2024, 1:14 AMWindows Management Instrumentation Query Language (WQL) event query that specifies the set of events for consumer notification, and the specific conditions for notification.
seph
tlark
03/27/2024, 1:16 AMtlark
03/27/2024, 1:17 AMWMIC.exe datafile "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" list full
AccessMask=18809343
Archive=TRUE
Caption=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Compressed=FALSE
CompressionMethod=
CreationClassName=CIM_LogicalFile
CreationDate=20240312182146.364332-420
CSCreationClassName=Win32_ComputerSystem
CSName=TOMLARKIN23B2
Description=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Drive=c:
EightDotThreeFileName=c:\program files (x86)\google\chrome\application\chrome.exe
Encrypted=FALSE
EncryptionMethod=
Extension=exe
FileName=chrome
FileSize=2118944
FileType=Application
FSCreationClassName=Win32_FileSystem
FSName=NTFS
Hidden=FALSE
InstallDate=20240312182146.364332-420
InUseCount=
LastAccessed=20240326181629.750978-420
LastModified=20240311200100.392708-420
Manufacturer=Google LLC
Name=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Path=\program files (x86)\google\chrome\application\
Readable=TRUE
Status=OK
System=FALSE
Version=122.0.6261.129
Writeable=TRUE
tlark
03/27/2024, 1:18 AMLastAccessed=20240326181629.750978-420
LastModified=20240311200100.392708-420
seph
tlark
03/27/2024, 1:23 AMwmic
is just the "binary version" of WMIseph
SELECT * FROM __EventFilter
seph
tlark
03/27/2024, 1:24 AMwmic
command I just shared was my attempt at tracking last used dates for the apptlark
03/27/2024, 1:25 AMseph
seph
seph
superfetch
be enabled. 🤷tlark
03/27/2024, 1:39 AMwmic
query I posted above works in a powershell terminal lol but I will have to kick this over to my Windows engineer and hopefully she can educate us all on how to make it workseph
tlark
03/27/2024, 1:55 AM