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

Create attachment_html_excessive_const_declarations.yml #2246

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

morriscode
Copy link
Member

Description

This rule detects inbound emails containing HTML files with an unusually high number of const declarations, which can indicate obfuscated or injected malicious scripts. By targeting files with smaller sizes, it highlights potential threats involving compact, stealthy scripts often used for credential phishing, malware delivery, or HTML smuggling attacks. Legitimate Gmail messages are excluded to reduce false positives, ensuring the focus remains on anomalous and potentially malicious behavior.

Associated hunts

If you ran any hunts with your rule, please link them here.

@morriscode morriscode requested a review from a team as a code owner December 24, 2024 05:13
@morriscode
Copy link
Member Author

/update-test-rules

github-actions bot pushed a commit that referenced this pull request Dec 24, 2024
Create attachment_html_excessive_const_declarations.yml by @morriscode
#2246
Source SHA 608436f
Triggered by @morriscode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant