Skip to content
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

Chore/new identity #41

Merged
merged 13 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 The WAG development team
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
#
# SPDX-License-Identifier: CC0-1.0

Expand Down
2 changes: 1 addition & 1 deletion .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2023 The WAG development team
SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team

SPDX-License-Identifier: GPL-3.0-or-later
-->
Expand Down
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.lock.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -21,7 +21,7 @@ keywords = [
categories = ["command-line-utilities"]

[[bin]]
name = "wag"
name = "mtg"
path = "./src/main.rs"

[dependencies]
Expand Down
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
<!--
SPDX-FileCopyrightText: 2023 The WAG development team
SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team

SPDX-License-Identifier: GPL-3.0-or-later
-->

<div align="center">
<a href="https://github.com/frack113/WAG/">
<img src="https://raw.githubusercontent.com/frack113/WAG/main/media/logo.svg" alt="Logo" />
<a href="https://github.com/frack113/MalwareTracesGenerator/">
<img src="https://raw.githubusercontent.com/frack113/MalwareTracesGenerator/refs/heads/main/media/logo.svg" alt="Logo" />

Check failure on line 9 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:9:81 MD013/line-length Line length [Expected: 80; Actual: 125] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 9 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:9:81 MD013/line-length Line length [Expected: 80; Actual: 125] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>

<h3 align="center">Windows Artifacts Generator</h3>
<h3 align="center">Malware Traces Generator</h3>

<p align="center">
Generate malware artifacts for detection tests
Generate malware traces for detection tests
<br />
<a href="https://github.com/frack113/WAG/issues/">
<a href="https://github.com/frack113/MalwareTracesGenerator/issues/">
Report Bug
</a>
·
<a href="https://github.com/frack113/WAG/issues/">
<a href="https://github.com/frack113/MalwareTracesGenerator/issues/">
Request Feature
</a>
<br />
<br />
<a href="https://github.com/">
<img src="https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=fff&style=for-the-badge" alt="Github badge" />

Check failure on line 27 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:27:81 MD013/line-length Line length [Expected: 80; Actual: 127] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 27 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:27:81 MD013/line-length Line length [Expected: 80; Actual: 127] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>
<a href="./LICENSES/GPL-3.0-or-later.txt">
<img src="https://img.shields.io/badge/License-GPL%203.0%20or%20later-green.svg?style=for-the-badge" alt="GPL 3.0 or later badge" />

Check failure on line 30 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:30:81 MD013/line-length Line length [Expected: 80; Actual: 138] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 30 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:30:81 MD013/line-length Line length [Expected: 80; Actual: 138] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>
<a href="https://www.microsoft.com/en-us/windows/">
<img src="https://img.shields.io/badge/Windows-0078D4?logo=windows&logoColor=fff&style=for-the-badge" alt="Windows badge" />

Check failure on line 33 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:33:81 MD013/line-length Line length [Expected: 80; Actual: 130] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 33 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:33:81 MD013/line-length Line length [Expected: 80; Actual: 130] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>
<a href="https://www.rust-lang.org/">
<img src="https://img.shields.io/badge/Rust-000?logo=rust&logoColor=fff&style=for-the-badge" alt="Rust badge" />

Check failure on line 36 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:36:81 MD013/line-length Line length [Expected: 80; Actual: 118] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 36 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:36:81 MD013/line-length Line length [Expected: 80; Actual: 118] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>
<a href="https://reuse.software/">
<img src="https://img.shields.io/reuse/compliance/github.com%2Ffrack113%2FWAG?style=for-the-badge" alt="Reuse badge" />

Check failure on line 39 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:39:81 MD013/line-length Line length [Expected: 80; Actual: 125] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 39 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:39:81 MD013/line-length Line length [Expected: 80; Actual: 125] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
</a>
</p>
</div>
Expand All @@ -57,13 +57,13 @@

## 👀 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.

Check failure on line 60 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:60:81 MD013/line-length Line length [Expected: 80; Actual: 90] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 60 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:60:81 MD013/line-length Line length [Expected: 80; Actual: 90] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

### ❓ Why

It's useful for testing configurations, rules, or your Endpoint Detection and Response. \

Check failure on line 64 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:64:81 MD013/line-length Line length [Expected: 80; Actual: 89] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 64 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:64:81 MD013/line-length Line length [Expected: 80; Actual: 89] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
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. \

Check failure on line 65 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:65:81 MD013/line-length Line length [Expected: 80; Actual: 117] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 65 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:65:81 MD013/line-length Line length [Expected: 80; Actual: 117] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
By avoiding full and complex simulations, [Malware Traces Generator][mtg] seeks to be simple but nonetheless powerful.

Check failure on line 66 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:66:81 MD013/line-length Line length [Expected: 80; Actual: 118] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 66 in README.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Line length

README.md:66:81 MD013/line-length Line length [Expected: 80; Actual: 118] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

## 🚀 Getting started

Expand All @@ -80,7 +80,7 @@
In order to install it, just enter this command in your favorite terminal:

```sh
cargo install windows-artifacts-generator
cargo install malware-traces-generator

```

Expand All @@ -89,7 +89,7 @@
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!
Expand All @@ -102,17 +102,17 @@

### 🥷 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].
Expand Down Expand Up @@ -144,9 +144,9 @@
[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/
5 changes: 3 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -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);
}
6 changes: 3 additions & 3 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -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() -%}
Expand Down Expand Up @@ -50,7 +50,7 @@ footer = """
"""
trim = true
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/frack113/WAG/" },
{ pattern = '<REPO>', replace = "https://github.com/frack113/MalwareTracesGenerator/" },
]

[git]
Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 The WAG development team
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
#
# SPDX-License-Identifier: CC0-1.0

Expand Down
2 changes: 1 addition & 1 deletion media/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion media/logo.svg.license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPDX-FileCopyrightText: 2023 Agbama Ulimhuka
SPDX-FileCopyrightText: 2023 Tailwind Labs, Inc
SPDX-FileCopyrightText: 2023 The WAG development team
SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions media/mtg.ico.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team

SPDX-License-Identifier: GPL-3.0-or-later
3 changes: 0 additions & 3 deletions media/wag.ico.license

This file was deleted.

35 changes: 35 additions & 0 deletions mtg-manifest.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
//
// SPDX-License-Identifier: CC0-1.0

#pragma code_page(65001)
#define RT_MANIFEST 24
1 RT_MANIFEST "mtg.exe.manifest"

IDI_ICON1 ICON "media/mtg.ico"

1 VERSIONINFO
FILEVERSION 1,0,0
PRODUCTVERSION 1,0,0
FILEFLAGSMASK 0X3FL
FILEFLAGS 0L
FILEOS 0X40004L
FILETYPE 0X1
FILESUBTYPE 0
BEGIN
BLOCK "StringFileInfo" {
BLOCK "040904B0" {
VALUE "FileVersion", "1.0.0"
VALUE "ProductVersion", "1.0.0"
VALUE "OriginalFilename", "mtg.exe"
VALUE "InternalName", "MalwareTracesGenerator"
VALUE "FileDescription", "Generate malware traces for detection tests"
VALUE "CompanyName", "Malware Traces Generator"
VALUE "LegalCopyright", "2023 The MalwareTracesGenerator development team"
VALUE "ProductName", "Malware Traces Generator"
}
}
BLOCK "VarFileInfo" {
VALUE "Translation", 0x0409, 0x04B0
}
END
Loading