Defender-DeviceFileEvents

ActionTypeTitleSampleRule
FileCreatedFile createdYY
FileModifiedFile modifiedYY
FileDeletedFile deletedYN
FileRenamedFile renamedYY

FileCreated: File created

#
Table
DeviceFileEvents

Detection Fields #

Fields referenced by at least one attached detection rule. This view counts distinct rules and is not a complete schema for this catalog entry.

NameRulesVendors
ActionType11 detection rulesKusto
FileName5 detection rulesKusto
FolderPath3 detection rulesKusto
InitiatingProcessFileName3 detection rulesKusto
SHA2562 detection rulesKusto
InitiatingProcessAccountName1 detection ruleKusto
InitiatingProcessAccountSid1 detection ruleKusto
InitiatingProcessTokenElevation1 detection ruleKusto
SHA11 detection ruleKusto

Example Event #

{
  "ActionType": "FileCreated",
  "AdditionalFields": {
    "FileType": "Error"
  },
  "DeviceId": "ec2cc6b53848cc3454a79df3684465dee27fec8c",
  "DeviceName": "jd-dc01-2022.ludus.domain",
  "FileName": "jc1g5z2k.dll",
  "FolderPath": "C:\\Windows\\ServiceProfiles\\LocalService\\AppData\\Local\\Temp\\jc1g5z2k.dll",
  "InitiatingProcessAccountDomain": "nt authority",
  "InitiatingProcessAccountName": "local service",
  "InitiatingProcessAccountSid": "S-1-5-19",
  "InitiatingProcessCommandLine": "\"csc.exe\" /noconfig /fullpaths @\"C:\\Windows\\ServiceProfiles\\LocalService\\AppData\\Local\\Temp\\jc1g5z2k.cmdline\"",
  "InitiatingProcessCreationTime": "2026-08-01T09:08:03.0496525Z",
  "InitiatingProcessFileName": "csc.exe",
  "InitiatingProcessFileSize": 2759024,
  "InitiatingProcessFileSize@odata.type": "#Int64",
  "InitiatingProcessFolderPath": "c:\\windows\\microsoft.net\\framework64\\v4.0.30319\\csc.exe",
  "InitiatingProcessId": 5452,
  "InitiatingProcessId@odata.type": "#Int64",
  "InitiatingProcessIntegrityLevel": "System",
  "InitiatingProcessMD5": "c7e54b9571f63873fe3539f4aa13fd9a",
  "InitiatingProcessParentCreationTime": "2026-08-01T09:07:58.3560941Z",
  "InitiatingProcessParentFileName": "powershell.exe",
  "InitiatingProcessParentId": 12916,
  "InitiatingProcessParentId@odata.type": "#Int64",
  "InitiatingProcessSHA1": "6265d085ee5fc65bc123f503970e7eeadde3e032",
  "InitiatingProcessSHA256": "adeda78a951529462f9411e016c1a1b87ddfd94c55912cbd2957817f39929af1",
  "InitiatingProcessSessionId": 0,
  "InitiatingProcessSessionId@odata.type": "#Int64",
  "InitiatingProcessTokenElevation": "TokenElevationTypeDefault",
  "InitiatingProcessUniqueId": "7318349394480649",
  "InitiatingProcessVersionInfoCompanyName": "Microsoft Corporation",
  "InitiatingProcessVersionInfoFileDescription": "Visual C# Command Line Compiler",
  "InitiatingProcessVersionInfoInternalFileName": "csc.exe",
  "InitiatingProcessVersionInfoOriginalFileName": "csc.exe",
  "InitiatingProcessVersionInfoProductName": "Microsoft® .NET Framework",
  "InitiatingProcessVersionInfoProductVersion": "4.8.4161.0",
  "IsInitiatingProcessRemoteSession": 0,
  "IsInitiatingProcessRemoteSession@odata.type": "#SByte",
  "ReportId": 1058403,
  "ReportId@odata.type": "#Int64",
  "RequestAccountDomain": "NT AUTHORITY",
  "RequestAccountName": "LOCAL SERVICE",
  "RequestAccountSid": "S-1-5-19",
  "RequestProtocol": "Local",
  "Timestamp": "2026-08-01T09:08:03.2198162Z"
}

