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

Add support for LZNT1 decompression. #1675

Merged
merged 2 commits into from
Feb 3, 2024
Merged

Conversation

0xThiebaut
Copy link
Contributor

Introduces support for LZNT1 decompression, commonly leveraged by malware through RtlDecompressBuffer (closes #534).

The decompression logic is ported from go-ntfs, the test data is similar to malduck's.

@CLAassistant
Copy link

CLAassistant commented Dec 25, 2023

CLA assistant check
All committers have signed the CLA.

bee-san pushed a commit to bee-san/CyberFork that referenced this pull request Dec 27, 2023
Introduces support for LZNT1 decompression, commonly leveraged by malware through RtlDecompressBuffer (closes gchq#534).

The decompression logic is ported from go-ntfs, the test data is similar to malduck's.

from: gchq#1675
@a3957273 a3957273 merged commit 44b5667 into gchq:master Feb 3, 2024
4 checks passed
@a3957273
Copy link
Member

a3957273 commented Feb 3, 2024

Thanks for the contribution, this looks really valuable! :)

mwalbeck pushed a commit to mwalbeck/docker-cyberchef that referenced this pull request Feb 24, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gchq/CyberChef](https://github.com/gchq/CyberChef) | minor | `v10.5.2` -> `v10.8.2` |

---

### Release Notes

<details>
<summary>gchq/CyberChef (gchq/CyberChef)</summary>

### [`v10.8.2`](https://github.com/gchq/CyberChef/releases/tag/v10.8.2)

[Compare Source](gchq/CyberChef@v10.8.1...v10.8.2)

See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details.

This release replaces v10.8.1, which had an incorrect file name.  No changes were made.

### [`v10.8.1`](gchq/CyberChef@v10.8.0...v10.8.1)

[Compare Source](gchq/CyberChef@v10.8.0...v10.8.1)

### [`v10.8.0`](https://github.com/gchq/CyberChef/releases/tag/v10.8.0)

[Compare Source](gchq/CyberChef@v10.7.0...v10.8.0)

See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details.

### [`v10.7.0`](https://github.com/gchq/CyberChef/releases/tag/v10.7.0)

[Compare Source](gchq/CyberChef@10.6.0...v10.7.0)

See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details.

### [`v10.6.0`](https://github.com/gchq/CyberChef/releases/tag/v10.6.0)

[Compare Source](gchq/CyberChef@10.6.0...10.6.0)

See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details.

### [`v10.6.0`](https://github.com/gchq/CyberChef/blob/HEAD/CHANGELOG.md#1060---2024-02-03)

[Compare Source](gchq/CyberChef@v10.5.2...10.6.0)

-   Updated 'Forensics Wiki' URLs to new domain \[[@&#8203;a3957273](https://github.com/a3957273)] | \[[#&#8203;1703](gchq/CyberChef#1703)]
-   Added 'LZNT1 Decompress' operation \[[@&#8203;0xThiebaut](https://github.com/0xThiebaut)] | \[[#&#8203;1675](gchq/CyberChef#1675)]
-   Updated 'Regex Expression' UUID matcher \[[@&#8203;cnotin](https://github.com/cnotin)] | \[[#&#8203;1678](gchq/CyberChef#1678)]
-   Removed duplicate 'hover' message within baking info \[[@&#8203;KevinSJ](https://github.com/KevinSJ)] | \[[#&#8203;1541](gchq/CyberChef#1541)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIwMi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Reviewed-on: https://git.walbeck.it/mwalbeck/docker-cyberchef/pulls/280
Co-authored-by: renovate-bot <bot@walbeck.it>
Co-committed-by: renovate-bot <bot@walbeck.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Support LZNT1 (de)compression used in Windows' RtlDecompressBuffer and NTFS
3 participants