Skip to main content
Mallory
Malware1 associated actor1 associated CVE

Janicab

Tracked since Dec 3, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors1Associated
ATT&CK27Techniques
IOCs25Tracked
Type
Spyware
Capabilities
KeyloggingExfiltrationPersistencePost exploitationDefense evasion
Delivery
Spearphishing
Platforms
macOSWindows

Janicab is a multi-platform espionage malware family active since at least 2013, with Windows and macOS variants, and later closely associated with the DeathStalker threat actor. It has been used against legal, financial, and travel-related organizations, including legal entities in the Middle East and victims in Europe. Janicab supports remote command execution and surveillance functions including screenshot capture, and older variants also supported audio recording. Later Windows intrusions used a VBScript-based final-stage implant and auxiliary components for keylogging, proxying, local FTP access, reverse tunneling, persistence, anti-virtual-machine checks, and downloading additional tools.

Janicab has used multi-stage infection chains. Early Windows activity included malicious Office documents exploiting CVE-2012-0158 to drop a DLL that launched an encoded Visual Basic script. Later campaigns used spearphishing with ZIP archives containing malicious shortcut droppers that launched chained VBE/VBS stages and unpacked additional resources. macOS variants used compiled Python scripts and established persistence through cron, while Windows variants established persistence through startup mechanisms and, in some cases, Winlogon shell modification.

A notable characteristic of Janicab is its use of dead-drop resolvers on public web services to obtain command-and-control information, including long-observed use of platforms such as YouTube. Some variants were signed to reduce security friction on macOS. Operationally, Janicab has overlapped with other DeathStalker toolsets through shared tradecraft and supporting utilities. High-confidence capabilities include screenshot collection with exfiltration to command-and-control infrastructure, audio capture in older variants, persistence, command execution, keylogging support through bundled components, and post-compromise access enablement through proxying and tunneling.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2012-0158via avast blogExploited in the wildMicrosoft Common Controls ActiveX Remote Code ExecutionOne of them is called ActiveX.bin and it carries the main shell-code that is triggered by a widely spread exploit CVE-2012-0158 (under special settings ActiveX controls in MSCOMCTL.OCX trigger code execution). | As a script template implicitly works a Windows version of Janicab... Janicab/StarterScreenShots.pyc ... MacOs:Janicab-D [Trj] ... Encoded VB Script ... VBS:Janicab-A [Trj] ... Win32:Janicab-A [Drp]View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Deathstalker

While hunting for less common Deathstalker intrusions that use the Janicab malware family, we identified a new Janicab variant used in targeting legal entities in the Middle East throughout 2020... Janicab is a VBS-based malware implant...

via securelistsecurelist.com
MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence2

Based on our telemetry, the delivery mechanism remains spear-phishing.

Execution

8 techniques
T1053.003CronEvidence4