Detection Patterns #

Show All Detection Patterns

Common Indicators #

Positive field/value combinations most frequently checked by detection rules attached to this catalog entry, derived from cross-vendor predicate analysis. This is separate from Fields accounting, which also includes exclusions and counts distinct attached rules.

FieldKindValueRulesVendors
ActionType (kusto rule field)eqFileCreated2 ruleskusto
ActionType (kusto rule field)eqConnectionSuccess1 rulekusto
OperationName (kusto rule field)eqFileCreated1 rulekusto
RemoteIPType (kusto rule field)eqPublic1 rulekusto
file_name (kusto rule field)ends_with*.dll1 rulekusto
file_name (kusto rule field)ends_with.exe1 rulekusto
process_basename (kusto rule field)containsMSBuild.exe1 rulekusto
process_basename (kusto rule field)eqCustomScriptHandler.exe1 rulekusto
process_basename (kusto rule field)eqmstsc.exe1 rulekusto

Detection Rules #

Full rule details for this catalog entry, including ATT&CK technique mappings and native queries →

Kusto #

FileModified: File modified

#
Table
DeviceFileEvents

Detection Fields #

Fields referenced by at least one attached detection rule. This view counts distinct rules and is not a complete schema for this catalog entry.

NameRulesVendors
ActionType4 detection rulesKusto
FileName2 detection rulesKusto
InitiatingProcessAccountSid1 detection ruleKusto
InitiatingProcessFileName1 detection ruleKusto
InitiatingProcessTokenElevation1 detection ruleKusto

Example Event #

{
  "ActionType": "FileModified",
  "AdditionalFields": {
    "FileType": "Unknown"
  },
  "DeviceId": "ec2cc6b53848cc3454a79df3684465dee27fec8c",
  "DeviceName": "jd-dc01-2022.ludus.domain",
  "FileName": "AdfsArtifactStore.mdf",
  "FileSize": 2293760,
  "FileSize@odata.type": "#Int64",
  "FolderPath": "C:\\Windows\\WID\\Data\\AdfsArtifactStore.mdf",
  "InitiatingProcessAccountDomain": "nt service",
  "InitiatingProcessAccountName": "mssql$microsoft##wid",
  "InitiatingProcessAccountSid": "S-1-5-80-1184457765-4068085190-3456807688-2200952327-3769537534",
  "InitiatingProcessCommandLine": "sqlservr.exe -SMSWIN8.SQLWID -sMICROSOFT##WID",
  "InitiatingProcessCreationTime": "2026-08-01T01:02:53.3625267Z",
  "InitiatingProcessFileName": "sqlservr.exe",
  "InitiatingProcessFileSize": 372400,
  "InitiatingProcessFileSize@odata.type": "#Int64",
  "InitiatingProcessFolderPath": "c:\\windows\\wid\\binn\\sqlservr.exe",
  "InitiatingProcessId": 9228,
  "InitiatingProcessId@odata.type": "#Int64",
  "InitiatingProcessIntegrityLevel": "High",
  "InitiatingProcessMD5": "b1a18b8eb0de52bdf048ba06dd904e37",
  "InitiatingProcessParentCreationTime": "2026-08-01T01:02:12.0633947Z",
  "InitiatingProcessParentFileName": "services.exe",
  "InitiatingProcessParentId": 1232,
  "InitiatingProcessParentId@odata.type": "#Int64",
  "InitiatingProcessSHA1": "89d3da9803eb368480f4b9fe680e50bd9281a65e",
  "InitiatingProcessSHA256": "7e6e63a4568132cabaad56a670306d8547b2a4aa4914d2d7434071e094e74df6",
  "InitiatingProcessSessionId": 0,
  "InitiatingProcessSessionId@odata.type": "#Int64",
  "InitiatingProcessTokenElevation": "TokenElevationTypeDefault",
  "InitiatingProcessUniqueId": "7318349394477246",
  "InitiatingProcessVersionInfoCompanyName": "Microsoft Corporation",
  "InitiatingProcessVersionInfoFileDescription": "SQL Server Windows NT - 64 Bit",
  "InitiatingProcessVersionInfoInternalFileName": "SQLSERVR",
  "InitiatingProcessVersionInfoOriginalFileName": "SQLSERVR.EXE",
  "InitiatingProcessVersionInfoProductName": "Microsoft SQL Server",
  "InitiatingProcessVersionInfoProductVersion": "12.0.5214.6",
  "IsInitiatingProcessRemoteSession": 0,
  "IsInitiatingProcessRemoteSession@odata.type": "#SByte",
  "MD5": "5659857ddd2e8f0a54fca5a6792ba03b",
  "ReportId": 1059621,
  "ReportId@odata.type": "#Int64",
  "RequestAccountDomain": "NT SERVICE",
  "RequestAccountName": "MSSQL$MICROSOFT##WID",
  "RequestAccountSid": "S-1-5-80-1184457765-4068085190-3456807688-2200952327-3769537534",
  "RequestProtocol": "Local",
  "SHA1": "3f7037454e39d3b35909a3a31617022cafe28d84",
  "SHA256": "09798315373185d63a099a4cd55c96c717b2582d089db173390d919e8a368c5b",
  "Timestamp": "2026-08-01T09:09:05.5085639Z"
}

