{ "type": "bundle", "id": "bundle--f2049d65-5315-4c37-9bbb-900c9b851204", "objects": [ { "type": "identity", "spec_version": "2.1", "id": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:20:21.000Z", "modified": "2023-01-19T08:20:21.000Z", "name": "CIRCL", "identity_class": "organization" }, { "type": "report", "spec_version": "2.1", "id": "report--f2049d65-5315-4c37-9bbb-900c9b851204", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:20:21.000Z", "modified": "2023-01-19T08:20:21.000Z", "name": "OSINT - CircleCI incident report for January 4, 2023 security incident", "published": "2023-01-19T08:21:21Z", "object_refs": [ "indicator--5eab642e-d3a5-4170-9aff-770721ce1f01", "indicator--b0894935-86e3-49fe-99ee-767f8c551d84", "indicator--9c1bc6dc-e391-46f5-bf31-dc501e06ddfb", "indicator--9ad02845-5cfb-4494-89b4-1c3795e3d5bb", "indicator--fc6531ee-17f5-4f4e-94d8-25b1b355b14f", "indicator--4f008530-bf04-458c-98fc-5b45a6ae66db", "indicator--268efcdc-a235-4ef2-a421-b66d0b9b0e7f", "indicator--41b9f351-1bb3-4d8f-af7c-c018c050702b", "indicator--4d7b64e3-6e7c-4275-b082-8b80534015c9", "indicator--af9d8894-d05a-46d1-bfe6-8b478b30371a", "indicator--89f779a8-ac43-46cf-bf35-adae33af9936", "indicator--486b2d2f-12bd-4741-ae46-5838f798a10a", "indicator--31150471-744f-47e5-9da9-9eceaac53ca4", "indicator--5b6801c1-e72e-4841-b908-fefce6cdf8cf", "indicator--413ee0ee-1509-4d44-bddd-9bde85e92562", "x-misp-object--852a38c1-d1b2-43c3-8781-23b8de71e1a1", "note--b2ec2f37-9bd6-4b0c-9c78-b6fef5b99260" ], "labels": [ "Threat-Report", "misp:tool=\"MISP-STIX-Converter\"", "misp-galaxy:mitre-attack-pattern=\"SSH - T1021.004\"", "type:OSINT", "osint:lifetime=\"perpetual\"", "osint:certainty=\"50\"", "tlp:clear" ], "object_marking_refs": [ "marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--5eab642e-d3a5-4170-9aff-770721ce1f01", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:14:59.000Z", "modified": "2023-01-19T08:14:59.000Z", "description": "Malicious files to search for and remove:", "pattern": "[file:hashes.SHA256 = '8913e38592228adc067d82f66c150d87004ec946e579d4a00c53b61444ff35bf']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:14:59Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"sha256\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--b0894935-86e3-49fe-99ee-767f8c551d84", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:14:47.000Z", "modified": "2023-01-19T08:14:47.000Z", "description": "Malicious files to search for and remove:", "pattern": "[file:name = '/private/tmp/.svx856.log']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:14:47Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"filename\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--9c1bc6dc-e391-46f5-bf31-dc501e06ddfb", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:16:06.000Z", "modified": "2023-01-19T08:16:06.000Z", "description": "Malicious files to search for and remove:", "pattern": "[file:name = '/private/tmp/.ptslog']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:16:06Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"filename\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--9ad02845-5cfb-4494-89b4-1c3795e3d5bb", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:16:33.000Z", "modified": "2023-01-19T08:16:33.000Z", "description": "Review GitHub audit log files for unexpected commands such as:", "pattern": "[windows-registry-key:key = 'repo.download_zip']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:16:33Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Artifacts dropped" } ], "labels": [ "misp:type=\"regkey\"", "misp:category=\"Artifacts dropped\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--fc6531ee-17f5-4f4e-94d8-25b1b355b14f", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '178.249.214.10']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--4f008530-bf04-458c-98fc-5b45a6ae66db", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:16:13.000Z", "modified": "2023-01-19T08:16:13.000Z", "description": "Malicious files to search for and remove:", "pattern": "[file:name = 'PTX-Player.dmg']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:16:13Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"filename\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--268efcdc-a235-4ef2-a421-b66d0b9b0e7f", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '178.249.214.25']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--41b9f351-1bb3-4d8f-af7c-c018c050702b", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '111.90.149.55']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--4d7b64e3-6e7c-4275-b082-8b80534015c9", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '188.68.229.52']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--af9d8894-d05a-46d1-bfe6-8b478b30371a", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '72.18.132.58']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--89f779a8-ac43-46cf-bf35-adae33af9936", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '89.36.78.135']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--486b2d2f-12bd-4741-ae46-5838f798a10a", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '89.36.78.109']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--31150471-744f-47e5-9da9-9eceaac53ca4", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:14:13.000Z", "modified": "2023-01-19T08:14:13.000Z", "description": "Block the following domain", "pattern": "[domain-name:value = 'potrax.com']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:14:13Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"domain\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--5b6801c1-e72e-4841-b908-fefce6cdf8cf", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:11:57.000Z", "modified": "2023-01-19T08:11:57.000Z", "pattern": "[network-traffic:dst_ref.type = 'ipv4-addr' AND network-traffic:dst_ref.value = '89.36.78.75']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:11:57Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"ip-dst\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "indicator", "spec_version": "2.1", "id": "indicator--413ee0ee-1509-4d44-bddd-9bde85e92562", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:14:36.000Z", "modified": "2023-01-19T08:14:36.000Z", "description": "Malicious files to search for and remove:", "pattern": "[domain-name:value = 'ptx.app']", "pattern_type": "stix", "pattern_version": "2.1", "valid_from": "2023-01-19T08:14:36Z", "kill_chain_phases": [ { "kill_chain_name": "misp-category", "phase_name": "Payload delivery" } ], "labels": [ "misp:type=\"domain\"", "misp:category=\"Payload delivery\"", "misp:to_ids=\"True\"" ] }, { "type": "x-misp-object", "spec_version": "2.1", "id": "x-misp-object--852a38c1-d1b2-43c3-8781-23b8de71e1a1", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:10:25.000Z", "modified": "2023-01-19T08:10:25.000Z", "labels": [ "misp:name=\"report\"", "misp:meta-category=\"misc\"" ], "x_misp_attributes": [ { "type": "link", "object_relation": "link", "value": "https://circleci.com/blog/jan-4-2023-incident-report/", "category": "External analysis", "uuid": "c342b42b-b831-4dd3-b01b-f496ec048e8b" }, { "type": "text", "object_relation": "summary", "value": "On January 4, 2023, we alerted customers to a security incident. Today, we want to share with you what happened, what we\u2019ve learned, and what our plans are to continuously improve our security posture for the future.\r\n\r\nWe would like to thank our customers for your attention to rotating and revoking secrets, and apologize for any disruption this incident may have caused to your work. We encourage customers who have yet to take action to do so in order to prevent unauthorized access to third-party systems and stores. Additionally, we want to thank our customers and our community for your patience while we have been conducting a thorough investigation. In aiming for responsible disclosure, we have done our best to balance speed in sharing information with maintaining the integrity of our investigation.", "category": "Other", "uuid": "2a8dc7bd-ec90-49b3-bfda-2117bd548733" }, { "type": "text", "object_relation": "type", "value": "Report", "category": "Other", "uuid": "7d775b15-8637-4e98-a4bc-bd74a19ce591" } ], "x_misp_meta_category": "misc", "x_misp_name": "report" }, { "type": "note", "spec_version": "2.1", "id": "note--b2ec2f37-9bd6-4b0c-9c78-b6fef5b99260", "created_by_ref": "identity--55f6ea5e-2c60-40e5-964f-47a8950d210f", "created": "2023-01-19T08:12:25.000Z", "modified": "2023-01-19T08:12:25.000Z", "abstract": "Report from - https://circleci.com/blog/jan-4-2023-incident-report/ (1674115837)", "content": "Share on @[tag](misp-galaxy:amitt-misinformation-pattern=\"Twitter\") Share on @[tag](misp-galaxy:amitt-misinformation-pattern=\"LinkedIn\") Share on @[tag](misp-galaxy:amitt-misinformation-pattern=\"Facebook\") Share on @[tag](misp-galaxy:amitt-misinformation-pattern=\"Reddit\") >Share on Hacker News \r\n \r\n \r\nOn January 4, 2023, we alerted customers to a security incident. Today, we want to share with you what happened, what we\u2019ve learned, and what our plans are to continuously improve our security posture for the future.\r\n\r\n We would like to thank our customers for your attention to rotating and revoking secrets, and apologize for any disruption this incident may have caused to your work. We encourage customers who have yet to take action to do so in order to prevent unauthorized access to third-party systems and stores. Additionally, we want to thank our customers and our community for your patience while we have been conducting a thorough investigation. In aiming for responsible disclosure, we have d@[tag](one) our best to balance speed in sharing information with maintaining the integrity of our investigation.\r\n\r\n # This report will cover@[tag](:)\r\n\r\n \r\n * What happened?\r\n * How do we know this attack vector is closed and it\u2019s safe to build?\r\n * Communication and support for customers\r\n * How do I know if I was impacted?\r\n * Details that may help your team with internal investigations\r\n * What we learned from this incident and what we will do next\r\n * A note on employee responsibility vs. systems safeguards\r\n * Security best practices\r\n * Closing thoughts\r\n \r\n## What happened?\r\n\r\n *All dates and times are reported in UTC, unless otherwise noted.*\r\n\r\n On December 29, @[tag](2022), we were alerted to @[tag](suspicious) GitHub OAuth activity by @[tag](one) of our customers. This notification kicked off a deeper review by CircleCI\u2019s security team with GitHub.\r\n\r\n On December 30, @[tag](2022), we learned that this customer\u2019s GitHub OAuth token had been compromised by an unauthorized third party. Although that customer was able to quickly resolve the issue, out of an abundance of caution, on December 31, @[tag](2022), we proactively initiated the process of rotating all GitHub OAuth tokens on behalf of our customers. Despite working with GitHub to increase API rate limits, the rotation process took time. While it was not clear at this point whether other customers were impacted, we continued to expand the scope of our analysis.\r\n\r\n By January 4, 2023, our internal investigation had determined the scope of the intrusion by the unauthorized third party and the entry path of the attack. To date, we have learned that an unauthorized third party leveraged malware deployed to a CircleCI engineer\u2019s laptop in order to steal a valid, 2FA-backed SSO session. This machine was compromised on December 16, @[tag](2022). The malware was not detected by our antivirus software. Our investigation indicates that the malware was able to execute session cookie theft, enabling them to impersonate the targeted employee in a remote location and then escalate access to a subset of our production systems.\r\n\r\n Because the targeted employee had privileges to generate production access tokens as part of the employee\u2019s regular duties, the unauthorized third party was able to access and exfiltrate @[tag](data) from a subset of @[tag](data)bases and stores, including customer environment variables, tokens, and keys. We have reason to believe that the unauthorized third party engaged in reconnaissance activity on December 19, @[tag](2022). On December 22, @[tag](2022), exfiltration occurred, and that is our last record of unauthorized activity in our production systems. Though all the @[tag](data) exfiltrated was @[tag](encrypted) at rest, the third party @[tag](extracted) encryption keys from a running process, enabling them to potentially access the @[tag](encrypted) @[tag](data).\r\n\r\n While we are confident in the findings of our internal investigation, we have engaged third-party cyber security specialists to assist in our investigation and to validate our findings. Our findings to date are based on analyses of our authentication, network, and monitoring tools, as well as system logs and log analyses provided by our partners.\r\n\r\n In response to this incident, we took the following actions@[tag](:)\r\n\r\n \r\n * On January 4, 2023, at 16@[tag](:)35 UTC, we shut down all access for the employee whose account was compromised.\r\n * On January 4, 2023, at 18@[tag](:)30 UTC, we shut down production access to nearly all employees, limiting access to an extremely small group for operational issues. @[tag](misp-galaxy:mitre-attack-pattern=\"At - T1053.002\") no time during this investigation did we have any evidence that the credentials of any other employees or their devices had been compromised, but we took this action in order to limit the potential surface area.\r\n * On January 4, 2023, at 22@[tag](:)30 UTC, we rotated all potentially exposed production hosts to ensure clean production machines.\r\n * On January 5, 2023, at 03@[tag](:)26 UTC, we revoked all Project API Tokens.\r\n * On January 6, 2023, at 05@[tag](:)00 UTC, we revoked all Personal API Tokens that had been created prior to 00@[tag](:)00 UTC on January 5, 2023.\r\n * On January 6, 2023, at 06@[tag](:)40 UTC we began work with our partners at @[tag](misp-galaxy:mitre-attack-pattern=\"At - T1053.002\")lassian to rotate all @[tag](Bitbucket) tokens on behalf of our customers. This work was completed on January 6, 2023, at 10@[tag](:)15 UTC.\r\n * On January 7, 2023, at 07@[tag](:)30 UTC, we completed the rotation of GitHub OAuth tokens that we began on December 31, @[tag](2022), at 04@[tag](:)00 UTC.\r\n * On January 7, 2023, at 18@[tag](:)30 UTC, we began working with our partners at AWS to notify customers of potentially affected AWS tokens. We understand that those notifications were complete as of January 12, 2023, at 00@[tag](:)00 UTC.\r\n \r\n In the intervening time, we have continued our forensic investigation with the support of external investigators, rolled out additional layers of security on our platform, and built and distributed additional tools (more details below) to support our customers in securing their secrets.\r\n\r\n## How do we know this attack vector is closed and it\u2019s safe to build?\r\n\r\n We are confident that customers can safely build on CircleCI.\r\n\r\n We have taken many steps since becoming aware of this attack, both to close the attack vector and add additional layers of security, including the following@[tag](:)\r\n\r\n \r\n * Added detection and blocking through our MDM and A/V solutions for the specific behaviors exhibited by the malware used in this attack.\r\n * Restricted access to production environments to a very limited number of employees as we implement additional security measures. We\u2019re confident in our platform\u2019s security, and we have no indication that any other employee\u2019s device has been compromised.\r\n * For the employees who retain production access, we have added additional step-up authentication steps and controls. This will help us prevent possible unauthorized production access, even in the case of a stolen 2FA-backed SSO session.\r\n * Implemented monitoring and alerting for the specific behavior patterns we identified in this scenario, across multiple triggers and via a variety of third-party vendors.\r\n \r\n We know that security work is never d@[tag](one). In addition to closing this particular vector, we have also performed enhanced and ongoing reviews to ensure a stronger defense against potential attacks.\r\n\r\n## Communication and support for customers\r\n\r\n Upon completion of the rotation of all production hosts on January 4, 2023 at 22@[tag](:)30 UTC, we were confident that we had eliminated both the attack vector and the potential of a lingering corrupted host.\r\n\r\n On January 4, 2023, at 6@[tag](:)30 PM PST / January 5, 2023, at 02@[tag](:)30 UTC, we sent disclosure emails, posted a security notification on our blog, notified customers via our social media accounts and our Discuss forum, and created a support article on how to perform the recommended security steps.\r\n\r\n We recommended that all customers rotate their secrets, including OAuth tokens, Project API Tokens, @[tag](misp-galaxy:mitre-attack-pattern=\"SSH - T1021.004\") keys, and more (see blog post or Discuss post for more details).\r\n\r\n This disclosure initiated an active and ongoing period of communication with our customers. We would like to thank our customers both for your concerted response to this incident as well as for helping us to identify opportunities to provide you with additional tooling. We took this feedback and in response built and released new tools and amended our existing tools to speed remediation for customers via the following@[tag](:)\r\n\r\n \r\n * A @[tag](script) for secret finding in order to create an actionable list for secrets rotation.\r\n * Two key changes to the CircleCI API@[tag](:) \r\n\t + New functionality to return SHA-256 signatures for checkout keys in order to better match the GitHub UI.\r\n\t + The @[attribute](c8f62d84-ea44-4d7e-8bfa-aa03d6baa0b1) field was added to the Contexts API so that customers can verify the successful rotation of these variables. \r\n * Audit logs were made accessible to all customers on both @[tag](free) and paid plans to help customers review CircleCI platform activity.\r\n \r\n We appreciate all feedback from customers about where we could improve our communications including opportunities to make the incident more visible across our channels.\r\n\r\n ## How do I know if I was impacted?\r\n\r\n **Is my @[tag](data) at risk?**\r\n\r\n In this incident, the unauthorized actor exfiltrated customer information on December 22, @[tag](2022), which included environment variables, keys, and tokens for third-party systems. If you stored secrets on our platform during this time period, assume they have been accessed and take the recommended mitigation steps. We recommend you investigate for @[tag](suspicious) activity in your system starting on December 16, @[tag](2022) and ending on the date you completed your secrets rotation after our disclosure on January 4, 2023. Anything entered into the system after January 5, 2023 can be considered secure.\r\n\r\n **Did an unauthorized actor use that @[tag](data) to access any of my systems?**\r\n\r\n Because this incident involved the exfiltration of keys and tokens for third-party systems, there is no way for us to know if your secrets were used for unauthorized access to those third-party systems. We have provided some details below to aid customers in their investigations.\r\n\r\n **@[tag](misp-galaxy:mitre-attack-pattern=\"At - T1053.002\") the time of publishing, fewer than 5 customers have informed us of unauthorized access to third-party systems as a result of this incident.**\r\n\r\n ## Details that may help your team with internal investigations\r\n\r\n With the help of third-party forensic investigators, we have recently confirmed additional details that may help customers in their audits and investigations.\r\n\r\n **Dates of impact@[tag](:)**\r\n\r\n \r\n * We see unauthorized third-party access on December 19, @[tag](2022), with exfiltration of @[tag](data) occurring on December 22, @[tag](2022).\r\n * We have no evidence of customer-impacting activity prior to December 19, @[tag](2022). Out of an abundance of caution, we recommend you investigate the period between the date of corruption on December 16, @[tag](2022) through the date when you rotated your secrets following January 4, 2023 for unusual activity in your systems.\r\n \r\n **IP addresses identified as being used by the threat actor@[tag](:)**\r\n\r\n \r\n * @[attribute](fc6531ee-17f5-4f4e-94d8-25b1b355b14f)\r\n * @[attribute](5b6801c1-e72e-4841-b908-fefce6cdf8cf)\r\n * @[attribute](486b2d2f-12bd-4741-ae46-5838f798a10a)\r\n * @[attribute](89f779a8-ac43-46cf-bf35-adae33af9936)\r\n * @[attribute](268efcdc-a235-4ef2-a421-b66d0b9b0e7f)\r\n * @[attribute](af9d8894-d05a-46d1-bfe6-8b478b30371a)\r\n * @[attribute](4d7b64e3-6e7c-4275-b082-8b80534015c9)\r\n * @[attribute](41b9f351-1bb3-4d8f-af7c-c018c050702b)\r\n \r\n **Data centers and VPN providers identified as being used by the threat actor@[tag](:)**\r\n\r\n \r\n * Datacamp Limited\r\n * Globalaxs Quebec Noc\r\n * Handy Networks, LLC\r\n * Mullvad VPN\r\n \r\n **Malicious files to search for and remove@[tag](:)**\r\n\r\n \r\n * @[attribute](b0894935-86e3-49fe-99ee-767f8c551d84)\r\n * @[attribute](9c1bc6dc-e391-46f5-bf31-dc501e06ddfb)\r\n * @[attribute](4f008530-bf04-458c-98fc-5b45a6ae66db) (SHA256@[tag](:) @[attribute](5eab642e-d3a5-4170-9aff-770721ce1f01))\r\n * @[attribute](413ee0ee-1509-4d44-bddd-9bde85e92562)\r\n \r\n **Block the following domain@[tag](:)**\r\n\r\n \r\n * @[attribute](31150471-744f-47e5-9da9-9eceaac53ca4)\r\n \r\n **Review GitHub audit log files for unexpected commands such as@[tag](:)**\r\n\r\n \r\n * @[attribute](9ad02845-5cfb-4494-89b4-1c3795e3d5bb)\r\n \r\n ## What we learned from this incident and what we will do next\r\n\r\n **We learned@[tag](:) While we have the tools in place to deter and detect attacks, there is always opportunity to strengthen our security posture.** \r\n The authentication, security, and tracing tools we had in place allowed us to comprehensively diagnose and remediate the issue. As the sophistication of @[tag](malicious) actors increases, we are continuously evolving our security standards and pushing best practices to stay ahead of future threats. We will be increasingly aggressive in our use of security tools. Going forward, to support a more conservative stance and preclude bad actors from improperly accessing our systems, we will be optimizing the configuration of our existing tools to create additional layers of defense.\r\n\r\n **Our plan@[tag](:)** \r\n To start, we will initiate periodic automatic OAuth token rotation for all customers. Our plans also include a shift from OAuth to GitHub apps, enabling us to enforce more granular permissions within tokens. We also plan to complete a comprehensive analysis of all of our tooling configurations, including a third-party review. We\u2019re continuing to take additional steps including expanding alerting, reducing session trust, adding additional authentication factors, and performing more regular access rotations. Finally, we will be making our system permissions more ephemeral, severely restricting the target value of any tokens gained from a similar incident.\r\n\r\n **We learned@[tag](:) We can make it easier for customers to adopt our most advanced security features.** \r\n Through the evolution of CircleCI, we have continued to introduce features to improve the security of our customers\u2019 build pipelines. While advanced security features are available to customers, we can do more to improve adoption of those features.\r\n\r\n **Our plan@[tag](:)** \r\n It must be easier for customers to seamlessly adopt the latest and most advanced security features available, including OIDC and IP ranges. There are also additional proactive steps we are exploring, for example, automatic token expiration and notifications for unused secrets. We will make it simpler and more convenient for our customers to create and maintain highly secure pipelines, enabling every advantage of the cloud while smartly managing risk.\r\n\r\n ## A note on employee responsibility vs. systems safeguards\r\n\r\n We want to be clear. While @[tag](one) employee\u2019s laptop was exploited through this sophisticated attack, a security incident is a systems failure. Our responsibility as an organization is to build layers of safeguards that protect against all attack vectors.\r\n\r\n ## Security best practices\r\n\r\n Given the increasing presence of highly sophisticated and motivated bad actors, we are committed to sharing best practices with our customers in order to strengthen our collective defense against inevitable future attempts. Here are recommendations customers can take to increase pipeline security@[tag](:)\r\n\r\n \r\n * Use OIDC tokens wherever possible to avoid storing long-lived credentials in CircleCI.\r\n * Take advantage of IP ranges to limit inbound connections to your systems to only known IP addresses.\r\n * Use Contexts to consolidate shared secrets and restrict access to secrets to specific projects, which can then be rotated automatically via API.\r\n * For privileged access and additional controls, you may choose to use runners, which allow you to connect the CircleCI platform to your own compute and environments, including IP restrictions and IAM management.\r\n \r\n ## Closing thoughts\r\n\r\n We know there is no convenient time to respond to a security incident on a critical system, and we want to sincerely thank all of our customers who immediately took action following this incident. It is through this collective action that we will be in a stronger position to combat future threats. We also witnessed firsthand the strength and generosity of our customer community, with many of you heading to our Discuss forum to share knowledge and help @[tag](one) another. Thank you for your support and patience as we worked to resolve this incident.", "object_refs": [ "indicator--5eab642e-d3a5-4170-9aff-770721ce1f01", "indicator--486b2d2f-12bd-4741-ae46-5838f798a10a", "indicator--af9d8894-d05a-46d1-bfe6-8b478b30371a", "indicator--4d7b64e3-6e7c-4275-b082-8b80534015c9", "indicator--9ad02845-5cfb-4494-89b4-1c3795e3d5bb", "indicator--4f008530-bf04-458c-98fc-5b45a6ae66db", "indicator--b0894935-86e3-49fe-99ee-767f8c551d84", "indicator--fc6531ee-17f5-4f4e-94d8-25b1b355b14f", "indicator--89f779a8-ac43-46cf-bf35-adae33af9936", "indicator--31150471-744f-47e5-9da9-9eceaac53ca4", "indicator--413ee0ee-1509-4d44-bddd-9bde85e92562", "indicator--41b9f351-1bb3-4d8f-af7c-c018c050702b", "indicator--5b6801c1-e72e-4841-b908-fefce6cdf8cf", "indicator--9c1bc6dc-e391-46f5-bf31-dc501e06ddfb", "indicator--268efcdc-a235-4ef2-a421-b66d0b9b0e7f" ] }, { "type": "marking-definition", "spec_version": "2.1", "id": "marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9", "created": "2017-01-20T00:00:00.000Z", "definition_type": "tlp", "name": "TLP:WHITE", "definition": { "tlp": "white" } } ] }