TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to monitor the security of a personal VPS?

13 点作者 hgl超过 3 年前
I have a personal VPS for my blog and side projects. Recently I noticed something fishy is going on on my server: some bins are gone, ssh last login IPs belongs to a docker container even if it’s me, etc. I currently have no way to confirm if my server is compromised, and if it’s, how it’s compromised. The only security measure I have is disallowing ssh login via password.<p>I wonder if there are books or resources on how to:<p>1. Monitor the security of a Linux server, e.g., successful ssh logins, files written to where shouldn’t be any writes, etc. 2. Alert when intrusion happens. 3. Some way of telling if the current server is compromised 4. If the server is compromised, a report on what the intruder actually did.<p>My knowledge in the server security area is pretty scant, if there are other things I should pay attention to, please let me know.

2 条评论

mikebos超过 3 年前
Well for part of your question you can use rootkithunter (<a href="http:&#x2F;&#x2F;rkhunter.sourceforge.net" rel="nofollow">http:&#x2F;&#x2F;rkhunter.sourceforge.net</a>).<p>Google hardening &lt;your distro&gt; should give a lot of info on best practices.
funnybeam超过 3 年前
OSSEC is good for monitoring logs, system files, etc. as well as alerting (and blocking traffic if you want) when anything suspicious happens<p>Takes a bit of work to set up but is worth it and includes lots of basic checks by default<p><a href="https:&#x2F;&#x2F;www.ossec.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ossec.net&#x2F;</a>