Detection Patterns #

Common Indicators #

Positive field/value combinations most frequently checked by detection rules attached to this catalog entry, derived from cross-vendor predicate analysis. This is separate from Fields accounting, which also includes exclusions and counts distinct attached rules.

FieldKindValueRulesVendors
ActionType (kusto rule field)eqConnectionSuccess1 rulekusto
RemoteIPType (kusto rule field)eqPublic1 rulekusto
process_basename (kusto rule field)containsMSBuild.exe1 rulekusto
process_basename (kusto rule field)eqmstsc.exe1 rulekusto

FileDeleted: File deleted

#
Table
DeviceFileEvents

Example Event #

{
  "ActionType": "FileDeleted",
  "AdditionalFields": {
    "FileType": "Error"
  },
  "DeviceId": "99ffb4eafd9c8fb310527d15d666a58ab4661114",
  "DeviceName": "jd-win11-22h2-1.ludus.domain",
  "FileName": "MicrosoftEdge_X64_150.0.4078.83_150.0.4078.65.exe",
  "FolderPath": "C:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\Download\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}\\150.0.4078.83\\MicrosoftEdge_X64_150.0.4078.83_150.0.4078.65.exe",
  "InitiatingProcessAccountDomain": "nt authority",
  "InitiatingProcessAccountName": "system",
  "InitiatingProcessAccountSid": "S-1-5-18",
  "InitiatingProcessCommandLine": "\"MicrosoftEdgeUpdate.exe\" /svc",
  "InitiatingProcessCreationTime": "2026-08-01T08:02:43.3235416Z",
  "InitiatingProcessFileName": "microsoftedgeupdate.exe",
  "InitiatingProcessFileSize": 206944,
  "InitiatingProcessFileSize@odata.type": "#Int64",
  "InitiatingProcessFolderPath": "c:\\program files (x86)\\microsoft\\edgeupdate\\microsoftedgeupdate.exe",
  "InitiatingProcessId": 7044,
  "InitiatingProcessId@odata.type": "#Int64",
  "InitiatingProcessIntegrityLevel": "System",
  "InitiatingProcessMD5": "352c33641cbbd193af127d306cb960c8",
  "InitiatingProcessParentCreationTime": "2026-08-01T00:56:34.7240107Z",
  "InitiatingProcessParentFileName": "services.exe",
  "InitiatingProcessParentId": 1084,
  "InitiatingProcessParentId@odata.type": "#Int64",
  "InitiatingProcessSHA1": "a3281440828de514b0fc7bebfef3cfd37a418dc6",
  "InitiatingProcessSHA256": "f56701783d22d0e17e126d09aca62b1969259d4b7b00dedd9a0001c6d1abead2",
  "InitiatingProcessSessionId": 0,
  "InitiatingProcessSessionId@odata.type": "#Int64",
  "InitiatingProcessTokenElevation": "TokenElevationTypeDefault",
  "InitiatingProcessUniqueId": "9851624184873381",
  "InitiatingProcessVersionInfoCompanyName": "Microsoft Corporation",
  "InitiatingProcessVersionInfoFileDescription": "Microsoft Edge Update",
  "InitiatingProcessVersionInfoInternalFileName": "Microsoft Edge Update",
  "InitiatingProcessVersionInfoOriginalFileName": "MicrosoftEdgeUpdate.exe",
  "InitiatingProcessVersionInfoProductName": "Microsoft Edge Update",
  "InitiatingProcessVersionInfoProductVersion": "203.0.113.10",
  "IsInitiatingProcessRemoteSession": 0,
  "IsInitiatingProcessRemoteSession@odata.type": "#SByte",
  "ReportId": 5407,
  "ReportId@odata.type": "#Int64",
  "Timestamp": "2026-08-01T08:07:58.2339827Z"
}

