Introducing azurevelo: A Customized Velociraptor for Azure App Service

Listen to this Post

Featured Image
Microsoft Defender for Endpoint (MDE) is a powerful security tool, but it only records data from the moment a device is onboarded. For investigations requiring historical data or deeper forensic analysis, Velociraptor excels by extracting forensic artifacts directly from endpoints.

Most Velociraptor deployments run on Ubuntu Linux, but azurevelo simplifies this by integrating Velociraptor with Azure App Service, making it accessible to users unfamiliar with Linux administration.

Key Features of azurevelo:

  • Quick Deployment: Set up in under 5 minutes.
  • Cost-Effective: Runs on Azure App Service with scalable pricing.
  • High Scalability: Supports up to 100K endpoints when combined with Azure Front Door.

Resources:

You Should Know: Essential Commands & Steps for Velociraptor & Azure Integration

1. Deploying azurevelo on Azure App Service

 Clone the azurevelo repository 
git clone https://github.com/your-repo/azurevelo.git

Navigate to the project directory 
cd azurevelo

Deploy using Azure CLI 
az webapp up --name YourAppServiceName --resource-group YourResourceGroup --runtime "PYTHON:3.9" 

2. Basic Velociraptor Commands for Forensic Analysis

 Collect running processes from a Windows endpoint 
velociraptor query --query "SELECT  FROM Artifact.Windows.System.PSList()"

Extract browser history from a Linux system 
velociraptor query --query "SELECT  FROM Artifact.Linux.Browser.History()"

Hunt for suspicious binaries 
velociraptor query --query "SELECT  FROM Artifact.Generic.Utils.BinaryHunter()" 

3. Scaling with Azure Front Door

 Create an Azure Front Door profile 
az network front-door create --name YourFrontDoorName --resource-group YourResourceGroup

Link to your App Service 
az network front-door backend-pool backend add --front-door-name YourFrontDoorName --pool-name DefaultBackendPool --address YourAppServiceName.azurewebsites.net 

4. Automating Incident Response with MDE + Velociraptor

 Isolate a device using MDE PowerShell module 
Start-MdeMachineIsolation -DeviceId "YourDeviceID" -Comment "Suspicious activity detected"

Trigger Velociraptor collection via API 
Invoke-RestMethod -Uri "https://your-velociraptor-server/api/v1/collect" -Method Post -Body (Get-Content "collection_config.json" | ConvertTo-Json) 

What Undercode Say

Velociraptor is a game-changer for live forensics and incident response, especially when paired with Azure’s cloud-native infrastructure. Below are additional commands to enhance your investigations:

Linux Forensic Commands

 Check for hidden processes 
ps -ef | grep -i "[bash]"

Analyze network connections 
ss -tulnp

Dump memory for analysis (requires LiME) 
insmod lime.ko "path=/tmp/memdump.lime format=lime" 

Windows Incident Response

 List all scheduled tasks (malware persistence check) 
Get-ScheduledTask | Select-Object TaskName, State, Actions

Extract PowerShell execution history 
Get-Content "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt"

Check for lateral movement via WMI 
Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-WMI-Activity/Operational'; ID=5861} 

Azure Security Enhancements

 Enable MDE integration with Azure Sentinel 
az security atp storage update --is-enabled true --storage-account YourStorageAccount

Monitor suspicious login attempts 
az monitor activity-log list --query "[?operationName.value == 'Microsoft.Security/locations/alerts/activate/action']" 

Expected Output:

A fully deployed azurevelo instance integrated with Microsoft Defender for Endpoint, enabling:
– Rapid forensic collection from endpoints.
– Scalable cloud-based investigations.
– Automated incident response workflows.

For deeper exploration, refer to the provided GitHub repositories and training materials.

References:

Reported By: 59852820r9f Introducing – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 Telegram