Skip to content

Fix infinite YaraScan loop when dump limit is reached - #186

Merged
kevoreilly merged 1 commit into
kevoreilly:capemonfrom
doomedraven:capemon
Sep 1, 2026
Merged

Fix infinite YaraScan loop when dump limit is reached#186
kevoreilly merged 1 commit into
kevoreilly:capemonfrom
doomedraven:capemon

Conversation

@doomedraven

Copy link
Copy Markdown
Contributor

Fixes a bug in ProcessTrackedRegion where hitting the dump limit prevented PagesDumped from being set to TRUE. This bypassed entropy thresholds and caused an infinite loop of failed memory dumping and YARA scanning upon every intercepted call.

Tested locally, loop no longer triggers.

@kevoreilly
kevoreilly merged commit 30d0154 into kevoreilly:capemon Sep 1, 2026
@kevoreilly

Copy link
Copy Markdown
Owner

This is actually causing failures in, for example, dynamic config extraction. Do you have an example sample that triggers the described infinite loop?

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.

2 participants