[Janicab](https://attack.mitre.org/software/S0163) used a cron job for persistence on Mac devices.(Citation: Janicab)

T1059.001PowerShellEvidence1

Function runCmd(cmd, cmdType) Function facilitating command execution using CMD.exe or PowerShell.exe

T1059.003Windows Command ShellEvidence2

Function runCmd(cmd, cmdType) Function facilitating command execution using CMD.exe or PowerShell.exe

T1059.005Visual BasicEvidence2

The Windows version has a VBscript-based implant as the final stage... The LNK file has an embedded “Command Line Arguments” field that aims at extracting and executing an encoded VBScript loader (1.VBE).

T1059.006PythonEvidence2

The new Janicab variants also embed a CAB archive containing several Python files and other artifacts used later in the intrusion lifecycle.

T1129Shared ModulesEvidence1

A dynamic linked library is dropped and loaded.

T1203Exploitation for Client ExecutionEvidence1

One of them is called ActiveX.bin and it carries the main shell-code that is triggered by a widely spread exploit CVE-2012-0158 (under special settings ActiveX controls in MSCOMCTL.OCX trigger code execution).

T1204.002Malicious FileEvidence2

Once a victim is tricked into opening the malicious LNK file, a series of chained malware files are dropped.

Persistence

3 techniques
T1053.003CronEvidence4

[Janicab](https://attack.mitre.org/software/S0163) used a cron job for persistence on Mac devices.(Citation: Janicab)

T1547.001Registry Run Keys / Startup FolderEvidence2

If it commands a keyword "reg" as a startup method then a registry file containing lines "[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] "Shell"="wscript.exe \"%userprofile%\\SystemFolder\\.vbe\"" will be imported.

T1547.009Shortcut ModificationEvidence1

The final stage will initiate persistence by deploying a new LNK file in the Startup directory

Privilege Escalation

3 techniques
T1053.003CronEvidence4

[Janicab](https://attack.mitre.org/software/S0163) used a cron job for persistence on Mac devices.(Citation: Janicab)

T1547.001Registry Run Keys / Startup FolderEvidence2

If it commands a keyword "reg" as a startup method then a registry file containing lines "[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] "Shell"="wscript.exe \"%userprofile%\\SystemFolder\\.vbe\"" will be imported.

T1547.009Shortcut ModificationEvidence1

The final stage will initiate persistence by deploying a new LNK file in the Startup directory

Stealth

3 techniques
T1036.002Right-to-Left OverrideEvidence1

It uses a right-to-left override method to confuse the user while executing

T1070.004File DeletionEvidence1

Function delFFcookies() Function delGCcookies() Function delIEcookies() Points to respective browser location and deletes its cookies.

T1497.001System ChecksEvidence1

Function checkRunningProcess() Checks for a list of processes indicating malware analysis or process debugging

Defense Impairment

1 technique
T1553.002Code SigningEvidence4

[Janicab](https://attack.mitre.org/software/S0163) used a valid AppleDeveloperID to sign the code to get past security restrictions.(Citation: Janicab)

Credential Access

1 technique
T1056.001KeyloggingEvidence1

K.dll Named Stormwind... it’s a DLL-based keylogger... sets a global hook to capture keystrokes.

Discovery

3 techniques
T1082System Information DiscoveryEvidence2

getAV() Gets a list of installed AV products

T1497.001System ChecksEvidence1

Function checkRunningProcess() Checks for a list of processes indicating malware analysis or process debugging

T1518Software DiscoveryEvidence1

Function isMalwb() Function to check if MalwareBytes is installed. Similar functions were seen in other variants that check for other AV products Function HandleCCleaner() Checks if CCleaner is installed by checking system registry

Lateral Movement

1 technique
T1021.004SSHEvidence1

the script will start an SSH reverse tunnel to a remote server controlled by the threat actor

Collection

4 techniques
T1056.001KeyloggingEvidence1

K.dll Named Stormwind... it’s a DLL-based keylogger... sets a global hook to capture keystrokes.

T1113Screen CaptureEvidence8

[Janicab](https://attack.mitre.org/software/S0163) captured screenshots and sent them out to a C2 server.(Citation: f-secure janicab)(Citation: Janicab)

T1123Audio CaptureEvidence5

[Janicab](https://attack.mitre.org/software/S0163) captured audio and sent it out to a C2 server.(Citation: f-secure janicab)(Citation: Janicab)

T1560Archive Collected DataEvidence1

The new Janicab variants also embed a CAB archive containing several Python files and other artifacts used later in the intrusion lifecycle.

Command and Control

5 techniques
T1071.001Web ProtocolsEvidence2

The protocol in use for C2 communication is HTTP with GET/POST methods, and the backend C2 software is PHP.

T1090ProxyEvidence1

PythonProxy.py An IPv4/IPv6 capable Python-based proxy that is able to relay web traffic between the local target system and remote C2 server.

T1102Web ServiceEvidence1

the threat actor continues to use YouTube, Google+, and WordPress web services as DDRs.

T1105Ingress Tool TransferEvidence1

Function downFile(args) Used to download files from C2 and save them to disk

T1568Dynamic ResolutionEvidence1

Then it randomly chooses a youtube.com link from a hard-coded list and evaluates a regular expression on the received content... server = "http://" & objMatch.Item(0).Submatches(0)

Indicators of compromise

Observables

25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching25Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping27Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.