MALET & Katalina: A Large-Scale Dataset and Static Analysis of macOS Malware

arXiv:2611.31949 · cs.CR · Submitted 2026-11-24 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: I'm Nadia.

Elias: And I'm Elias, here with Priya.

Nadia: We're looking at the paper: "MALET & Katalina".

Paper summary: Nadia: So we're looking at this paper now titled "MALET and Katalina: A Large-Scale Dataset and Static Analysis of macOS Malware". Basically, the authors are presenting a big public dataset called MALET for macOS malware analysis and an open-source tool called Katalina to extract structural features from those binaries.

Elias: The core claim is that this setup allows them to perform the first large scale static characterization of macOS malware, which is something they haven't really done before in this way <ref:2611.31949#pg5>. They're talking about a dataset with forty-four thousand eight hundred four malicious Mach-O binaries and forty-four thousand four hundred fifty-seven samples that had zero antivirus detections on VirusTotal <ref:2611.31949#pg5>.

Priya: I'm curious about what this undetected set actually means, because the paper also identifies twenty-five thousand eight hundred thirty-five high-confidence benign samples using conservative, heuristic based filtering <ref:2611.31949#pg2>. Is that filtering reliable enough to filter out real threats?

Nadia: That's the question for us right there. The paper says they annotated the undetected set with those high confidence benign signals derived from trust metadata <ref:2611.31949#pg5>. It means they’re trying to clean up the noise in that large collection of samples.

Elias: And Katalina is this custom Golang utility designed to extract and parse Mach-O binaries at scale <ref:2611.31949#pg5>. It has two main steps, file identification and feature extraction, where they read headers, segments, and sections directly from load commands <ref:2611.31949#pg5>.

Priya: When you're looking at the structural features like that—the headers and sections—what kind of specific indicators are they finding that are unique to macOS malware?

Nadia: They found some pretty specific traits, including widespread misuse of security entitlements, abuse of native scripting interfaces, and irregularities in code signing infrastructure <ref:2611.31949#pg5>. It points toward how the operating system features are being exploited on this platform.

Elias: They highlighted a few key things from their analysis that they found were prominent <ref:2611.31949#pg7>. First, ninety-three point zero percent of malicious samples in MALET were unsigned <ref:2611.31949#pg7>.

Priya: Unsigned prevalence seems pretty high for something that's supposed to be stealthy on a platform like macOS <ref:2611.31949#pg7>. What about the certificate stuff they found?

Elias: They also noted certificate exposure, with twenty-eight point four percent of CA signed malicious samples being associated with certificates that were later revoked <ref:2611.31949#pg7>. Some of those certificates stayed valid for over seven hundred days, and they even linked some to threat actors like DPRK <ref:2611.31949#pg7>.

Nadia: And that leads into the scripting interface misuse part <ref:2611.31949#pg7>. The malware frequently abuses osascript for credential access and data exfiltration, which they compare it to PowerShell abuse on Windows <ref:2611.31949#pg7>.

Paper summary: Priya: So if we look at the practical implications for someone running security tools, what does this scripting misuse tell us about how we should be looking for threats?

Elias: It suggests that focusing only on traditional executable signatures might miss a lot of activity because the malware is leveraging native system tools in a way that looks legitimate <ref:2611.31949#pg7>. And they also found some labeling inconsistencies, where in a set of one hundred eighty-five structurally identical malicious samples, antivirus engines failed to raise consistent detections for seventy-seven point two percent <ref:2611.31949#pg8>.

Nadia: That labeling noise is something we deal with constantly; it shows that even when the structure looks the same, the detection outcomes can be totally different depending on what's happening inside <ref:2611.31949#pg8>. They also found very low packer prevalence, only one point three six percent of malicious samples used commodity packers like UPX <ref:2611.31949#pg2>.

Elias: That low packer prevalence is interesting because it reveals persistent blind spots in detection, emphasizing the need for strategies that are specific to the macOS platform <ref:2611.31949#pg2>. The authors also pointed out that they found some label inconsistencies because of this <ref:2611.31949#pg8>.