FileRenamed: File renamed

#
Table
DeviceFileEvents

Detection Fields #

Fields referenced by at least one attached detection rule. This view counts distinct rules and is not a complete schema for this catalog entry.

NameRulesVendors
ActionType3 detection rulesKusto
FileName1 detection ruleKusto
InitiatingProcessFileName1 detection ruleKusto
PreviousFileName1 detection ruleKusto

Example Event #

{
  "ActionType": "FileRenamed",
  "AdditionalFields": {
    "FileType": "Unknown"
  },
  "DeviceId": "99ffb4eafd9c8fb310527d15d666a58ab4661114",
  "DeviceName": "jd-win11-22h2-1.ludus.domain",
  "FileName": "DefaultAppPool.config",
  "FileSize": 67514,
  "FileSize@odata.type": "#Int64",
  "FolderPath": "C:\\inetpub\\temp\\appPools\\DefaultAppPool\\DefaultAppPool.config",
  "InitiatingProcessAccountDomain": "nt authority",
  "InitiatingProcessAccountName": "system",
  "InitiatingProcessAccountSid": "S-1-5-18",
  "InitiatingProcessCommandLine": "svchost.exe -k iissvcs",
  "InitiatingProcessCreationTime": "2026-08-01T00:56:40.6137049Z",
  "InitiatingProcessFileName": "svchost.exe",
  "InitiatingProcessFileSize": 79920,
  "InitiatingProcessFileSize@odata.type": "#Int64",
  "InitiatingProcessFolderPath": "c:\\windows\\system32\\svchost.exe",
  "InitiatingProcessId": 4404,
  "InitiatingProcessId@odata.type": "#Int64",
  "InitiatingProcessIntegrityLevel": "System",
  "InitiatingProcessMD5": "8ec922c7a58a8701ab481b7be9644536",
  "InitiatingProcessParentCreationTime": "2026-08-01T00:56:34.7240107Z",
  "InitiatingProcessParentFileName": "services.exe",
  "InitiatingProcessParentId": 1084,
  "InitiatingProcessParentId@odata.type": "#Int64",
  "InitiatingProcessSHA1": "3f64c98f22da277a07cab248c44c56eedb796a81",
  "InitiatingProcessSHA256": "949bfb5b4c7d58d92f3f9c5f8ec7ca4ceaffd10ec5f0020f0a987c472d61c54b",
  "InitiatingProcessSessionId": 0,
  "InitiatingProcessSessionId@odata.type": "#Int64",
  "InitiatingProcessTokenElevation": "TokenElevationTypeDefault",
  "InitiatingProcessUniqueId": "9851624184873049",
  "InitiatingProcessVersionInfoCompanyName": "Microsoft Corporation",
  "InitiatingProcessVersionInfoFileDescription": "Host Process for Windows Services",
  "InitiatingProcessVersionInfoInternalFileName": "svchost.exe",
  "InitiatingProcessVersionInfoOriginalFileName": "svchost.exe",
  "InitiatingProcessVersionInfoProductName": "Microsoft® Windows® Operating System",
  "InitiatingProcessVersionInfoProductVersion": "10.0.22621.1",
  "IsInitiatingProcessRemoteSession": 0,
  "IsInitiatingProcessRemoteSession@odata.type": "#SByte",
  "MD5": "e71b3498e9ce88144d452a45925d1a14",
  "PreviousFileName": "DefaultAppPool.config.tmp",
  "PreviousFolderPath": "C:\\inetpub\\temp\\appPools\\DefaultAppPool",
  "ReportId": 5847,
  "ReportId@odata.type": "#Int64",
  "RequestAccountDomain": "NT AUTHORITY",
  "RequestAccountName": "SYSTEM",
  "RequestAccountSid": "S-1-5-18",
  "RequestProtocol": "Local",
  "SHA1": "a50286859d6b05f93450f417825a0f150b59717a",
  "SHA256": "50b6d4e6a1163c255d7b3981aa9844a4b770b88968e760e30095b6fe33b34e4a",
  "Timestamp": "2026-08-01T08:19:27.0944193Z"
}

