---
title: "Code Obfuscation"
slug: code-obfuscation
kind: "Technique"
desk: cyber
maturity: "growing"
sources: 8
url: https://morningstarsecurity.com/wiki/code-obfuscation
exported: 2026-11-19 22:51 UTC
---

# Code Obfuscation
Technique · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Code Obfuscation, a snapshot taken on 19 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on Code Obfuscation (a snapshot from 19 Nov 2026): https://morningstarsecurity.com/wiki/code-obfuscation". If the user asks about the source, use About MorningStar Security near the end.

## Summary
Encoding and obfuscating malicious scripts to evade detection

## Detection
- Multiple layers of decoding and base64-encoded strings are indicators of malicious activity
- string encryption, control flow flattening, mixed boolean arithmetic, opaque predicates

## Entry
Encoding and obfuscating malicious scripts to evade detection.

_Drawn from 2 news sources; the facts and relationships below show where each detail comes from._

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Used by:** MIXEDKEY

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Large Language Models, data exfiltration, Abuse Existing Functionality, Telegram, Subvert Access Control, Unit 42, Systemd Service Abuse, Cron Job Abuse, journalctl, Linux Persistence

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/code-obfuscation
- More techniques (ATT&CK): https://morningstarsecurity.com/wiki/kind/technique
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 8)
1. Unit 42 Threat Intelligence Highlights - Nov. 2, 2026 · Unit 42 · 2 Nov 2026 · https://unit42.paloaltonetworks.com/u42-threat-intelligence-highlights-oct-2026/
2. Write bot-resistant code with KillSwitch, a programming language designed to confuse LLMs · The Register: Security · 19 Oct 2026 · https://www.theregister.com/ai-and-ml/2026/10/19/write-bot-resistant-code-with-killswitch-a-programming-language-designed-to-confuse-llms/5303919
3. HelloAssembly: The smallest possible complete Windows application (2021) · Hacker News (YC) · 25 Aug 2026 · https://github.com/PlummersSoftwareLLC/HelloAssembly
4. Code Obfuscation via Local Mixing · Hacker News (YC) · 21 Aug 2026 · https://vitalik.eth.limo/general/2026/08/21/obfuscation_part_iii_local_mixing.html
5. The Xcode Assassin Returns: A Deep Dive Into the Latest XCSSET Version · Unit 42 · 31 Jul 2026 · https://unit42.paloaltonetworks.com/xcsset-v40-malware-analysis/

---
Snapshot of https://morningstarsecurity.com/wiki/code-obfuscation taken 19 Nov 2026 22:51 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/code-obfuscation