Priya: So, what’s the real picture for a researcher who just wants to know what this dataset actually shows about the malware landscape?

Nadia: It shows that macOS malware has these very specific structural fingerprints tied to how it uses entitlements and scripting interfaces, which is a different angle than what we see on other platforms <ref:2611.31949#pg5>. It’s a platform-specific characterization.

Elias: And they also pointed out that the research makes the need for attribution research more urgent because of those certificate issues <ref:2611.31949#pg7>. The work is built around providing this large scale dataset and analysis framework to support that kind of deep dive into macOS ecosystems <ref:2611.31949#pg5>.

Priya: From what I'm hearing, the main thing this paper offers us is a standardized way to look at the structure of these binaries so we can actually start building better detection models for macOS <ref:2611.31949#pg5>. It’s about making sure our analysis isn't just looking at random bytes anymore.

Nadia: Exactly, it establishes a foundation for reproducible, large scale analysis of macOS malware <ref:2611.31949#pg7>. It gives us the tools and the data to move beyond just signature matching <ref:2611.31949#pg5>.

Elias: The authors also mentioned their limitations, which is pretty important for us to keep in mind <ref:2611.31949#pg7>. They explicitly state that they don't have raw binaries, which means they can't do runtime behavior observation <ref:2611.31949#pg7>.

Paper summary: Priya: That lack of raw binaries is a big limitation because for true understanding of the threat, we usually need to see what the malware actually *does* when it runs on a system.

Nadia: Right, so that’s where they suggest future work should go <ref:2611.31949#pg9>. They are looking toward semantic macOS malware classification using large language models and modeling how entitlements interact to score the risk <ref:2611.31949#pg9>.

Elias: So, the paper ends by stressing that open measurement of these malware ecosystems at scale is necessary for strengthening platform security and enabling more defensible improvements in detection and response <ref:2611.31949#pg7>. It’s about making the whole process more data driven.

Priya: It sounds like they're trying to bridge the gap between just having a big list of samples and actually understanding the complex underlying mechanisms that make macOS malware unique <ref:2611.31949#pg5>.

Nadia: That’s right, it’s about attribution research and platform specific defense strategies, which is what this whole piece is really driving toward <ref:2611.31949#pg7>. The work with MALET and Katalina sets up a way to measure the ecosystem at scale <ref:2611.31949#pg7>.

Elias: So, to wrap up this part, the paper provides a large dataset and an analysis framework that highlights specific macOS structural traits like entitlement misuse <ref:2611.31949#pg5>. It shows how unsigned samples are common and points out certificate abuse issues <ref:2611.31949#pg7>.

Priya: And the caveat is that it's a static analysis, so it can't tell us what the malware actually executes at runtime because they don't have those raw binaries <ref:2611.31949#pg7>.

Nadia: That’s the core tension here—we have this excellent structural view, but we’re missing that behavioral layer, which is what drives a lot of malware analysis <ref:2611.31949#pg7>. The paper lays out the data and the framework for further work in that direction <ref:2611.31949#pg9>.

Elias: And it’s clear that open measurement of these ecosystems is what will really help us move forward with platform security research <ref:2611.31949#pg7>. The title MALET and Katalina signals the ambition to build a large scale system for this kind of study <ref:2611.31949#pg5>.

Priya: So, it’s a useful tool for researchers who want to study how macOS is being targeted structurally, even if it doesn't replace dynamic analysis entirely <ref:2611.31949#pg7>. We need that structural baseline before we can really build those risk scoring models the authors mentioned <ref:2611.31949#pg5>.

Nadia: That’s the direction this research is pushing, building on these structural insights to inform better detection and response strategies for macOS <ref:2611.31949#pg7>. It’s about making the ecosystem defensible through data <ref:2611.31949#pg7>.

Conclusion: Nadia: So, this paper is about MALET and Katalina, which is this big public dataset and this open source tool for looking at macOS malware structure.

