<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2" -->

---
title: Vidar Adds Virtual Machine and Custom Stream Ciphers For...
description: Zscaler ThreatLabz researchers detail how the Vidar information-stealer malware has evolved its string obfuscation from May through early September 2026,...
canonical: https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Vidar Adds Virtual Machine and Custom Stream Ciphers For String Obfuscation | daily.dev
og:description: Zscaler ThreatLabz researchers detail how the Vidar information-stealer malware has evolved its string obfuscation from May through early September 2026,...
og:url: https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2
og:image: https://api.daily.dev/og/posts/BSPvsb8m2.png
og:image:alt: Vidar Adds Virtual Machine and Custom Stream Ciphers For String Obfuscation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Vidar Adds Virtual Machine and Custom Stream Ciphers For String Obfuscation

**[Security Boulevard](https://daily.dev/sources/securityboulevard)** · 9 min read · 0 upvotes · 0 comments

## Summary

Zscaler ThreatLabz researchers detail how the Vidar information-stealer malware has evolved its string obfuscation from May through early September 2026, tracking version 2.0 through 3.3. Vidar progressed from simple XOR encryption to a modified ChaCha20 cipher, and most recently to a custom virtual machine executed via a bytecode interpreter combined with custom stream ciphers (ChaCha-based and ARX-based) that change per build. The post walks through the VM's dispatch table and opcode handlers, key/nonce derivation, and two stream cipher implementations (ChaCha-modified and ARX with FNV-1a/golden-ratio constants), providing code examples, opcode tables, and decrypted string samples. It concludes with Zscaler's detection coverage and a list of file hash IOCs across versions 2.0 through 3.4.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://securityboulevard.com/2026/09/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation>

## Questions this post answers

### How does the Vidar infostealer obfuscate its strings using a virtual machine?

Vidar uses a lightweight bytecode interpreter with a fetch-decode-execute loop and a sparse 256-entry dispatch table populated with 14 opcode handlers; unmapped opcodes are null and terminate execution. Handlers mutate a single-byte accumulator using XOR, addition, subtraction, rotation, bitwise negation, multiplication, and substitution-table lookups, with opcodes and constants changing per build to hinder automated analysis.

_Track evolving malware obfuscation techniques like this on daily.dev to keep detection rules current._

### What stream cipher algorithms does the Vidar malware version 2.2 and later use to decrypt strings?

Vidar versions 2.2 and later use a custom add-rotate-XOR (ARX) stream cipher rather than the ChaCha-based cipher used in versions 2.0 and 2.1. The ARX cipher initializes a 32-bit state using the key with the FNV-1a prime constant, then mixes in the nonce with the golden-ratio constant 0x9E3779B9, before applying build-specific ARX transformations to generate a keystream that XORs against the ciphertext.

_Security researchers dissecting stream cipher variants like this often compare notes via daily.dev._

### How did Vidar malware's string encryption change between version 2.0 and version 3.3?

Vidar shifted from single-byte XOR encryption in early versions, to a ChaCha20-based cipher starting at internal version 1.5 (modified further at 1.8), then to a combined virtual machine and custom stream cipher approach beginning at internal version 2.0, continuing through version 3.3 with per-build randomized opcodes and cipher constants observed by Zscaler ThreatLabz between May and early September 2026.

_Following a malware family's obfuscation timeline like Vidar's is easier when curated on daily.dev._

## Similar posts on daily.dev

- [Vidar Rises to Top of Chaotic Infostealer Market](https://daily.dev/posts/vidar-rises-to-top-of-chaotic-infostealer-market-st4mtndss) · Dark Reading · 0 upvotes · 0 comments
- [Vidar Stealer Unmasked: Code Signing Abuse, Go Loaders and File Inflation](https://daily.dev/posts/vidar-stealer-unmasked-code-signing-abuse-go-loaders-and-file-inflation-s7llrmdds) · Unit 42 · 0 upvotes · 0 comments
- [Hacked sites deliver Vidar infostealer to Windows users](https://daily.dev/posts/hacked-sites-deliver-vidar-infostealer-to-windows-users-hv8wpqgjz) · Security Boulevard · 0 upvotes · 0 comments
- [Australia warns of ClickFix attacks pushing Vidar Stealer malware](https://daily.dev/posts/australia-warns-of-clickfix-attacks-pushing-vidar-stealer-malware-weapq5ob2) · BleepingComputer · 2 upvotes · 0 comments

---

Tags: [#malware](https://daily.dev/tags/malware), [#cryptography](https://daily.dev/tags/cryptography), [#reverse-engineering](https://daily.dev/tags/reverse-engineering)

[View this post on daily.dev](https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Vidar Adds Virtual Machine and Custom Stream Ciphers For String Obfuscation","url":"https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2"},"datePublished":"2026-09-21T15:23:49.648Z","dateModified":"2026-09-21T15:24:48.103Z","description":"Zscaler ThreatLabz researchers detail how the Vidar information-stealer malware has evolved its string obfuscation from May through early September 2026,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8fe9eeb967de205fd6743e2535f16178?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8fe9eeb967de205fd6743e2535f16178?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Security Boulevard","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Security Boulevard","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3613c832180040de8d85bb29f74395be","url":"https://daily.dev/sources/securityboulevard"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"malware,cryptography,reverse-engineering","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Security Boulevard","item":"https://daily.dev/sources/securityboulevard"},{"@type":"ListItem","position":3,"name":"Vidar Adds Virtual Machine and Custom Stream Ciphers For String Obfuscation"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/vidar-adds-virtual-machine-and-custom-stream-ciphers-for-string-obfuscation-bspvsb8m2#faq","mainEntity":[{"@type":"Question","name":"How does the Vidar infostealer obfuscate its strings using a virtual machine?","acceptedAnswer":{"@type":"Answer","text":"Vidar uses a lightweight bytecode interpreter with a fetch-decode-execute loop and a sparse 256-entry dispatch table populated with 14 opcode handlers; unmapped opcodes are null and terminate execution. Handlers mutate a single-byte accumulator using XOR, addition, subtraction, rotation, bitwise negation, multiplication, and substitution-table lookups, with opcodes and constants changing per build to hinder automated analysis. Track evolving malware obfuscation techniques like this on daily.dev to keep detection rules current."}},{"@type":"Question","name":"What stream cipher algorithms does the Vidar malware version 2.2 and later use to decrypt strings?","acceptedAnswer":{"@type":"Answer","text":"Vidar versions 2.2 and later use a custom add-rotate-XOR (ARX) stream cipher rather than the ChaCha-based cipher used in versions 2.0 and 2.1. The ARX cipher initializes a 32-bit state using the key with the FNV-1a prime constant, then mixes in the nonce with the golden-ratio constant 0x9E3779B9, before applying build-specific ARX transformations to generate a keystream that XORs against the ciphertext. Security researchers dissecting stream cipher variants like this often compare notes via daily.dev."}},{"@type":"Question","name":"How did Vidar malware's string encryption change between version 2.0 and version 3.3?","acceptedAnswer":{"@type":"Answer","text":"Vidar shifted from single-byte XOR encryption in early versions, to a ChaCha20-based cipher starting at internal version 1.5 (modified further at 1.8), then to a combined virtual machine and custom stream cipher approach beginning at internal version 2.0, continuing through version 3.3 with per-build randomized opcodes and cipher constants observed by Zscaler ThreatLabz between May and early September 2026. Following a malware family's obfuscation timeline like Vidar's is easier when curated on daily.dev."}}]}
```

