{"source_checked_on":"2026-10-19","schema_version":1,"key":"enterprise/T1587.002","id":"T1587.002","name":"Code Signing Certificates","domain":"enterprise","reviewed_on":"2026-09-28","source_url":"https://attack.mitre.org/techniques/T1587/002","source_file":{"file":"enterprise.json","url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/20664a889568dce884a1dac0ec7b12ae3a199f51/enterprise-attack/enterprise-attack-20.0.json","sha256":"81113ba98afa2928f3dcff62022539f7ce30c315c32e14422f11ff95ce534352","bytes":55271014},"source_object_sha256":"9cd361e48270813c11867e889f01018efcefc265a519257f26cab0190f06b19d","description":"Adversaries may create self-signed code signing certificates that can be used during targeting. Code signing is the process of digitally signing executables and scripts to confirm the software author and guarantee that the code has not been altered or corrupted. Code signing provides a level of authenticity for a program from the developer and a guarantee that the program has not been tampered with.(Citation: Wikipedia Code Signing) Users and/or security tools may trust a signed piece of code more than an unsigned piece of code even if they don't know who issued the certificate or who the author is.\n\nPrior to [Code Signing](https://attack.mitre.org/techniques/T1553/002), adversaries may develop self-signed code signing certificates for use in operations.","references":[{"source_name":"mitre-attack","url":"https://attack.mitre.org/techniques/T1587/002","external_id":"T1587.002"},{"source_name":"Wikipedia Code Signing","description":"Wikipedia. (2015, November 10). Code Signing. Retrieved March 31, 2016.","url":"https://en.wikipedia.org/wiki/Code_signing"}],"platforms":["PRE"],"environments":["external-services"],"visibility":"source_mapped","visibility_note":null,"parent":{"key":"enterprise/T1587","id":"T1587","name":"Develop Capabilities","domain":"enterprise","level":"technique","parent_id":null,"tactics":["resource-development"],"platforms":["PRE"],"environments":["external-services"],"page":"techniques/enterprise/T1587/","constraints":["isolated_authorized_lab","procedure_review_required","telemetry_configuration_required"],"telemetry_tags":["Malware Content","Malware Metadata","Response Content"],"telemetry_references":[{"id":"DC0011","name":"Malware Content","tag":"Malware Content","page":"telemetry/DC0011/","kind":"attack_component"},{"id":"DC0003","name":"Malware Metadata","tag":"Malware Metadata","page":"telemetry/DC0003/","kind":"attack_component"},{"id":"DC0104","name":"Response Content","tag":"Response Content","page":"telemetry/DC0104/","kind":"attack_component"}],"detections":{"page":"detections/enterprise/T1587/","status":"rule_source_available","counts":{"sigma":3,"atlas_basic":0,"atlas_anomaly":0,"strategies":1,"analytics":1,"live_validated":0},"anomaly_types":[]},"detection_status":"rule_source_available","anomaly_tags":[],"tool_tags":[],"tool_references":[],"visibility":"source_mapped","telemetry_status":"mapped","classification":"cannot_simulate_yet","candidate_count":0,"implementation":"not_integrated","methods":[]},"children":[],"telemetry":[{"id":"DC0003","name":"Malware Metadata","page":"telemetry/DC0003/","kind":"attack_component","category":"Sample analysis and intelligence","description":"Descriptive attributes of a suspicious software sample or malware analysis record.","collection_focus":"Ingest permitted analysis metadata with sample hash, tool/version, submission provenance and confidence; keep verdicts separate from observed facts.","providers":[{"name":"YARA","scope":"Static rule matches and matched strings on authorized files; not proof of execution or attribution.","source_id":"yara"},{"name":"Authorized sample repositories / STIX analysis reports","scope":"Sample identity, provenance and analysis observations; access and retention are separately controlled.","source_id":"stix"}],"configuration":["Work offline with an authorized sample or benign fixture; record its SHA-256, origin and custody before analysis.","For static matching, pin reviewed YARA rules/tool version and capture match IDs and offsets where needed. Treat untrusted rules and samples as untrusted input.","Store sanitized findings separately from restricted sample bytes. Label static observations, verdicts and any independently obtained dynamic results distinctly."],"configuration_example":null,"required_fields":["sample_sha256","file_type","analysis_status","verdict"],"example":{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0003","collector":"illustrative-lab-collector","observation":{"sample_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","file_type":"PE32","analysis_status":"static_only","verdict":"undetermined"}},"example_note":"Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.","limitations":"A rule match is not a confirmed infection. Metadata is not payload content, and static analysis does not prove a behavior occurred on a victim. No samples are executed by this module.","sources":[{"id":"yara","title":"YARA command-line analysis","url":"https://yara.readthedocs.io/en/stable/commandline.html"},{"id":"stix","title":"OASIS STIX 2.1 specification","url":"https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html"}],"association":"attack_component","anomaly_design":"Compare sample metadata, behavior traces and structural characteristics against an appropriate analysis corpus. Sample availability and sandbox execution differ from observing a compromise on a protected asset."}],"detection":{"key":"enterprise/T1587.002","id":"T1587.002","name":"Code Signing Certificates","domain":"enterprise","platforms":["PRE"],"environments":["external-services"],"source_url":"https://attack.mitre.org/techniques/T1587/002","technique_page":"techniques/enterprise/T1587.002/","page":"detections/enterprise/T1587.002/","status":"guidance_only","counts":{"sigma":0,"atlas_basic":0,"atlas_anomaly":0,"strategies":1,"analytics":1,"live_validated":0},"sigma_rules":[],"atlas_basic":[],"atlas_anomaly":[],"anomaly_types":[],"strategies":[{"id":"DET0833","name":"Detection of Code Signing Certificates","url":"https://attack.mitre.org/detectionstrategies/DET0833","stix_id":"x-mitre-detection-strategy--c8a4587f-6fa1-4a94-844b-ee731f1c33be","relationship_id":"relationship--c5f04cb4-823b-4c63-80ed-3c7d98ff2c71","description":"","analytics":[{"id":"AN1965","name":"Analytic 1965","guidance":"Consider analyzing self-signed code signing certificates for features that may be associated with the adversary and/or their developers, such as the thumbprint, algorithm used, validity period, and common name. Malware repositories can also be used to identify additional samples associated with the adversary and identify patterns an adversary has used in crafting self-signed code signing certificates.\nMuch of this activity will take place outside the visibility of the target organization, making detection of this behavior difficult. Detection efforts may be focused on related follow-on behavior, such as Code Signing or Install Root Certificate.","url":"https://attack.mitre.org/detectionstrategies/DET0833#AN1965","platforms":["PRE"],"tuning":[],"log_sources":[{"component_id":"DC0003","component":"Malware Metadata","name":"Malware Repository","channel":"None","platforms":["PRE"],"analytic_id":"AN1965","source_url":"https://attack.mitre.org/detectionstrategies/DET0833#AN1965","validation":"upstream_definition_not_locally_validated","component_page":"telemetry/DC0003/"}]}]}],"telemetry_references":[{"id":"DC0003","name":"Malware Metadata","tag":"Malware Metadata","page":"telemetry/DC0003/","kind":"attack_component"}],"visibility":"source_mapped","visibility_note":null,"tool_references":[],"related_parent":{"key":"enterprise/T1587","id":"T1587","name":"Develop Capabilities","page":"detections/enterprise/T1587/","note":"Related parent research only. Not inherited rule or anomaly coverage for this sub-technique."},"article_url":"https://1200km.com/articles/read/2026/2026-04-20-malicious-activity-as-a-statistical-signal-a-detection-engineering-analysis-of-anomaly-bas-90df8b6dea12/","validation":{"source_join":"exact_ids","sigma_yaml":"parsed","backend_compilation":"not_run","live_telemetry":"not_run","detection_execution":"not_run"}},"tools":[],"software":[],"actors":[{"id":"G0040","name":"Patchwork","url":"https://attack.mitre.org/groups/G0040","kind":"intrusion-set","description":"[Patchwork](https://attack.mitre.org/groups/G0040) has created self-signed certificates from fictitious and spoofed legitimate software companies that were later used to sign malware.(Citation: Unit 42 BackConfig May 2020)","relationship_id":"relationship--9319fb2f-88df-4195-a42e-2a6a983a4840","references":[{"source_name":"Unit 42 BackConfig May 2020","description":"Hinchliffe, A. and Falcone, R. (2020, May 11). Updated BackConfig Malware Targeting Government and Military Organizations in South Asia. Retrieved June 17, 2020.","url":"https://unit42.paloaltonetworks.com/updated-backconfig-malware-targeting-government-and-military-organizations/"}]},{"id":"G0056","name":"PROMETHIUM","url":"https://attack.mitre.org/groups/G0056","kind":"intrusion-set","description":"[PROMETHIUM](https://attack.mitre.org/groups/G0056) has created self-signed certificates to sign malicious installers.(Citation: Bitdefender StrongPity June 2020)","relationship_id":"relationship--4ac5b593-8f47-46cc-9af3-fcb0eb20f66e","references":[{"source_name":"Bitdefender StrongPity June 2020","description":"Tudorica, R. et al. (2020, June 30). StrongPity APT - Revealing Trojanized Tools, Working Hours and Infrastructure. Retrieved July 20, 2020.","url":"https://www.bitdefender.com/files/News/CaseStudies/study/353/Bitdefender-Whitepaper-StrongPity-APT.pdf"}]},{"id":"G1034","name":"Daggerfly","url":"https://attack.mitre.org/groups/G1034","kind":"intrusion-set","description":"[Daggerfly](https://attack.mitre.org/groups/G1034) created code signing certificates to sign malicious macOS files.(Citation: ESET EvasivePanda 2024)","relationship_id":"relationship--1db7023d-eab0-4ddb-9156-9ac03b5e0db9","references":[{"source_name":"ESET EvasivePanda 2024","description":"Ahn Ho, Facundo Muñoz, & Marc-Etienne M.Léveillé. (2024, March 7). Evasive Panda leverages Monlam Festival to target Tibetans. Retrieved July 25, 2024.","url":"https://www.welivesecurity.com/en/eset-research/evasive-panda-leverages-monlam-festival-target-tibetans/"}]}],"mitigations":[{"id":"M1056","name":"Pre-compromise","url":"https://attack.mitre.org/mitigations/M1056","kind":"course-of-action","description":"This technique cannot be easily mitigated with preventive controls since it is based on behaviors performed outside of the scope of enterprise defenses and controls.","relationship_id":"relationship--15cae685-cd89-4b79-b89b-e7153fb16ba2","references":[]}],"candidates":[],"simulation":{"atomic_status":"no_atomic_candidate","lab_execution":"not_run","browser_attack_runner":false,"prerequisites":"Use disposable lab hosts and test accounts, explicit target allowlists, a clean snapshot, bounded egress and a restore plan. Review every candidate and dependency before any execution.","scenario":null},"validation":{"source_identity":"checked_against_pinned_source","relationship_join":"exact_ids_no_inheritance","page_contract":"automated_checks_required","sensor_capture":"not_run","detection_backend":"not_run","adversary_simulation":"not_run","independent_incident_fact_check":"not_performed"},"technique_links":{"T1553.002":"/ttp-simulation/techniques/enterprise/T1553.002/","T1587.002":"/ttp-simulation/techniques/enterprise/T1587.002/"},"synthetic":{"schema":"1200km.ttp.collection-fixture.v1","synthetic":true,"technique_key":"enterprise/T1587.002","purpose":"Collection/parser contract exercise, NOT a positive example or detection of this TTP.","events":[{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0003","collector":"illustrative-lab-collector","observation":{"sample_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","file_type":"PE32","analysis_status":"static_only","verdict":"undetermined"}}]}}