Detection Patterns #

Common Indicators #

Positive field/value combinations most frequently checked by detection rules attached to this catalog entry, derived from cross-vendor predicate analysis. This is separate from Fields accounting, which also includes exclusions and counts distinct attached rules.

FieldKindValueRulesVendors
process_basename (kusto rule field)inexcel.exe1 rulekusto
process_basename (kusto rule field)inoutlook.exe1 rulekusto
process_basename (kusto rule field)inpowerpnt.exe1 rulekusto
process_basename (kusto rule field)inwinword.exe1 rulekusto

Detection Rules #

Full rule details for this catalog entry, including ATT&CK technique mappings and native queries →

Kusto #

  • ASR Bypassing Writing Executable Content source medium: The query checks for any file which has been created/written by an Office application and shortly after renamed to one of the deny-listed "executable extensions" which are text files. (e.g. ps1, .js, .vbs).T1211

any: File activity

#

Scope grouping: This repository-authored catalog entry represents a broad attribution scope, not a distinct emitted event or operation. Any sample below is a representative record from that scope; attached rules, if any, are listed separately.

Table
DeviceFileEvents

Detection Fields #

Fields referenced by at least one attached detection rule. This view counts distinct rules and is not a complete schema for this catalog entry.

NameRulesVendors
FileName7 detection rulesKusto
SHA2567 detection rulesKusto
ActionType5 detection rulesKusto
InitiatingProcessFileName5 detection rulesKusto
FolderPath4 detection rulesKusto
SHA14 detection rulesKusto
InitiatingProcessCommandLine3 detection rulesKusto
InitiatingProcessFolderPath1 detection ruleKusto
InitiatingProcessParentFileName1 detection ruleKusto
InitiatingProcessSHA2561 detection ruleKusto
MD51 detection ruleKusto

Representative record #

