-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pull out .NET features * Create get-mac-address-in-net.yml * pull out .NET features * Create enumerate-files-in-net.yml * rename file * rename file
- Loading branch information
Showing
4 changed files
with
60 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
rule: | ||
meta: | ||
name: enumerate files in .NET | ||
namespace: host-interaction/file-system/files/list | ||
authors: | ||
- [email protected] | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
att&ck: | ||
- Discovery::File and Directory Discovery [T1083] | ||
mbc: | ||
- Discovery::File and Directory Discovery [E1083] | ||
references: | ||
- https://github.com/hfiref0x/TDL/blob/cc4b46ae1c939b14a22a734a727b163f873a41b | ||
features: | ||
- or: | ||
- api: System.IO.DirectoryInfo::GetFiles | ||
- api: System.IO.DirectoryInfo::EnumerateFiles | ||
- api: System.IO.Directory::GetFiles | ||
- api: System.IO.Directory::EnumerateFiles | ||
- api: System.IO.Directory::EnumerateFileSystemEntries | ||
- api: System.IO.DirectoryInfo::GetDirectories | ||
- api: System.IO.DirectoryInfo::EnumerateDirectories | ||
- api: System.IO.Directory::GetDirectories | ||
- api: System.IO.Directory::EnumerateDirectories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
rule: | ||
meta: | ||
name: get MAC address in .NET | ||
namespace: collection/network | ||
authors: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
att&ck: | ||
- Discovery::System Information Discovery [T1082] | ||
features: | ||
- or: | ||
- api: System.Net.NetworkInformation.NetworkInterface::GetPhysicalAddress |