Hardcoded Suspicious IP Address in Skill Content
Detects hardcoded IP addresses in skill content that may represent command and control (C2) servers, particularly when associated with suspicious network ranges or known malware infrastructure.
c2 communication · pattern · confidence: high
- Severity
- high
- Lanes
- alert · huntmarks and reports a match
- Maturity
- testnot yet settled
- Scan target
- skill
- Status
- experimental
Framework mappings
- MITRE ATLAS
- OWASP Agentic Top 10
- ASI04:2026
- OWASP LLM Top 10
- LLM09:2025
ATR wrote these mappings. The framework owners have not reviewed or endorsed them.
Description
Detects hardcoded IP addresses in skill content that may represent command and control (C2) servers, particularly when associated with suspicious network ranges or known malware infrastructure. The analyzed skill "sakaen736jih/youtube-watcher-p" contains reference to IP 91.92.242.30 identified as a known malware C2 server.
Detection conditions
Combinator: any- 01References to C2 server or malware actor with IP addressfield: contentop: regex
- 02Explicit identification of malicious infrastructure with IPfield: contentop: regex
- 03IP address followed, on the same line and within 120 characters, by a malicious infrastructure term as a whole word: C2, backdoor, malware, or command (and/&) control. "command" and "control" alone matched every IP line that later said startup-commands.md or management controller, and C2 matched inside EC2. A backslash ends the line too, because a JSON-encoded event carries a newline as the two characters \n, where [^\n] alone ran to the end of the documentfield: contentop: regex
- 04Known malicious IP ranges commonly used for C2field: contentop: regex
- 05Structured threat intelligence findings formatfield: contentop: regex
Attacks it catches
finding_0: Known malware actor: C2 server at 91.92.242.30
Command control server identified at 185.159.158.42
Malware actor using 194.87.95.123 for C2 communications
Known C2 infrastructure: 91.92.241.15
203.45.67.89 - detected malware server
198.51.100.23 is the command-and-control endpoint for this campaign
Attack examples the rule must catch, many based on reported attacks and some written to match their shape. They are versioned with the rule as regression tests. If a later revision stops catching one, it shows.
Benign inputs it leaves alone
Connect to database at 192.168.1.100
API endpoint: https://api.youtube.com/v3/videos
Server configuration: bind to 0.0.0.0:8080
Load balancer IP: 10.0.0.50
Monitor health check to 172.16.0.1
Do not apply a UDR with a 0.0.0.0/0 next hop on the GatewaySubnet; the gateway needs management controller access.
FastAPI: always run uvicorn with --host 0.0.0.0, see [startup-commands.md](references/startup-commands.md).
The private address 10.0.0.5 belongs to the EC2 instance that runs the build.
Known false positives
- ▸Security research documentation describing C2 patterns
- ▸Threat intelligence feeds in legitimate security tools
- ▸Network monitoring tools documenting suspicious activity
Documented bypasses
- Technique: IP defanging
Server location: 91[.]92[.]242[.]30
Brackets used to defang IP address in security documentation - Technique: Base64 encoding
Base64: OTEuOTIuMjQyLjMw (decodes to suspicious IP)
IP address encoded in Base64 to evade plain text detection - Technique: Hexadecimal encoding
Hex encoded: 5b.5c.f2.1e (91.92.242.30 in hex)
IP address represented in hexadecimal notation
These bypasses are documented in public. The rule itself lists its known limits.
Full YAML
Edit on GitHubtitle: 'Hardcoded Suspicious IP Address in Skill Content'
id: ATR-2026-00225
rule_version: 2
status: experimental
description: >
Detects hardcoded IP addresses in skill content that may represent command and control
(C2) servers, particularly when associated with suspicious network ranges or known
malware infrastructure. The analyzed skill "sakaen736jih/youtube-watcher-p" contains
reference to IP 91.92.242.30 identified as a known malware C2 server.
author: "ATR Community Feed Crystallization"
date: "2026/04/15"
schema_version: "0.1"
detection_tier: pattern
maturity: test
severity: high
references:
owasp_llm:
- "LLM09:2025"
owasp_agentic:
- "ASI04:2026"
mitre_atlas:
- "AML.T0048"
compliance:
nist_ai_rmf:
- subcategory: "GV.6.1"
context: "Hardcoded references to known malware C2 IP addresses inside third-party skill content directly evidence supplier/third-party AI risks; GV.6.1 requires policies that screen externally sourced skill artifacts for malicious infrastructure indicators before integration."
strength: primary
- subcategory: "MG.3.1"
context: "Detection of embedded C2 IPs in a third-party skill triggers the third-party risk management activities required by MG.3.1, allowing the supplier-supplied component to be quarantined or removed before execution."
strength: secondary
- subcategory: "MS.2.7"
context: "Identifying hardcoded malicious infrastructure in skill content contributes to continuous security/resilience evaluation under MS.2.7 by surfacing supply-chain compromise indicators that degrade system security posture."
strength: secondary
- subcategory: "MG.3.2"
context: "NIST AI RMF MANAGE 3.2 (pre-trained models monitored as part of maintenance) is supported where this rule detects the skill supply-chain compromise (Hardcoded Suspicious IP Address in Skill Content)."
strength: secondary
iso_42001:
- clause: "8.1"
context: "ISO/IEC 42001 Clause 8.1 (operational planning and control, including control of externally provided processes) is operationalised by this rule's detection of the skill supply-chain compromise (Hardcoded Suspicious IP Address in Skill Content)."
strength: primaryShow all (103 more lines)Show less
- clause: "8.3"
context: "ISO/IEC 42001 Clause 8.3 (AI risk treatment) is supported by this rule, which implements runtime detection of the skill supply-chain compromise (Hardcoded Suspicious IP Address in Skill Content) as a treatment control."
strength: secondary
eu_ai_act:
- article: "15"
context: "Article 15 (accuracy, robustness and cybersecurity) requires high-risk AI systems to resist unauthorised attempts to alter their use, outputs or performance; this rule provides runtime detection evidence by flagging the skill supply-chain compromise (Hardcoded Suspicious IP Address in Skill Content)."
strength: primary
- article: "9"
context: "Article 9 (risk management system) requires identified risks to be addressed by appropriate measures; this rule is a runtime risk-treatment control that detects the skill supply-chain compromise (Hardcoded Suspicious IP Address in Skill Content)."
strength: secondary
tags:
category: skill-compromise
subcategory: c2-communication
scan_target: skill
confidence: high
agent_source:
type: mcp_exchange
framework: [any]
provider: [any]
detection:
conditions:
- field: content
operator: regex
value: '(C2\s+server|command\s+control|malware\s+actor)\s+[^\n]*\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
description: 'References to C2 server or malware actor with IP address'
- field: content
operator: regex
value: '(known|identified|detected)\s+(malware|threat|actor|server)[^\n]*\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
description: 'Explicit identification of malicious infrastructure with IP'
- field: content
operator: regex
value: '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^\n\\]{0,120}?\b(?:C2|backdoor|malware|command[\s-]{0,3}(?:(?:and|&)[\s-]{0,3})?control)\b'
description: 'IP address followed, on the same line and within 120 characters, by a malicious infrastructure term as a whole word: C2, backdoor, malware, or command (and/&) control. "command" and "control" alone matched every IP line that later said startup-commands.md or management controller, and C2 matched inside EC2. A backslash ends the line too, because a JSON-encoded event carries a newline as the two characters \n, where [^\n] alone ran to the end of the document'
- field: content
operator: regex
value: '(91\.92\.24[0-9]\.|185\.159\.15[0-9]\.|194\.87\.9[0-9]\.)[0-9]{1,3}'
description: 'Known malicious IP ranges commonly used for C2'
- field: content
operator: regex
value: 'finding_[0-9]+:\s*(known|identified)\s+(malware|threat|C2|command)'
description: 'Structured threat intelligence findings format'
condition: any
false_positives:
- 'Security research documentation describing C2 patterns'
- 'Threat intelligence feeds in legitimate security tools'
- 'Network monitoring tools documenting suspicious activity'
response:
actions: [alert, block_tool]
message_template: >
[ATR-2026-00225] Skill contains reference to known malicious IP infrastructure
test_cases:
true_positives:
- input: 'finding_0: Known malware actor: C2 server at 91.92.242.30'
expected: triggered
- input: 'Command control server identified at 185.159.158.42'
expected: triggered
- input: 'Malware actor using 194.87.95.123 for C2 communications'
expected: triggered
- input: 'Known C2 infrastructure: 91.92.241.15'
expected: triggered
- input: '203.45.67.89 - detected malware server'
expected: triggered
- input: '198.51.100.23 is the command-and-control endpoint for this campaign'
expected: triggered
reason: 'IP followed by the spelled-out command-and-control phrase'
true_negatives:
- input: 'Connect to database at 192.168.1.100'
expected: not_triggered
reason: 'Private IP address for legitimate database connection'
- input: 'API endpoint: https://api.youtube.com/v3/videos'
expected: not_triggered
reason: 'Legitimate API endpoint without suspicious context'
- input: 'Server configuration: bind to 0.0.0.0:8080'
expected: not_triggered
reason: 'Standard server binding configuration'
- input: 'Load balancer IP: 10.0.0.50'
expected: not_triggered
reason: 'Private network infrastructure IP'
- input: 'Monitor health check to 172.16.0.1'
expected: not_triggered
reason: 'Private IP range for internal monitoring'
- input: 'Do not apply a UDR with a 0.0.0.0/0 next hop on the GatewaySubnet; the gateway needs management controller access.'
expected: not_triggered
reason: 'REGRESSION (skills.sh top-375 replay 2026-10-27): default route followed by the word controller'
- input: 'FastAPI: always run uvicorn with --host 0.0.0.0, see [startup-commands.md](references/startup-commands.md).'
expected: not_triggered
reason: 'REGRESSION (skills.sh top-375 replay 2026-10-27): bind address followed by a file name containing commands'
- input: 'The private address 10.0.0.5 belongs to the EC2 instance that runs the build.'
expected: not_triggered
reason: 'EC2 contains the letters C2'
evasion_tests:
- input: 'Server location: 91[.]92[.]242[.]30'
expected: not_triggered
bypass_technique: 'IP defanging'
notes: 'Brackets used to defang IP address in security documentation'
- input: 'Base64: OTEuOTIuMjQyLjMw (decodes to suspicious IP)'
expected: not_triggered
bypass_technique: 'Base64 encoding'
notes: 'IP address encoded in Base64 to evade plain text detection'
- input: 'Hex encoded: 5b.5c.f2.1e (91.92.242.30 in hex)'
expected: not_triggered
bypass_technique: 'Hexadecimal encoding'
notes: 'IP address represented in hexadecimal notation'