Elias: Yeah, basically they built a system to analyze these files at a massive scale <ref:2611.31949#pg5>.

Nadia: The key thing is they're showing how you can actually build a reproducible analysis pipeline for this type of stuff <ref:2611.31949#pg7>.

Elias: They used VirusTotal and VirusShare to get the samples, and then they have this phase three where they do validation and enrichment <ref:2611.31949#pg5>.

Nadia: Katalina is the utility they built for parsing Mach-O binaries, reading headers, segments, and sections directly from load commands <ref:2611.31949#pg5>.

Elias: They extracted things like entitlements from the code signing section and calculated SHA-two five six hashes to make sure the fingerprints are consistent <ref:2611.31949#pg5>.

Nadia: The results show these macOS specific traits, like how much they misuse security entitlements and abuse native scripting interfaces <ref:2611.31949#pg7>.

Elias: They found that ninety three point zero percent of the malicious samples in MALET were unsigned <ref:2611.31949#pg7>.

Nadia: And they also saw a lot of certificate exposure, with nearly thirty percent of the signed malicious samples linked to certificates that had already been revoked <ref:2611.31949#pg7>.

Elias: Plus, they noted that malware frequently uses osascript for getting credentials and exfiltrating data <ref:2611.31949#pg7>.

Nadia: And the paper points out some labeling inconsistencies where antivirus engines missed detections on seventy seven point two percent of structurally identical samples <ref:2611.31949#pg8>.

Elias: So what does this mean for the world? It means we have a foundation now for studying how these ecosystems work at scale <ref:2611.31949#pg7>.

Nadia: It gives researchers the tools to move beyond just looking at signatures and start characterizing platform specific behavior <ref:2611.31949#pg5>.

Elias: The authors are really pushing for attribution research because of those certificate issues they found <ref:2611.31949#pg7>.

Nadia: It’s about making the entire malware process more data driven so we can build better detection and response strategies for macOS <ref:2611.31949#pg7>.

Elias: The authors also mentioned they don't have raw binaries, which means they can't do runtime behavior observation yet <ref:2611.31949#pg7>.

Nadia: That lack of raw binaries sets up the next big step for research, which is using large language models to classify malware semantically and model entitlement interactions for risk scoring <ref:2611.31949#pg9>.

cs.CR

Submitted: 2026-11-24

Updated: 2026-11-24

Code: https://github.com/apple/darwinxnu

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 82/100

The gist: MALET and Katalina provide a large-scale public dataset for macOS malware analysis and an open-source static analysis framework to extract macOS-specific structural features at…

Key concepts

MALET Dataset
A large public dataset for macOS malware analysis built through collecting malicious samples from VirusTotal and VirusShare, alongside benign samples. It includes annotations to help distinguish malicious from benign files based on trust metadata.
Katalina
A custom, cross-platform Golang utility designed to extract and parse Mach-O binaries. It performs two main tasks: identifying parsable samples and then extracting features like headers, segments, sections, entitlements from load commands, and SHA-256 hashes.
Mach-O Parsing
The process of reading the structure of a macOS executable file. Katalina uses this to read specific components like headers and sections directly from load commands. This allows researchers to extract technical features crucial for identifying malware patterns within the binary's structure.
Security Entitlements
Specific permissions or capabilities embedded in an application's code that macOS uses for security checks. The research shows that malicious samples frequently misuse these entitlements, indicating a key area for platform-specific malware detection.

Terminology

Summary

MALET and Katalina provide a large-scale public dataset for macOS malware analysis and an open-source static analysis framework to extract macOS-specific structural features at scale. p. 0

Where the paper says it

We also introduce Katalina, an open-source static analysis framework that extracts macOS-specific structural features and indicators of potential behavior at scale. Using MALET, we perform, to the best of our knowledge, the first large-scale static characterization of macOS malware.

<ref:2611.31949#pg5>.

Dataset Construction and Curation

