# AI-Assisted Discovery of Undetected macOS Dropper and iOS Jailbreak Phishing Tweak via VirusTotal Code Insight (Mach-O Analysis)

> VirusTotal's Code Insight (Gemini-based) analyzed 9,981 previously unseen Mach-O binaries on 2025-10-18, flagging 164 versus 67 for traditional AV, and surfaced two zero-detection samples: a multi-stage macOS dropper that runs a downloaded AppleScript via osascript and exfiltrates /tmp/osalogging.zip, and an iOS jailbreak tweak (Lightroom.dylib) that phishes Adobe credentials and exfiltrates them via the Telegram Bot API. The iOS sample is linked to the Blatant's iPA Library Telegram operation; no named threat actor is attributed.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-02T02:43:48Z
- **Last updated:** 2026-12-02T02:43:48Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7242
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7242.png
- **ID:** TL-2026-7242
- **Severity:** MEDIUM
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 16 (3 shown free below)

## Description

On 2025-10-18 VirusTotal ran Code Insight over 9,981 Mach-O binaries it had never seen before, using only the raw binary. The pipeline extracts Binary Ninja HLIL, prunes it into a summary and has Gemini produce an analyst summary in one call. Code Insight flagged 164 binaries as malicious or suspicious versus 67 flagged by traditional AV engines, surfaced nearly 100 binaries (keygens, adware, grayware) missed by engines at analysis time, and helped identify 30 Microsoft false positives (fixed 2025-10-31) plus 3 ClamAV Macos.Trojan.CrackedTool detections it judged non-malicious.

Sample 1 is a multi-stage macOS dropper (SHA-256 9adef73a6255f6bcb203e84cbe9304d000f3c5354d3d7bf3fc3b2a0128b624c3) with zero detections at submission (3 engines about nine days later, 11 by 2025-10-28). Per Code Insight and manual reversing, it connects to https://foggydoxz.xyz/dynamic, downloads an AppleScript, saves it to /tmp/test.scpt and executes it with /usr/bin/osascript. It then reads /tmp/osalogging.zip and exfiltrates it by POST to https://foggydoxz.xyz/gate. It bypasses TLS certificate validation for its C2 traffic. The source does not describe persistence or the second-stage script's command set.

Sample 2 is an iOS jailbreak tweak (SHA-256 333913409c1e22b5da03c762cbb7d99a9d38ecdf0231cb9ac6db00efc6b3bd97) installed as /Library/MobileSubstrate/DynamicLibraries/Lightroom.dylib, masquerading as a tool that unlocks premium Adobe Lightroom features. It had zero AV detections as of 2025-11-03. It uses method swizzling (sub_41e564) and custom crypto routines (sub_433b0c, sub_415b68), hooks subscription/premium checks to always succeed, shows a fake Adobe login overlay to capture credentials, and exfiltrates them through a hardcoded, obfuscated Telegram Bot API token and chat ID (value not disclosed in the source). Code Insight found other binaries using the same injection framework on the same day, which the source describes as an organized campaign. The sample is linked to the Telegram channel t.me/blatants, associated with Blatant's iPA Library (38,000+ subscribers), reported to distribute four bots: InjectBot, PatchBot, PaidAppScraper and FileDownloader, which inject .dylib payloads into .ipa apps, patch premium features and share modified packages.

No CVE, CVSS score, named malware family or threat actor is stated in the source; severity is an analyst assessment. BeaconBeagle returned no C2 configuration matches for foggydoxz.xyz at research time.

## MITRE ATT&CK

- T1059.002 Command and Scripting Interpreter: AppleScript
- T1071.001 Application Layer Protocol: Web Protocols
- T1074.001 Data Staged: Local Data Staging
- T1560.001 Archive Collected Data: Archive via Utility
- T1567 Exfiltration Over Web Service
- T1027 Obfuscated Files or Information
- T1417.002 Input Capture: GUI Input Capture
- T1617 Hooking
- T1655.001 Masquerading: Match Legitimate Name or Location

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**macOS osascript Executing AppleScript Staged in /tmp (TL-2026-7242 Dropper)** (`TL-2026-7242-SPL-001`)

