mirror of
https://github.com/boku7/Loki
synced 2026-06-06 15:24:27 +00:00
1.5 KiB
1.5 KiB
Create Storage Account Using Azure Portal
Follow these steps to create a Storage Account and SAS Token via the Azure Portal.
🛠 Step 1: Create a Storage Account
- Go to the Azure Portal.
- Navigate to Storage accounts and click Create.
- Configure the following:
- Subscription: Select your subscription.
- Resource Group: Click Create new or select an existing one.
- Storage Account Name: Enter a unique name (e.g., 7200727c985343598e3646).
- Redundancy: Locally Redundant Storage (LRS).
- Click Review + Create, then Create.
🔑 Step 2: Generate a SAS Token
- Go to Storage accounts in the Azure Portal.
- Click on your storage account (mystorageaccount12345).
- In the left menu, select Shared Access Signature.
- Configure:
- Permissions: Check all (Read, Write, Delete, List, Add, Create, Update, Process).
- Allowed Services: Select Blob, Queue, Table.
- Allowed Resource Types: Select Service, Container, Object.
- Expiry Date: Set to 3 months from today.
- Protocol: Choose HTTPS only.
- Click Generate SAS and connection string.
- Copy the SAS Token and Blob Service SAS URL.
Step 3: Edit the Client and Agent Config Files
- Copy your storage bin domain and SAS token value.
- Modify
/agent/config.jsand/client/config.jsto have the storage domain and SAS token.
🎯 Final Notes
- The SAS token provides full access to the storage account.
- If your payload is reversed they will be able to use the SAS token to read the C2 channels, provided they also have the AES key.