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

summary

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…

In short

MALET and Katalina create a large-scale public dataset for macOS malware analysis and an open-source framework to extract structural features from Mach-O binaries at scale. The analysis reveals common macOS malware traits, such as widespread misuse of security entitlements and script interface abuse, highlighting gaps in current detection methods.

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 used across episodes

This episode discusses

The paper

MALET & Katalina: A Large-Scale Dataset and Static Analysis of macOS Malware · Read on arXiv

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.

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>.

More episodes

← Home