Skip to content

Replace CommandLine with real command line arguments #5219

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikstuckenbrock
Copy link

Summary of the Pull Request

The referenced tweet of the rule Potential PowerShell Obfuscation Via WCHAR was updated and to concrete examples were given. The first example mentions copying the special characters and directly using them, this should be covered by the windash function. To use the special dashes using the .NET datatype the [char] function is used. For me it looks like there is no (WCHAR) function for powershell.

Changelog

fix: Potential PowerShell Obfuscation Via WCHAR - replaced with correct execution using [char]

Example Log Event

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Windows Pull request add/update windows related rules labels Mar 3, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @nikstuckenbrock 👋

It looks like this is your first pull request on the Sigma rules repository!

Please make sure to read the SigmaHQ conventions document to make sure your contribution is adhering to best practices and has all the necessary elements in place for a successful approval.

Thanks again, and welcome to the Sigma community! 😃

@nasbench nasbench added this to the Sigma-March-Release milestone Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rules Windows Pull request add/update windows related rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants