-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update and add Cabinet archive related rules #808
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
rule: | ||
meta: | ||
name: create Cabinet file | ||
namespace: data-manipulation/compression | ||
authors: | ||
- michael.hunhoff@mandiant.com | ||
- jakub.jozwiak@mandiant.com | ||
scope: function | ||
att&ck: | ||
- Collection::Archive Collected Data::Archive via Library [T1560.002] | ||
mbc: | ||
- Data::Compress Data [C0024] | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/devnotes/creating-a-cabinet | ||
examples: | ||
- 44bad2e2a9e387b86870f009d01833ea4618d2a7cda5f64fa84a19f3bdf4efaf:0x1400028E0 | ||
features: | ||
- and: | ||
- match: create File Compression Interface context | ||
- or: | ||
- api: cabinet.FCIAddFile = add file to Cabinet | ||
- api: cabinet.FCIFlushFolder = flush current folder under construction | ||
- api: cabinet.FCIFlushCabinet = completes current cabinet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Added in ac09516 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
rule: | ||
meta: | ||
name: extract files from Cabinet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thoughts on changing this to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Renamed the rule in ac09516 |
||
namespace: data-manipulation/compression | ||
authors: | ||
- jakub.jozwiak@mandiant.com | ||
scope: function | ||
att&ck: | ||
- Defense Evasion::Deobfuscate/Decode Files or Information [T1140] | ||
mbc: | ||
- Data::Decompress Data [C0025] | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/devnotes/extracting-files-from-a-cabinet | ||
examples: | ||
- 44bad2e2a9e387b86870f009d01833ea4618d2a7cda5f64fa84a19f3bdf4efaf:0x1400028E0 | ||
features: | ||
- and: | ||
- match: create File Decompression Interface context | ||
- or: | ||
- api: cabinet.FDICopy | ||
- api: cabinet.FDIDestroy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
rule: | ||
meta: | ||
name: open cabinet file | ||
namespace: host-interaction/file-system | ||
name: create File Compression Interface context | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thoughts on adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Renamed the rule in ac09516 |
||
authors: | ||
- michael.hunhoff@mandiant.com | ||
lib: true | ||
scope: function | ||
references: | ||
- https://docs.microsoft.com/en-us/windows/win32/msi/cabinet-files | ||
examples: | ||
- 44bad2e2a9e387b86870f009d01833ea4618d2a7cda5f64fa84a19f3bdf4efaf:0x1400028E0 | ||
features: | ||
- or: | ||
- api: cabinet.FCICreate |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
rule: | ||
meta: | ||
name: create File Decompression Interface context | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thoughts on adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Renamed the rule in ac09516 |
||
authors: | ||
- jakub.jozwiak@mandiant.com | ||
lib: true | ||
scope: function | ||
references: | ||
- https://docs.microsoft.com/en-us/windows/win32/msi/cabinet-files | ||
examples: | ||
- 44bad2e2a9e387b86870f009d01833ea4618d2a7cda5f64fa84a19f3bdf4efaf:0x1400028E0 | ||
features: | ||
- or: | ||
- api: cabinet.FDICreate |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on changing this to
create Cabinet on Windows
to make it more clear?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Renamed the rule in ac09516