BabyShark HackTool Proxy C2 URL Pattern via momyshark?key=

Alerts on proxy URIs containing the BabyShark agent default "momyshark?key=" query pattern.

FreeReviewedSigma · Critical · v2
Category
proxy
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-06-09
Updated
2026-07-31
title: BabyShark HackTool Proxy C2 URL Pattern via momyshark?key=
id: db397d15-66e5-4aeb-bcd6-f32afccc4dba
status: test
description: "This rule identifies proxy requests whose URI contains the BabyShark C2 default URL pattern: momyshark?key=. Attackers using this framework may rely on predictable request paths to establish command-and-control communications. Detection relies on proxy telemetry that includes the full request URI so the pattern match can be applied."
references:
  - https://nasbench.medium.com/understanding-detecting-c2-frameworks-babyshark-641be4595845
  - https://github.com/SigmaHQ/sigma/blob/master/rules/web/proxy_generic/proxy_hktl_baby_shark_default_agent_url.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2021-06-09
modified: 2024-02-15
tags:
  - attack.command-and-control
  - attack.t1071.001
logsource:
  category: proxy
detection:
  selection:
    c-uri|contains: momyshark\?key=
  condition: selection
falsepositives:
  - Unlikely
level: critical
license: DRL-1.1
related:
  - id: 304810ed-8853-437f-9e36-c4975c3dfd7e
    type: derived