-
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.
Create upload-file-to-onedrive.yml (#913)
- Loading branch information
1 parent
8891b2b
commit 936d5b2
Showing
1 changed file
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
rule: | ||
meta: | ||
name: upload file to OneDrive | ||
namespace: communication/c2/file-transfer | ||
authors: | ||
- [email protected] | ||
- [email protected] | ||
scopes: | ||
static: file | ||
dynamic: file | ||
att&ck: | ||
- Exfiltration::Exfiltration Over Web Service::Exfiltration to Cloud Storage [T1567.002] | ||
references: | ||
- https://cloud.google.com/blog/topics/threat-intelligence/apt41-arisen-from-dust | ||
- https://learn.microsoft.com/en-us/onedrive/developer/rest-api/concepts/upload?view=odsp-graph-online | ||
examples: | ||
- c40db0438a906eb0bec55093f1a0f2cc4cdc38104af0b4b4b3f18200a635c443 | ||
features: | ||
- and: | ||
- substring: "graph.microsoft.com" | ||
- or: | ||
- substring: "/createUploadSession" | ||
- substring: "/content" | ||
- or: | ||
- substring: "/:children" | ||
- substring: "/children" | ||
- or: | ||
- substring: "/drive/items/" | ||
- substring: "/drive/root" |