Medical Scitech
Science & Tech
Configuration Probing: Your Backups Might Be Your Greatest Weakness
post photo preview

Configuration files exist to make life easier for developers and website operators. In a world without configuration files, every instance of code that depended on a database connection could potentially require the connection details to be hard coded or manually entered. Other reusable data would be defined multiple times, causing code bloat and possible performance issues. Even just making changes to a website could be a tedious task of tracking down exactly where configuration details are kept, and updating all instances. Configuration files are a great resource for maintaining a website with ease, but they are also a common resource for malicious actors.

Sensitive Data in WordPress Configuration Files

WordPress includes a core file named wp-config.php that defines the database credentials, secret keys, the database table prefix to use, and required file paths. Defining these in a configuration file is convenient, but if a malicious actor can get their hands on the wp-config.php file, then they have a lot of information that can lead to data theft and even a site takeover. In WordPress, the website content is stored within the database, including the user details for administrators and other roles. This file is protected by default in WordPress, but what happens when you need to change some minor details in the file, and you make a backup with a different name, but leave it in a web accessible directory?

Let’s take a look at the database details included in the wp-config.php file. What is defined here is the name of the database, the name of the database user as well as the associated password, the hostname for the location of the database, and the default character set and collation. If other protections are not in place on the database server, such as IP restriction, this information can give a malicious actor everything they need to access the database. With unrestricted database access, they can then insert new admin users which in turn provides them with unrestricted access to the website and all of its backend data.

Common Backup Mistakes

A common way of backing up the wp-config.php file is to make a copy of the file and add a new file extension like .txt, .bak, or .html to the end of the filename. This is a quick way to make a backup, and ensure it is readily available to be reactivated by changing the filename back to the original. The problem is that leaving these files in a web-accessible directory makes it relatively simple for malicious actors to find the sensitive data contained in the file.

Let's say the file is updated to change the absolute path for the WordPress website, with the original backed up as wp-config.php.html. If you go to the backup file directly in a browser, you will get a white page. This seems harmless and safe, but it also gives the information that the file exists, just without any actual HTML code to display content on the screen. If instead the page is called using a cURL command from a terminal, the file contents will be displayed.

If the file is backed up as wp-config.php.bak the browser will download the file when it is loaded, and if the file is backed up as wp-config.php.txt then the content will display in the browser directly.

Configuration Backup Probing

There are multiple techniques used to probe for backups of configuration files. One simple technique is using what is known as Google dorks. This technique makes use of built-in search functionality in Google and other search engines. Malicious actors will also often automate the process of finding backup configuration files with the use of scripts and prebuilt tools. Using some form of automation to find these files makes the process much more efficient.

Probing for backups of the wp-config.php file is a very common practice. It is so common, in fact, that the Wordfence firewall has tracked 70,408,576 attempts to locate these backups in the last 30 days alone.

Conclusion

Looking at the data collected in the last 30 days, it becomes clear that scanning for configuration files such as wp-config.php is wide-spread among malicious actors. The database credentials alone can prove incredibly valuable to anyone whose intent is to take over a website. With more than 40% of current websites running WordPress, this makes finding wp-config.php files even more valuable as it only requires knowledge of a single content management system (CMS).

The Wordfence Scanner includes an option to “Scan for publicly accessible configuration, backup, or log files” which will alert you if any publicly accessible configuration, backup, or log files are present in your site’s directory. This setting is enabled on a standard scan and can be checked for custom scans as well. If you received results indicating that you have a publicly accessible sensitive file, we strongly recommend removing it from the publicly accessible directory immediately.

If you believe your site has been compromised as a result of a configuration probing attack or some other exploit, Wordfence offers incident response services via Wordfence Care. If you need your site cleaned immediately, Wordfence Response offers the same service with 24/7/365 availability and a 1-hour response time. Both of these products include hands-on support in case you need further assistance.

community logo
Join the Medical Scitech Community
To read more articles like this, sign up and join my community today
0
What else you may like…
Posts
Articles
Cybersecurity basics & protection

The world of cybercrime is always changing. When viruses first appeared, most of them were pranks. To stay safe online, one of the best things you can do is stay educated on the litany of threats that lurk on the web. Use this information to learn everything you need to know about cyberthreats, and how to stop them.

QUARTERLY AND ANNUAL REPORTS

The world of cybercrime is much like the world of technology itself. Every year brings new trends, new innovations, and new tools. To get a sense of how cybercrime changes year to year, check out our cyberthreats reports, as well as our reports on special topics.

State of Malware:

2021 State of Malware Report
https://blog.malwarebytes.com/reports/2021/02/state-of-malware-2021-report/

2020 State of Malware Report
https://blog.malwarebytes.com/reports/2020/02/malwarebytes-labs-releases-2020-state-of-malware-report/

2019 State of Malware Report
https://go.malwarebytes.com/q119-state-of-malware-report.html

