New year, old tricks: Hunting for CircleCI configuration files

Published: 2023-01-09
Last Updated: 2023-01-09 16:33:54 UTC
by Johannes Ullrich (Version: 1)
0 comment(s)

I have written before about attackers looking for exposed configuration files. Configuration files often include credentials or other sensitive information.Today, I noticed some scans for a files called "/.circleci/config.yml". Given the recent breach at CircleCI, I dug in a bit deeper.

Spoiler alert: This is not related to the breach. Sometimes organizations lose credentials all by themselves without any third party help.

This configu file is indeed "interesting" if it can be found. For the pre-cloud native people around here: Compare it to a Makefile. It describes how to build a certain project using CircleCI, and it may contain credentials as needed. For example, see the example from https://circleci.com/docs/sample-config/ :

Scans for the file have been ongoing at a low level for a while now

Including scans for these related URLs:

/.circleci/ssh-config
/.circleci/config.yml
/.circleci/circle.yml
/config/database.yml.circleci
/.circleci/

Currently, these 2 IPs are searching for .circleci/config.yml

139.99.120.65 and 139.99.123.180 .

Both are located at OVH, a cloud provider known for harboring many compromised systems. But otherwise, the IPs are not very remarkable. The IPs are scanning for various other configuration files and vulnerabilities. For example:

/wp-config.php.back
/php_info.php
/.env.bak
/.config
/config.json

(42 similar once today alone)

In short: If you leave your configuration files in your document root exposed: They will be found!

---
Johannes B. Ullrich, Ph.D. , Dean of Research, SANS.edu
Twitter|

Keywords:
0 comment(s)
ISC Stormcast For Monday, January 9th, 2023 https://isc.sans.edu/podcastdetail.html?id=8316

Comments

What's this all about ..?
password reveal .
<a hreaf="https://technolytical.com/">the social network</a> is described as follows because they respect your privacy and keep your data secure:

<a hreaf="https://technolytical.com/">the social network</a> is described as follows because they respect your privacy and keep your data secure. The social networks are not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go.

<a hreaf="https://technolytical.com/">the social network</a> is not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go. The social networks only collect the minimum amount of information required for the service that they provide. Your personal information is kept private, and is never shared with other companies without your permission
https://thehomestore.com.pk/
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> nearest public toilet to me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> nearest public toilet to me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
https://defineprogramming.com/
https://defineprogramming.com/
Enter comment here... a fake TeamViewer page, and that page led to a different type of malware. This week's infection involved a downloaded JavaScript (.js) file that led to Microsoft Installer packages (.msi files) containing other script that used free or open source programs.
distribute malware. Even if the URL listed on the ad shows a legitimate website, subsequent ad traffic can easily lead to a fake page. Different types of malware are distributed in this manner. I've seen IcedID (Bokbot), Gozi/ISFB, and various information stealers distributed through fake software websites that were provided through Google ad traffic. I submitted malicious files from this example to VirusTotal and found a low rate of detection, with some files not showing as malware at all. Additionally, domains associated with this infection frequently change. That might make it hard to detect.
https://clickercounter.org/
Enter corthrthmment here...

Diary Archives