Detects /usr/bin/osascript running a .scpt file from /tmp or /private/tmp. The TL-2026-7242 macOS multi-stage dropper (SHA-256 9adef73a...) downloads an AppleScript from https://foggydoxz.xyz/dynamic, saves it to /tmp/test.scpt and runs it with osascript. The known path is flagged separately from the generic pattern.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1059.002, T1105
- **Data sources:** Endpoint.Processes CIM datamodel (macOS EDR process telemetry), DeviceProcessEvents
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
| tstats summariesonly=false count min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes where Processes.process_name="osascript" by Processes.dest Processes.user Processes.parent_process_name Processes.parent_process Processes.process
| rename Processes.* as *
| where match(process, "(?i)(/private)?/tmp/[^ ]+[.]scpt")
| eval ioc_match=if(like(process, "%/tmp/test.scpt%"), "TL-2026-7242_known_path", "generic_tmp_scpt")
| convert ctime(firstTime) ctime(lastTime)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName =~ "osascript"
| where ProcessCommandLine matches regex @"(?i)(/private)?/tmp/[^ ]+[.]scpt"
| extend KnownIoc = ProcessCommandLine has "/tmp/test.scpt"
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessSHA256, KnownIoc
| order by Timestamp desc
```

### Sigma

```yaml
title: macOS osascript Executing AppleScript From Temp Directory (TL-2026-7242)
id: 6f1c2a3e-8b47-4d19-9a52-3c7e1d0b4a11
status: experimental
description: Detects osascript running a .scpt file from /tmp or /private/tmp, as done by the TL-2026-7242 macOS dropper (/usr/bin/osascript /tmp/test.scpt).
references:
    - https://blog.virustotal.com/2025/11/reversing-at-scale-ai-powered-malware.html
    - https://attack.mitre.org/techniques/T1059/002/
author: Threadlinqs Team
date: 2026/12/02
tags:
    - attack.execution
    - attack.t1059.002
    - attack.t1105
logsource:
    category: process_creation
    product: macos
detection:
    selection_img:
        Image|endswith: '/osascript'
    selection_tmp:
        CommandLine|contains:
            - '/tmp/'
            - '/private/tmp/'
    selection_ext:
        CommandLine|contains: '.scpt'
    condition: selection_img and selection_tmp and selection_ext
falsepositives:
    - Administrators or installers running temporary AppleScript files
    - MDM or automation tooling that stages scripts in /tmp
level: high

```

**Known false positives:**

- IT automation or installers that stage temporary .scpt files in /tmp
- Developers testing AppleScript from a temp directory

**Tuning notes:** Allowlist known management agents (Jamf, Munki, Kandji) by parent_process and signing identity. Confirm macOS EDR process events populate the Endpoint.Processes datamodel and that it is accelerated. Raise priority when ioc_match is TL-2026-7242_known_path.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- osascript Spawned by Binary Running From User-Writable Path (macOS Dropper) (locked: unlock with TL Creds)
- Archive Utility or Uploader Referencing osalogging.zip (Staged Exfil Archive) (locked: unlock with TL Creds)
- Telegram Bot API Traffic From Non-Browser Process (iOS Tweak Exfil Channel) (locked: unlock with TL Creds)
- TL-2026-7242 macOS Dropper Execution by SHA-256 (locked: unlock with TL Creds)
- [indicator] MobileSubstrate Tweak Masquerading as Adobe Lightroom Unlocker (locked: unlock with TL Creds)
- DNS Resolution of [indicator] (TL-2026-7242 C2 Domain) (locked: unlock with TL Creds)
- macOS Dropper Staging Artifacts [indicator] and [indicator] (locked: unlock with TL Creds)
- Web Traffic to [indicator] /dynamic and /gate (TL-2026-7242 C2) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 16)

Defanged, TLP:CLEAR.

- Domain: `foggydoxz[.]xyz`
- URL: `hxxps://t[.]me/blatants`
- File hash: `9adef73a6255f6bcb203e84cbe9304d000f3c5354d3d7bf3fc3b2a0128b624c3`

Full set of 16 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Reversing at Scale: AI-Powered Malware Detection for Apple's Binaries (VirusTotal Blog)](https://blog.virustotal.com/2025/11/reversing-at-scale-ai-powered-malware.html)
- [VirusTotal file report - macOS dropper 9adef73a...](https://www.virustotal.com/gui/file/9adef73a6255f6bcb203e84cbe9304d000f3c5354d3d7bf3fc3b2a0128b624c3/detection)
- [VirusTotal file report - iOS Lightroom.dylib 33391340...](https://www.virustotal.com/gui/file/333913409c1e22b5da03c762cbb7d99a9d38ecdf0231cb9ac6db00efc6b3bd97/detection)
- [VirusTotal file report - Hopper MCP component (documented false positive) d9fd8b1d...](https://www.virustotal.com/gui/file/d9fd8b1d80a1b4fadfb42fe3b7b21eb37944eb9dd9507d030139893cc769e960/detection)
- [Blatant's iPA Library Telegram channel](https://t.me/blatants)
- [MITRE ATT&CK T1059.002 AppleScript](https://attack.mitre.org/techniques/T1059/002/)
- [MITRE ATT&CK Mobile T1417.002 GUI Input Capture](https://attack.mitre.org/techniques/T1417/002/)
- [SentinelOne - Analysis of iOS.GuiInject Adware Library (related injected-dylib pattern in cracked iOS apps)](https://www.sentinelone.com/blog/analysis-ios-guiinject-adware-library/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7242