Demographics of Cybercrime:

Demographics of Cybercrime Report
...

post photo preview
Tips to protect your data, security, and privacy from a hands-on expert

This post was authored by one of the most active helpers on the Malwarebytes forums who wishes to remain anonymous.

Back in the early days of personal computing, perhaps one of the only real concerns was data loss from a drive failure. That risk still exists, but we all face many other threats today too.

There are rootkits, Trojans, worms, viruses, ransomware, phishing, identity theft, and social engineering to worry about. And that’s not a comprehensive list.

So how can you avoid becoming a victim?

SECURITY TIPS

• KEEP YOUR OPERATING SYSTEM AND APPS UP TO DATE. Install device, operating system, and software security updates as soon as they become available.

• USE A STRONG, UNIQUE PASSWORD for each login you use. Use a password manager to create and remember passwords if you can. If you aren’t using a password manager, use long passphrases that cannot be found in a dictionary.

• USE MULTI-FACTOR AUTHENTICATION (MFA) to help protect your accounts wherever it’s offered.

• PAY CLOSE ATTENTION TO INSTALLATION SCREENS and license ...

post photo preview
Tax time tips to keep you safe

With the tax filing deadline just a few days away—April 18th—this is prime time for scammers looking to steal money or personal information. Here’s a list of common tactics to watch out for and avoid.

