LiveActive security incident?Get immediate response
MITRE ATT&CK® Malware

S0281: Dok

Dok is a Trojan application disguised as a .zip file that is able to collect user credentials and install a malicious proxy server to redirect a user's network traffic (i.e. Adversary-in-the-Middle).[1][2][3]

EnterpriseS0281MalwareObject v2.0Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceMedium

S0281: Dok describes [Dok](https://attack.mitre.org/software/S0281) is a Trojan application disguised as a .zip file that is able to collect user credentials and install a malicious proxy server to redirect a user's network traffic (i.e. [Adversary-in-the-Middle](https://attack.mitre.org/techniques/T1557)).(Citation: objsee mac malware 2017)(Citation: hexed osx.dok analysis 2019)(Citation: CheckPoint Dok)

Executive priority

S0281: Dok is an official MITRE ATT&CK software. Glexia treats it as defensive behavior context for prioritizing monitoring, control validation, and response planning without using the object by itself as an attribution claim.

Technical view

Security teams should validate S0281: Dok by reviewing the official ATT&CK relationships, mapped tactics (the mapped ATT&CK tactic context), supported platforms (macOS), and available local telemetry before making detection or mitigation decisions.

Likely telemetry

  • Official ATT&CK relationships and object metadata
  • Network, endpoint, and security-tool telemetry

Detection direction

  • Validate whether S0281: Dok appears in your detection coverage and tabletop scenarios.
  • Use the object to align executive risk language with SOC, incident response, and detection engineering work.
  • Do not treat ATT&CK relationship context as attribution without corroborating evidence.

Mitigation priorities

  • Map the object to existing controls and identify missing telemetry or response ownership.
  • Prioritize mitigations that reduce exposure on the listed platforms and tactics.
  • Review adjacent ATT&CK relationships before changing policy, detections, or reporting language.
Additional notes and limits

Baseline Glexia take generated from the official MITRE ATT&CK STIX object, source hash, tactics, platforms, and detection fields. It is safe to replace with a richer model-generated take for the same source hash later.

This baseline take is source-grounded and schema-validated, but it does not include environment-specific telemetry, incident evidence, or threat-intelligence corroboration.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Dok

Dok is a Trojan application disguised as a .zip file that is able to collect user credentials and install a malicious proxy server to redirect a user's network traffic (i.e. Adversary-in-the-Middle).[1][2][3]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

11 rows
DomainIDNameRelationship / procedure
EnterpriseT1557Adversary-in-the-Middle

Dok proxies web traffic to potentially monitor and alter victim HTTP(S) traffic.[1][3]

EnterpriseT1027.002Software PackingSub-technique

Dok is packed with an UPX executable packer.[2]

EnterpriseT1543.001Launch AgentSub-technique

Dok installs two LaunchAgents to redirect all network traffic with a randomly generated name for each plist file maintaining the format com.random.name.plist.[1][3]

EnterpriseT1059.002AppleScriptSub-technique

Dok uses AppleScript to create a login item for persistence.[1]

EnterpriseT1222.002Linux and Mac PermissionsSub-technique

Dok gives all users execute permissions for the application using the command chmod +x /Users/Shared/AppStore.app.[3]

EnterpriseT1048.003Exfiltration Over Unencrypted Non-C2 ProtocolSub-technique

Dok exfiltrates logs of its execution stored in the /tmp folder over FTP using the curl command.[2]

EnterpriseT1553.004Install Root CertificateSub-technique

Dok installs a root certificate to aid in Adversary-in-the-Middle actions using the command add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/filename.[1][2]

EnterpriseT1548.003Sudo and Sudo CachingSub-technique

Dok adds admin ALL=(ALL) NOPASSWD: ALL to the /etc/sudoers file.[2]

EnterpriseT1056.002GUI Input CaptureSub-technique

Dok prompts the user for credentials.[1]

EnterpriseT1090.003Multi-hop ProxySub-technique

Dok downloads and installs Tor via homebrew.[1]

EnterpriseT1547.015Login ItemsSub-technique

Dok uses AppleScript to install a login Item by sending Apple events to the System Events process.[2]

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
20.0
Object version
2.0
Created
Modified
Raw hash
6512d6fb562c4f96...
Imported snapshots across ATT&CK releases(3)
ReleaseBundle importedObject versionModifiedStatusRaw hash
20.02.0Current bundle6512d6fb562c…
19.22.0Older bundle6512d6fb562c…
19.12.0Older bundle6512d6fb562c…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    objsee mac malware 2017

    Patrick Wardle. (n.d.). Mac Malware of 2017. Retrieved September 21, 2018.

    Open source URL
  2. [2]
    hexed osx.dok analysis 2019

    fluffybunny. (2019, July 9). OSX.Dok Analysis. Retrieved November 17, 2024.

    Open source URL
  3. [3]
    CheckPoint Dok

    Ofer Caspi. (2017, May 4). OSX Malware is Catching Up, and it wants to Read Your HTTPS Traffic. Retrieved October 5, 2021.

    Open source URL
  4. [4]
    Dok

    (Citation: objsee mac malware 2017)

  5. [5]
    Retefe

    (Citation: objsee mac malware 2017).

  6. [6]
    mitre-attackS0281
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.