The dataset construction proceeds in three phases: Phase 1- data collection, Phase 2- Mach-O parsing and feature extraction, and Phase 3- post-processing for validation and enrichment.<ref:2611.31949#pg5, Figure 2 shows the overview of the MALET dataset construction pipeline >. p. 4

Where the paper says it

2: Overview of the MALET dataset construction pipeline. Processing proceeds in three phases: (1) Data Collection, in which macOS binaries are collected from VirusTotal and VirusShare using detection-based criteria (≥5 detections for malware, 0 detections for undetected software), as well as from a clean macOS installation; (2) Binary Extraction and Parsing, where valid Mach-O files are identified, extracted from universal binaries and archive formats when applicable, and processed by Katalina to extract static features; and (3) Post-Processing, which enriches malware samples with VirusTotal metadata, assigns standardized family and class labels via AVClass2, and annotates undetected samples with benign-confidence signals derived from trust metadata.

In Phase 1, malicious samples are obtained from VirusTotal and VirusShare. p. 3
Where the paper says it

Data Collection Phase 1 constructs a macOS malware and non-malware corpus of Mach-O binaries. Malicious samples are obtained from VirusTotal and VirusShare, while non-malicious samples are derived from fresh macOS installations and VirusTotal samples with zero detections.

<ref:2611.31949#pg5> and non-malicious samples are derived from fresh macOS installations and VirusTotal samples with zero detections. p. 3
Where the paper says it

Data Collection Phase 1 constructs a macOS malware and non-malware corpus of Mach-O binaries. Malicious samples are obtained from VirusTotal and VirusShare, while non-malicious samples are derived from fresh macOS installations and VirusTotal samples with zero detections.

<ref:2611.31949#pg5>. Undetected samples are annotated with benign-confidence signals derived from trust metadata. p. 4
Where the paper says it

2: Overview of the MALET dataset construction pipeline. Processing proceeds in three phases: (1) Data Collection, in which macOS binaries are collected from VirusTotal and VirusShare using detection-based criteria (≥5 detections for malware, 0 detections for undetected software), as well as from a clean macOS installation; (2) Binary Extraction and Parsing, where valid Mach-O files are identified, extracted from universal binaries and archive formats when applicable, and processed by Katalina to extract static features; and (3) Post-Processing, which enriches malware samples with VirusTotal metadata, assigns standardized family and class labels via AVClass2, and annotates undetected samples with benign-confidence signals derived from trust metadata.

<ref:2611.31949#pg5>.

Static Feature Extraction

Katalina is a custom-built, crossplatform Golang utility for extracting and parsing Mach-O binaries.<ref:2611.31949#pg5>. The tool operates in two phases: File Identification to identify parsable samples and Feature Extraction to retrieve and normalize Mach-O features. p. 3

Where the paper says it

Katalina Tool: Mach-O Binary Extractor The Katalina tool in Phase 2 is our custom-built, crossplatform Golang utility for extracting and parsing Mach-O binaries from various macOS binary formats. It operates in two phases: File Identification to identify parsable samples and Feature Extraction to retrieve and normalize Mach-O features.

<ref:2611.31949#pg5>. Feature extraction involves reading headers, segments, and sections directly from load commands. p. 4
Where the paper says it

Feature Extraction: Phase 2. 2 After identifying Mach-O types, Katalina extracts structural features by reading headers, segments, and sections directly from load commands, preserving all metadata.

<ref:2611.31949#pg5>. This includes extracting entitlements from the code signing section and computing SHA-256 hashes to generate consistent fingerprints. p. 4
Where the paper says it

The handling of certificates includes extracting the metadata from the issuer, validating the signing chains, and performing OCSP revocation checks. Katalina also extracts Objective-C class and method names when present, normalizes and sorts them, and computes SHA-256 hashes to generate consistent fingerprints.

<ref:2611.31949#pg5>.

Key Behavioral Insights

