Files
MBCProject-mbc-markdown/micro-behaviors/file-system/get-file-attributes.md
T
Ryan Xu 009ae77217 3.1 Updates (#145)
* E/f updates (#143)

* E/F Update,  Update Install Cert ID

* Small fixes

* Update common objects link (#142)

* Update README.md

* Update 09152023.md

* Update README.md

* Update 12182023.md

* Adding descriptions to micro-behaviors

* Fixing dead links

* V3.1 updates (#144)

* minor fixes for v3.1

* correct id

---------

Co-authored-by: Desiree Beck <dbeck@mitre.org>
2024-02-14 09:27:20 -05:00

1.7 KiB

ID C0049
Objective(s) File System
Related ATT&CK Techniques None
Version 2.1
Created 4 December 2020
Last Modified 6 February 2024

Get File Attributes

Malware gets file attributes.

Use in Malware

Name Date Method Description
Dark Comet 2008 -- Dark Comet gets file attributes. [1]
DNSChanger 2011 -- DNSChanger gets file attributes. [1]
Gamut 2014 -- Gamut gets file attributes. [1]
Hupigon 2013 -- Hupigon gets file attributes. [1]
Redhip 2011 -- Redhip gets file attributes. [1]
UP007 2016 -- UP007 gets file attributes. [1]

Detection

Tool: capa Mapping APIs
get file attributes Get File Attributes (C0049) kernel32.GetFileAttributes, ZwQueryDirectoryFile, ZwQueryInformationFile, NtQueryDirectoryFile, NtQueryInformationFile, System.IO.File::GetAttributes, System.IO.File::GetCreationTime, System.IO.File::GetCreationTimeUtc, System.IO.File::GetLastAccessTime, System.IO.File::GetLastAccessTimeUtc, System.IO.File::GetLastWriteTime, System.IO.File::GetLastWriteTimeUtc

References

[1] capa v4.0, analyzed at MITRE on 10/12/2022