Skip to content

Conversation

@dwBruijn
Copy link

@dwBruijn dwBruijn commented Jan 6, 2026

Hello,

Added patterns to exec-base64 rule to detect base64 decoding using codecs.decode(), importlib.import_module("base64").b64decode(...) and importlib.import_module("codecs").decode(...) (fairly common when trying to avoid detection).

These patterns were not being detected:

codecs.decode(..., 'base64')
importlib.import_module('base64').b64decode(...)
importlib.import_module('codecs').decode(..., 'base64')

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.

1 participant