The analysis reveals macOS-specific traits, including widespread misuse of security entitlements, abuse of native scripting interfaces, and irregularities in code-signing infrastructure.<ref:2611.31949#pg5>. Specifically:

  1. Unsigned prevalence: 93. p. 0

    Where the paper says it

    Together, MALET and Katalina provide a reproducible foundation for systematic macOS malware analysis. Using MALET, we conduct, to the best of our knowledge, the first large-scale static characterization of macOS malware and report the following findings: • Unsigned prevalence: 93.

    0% of malicious samples are unsigned. p. 0
    Where the paper says it

    We find that 93. 0% of malicious samples are unsigned, demonstrating that unsigned code continues to execute in practice through usermediated approval mechanisms.

    <ref:2611.31949#pg7>.

  2. Certificate exposure: 28. p. 1

    Where the paper says it

    • Certificate exposure: 28. 4% of CA-signed malicious samples were associated with certificates that were later revoked, including cases publicly attributed to DPRKlinked threat actors, with some certificates remaining valid for over 700 days.

    4% of CA-signed malicious samples were associated with certificates that were later revoked. p. 1
    Where the paper says it

    • Certificate exposure: 28. 4% of CA-signed malicious samples were associated with certificates that were later revoked, including cases publicly attributed to DPRKlinked threat actors, with some certificates remaining valid for over 700 days.

    <ref:2611.31949#pg7>.

  3. Scripting interface misuse: Malware frequently abuses osascript for credential access and data exfiltration. p. 1

    Where the paper says it

    4% of CA-signed malicious samples were associated with certificates that were later revoked, including cases publicly attributed to DPRKlinked threat actors, with some certificates remaining valid for over 700 days. • Scripting interface misuse: Malware frequently abuses osascript for credential access and data exfiltration, analogous to PowerShell abuse on Windows.

    <ref:2611.31949#pg7>.

  4. Labeling inconsistencies: In a set of 185 structurally identical malicious samples, antivirus engines failed to raise consistent detections for 77. p. 1

    Where the paper says it

    • Scripting interface misuse: Malware frequently abuses osascript for credential access and data exfiltration, analogous to PowerShell abuse on Windows. • Labeling inconsistencies: In a set of 185 structurally identical malicious samples, antivirus engines failed to raise consistent detections for 77.

    2%.<ref:2611.31949#pg8>.

Limitations and Future Directions

The research highlights persistent blind spots in macOS malware detection and motivates improved approaches to certificate abuse analysis and platform-specific defense mechanisms.<ref:2611.31949#pg7>. Limitations include the lack of raw binaries, which prevents runtime behavior observation. p. 2

Where the paper says it

At runtime, the dynamic linker uses the library name to locate the corresponding file, and the compatibility version ensures that the binary links only against compatible library versions. Application Packaging in macOS While the previous section focused on the Mach-O binary structure, binaries often arrive in packaged form rather than as raw executables.

<ref:2611.31949#pg7>, and dataset bias from sourcing samples from VirusTotal and VirusShare. p. 4
Where the paper says it

2: Overview of the MALET dataset construction pipeline. Processing proceeds in three phases: (1) Data Collection, in which macOS binaries are collected from VirusTotal and VirusShare using detection-based criteria (≥5 detections for malware, 0 detections for undetected software), as well as from a clean macOS installation; (2) Binary Extraction and Parsing, where valid Mach-O files are identified, extracted from universal binaries and archive formats when applicable, and processed by Katalina to extract static features; and (3) Post-Processing, which enriches malware samples with VirusTotal metadata, assigns standardized family and class labels via AVClass2, and annotates undetected samples with benign-confidence signals derived from trust metadata.

<ref:2611.31949#pg7>. Future work should focus on semantic macOS malware classification using large language models and modeling entitlement interactions for risk scoring. p. 9
Where the paper says it

We leave a deeper investigation as future work. MACOS MALWARE CLASSIFICATION macOS malware classification remains underdeveloped and hindered by inconsistent Anti-Virus (AV) labels, limited detection accuracy, and poor taxonomy adoption.

