diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index e219153..3d8d43f 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 name: Audit the project diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e43ebaf..332d691 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 name: Build and test the project diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 10864b8..8b0f37a 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 name: Check formatting of the project diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f16a3f7..7c3fc8e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 name: Lint the project diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8e18019..c457533 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 name: Create new release diff --git a/.gitignore b/.gitignore index 31674ac..2b56f65 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 43cb7e6..b43acb2 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 config: diff --git a/.yamllint.yaml b/.yamllint.yaml index 1719a12..c7d09d8 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -1,5 +1,5 @@ --- -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 extends: default diff --git a/AUTHORS.md b/AUTHORS.md index 419dbb2..1d600f9 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,5 +1,5 @@ diff --git a/Cargo.lock b/Cargo.lock index 82cbe8d..8927443 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,9 +34,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8365de52b16c035ff4fcafe0092ba9390540e3e352870ac09933bebcaa2c8c56" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" @@ -95,9 +95,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cc" -version = "1.1.31" +version = "1.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "67b9470d453346108f93a59222a9a1a5724db32d0a4727b7ab7ace4b4d822dc9" dependencies = [ "shlex", ] @@ -235,6 +235,18 @@ version = "0.2.161" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1" +[[package]] +name = "malware-traces-generator" +version = "1.0.0" +dependencies = [ + "base64", + "clap", + "embed-resource", + "rand", + "regex_generate", + "windows", +] + [[package]] name = "memchr" version = "2.7.4" @@ -356,18 +368,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.213" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1" +checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.213" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5" +checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", @@ -397,9 +409,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "2.0.85" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -494,18 +506,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-artifacts-generator" -version = "1.0.0" -dependencies = [ - "base64", - "clap", - "embed-resource", - "rand", - "regex_generate", - "windows", -] - [[package]] name = "windows-core" version = "0.58.0" diff --git a/Cargo.lock.license b/Cargo.lock.license index e30412b..357c02c 100644 --- a/Cargo.lock.license +++ b/Cargo.lock.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2023 The WAG development team +SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team SPDX-License-Identifier: CC0-1.0 diff --git a/Cargo.toml b/Cargo.toml index 23ba53b..9adc939 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,15 @@ -# SPDX-FileCopyrightText: 2023 The WAG development team +# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team # # SPDX-License-Identifier: CC0-1.0 [package] -name = "windows-artifacts-generator" +name = "malware-traces-generator" version = "1.0.0" edition = "2021" rust-version = "1.74.1" -description = "Generate malware artifacts for detection tests" -documentation = "https://frack113.github.io/WAG/" -repository = "https://github.com/frack113/WAG/" +description = "Generate malware traces for detection tests" +documentation = "https://frack113.github.io/MalwareTracesGenerator/" +repository = "https://github.com/frack113/MalwareTracesGenerator/" license = "GPL-3.0-or-later" keywords = [ "malware-detection", @@ -21,7 +21,7 @@ keywords = [ categories = ["command-line-utilities"] [[bin]] -name = "wag" +name = "mtg" path = "./src/main.rs" [dependencies] diff --git a/README.md b/README.md index bfe0706..63edd0d 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@
- Generate malware artifacts for detection tests
+ Generate malware traces for detection tests
-
+
Report Bug
ยท
-
+
Request Feature
@@ -57,13 +57,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
## ๐ About the project
-[Windows Artifacts Generator][wag] is a tool for creating malware artifacts for detection tests.
+[Malware Traces Generator][mtg] is a tool for creating malware traces for detection tests.
### โ Why
It's useful for testing configurations, rules, or your Endpoint Detection and Response. \
-It's not intended to fully simulate the behavior of malware but to reproduce the steps that led to artifact creation. \
-By avoiding full and complex simulations, [Windows Artifacts Generator][wag] seeks to be simple but nonetheless powerful.
+It's not intended to fully simulate the behavior of malware but to reproduce the steps that led to traces creation. \
+By avoiding full and complex simulations, [Malware Traces Generator][mtg] seeks to be simple but nonetheless powerful.
## ๐ Getting started
@@ -80,7 +80,7 @@ Currently, this project is only available on [crates.io]. \
In order to install it, just enter this command in your favorite terminal:
```sh
-cargo install windows-artifacts-generator
+cargo install malware-traces-generator
```
@@ -89,7 +89,7 @@ cargo install windows-artifacts-generator
1. Clone the repository
```sh
- git clone https://github.com/frack113/WAG/
+ git clone https://github.com/frack113/MalwareTracesGenerator/
```
1. Build and run the project!
@@ -102,17 +102,17 @@ After these steps, the application will be in the target directory.
### ๐ฅท Quick examples
-Now that [WAG] is installed, you can start generating some artifacts! \
+Now that [Malware Traces Generator][mtg] is installed, you can start generating some traces! \
For example, you can create a file like this:
```sh
-wag actions files create --name "example.txt"
+mtg actions files create --name "example.txt"
```
-Or you can generate artifacts from a configuration file:
+Or you can generate traces from a configuration file:
```sh
-wag generate --file "$YOUR_CONFIGURATIONS_FILE_PATH"
+mtg generate --file "$YOUR_CONFIGURATIONS_FILE_PATH"
```
To see more information about what you can do, see the [documentation].
@@ -144,9 +144,9 @@ Distributed under the [GPL 3.0 or later] license.
[agbama ulimhuka]: https://github.com/ulims/
[cargo]: https://doc.rust-lang.org/stable/cargo/
[crates.io]: https://crates.io/
-[documentation]: https://frack113.github.io/WAG/
+[documentation]: https://frack113.github.io/MalwareTracesGenerator/
[gpl 3.0 or later]: ./LICENSES/GPL-3.0-or-later.txt
[heroicons]: https://heroicons.com/
[mit]: ./LICENSES/MIT.txt
+[mtg]: https://github.com/frack113/MalwareTracesGenerator/
[sil ofl]: ./LICENSES/OFL-1.1.txt
-[wag]: https://github.com/frack113/WAG/
diff --git a/build.rs b/build.rs
index ce3d9b8..5b11351 100644
--- a/build.rs
+++ b/build.rs
@@ -1,8 +1,9 @@
-// SPDX-FileCopyrightText: 2023 The WAG development team
+// SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
//
// SPDX-License-Identifier: GPL-3.0-or-later
extern crate embed_resource;
+
fn main() {
- embed_resource::compile("wag-manifest.rc", embed_resource::NONE);
+ embed_resource::compile("mtg-manifest.rc", embed_resource::NONE);
}
diff --git a/cliff.toml b/cliff.toml
index 5278ba6..4c5adec 100644
--- a/cliff.toml
+++ b/cliff.toml
@@ -1,11 +1,11 @@
-# SPDX-FileCopyrightText: 2023 The WAG development team
+# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
# SPDX-FileCopyrightText: 2023 The git-cliff development team
#
# SPDX-License-Identifier: CC0-1.0
[changelog]
header = """
-[![logo](https://raw.githubusercontent.com/frack113/WAG/media/logo.svg)](https://github.com/frack113/WAG/)\n
+[![logo](https://raw.githubusercontent.com/frack113/MalwareTracesGenerator/media/logo.svg)](https://github.com/frack113/MalwareTracesGenerator/)\n
"""
body = """
{%- macro remote_url() -%}
@@ -50,7 +50,7 @@ footer = """
"""
trim = true
postprocessors = [
- { pattern = '