{"record":{"id":"ATTACK:enterprise:T1546.004","title":"Unix Shell Configuration Modification","type":"Subtechnique","source_url":"https://attack.mitre.org/techniques/T1546/004","snapshot":"enterprise-attack-20.0.json","status":"active","rights":"Source metadata only; source notices retained; no operational prose or payloads","review_status":"machine-extracted; source-specific checks passed, editorial review pending","stix_id":"attack-pattern--b63a34e8-0a61-4c97-a23b-bf8a2ed812e2","external_id":"T1546.004","domain":"enterprise","created":"2020-01-24T14:13:45.936Z","modified":"2026-05-12T15:12:00.709Z","version":"2.2","aliases":[],"tactics":["privilege-escalation","persistence"],"source_references":[{"source_name":"anomali-linux-rabbit","url":"https://www.anomali.com/blog/pulling-linux-rabbit-rabbot-malware-out-of-a-hat"},{"source_name":"anomali-rocke-tactics","url":"https://www.anomali.com/blog/illicit-cryptomining-threat-actor-rocke-changes-tactics-now-more-difficult-to-detect"},{"source_name":"Linux manual bash invocation","url":"https://wiki.archlinux.org/index.php/Bash#Invocation"},{"source_name":"ScriptingOSX zsh","url":"https://scriptingosx.com/2019/06/moving-to-zsh-part-2-configuration-files/"},{"source_name":"bencane blog bashrc","url":"https://web.archive.org/web/20220316014323/http://bencane.com/2013/09/16/understanding-a-little-more-about-etcprofile-and-etcbashrc/"},{"source_name":"macOS MS office sandbox escape","url":"https://cedowens.medium.com/macos-ms-office-sandbox-brain-dump-4509b5fed49a"},{"source_name":"Magento","url":"https://blog.sucuri.net/2018/05/shell-logins-as-a-magento-reinfection-vector.html"},{"source_name":"Tsunami","url":"https://unit42.paloaltonetworks.com/unit42-new-iotlinux-malware-targets-dvrs-forms-botnet/"},{"source_name":"PersistentJXA_leopitt","url":"https://posts.specterops.io/persistent-jxa-66e1c3cd1cf5"},{"source_name":"code_persistence_zsh","url":"https://github.com/D00MFist/PersistentJXA/blob/master/BashProfilePersist.js"},{"source_name":"ESF_filemonitor","url":"https://objective-see.com/blog/blog_0x48.html"},{"source_name":"intezer-kaiji-malware","url":"https://www.intezer.com/blog/research/kaiji-new-chinese-linux-malware-turning-to-golang/"}]},"assertions":[{"id":"enterprise:relationship--226961a0-998c-4402-a7de-3c7922c4b45e","subject":"ATTACK:enterprise:S1078","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--226961a0-998c-4402-a7de-3c7922c4b45e","modified":"2026-04-29T14:23:05.952Z","references":[{"source_name":"RotaJakiro 2021 netlab360 analysis","url":"https://blog.netlab.360.com/stealth_rotajakiro_backdoor_en/"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--37e9f2ca-a7cb-4cc1-bf0f-4e2d36711b88","subject":"ATTACK:enterprise:S0362","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--37e9f2ca-a7cb-4cc1-bf0f-4e2d36711b88","modified":"2026-04-29T14:23:05.996Z","references":[{"source_name":"Anomali Linux Rabbit 2018","url":"https://www.anomali.com/blog/pulling-linux-rabbit-rabbot-malware-out-of-a-hat"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--4359e177-34c3-452e-82d6-2535ad695514","subject":"ATTACK:enterprise:G1052","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--4359e177-34c3-452e-82d6-2535ad695514","modified":"2026-07-31T18:47:54.547Z","references":[{"source_name":"Sekoia ClickFake 2025","url":"https://blog.sekoia.io/clickfake-interview-campaign-by-lazarus/"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--5fc5853a-6936-4a4c-bd3b-5e961bffb6c2","subject":"ATTACK:enterprise:C0045","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--5fc5853a-6936-4a4c-bd3b-5e961bffb6c2","modified":"2026-07-31T18:47:23.452Z","references":[{"source_name":"Oligo ShadowRay Campaign MAR 2024","url":"https://www.oligo.security/blog/shadowray-attack-ai-workloads-actively-exploited-in-the-wild"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--786778a1-d043-49ad-bd73-1834b21f4ac1","subject":"ATTACK:enterprise:T1546.004","predicate":"subtechnique-of","object":"ATTACK:enterprise:T1546","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--786778a1-d043-49ad-bd73-1834b21f4ac1","modified":"2026-08-04T20:30:56.790Z","references":[],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--b3efa4b3-4281-4bc7-a588-836d8e64c2f2","subject":"ATTACK:enterprise:S0690","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--b3efa4b3-4281-4bc7-a588-836d8e64c2f2","modified":"2026-04-29T14:23:06.171Z","references":[{"source_name":"Objective See Green Lambert for OSX Oct 2021","url":"https://objective-see.com/blog/blog_0x68.html"},{"source_name":"Glitch-Cat Green Lambert ATTCK Oct 2021","url":"https://web.archive.org/web/20211018145402/https://www.glitch-cat.com/blog/green-lambert-and-attack"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--be36df4d-4180-4271-ae0a-a7677df40261","subject":"ATTACK:enterprise:M1022","predicate":"mitigates","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--be36df4d-4180-4271-ae0a-a7677df40261","modified":"2026-04-29T14:23:06.185Z","references":[],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--e198f9cc-a750-4fb7-a49e-bf440af377e1","subject":"ATTACK:enterprise:S9014","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--e198f9cc-a750-4fb7-a49e-bf440af377e1","modified":"2026-04-29T14:23:06.233Z","references":[{"source_name":"Google UNC5221 Ivanti January 2025","url":"https://cloud.google.com/blog/topics/threat-intelligence/ivanti-connect-secure-vpn-zero-day"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1},{"id":"enterprise:relationship--f5ad06d8-9cfa-43b9-be1b-95b48a5ff0c9","subject":"ATTACK:enterprise:S0658","predicate":"uses","object":"ATTACK:enterprise:T1546.004","asserted_by":"MITRE ATT&CK","source_url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","snapshot":"enterprise-attack-20.0.json","evidence_locator":"relationship--f5ad06d8-9cfa-43b9-be1b-95b48a5ff0c9","modified":"2026-04-29T14:23:06.259Z","references":[{"source_name":"Microsoft March 2025 XCSSET","url":"https://www.microsoft.com/en-us/security/blog/2025/03/11/new-xcsset-malware-adds-new-obfuscation-persistence-techniques-to-infect-xcode-projects/"}],"qualification":"Source assertion; no new actor identity, alias equivalence, CVE exploitation or causal inference. Procedure prose omitted.","source_occurrences":1}],"source_snapshot":{"file":"enterprise-attack-20.0.json","url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/c2494b29dd268c46a5d0ea0990553e4327cd2253/enterprise-attack/enterprise-attack-20.0.json","sha256":"81113ba98afa2928f3dcff62022539f7ce30c315c32e14422f11ff95ce534352","bytes":55271014,"checked_at":"2026-10-16T03:31:39Z"},"notices_url":"https://aol.pm/source-notices.txt","notices":"License\n-------\nThe MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use ATT&CK® for research,\ndevelopment, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce\nMITRE's copyright designation and this license in any such copy.\n\n\"© 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.\"\n\nDisclaimers\n-----------\nMITRE does not claim ATT&CK enumerates all possibilities for the types of actions and behaviors documented as part\nof its adversary model and framework of techniques. Using the information contained within ATT&CK to address or cover\nfull categories of techniques will not guarantee full defensive coverage as there may be undisclosed techniques or\nvariations on existing techniques not documented by ATT&CK.\n\nALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN ARE PROVIDED ON AN \"AS IS\" BASIS AND THE CONTRIBUTOR, THE\nORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF TRUSTEES, OFFICERS,\nAGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\nTHE USE OF THE INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR\nFITNESS FOR A PARTICULAR PURPOSE.\n"}