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

Automatic license key removal for rule 5 enforcement #29

Open
tigattack opened this issue Oct 28, 2020 · 3 comments
Open

Automatic license key removal for rule 5 enforcement #29

tigattack opened this issue Oct 28, 2020 · 3 comments
Labels
enhancement Cog enhancements. to do

Comments

@tigattack
Copy link
Member

In GitLab by @alyxw on Apr 17, 2020, 13:16

Overview

An extension to match message contents against known formats of license keys (Windows, VMware, etc) to automatically enforce rule 5.

Commands

n/a

DoD

  • compile expressions to match for common software
  • build something to automatically act upon matches

Stretch

  • a whitelist for KMS keys because those come up in legitimate conversation sometimes, apparently
@tigattack tigattack added enhancement Cog enhancements. to do labels Oct 28, 2020
@tigattack
Copy link
Member Author

In GitLab by @issy on Jul 7, 2020, 19:00

regex for windows license keys (AFAIK)
.*[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}.*
unsure of whether there are any definitive differences in the construction of KMS keys

@tigattack
Copy link
Member Author

In GitLab by @tigattack on Jul 8, 2020, 15:11

That'd work for KMS keys too. Nice one Issy.

@themiddlegeek
Copy link

Tested against various VMware keys, caught every single one.

@rHomelab rHomelab deleted a comment from tigattack Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Cog enhancements. to do
Projects
None yet
Development

No branches or pull requests

2 participants