{
  "ActionType": "FileCreated",
  "AdditionalFields": {
    "FileType": "Error"
  },
  "DeviceId": "ec2cc6b53848cc3454a79df3684465dee27fec8c",
  "DeviceName": "jd-dc01-2022.ludus.domain",
  "FileName": "jc1g5z2k.dll",
  "FolderPath": "C:\\Windows\\ServiceProfiles\\LocalService\\AppData\\Local\\Temp\\jc1g5z2k.dll",
  "InitiatingProcessAccountDomain": "nt authority",
  "InitiatingProcessAccountName": "local service",
  "InitiatingProcessAccountSid": "S-1-5-19",
  "InitiatingProcessCommandLine": "\"csc.exe\" /noconfig /fullpaths @\"C:\\Windows\\ServiceProfiles\\LocalService\\AppData\\Local\\Temp\\jc1g5z2k.cmdline\"",
  "InitiatingProcessCreationTime": "2026-08-01T09:08:03.0496525Z",
  "InitiatingProcessFileName": "csc.exe",
  "InitiatingProcessFileSize": 2759024,
  "InitiatingProcessFileSize@odata.type": "#Int64",
  "InitiatingProcessFolderPath": "c:\\windows\\microsoft.net\\framework64\\v4.0.30319\\csc.exe",
  "InitiatingProcessId": 5452,
  "InitiatingProcessId@odata.type": "#Int64",
  "InitiatingProcessIntegrityLevel": "System",
  "InitiatingProcessMD5": "c7e54b9571f63873fe3539f4aa13fd9a",
  "InitiatingProcessParentCreationTime": "2026-08-01T09:07:58.3560941Z",
  "InitiatingProcessParentFileName": "powershell.exe",
  "InitiatingProcessParentId": 12916,
  "InitiatingProcessParentId@odata.type": "#Int64",
  "InitiatingProcessSHA1": "6265d085ee5fc65bc123f503970e7eeadde3e032",
  "InitiatingProcessSHA256": "adeda78a951529462f9411e016c1a1b87ddfd94c55912cbd2957817f39929af1",
  "InitiatingProcessSessionId": 0,
  "InitiatingProcessSessionId@odata.type": "#Int64",
  "InitiatingProcessTokenElevation": "TokenElevationTypeDefault",
  "InitiatingProcessUniqueId": "7318349394480649",
  "InitiatingProcessVersionInfoCompanyName": "Microsoft Corporation",
  "InitiatingProcessVersionInfoFileDescription": "Visual C# Command Line Compiler",
  "InitiatingProcessVersionInfoInternalFileName": "csc.exe",
  "InitiatingProcessVersionInfoOriginalFileName": "csc.exe",
  "InitiatingProcessVersionInfoProductName": "Microsoft® .NET Framework",
  "InitiatingProcessVersionInfoProductVersion": "4.8.4161.0",
  "IsInitiatingProcessRemoteSession": 0,
  "IsInitiatingProcessRemoteSession@odata.type": "#SByte",
  "ReportId": 1058403,
  "ReportId@odata.type": "#Int64",
  "RequestAccountDomain": "NT AUTHORITY",
  "RequestAccountName": "LOCAL SERVICE",
  "RequestAccountSid": "S-1-5-19",
  "RequestProtocol": "Local",
  "Timestamp": "2026-08-01T09:08:03.2198162Z"
}

Detection Patterns #

Show All Detection Patterns

Common Indicators #

Positive field/value combinations most frequently checked by detection rules attached to this catalog entry, derived from cross-vendor predicate analysis. This is separate from Fields accounting, which also includes exclusions and counts distinct attached rules.

FieldKindValueRulesVendors
ActionType (kusto rule field)eqFileCreated2 ruleskusto
ActionType (kusto rule field)eqDriverLoad1 rulekusto
OperationName (kusto rule field)eqFileCreated2 ruleskusto
file_name (kusto rule field)ends_with.exe2 ruleskusto
file_name (kusto rule field)ends_with*.dll1 rulekusto
Category (kusto rule field)eqAzureFirewallApplicationRule1 rulekusto
Category (kusto rule field)eqAzureFirewallDnsProxy1 rulekusto
CommandLine (kusto rule field)containsaccepteula1 rulekusto
QueryName (kusto rule field)is_not_null1 rulekusto
ResourceType (kusto rule field)eqAZUREFIREWALLS1 rulekusto
SourceSeverity (kusto rule field)eqHigh1 rulekusto
ThreatName (kusto rule field)is_not_null1 rulekusto
md5 (kusto rule field)eq56ceb6d0011d87b6e4d7023d7ef856761 rulekusto
md5 (kusto rule field)in02af7cec58b9a5da1c542b5a32151ba11 rulekusto
md5 (kusto rule field)in2c4a910a1299cdae2a4e55988a2f102e1 rulekusto

Detection Rules #

Full rule details for this catalog entry, including ATT&CK technique mappings and native queries →

Kusto #

References #