Skip to content

Add SuspiciousHttpTimeouts signature for low timeouts#590

Open
kevross33 wants to merge 2 commits into
CAPESandbox:masterfrom
kevross33:patch-554690
Open

Add SuspiciousHttpTimeouts signature for low timeouts#590
kevross33 wants to merge 2 commits into
CAPESandbox:masterfrom
kevross33:patch-554690

Conversation

@kevross33

Copy link
Copy Markdown
Contributor

Implements a signature to detect suspicious low WinHTTP or WinINet timeouts, indicating potential C2 techniques.

8cab1d33dade4a006061c021c00eb692dc346223369916755360ad00906df84b (Socks5Systemz)
image

Implements a signature to detect suspicious low WinHTTP or WinINet timeouts, indicating potential C2 techniques.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new Cuckoo signature, SuspiciousHttpTimeouts, to detect malware setting unusually low WinHTTP or WinINet timeouts. The review feedback highlights critical improvements: handling potential hex strings for WinHTTP timeouts to avoid silent parsing failures, prioritizing the dereferenced pretty_value for InternetSetOption buffer values to prevent false negatives from pointer addresses, and refactoring the signature to use the standard self.data list so that matched evidence is correctly included in the final Cuckoo report.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread modules/signatures/windows/network_c2_misc.py
Comment thread modules/signatures/windows/network_c2_misc.py Outdated
Comment thread modules/signatures/windows/network_c2_misc.py
Comment thread modules/signatures/windows/network_c2_misc.py
Comment thread modules/signatures/windows/network_c2_misc.py
Comment thread modules/signatures/windows/network_c2_misc.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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