<ref:2611.31949#pg9>.

Conclusion

MALET and Katalina establish a foundation for reproducible, large-scale analysis of macOS malware.<ref:2611.31949#pg7>. The findings emphasize the need for platform-specific detection strategies and attribution research. p. 1

Where the paper says it

36% of malicious samples in MALET used commodity packers (exclusively UPX). These results reveal persistent blind spots in macOS malware detection and emphasize the need for platform-specific detection strategies and attribution research.

<ref:2611.31949#pg7>. Open measurement of malware ecosystems at scale is essential to strengthening platform security and enabling defensible, data-driven improvements in malware detection and response. p. 1
Where the paper says it

• Tooling: We develop Katalina, an open-source static analysis framework that extracts macOS-specific structural features and indicators of potential behavior, including entitlements, signing metadata, embedded scripts, and dependency relationships. • Empirical analysis: We present a comprehensive measurement study of macOS malware, identifying characteristic patterns such as entitlement misuse, scripting interface abuse, code-signing anomalies, and detection instability across structurally identical samples.

<ref:2611.31949#pg7>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Improve malware classification by incorporating structural features into machine learning models to overcome AV engine labeling noise. The system can be improved by applying machine learning should follow best practices outlined by Arp et al [80] to minimize common pitfalls in applying machine learning to malware detection, using static signals such as load command patterns, entitlement sets, and section entropy.

  2. Enhance risk modeling for macOS applications by incorporating entitlement misuse into a scoring system. The improved system can score binaries based on the rarity of entitlements, the scope of privileges, and historical abuse patterns observed in MALET to detect anomalous or high-risk combinations of permissions.

  3. Improve threat actor attribution by performing longitudinal analysis on certificate reuse and revocation. The system can trace TeamID reuse and timeto-revocation metrics across broader timescales to help identify persistent infrastructure and guide stricter issuance policies.

  4. Increase detection accuracy by developing classifiers that detect packing and obstruction in macOS malware using static features. This involves using entropy distributions and assembly instruction profiles extracted by Katalina to flag evasive samples or identify custom packing routines, as seen with UPX usage in the dataset.

  5. Refine family-level classification by integrating semantic analysis of Objective-C class names into AVClass2 processing. The system can use structural fingerprints like ObjcClassHash to better distinguish between malware families that share similar detection outcomes, addressing the issue where AV engines frequently mislabel credential-stealing malware as belonging to the AMOS family.

Abstract

While malware on platforms such as Windows and Android has been extensively studied, the macOS ecosystem remains comparatively understudied. To address this gap, we present MALET, a large-scale public dataset for macOS malware analysis. MALET contains 44, 804 malicious Mach-O binaries and 44, 457 samples with zero antivirus detections on VirusTotal. From the undetected set, we further identify 25, 835 high-confidence benign samples using conservative, heuristic-based filtering. We also introduce Katalina, an open-source static analysis framework that extracts macOS-specific structural features and indicators of potential behavior at scale. Using MALET, we perform, to the best of our knowledge, the first large-scale static characterization of macOS malware. Our analysis reveals macOS-specific traits, including widespread misuse of security entitlements, abuse of native scripting interfaces, and irregularities in code-signing infrastructure. We find that 93.0% of malicious samples are unsigned, demonstrating that unsigned code continues to execute in practice through user-mediated approval mechanisms. Among CA-signed malware, 28.4% (816 samples) were associated with certificates that were later revoked, including samples publicly attributed to DPRK-linked threat actors, as reflected in antivirus labels and threat intelligence reports. Finally, we identify significant detection instability: in 185 structurally identical malicious samples, antivirus engines failed to provide consistent detections for 77.2% (143 samples). Together, these results highlight persistent blind spots in macOS malware detection and motivate improved approaches to certificate abuse analysis, similarity-based clustering, and platform-specific defense mechanisms. Based on these insights, we outline concrete steps to advance the state of macOS malware analysis and defense.

Related papers