Threat reportMalwareTL-2026-7035
AllaSenha: AllaKore variant leverages Azure cloud C2 to steal banking details in Latin America (Brazil)
A phishing campaign impersonating Brazilian NFS-e electronic invoices delivers AllaSenha, a custom AllaKore RAT variant and banking trojan, via a WebDAV-hosted LNK disguised as a PDF, a Python loader chain (BPyCode) and a Delphi loader (ExecutorLoader) that injects it into a renamed mshta.exe. First disclosed .
Key facts
Detection coverage
As of 2026-11-28, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7035 across Splunk SPL, Microsoft KQL and Sigma, covering 27 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: AllaSenha WebDAV LNK Launcher Running NotaFiscal/c.cmd Script from @80 Share — Exploitation
Detects the AllaSenha (AllaKore variant, CarnavalHeist) initial execution stage: NotaFiscal.pdf.lnk spawns cmd.exe or powershell.exe with a WebDAV UNC path (host@80) and references the Documentos share, NotaFiscal decoy, or the c.cmd / a3.cmd BPyCode launcher. Behaviour-first: fires on the WebDAV-over-port-80 script launch regardless of the stager IP, which rotates quickly. Maps to T1204.002, T1059.003, T1059.001 and T1036.007.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1204.002, T1059.003, T1059.001, T1036.007
- Data sources: sysmon, index=windows sourcetype=XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
- Severity: high
- Confidence: high
Splunk SPL
index=windows sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 (Image="*\\cmd.exe" OR Image="*\\powershell.exe") CommandLine="*@80*" (CommandLine="*NotaFiscal*" OR CommandLine="*Documentos*" OR CommandLine="*c.cmd*" OR CommandLine="*a3.cmd*") ```TL-2026-7035 AllaSenha WebDAV LNK launcher``` | stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as command_lines values(ParentImage) as parent_images by host, User | convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName in~ ("cmd.exe", "powershell.exe")
| where ProcessCommandLine has "@80"
| where ProcessCommandLine has_any ("NotaFiscal", "Documentos", "c.cmd", "a3.cmd")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine
| order by Timestamp descSigma
title: AllaSenha WebDAV LNK Launcher Executing Script From @80 Share
id: 3f6c1d52-8a41-4b7e-9c2d-5e1a7b0d4c11
status: experimental
description: Detects cmd.exe or powershell.exe launched with a WebDAV (@80) UNC path and the NotaFiscal, Documentos, c.cmd or a3.cmd artifacts used by the AllaSenha / CarnavalHeist LNK chain.
references:
- https://harfanglab.io/insidethelab/allasenha-allakore-variant-azure-c2-steal-banking-latin-america/
- https://github.com/HarfangLab/iocs/tree/main/TRR240501
author: Threadlinqs Team
date: 2026-11-28
tags:
- attack.execution
- attack.t1204.002
- attack.t1059.003
- attack.t1059.001
- attack.defense-evasion
- attack.t1036.007
logsource:
category: process_creation
product: windows
detection:
selection_img:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
selection_webdav:
CommandLine|contains: '@80'
selection_artifact:
CommandLine|contains:
- 'NotaFiscal'
- 'Documentos'
- '\c.cmd'
- '\a3.cmd'
condition: all of selection_*
falsepositives:
- Administrators running scripts from an internal WebDAV share on port 80 named Documentos
level: highKnown false positives:
- Administrators legitimately running batch scripts from an internal WebDAV share on port 80 that is named Documentos
- Software deployment tooling that invokes cmd.exe against a WebDAV UNC path
Tuning notes: Allow-list internal WebDAV hosts by adding NOT CommandLine="*@80*" exclusions for known corporate server names. Adjust the index and sourcetype to your Sysmon ingestion. Requires Sysmon EventCode 1 with full command-line capture; if the WebClient service is disabled fleet-wide, any hit should be treated as high priority.
- AllaSenha NFS-e Phishing Domains and WebDAV Stager IP Connections — Exploitation · unlock with TL Creds
- AllaSenha ExecutorLoader Renamed mshta.exe Process Host — Post-Exploitation · unlock with TL Creds
- AllaSenha Raw TCP C2 to brazilsouth.cloudapp.azure.com from Non-Browser Process — C2 · unlock with TL Creds
- AllaSenha search: URI Handler Opening WebDAV Share — Exploitation · unlock with TL Creds
- AllaSenha BPyCode Renamed pythonw.exe Running from C:\Users\Public — Post-Exploitation · unlock with TL Creds
- AllaSenha ExecutorLoader Staging from GitHub raw Content — C2 / Ingress · unlock with TL Creds
- AllaSenha BPyCode Run-Key Persistence Pointing to C:\Users\Public — Post-Exploitation · unlock with TL Creds
- AllaSenha Date-Based DGA Lookup under brazilsouth.cloudapp.azure.com — C2 · unlock with TL Creds
Indicators of compromise
As of 2026-11-28, Threadlinqs Intelligence tracks 27 indicators of compromise for TL-2026-7035.
Sample indicators (3 of 27)
- IP address:
191.232.38[.]222 - Domain:
nfe-digital[.]digital - URL:
hxxps://is[.]gd/As1idV?0192524.3043
Defanged, TLP:CLEAR. Full set of 27 indicators: unlock with TL Creds.
Technical analysis
AllaSenha uses a date-based DGA for raw-TCP C2 on *.brazilsouth.cloudapp.azure.com hostnames and steals credentials for Brazilian bank accounts.
HarfangLab (TRR240501, published 2024-05-28) analyzed a banking-trojan campaign against Brazilian users. Phishing emails impersonating NFS-e/NF-e electronic invoices (subjects such as 'NFS-e Emitida', 'Segue a NFe gerada', 'Nota Fiscal gerada') carry is.gd shortened links that redirect to phishing pages on nfe-digital.digital / nfe-digital.top (registered 2024-04-26 at GoDaddy, fronted by Cloudflare, origin likely HostGator Brazil). A button on the page uses the Windows search: URI handler to open a WebDAV share (\\<IP>@80\Documentos) in Explorer, exposing NotaFiscal.pdf.lnk, which is disguised as a PDF.
The LNK runs cmd.exe, writes a decoy NotaFiscal.pdf containing the text 'Indisponivel', and runs a launcher batch file from the WebDAV share (a3.cmd in earlier waves, dc\c.cmd from late April 2024). The launcher runs a base64-encoded PowerShell command that derives a folder name from the reversed, lowercased computer name, creates it under C:\Users\Public, downloads the embeddable Python 3.10.0 package from python.org, copies pythonw.exe to <name>.exe and runs base64-encoded Python (BPyCode). BPyCode generates 3 DGA hostnames per day (SHA-1 of a date-derived string with a letter lookup table) under <DGA>.brazilsouth.cloudapp.azure.com on one of 10 TCP ports, beacons 'pyCodeV10 - *NEWW*' with hostname, processor name, Windows version and username, and receives a Pickle-serialized dictionary holding a further loader, the PythonMemoryModule package and a ZipCrypto-protected ZIP (password 'Snh2301**Snh2301**') containing ExecutorLoader. BPyCode persists via a C:\Users\Public\<filename>.txt copy and an HKCU Run key, and stops if the processor name contains 'Broadwell'.
ExecutorLoader (Borland Delphi 10.4, executor.dll / Execute_dll.exe, export 'Force', compiled 2024-05-02) copies mshta.exe to a randomly named file in a directory from a predefined list, starts it with CreateProcessW, allocates memory with VirtualAlloc, copies in the UPX-packed DLL from resource 'RcDll' and starts a remote thread. The payload, AllaSenha (Access_PC_Client_dll.dll, 32-bit, likely built from KL Gorki source combined with AllaKore and the ServerSocket library), reads browser data for bank credentials and, if none is found, waits for banking activity (target sites, itauaplicativo.exe, saved bank passwords) before contacting C2. Its GeraHost/GeraPorta DGA depends on the execution date and the bank. C2 is raw ASCII over TCP using <|COMMAND|> messages (e.g. <|SENHA|>, <|TRAVAR|>, <|PUXAR-TECLAS|>, <|ITAU-TK-APP|>, <|BB-AMARELO|>). It shows fake 2FA windows (QR code, SMS, in-app token) and a fake bank security-plugin screen and offers remote desktop with keyboard/mouse control. Named banks: Banco do Brasil, Bradesco, Banco Safra, Itau Unibanco, Sicoob, Caixa Economica Federal, with Sicredi and Unicred also appearing in the malware.
Timeline and attribution: HarfangLab saw earlier variants in 2023 delivered via Autodesk A360 Drive and GitHub, and the current chain from about March 2024 (medium confidence). The attacker-controlled WebDAV servers sit in Microsoft IP space (ASN 8075, Brazil) and are short-lived (e.g. 191.232.38.222 was set up the day before and taken down the day after 2024-05-01). HarfangLab found no reliable link to a known threat actor; the username 'bert1m' in LNK metadata and AllaSenha source paths likely indicates a Portuguese-speaking developer with no evidence of being the operator. Per press coverage of Cisco Talos research (which tracks the malware as CarnavalHeist), two Brazilian actors were tied to the campaign through domain-registration mistakes; Talos observed only Brazilian victims. Newly generated C2 hostnames appeared inactive when HarfangLab wrote the report. No CVE is involved.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1027.002 Obfuscated Files or Information: Software Packing; T1036.003 Masquerading: Rename Legitimate Utilities; T1036.007 Masquerading: Double File Extension; T1055 Process Injection; T1480 Execution Guardrails
Credential Access
T1056.001 Input Capture: Keylogging; T1056.002 Input Capture: GUI Input Capture; T1555.003 Credentials from Password Stores: Credentials from Web Browsers
Execution
T1059.001 Command and Scripting Interpreter: PowerShell; T1059.003 Command and Scripting Interpreter: Windows Command Shell; T1059.006 Command and Scripting Interpreter: Python; T1204.001 User Execution: Malicious Link; T1204.002 User Execution: Malicious File
Command and Control
T1095 Non-Application Layer Protocol; T1219 Remote Access Tools; T1568.002 Dynamic Resolution: Domain Generation Algorithms
Persistence
T1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Initial Access
T1566.002 Phishing: Spearphishing Link
Resource Development
Remediation
Immediate actions
- Block outbound SMB/WebDAV (TCP 80 to non-corporate hosts via the Windows WebClient service) and the WebDAV stager IPs listed in the IOCs
- Block nfe-digital.digital, nfe-digital.top, nfe-digital.online and nfe-digital.site and filter is.gd shortened links in email and web proxy
- Hunt for NotaFiscal.pdf.lnk, c.cmd/a3.cmd, pythonw.exe copies and .txt/.exe files under C:\Users\Public, and renamed mshta.exe copies
- Alert on outbound raw TCP to *.brazilsouth.cloudapp.azure.com from endpoints that have no Azure business need
- Reset credentials and notify the bank for any user whose host executed the chain
Workarounds
- Disable the WebClient service on endpoints that do not require WebDAV
- Monitor HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run for new entries pointing to Public-folder files
Longer-term hardening
- Block or restrict the search: / search-ms: URI handler and the WebClient service where not needed
- Deploy EDR rules for mshta.exe copies run from non-standard paths and remote-thread injection into them
- Use application control to block Python interpreters and renamed pythonw.exe from user-writable directories such as C:\Users\Public
- Train users to distrust NFS-e/NF-e invoice emails and links; verify invoices through the official municipal portal
Affected and fixed versions
- Microsoft — Windows desktop endpoints of Brazilian online-banking users
Vulnerable versions: Not version-specific; social-engineering and living-off-the-land delivery
Timeline
- Earlier AllaSenha variants, likely delivered via Autodesk A360 Drive and GitHub, were in use during 2023 (approximate year per HarfangLab; Talos also reports campaigns since at least 2023).
- WebDAV stager at 191.239.123.241 last modified, hosting an LNK with the a3.cmd BPyCode launcher; the LNK-on-WebDAV chain is assessed as in use from about March 2024.
- WebDAV content modified on locked-ioc-20; locked-ioc-19 followed on 2024-04-11, both still using a3.cmd.
- Additional phishing domains locked-ioc-15 and locked-ioc-17 registered.
- Phishing domains locked-ioc-14 and locked-ioc-18 registered at GoDaddy, fronted by Cloudflare.
- Stager locked-ioc-22 modified and locked-ioc-21 followed on 2024-05-01; the launcher changed to dc\c.cmd. locked-ioc-21 was set up the day before and taken down the day after.
- AllaSenha compiled at 10:44:07 and ExecutorLoader at 10:44:22.
- WebDAV content on locked-ioc-23 modified, the latest stager listed in the report.
- Example AllaSenha DGA hostname locked-ioc-3 generated for this date.
- HarfangLab publishes TRR240501 with YARA rules and IOCs on GitHub.
- The Hacker News update adds Cisco Talos findings (tracked as CarnavalHeist) attributing the campaign to two Brazilian actors via domain-registration mistakes.
Sources cited
- AllaSenha: AllaKore variant leverages Azure cloud C2 to steal banking details in Latin America (TRR240501) harfanglab.io · Research · 2024-05-28
- AllaSenha Brazil banking (Anvilogic threat report) anvilogic.com · Research
- Cybereason: Brazilian financial malware targeting Europe and South America cybereason.com · Research
- Microsoft: Windows Search protocol (search: URI) Microsoft · Vendor report
- HarfangLab IOC repository TRR240501 GitHub · Code repository · 2024-05-28
- AllaKore_Remote (open-source RAT base) GitHub · Code repository
- PythonMemoryModule (in-memory loader used by BPyCode) GitHub · Code repository
- ServerSocket library used for remote desktop GitHub · Code repository
- KL Gorki source (AllaSenha code base) GitHub · Code repository
- BlackBerry: AllaKore RAT against Mexican banks and cryptocurrency platforms blogs.blackberry.com · Blog · 2024-01-01
- Brazilian Banks Targeted by New AllaKore RAT Variant Called AllaSenha (The Hacker News) The Hacker News · News · 2024-05-29
- Novel AllaKore RAT variant sets sights on Brazilian banks (SC Media) scworld.com · News
Drafted by the Threadlinqs research pipeline from 12 sources; published ; last updated —.