And, don’t forget to enable Real-Time Protection to block threats before they can harm your device. See how for WINDOWS (https://links.e.malwarebytes.com/z/jtim1jhio) and MAC (https://links.e.malwarebytes.com/z/xe9215luj).

PHISHING ATTACKS

Be wary of unsolicited emails or texts prompting you to click a link, provide personal information, or phone calls demanding immediate payment. Learn more about different TYPES OF PHISHING (https://links.e.malwarebytes.com/z/cg7qpkr20) and what to look out for.

SEARCH ENGINE SCAMS

Take caution when searching online for a tax filing tool or when looking for tech support articles. Often, scammers will target frequently searched terms with paid ads posing as solutions, to access your personal information. Read more HERE ...

post photo preview
post photo preview
Io → Tu → Noi → Vita
Dall’Io all’Altro, dall’Altro al Noi, dal Noi alla Vita

Non siamo mai stati così connessi e, forse, mai così bisognosi di relazione. L’opposto della solitudine non è la comunicazione costante, né la moltiplicazione infinita dei contatti, ma la risonanza: l’incontro tra esseri viventi i cui mondi interiori rimangono distinti e tuttavia diventano capaci di vibrare insieme.

Solitudine e relazione non sono opposti. La solitudine ci restituisce il tempo nel quale possiamo ascoltare noi stessi; la relazione ci offre lo spazio nel quale possiamo veramente ascoltare l’altro. Abbiamo bisogno della solitudine per riscoprire la nostra interiorità, perché soltanto coloro che possiedono un mondo interiore possono autenticamente aprirlo a un altro. Soltanto coloro che conoscono il silenzio possono veramente ascoltare; soltanto coloro che non hanno più bisogno di una platea possono veramente incontrare un altro essere vivente.

Tra la solitudine e la relazione si trova la coscienza: il luogo in cui l’“Io” non scompare nella folla, ma diventa consapevole di sé abbastanza profondamente da aprirsi al “Tu”. E quando questo incontro si fonda sulla presenza anziché sulla rappresentazione, sull’ascolto anziché sulla validazione, sulla vulnerabilità anziché sull’esibizione, può emergere qualcosa di nuovo: il “Noi”.

Questo “Noi” non è la dissoluzione dell’individualità in una massa collettiva. È risonanza senza perdita d’identità. Due corde possono risuonare proprio perché rimangono due: nessuna diventa l’altra, eppure la vibrazione dell’una risveglia una vibrazione corrispondente nell’altra. La relazione, nella sua forma più profonda, potrebbe funzionare allo stesso modo. Crea qualcosa che nessuno dei due esseri potrebbe produrre nell’isolamento.

E forse il cerchio deve essere ampliato ancora di più. Il “Tu” non deve essere esclusivamente umano. Quando la coscienza impara a riconoscere il valore oltre i confini dell’io, l’altro può diventare un altro essere vivente — umano o non umano — incontrato non come un oggetto, una risorsa, una platea o uno strumento, ma come un’altra espressione della vita.

La tecnologia può moltiplicare le connessioni, accelerare la comunicazione e trasmettere un numero quasi infinito di parole, immagini e segnali. Ma la connessione non è comunione. La tecnologia può mettere gli esseri in contatto; non può, da sola, creare quella presenza interiore attraverso la quale il contatto diventa relazione. Quella trasformazione appartiene alla coscienza.

Forse è per questo che la gioia, a differenza della felicità, non può essere interamente solitaria: comincia quando l’io smette di cercare una platea e scopre un altro essere vivente. A partire da quella scoperta, i confini dell’appartenenza possono gradualmente espandersi — dall’Io all’Altro, dall’Altro al Noi, e dal Noi alla Vita.

Io → Tu → Noi → Vita.

Read full Article
post photo preview
I → You → We → Life
From the Self to the Other, from the Other to Us, from Us to Life

We have never been so connected, and perhaps never so much in need of relationship. The opposite of loneliness is not constant communication, nor the endless multiplication of contacts, but resonance: the encounter between living beings whose inner worlds remain distinct and yet become capable of vibrating together.

Solitude and relationship are not opposites. Solitude gives us back the time in which we can hear ourselves; relationship gives us the space in which we can truly hear another. We need solitude in order to rediscover our own interiority, because only those who possess an inner world can genuinely open it to another. Only those who know silence can truly listen; only those who no longer need an audience can truly encounter another living being.

Between solitude and relationship lies consciousness: the place where the “I” does not disappear into the crowd, but becomes aware of itself deeply enough to open to the “You.” And when this encounter is founded on presence rather than performance, on listening rather than validation, on vulnerability rather than display, something new can emerge: the “We.”

This “We” is not the dissolution of individuality into a collective mass. It is resonance without loss of identity. Two strings can resonate precisely because they remain two: neither becomes the other, yet the vibration of one awakens a corresponding vibration in the other. Relationship, at its deepest, may work in much the same way. It creates something that neither being could produce in isolation.

And perhaps the circle must be widened still further. The “You” need not be exclusively human. Once consciousness learns to recognise value beyond the boundaries of the self, the other can become another living being — human or non-human — encountered not as an object, a resource, an audience or an instrument, but as another expression of life.

Technology can multiply connections, accelerate communication and transmit an almost infinite number of words, images and signals. But connection is not communion. Technology can bring beings into contact; it cannot, by itself, create the inward presence through which contact becomes relationship. That transformation belongs to consciousness.

Perhaps this is why joy, unlike happiness, cannot be entirely solitary: it begins when the self ceases to seek an audience and discovers another living being. From that discovery, the boundaries of belonging can gradually expand — from the Self to the Other, from the Other to Us, and from Us to Life.

I → You → We → Life.

Read full Article
post photo preview
Consciousness as Resonance: Love, Unity, and the Future of Humanity

We live in a historical moment marked by an exacerbated and distrustful individualism which, beyond fostering aggression and competition, can generate the most cruel and alienating form of loneliness. For this reason, it is of fundamental importance to rediscover a new balance founded on responsibility, cooperation, and shared values and ideals.

The advent of artificial intelligence, combined with materialist and reductionist principles according to which matter is the only existing reality and the cause of everything that exists, denying the existence of spiritual or transcendent dimensions and viewing the human being as a classical machine, encourages a form of scientism that is leading human society down a dangerous slope. We tend to think that reality itself is absurd, while in truth it is we who become absurd when we try to force reality into our preconceived ideas.

The concept of intelligence, which is primarily linked to human consciousness and creativity, has been applied to machines created by us, machines that are capable of imitating only the symbolic aspects of our intelligence. The expression “artificial intelligence” is an oxymoron, because AI, although it is called “intelligence,” is not intelligence in the true sense, since human intelligence is “natural” and possesses properties that remain inaccessible. This deceptive use of language is also the method by which dictators indoctrinate people in order to enslave them. It is a subtle poison that, little by little, causes individuals to lose contact with the source of their critical thinking and their humanity.

Power needs materialist doctrine to subjugate the masses, persuading them that the human being is nothing more than a biological machine, however sophisticated it may be. If we consider ourselves machines, we will sooner or later be surpassed by machines built by those who might seek to control us. Modern society, as it is structured, aims to give a heart to machines and take it away from human beings, because it needs people who are efficient, bureaucratized, robotized, punctual, logical, obedient, competitive, and without a heart. People with a heart are unpredictable, and unpredictability always holds unexpected surprises.

True wisdom is reached by listening both to the mind, meaning reason, and to the heart, meaning intuition and inner life, in order to connect with a broader dimension of reality that is at once logical and ineffable. This is the first step toward reconnecting with the love that lies at the center of everything that lives in the universe. Only in this way can we overcome the materialist ideology that demands the closure of the heart in order to compete in a world governed by the principle of “mors tua, vita mea.”

By communicating repeatedly with love, it is possible, even starting from subjectivity, to arrive at a shared state, a kind of resonance that leads to unity. The idea that technology alone can save us is part of an arrogant illusion that has captured the minds of those who have lost their hearts and believe themselves to be purely rational. The more we cooperate, the easier it becomes to create a better world in which every form of life is honored and respected, unrestrained competition is eliminated, politics places itself at the service of citizens, and the progress of humanity is guided by each person’s need to grow spiritually.

It is only within consciousness that hope for a better future for ourselves and for the planet truly resides. Unconsciousness leads us toward self-destruction.

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals