Lynis是Unix和Linux系统中流行的安全审计工具之一,它开源、免费,可以发现基于Linux的系统中的恶意软件和安全相关的漏洞,并生成服务器的详细报表、警报与建议,我们可以非常方便得按照报表逐一进行按需配置。
Lynis特点:
- 网络和服务器安全审计
- 漏洞检测和扫描
- 系统强化
- 渗透测试
支持的操作系统:
- RPM Based OS like Red Hat, CentOS and Fedora
- Debian Based OS like Ubuntu, Linux Mint
- FreeBS
- macOS
- NetBSD
- OpenBSD
- Solaris
安装与使用:
Lynis是一款轻量级软件,它不会破坏系统,也不会影响Linux 上托管的任何应用程序或服务
首先,我们将为Lynis安装创建一个目录
mkdir /usr/local/lynisc
WGET下载最新的源码:
cd /usr/local/lynisc wget https://downloads.cisofy.com/lynis/lynis-2.6.4.tar.gz
解压:
tar zxpvf lynis-2.6.4.tar.gz ./lynis
查看帮助信息:
1、审计系统:
./lynis audit system
2、内存、内核、用户和组等信息
3、网络、SSH等
4、报表——最后会给出建议和参考
有时我们不希望扫描或审核完整系统的应用程序或服务,因此我们可以按类别审核自定义应用程序
./lynis show groups
例如我们对文件系统进行审计,输入:
./lynis --test-from-group "filesystems"
更多选项和命令可以查看:
./lynis --man
PS.通常在大型企业里都有内部的安全审计机制,对于个人站长来说完全够用了,类似微软的最佳实践工具,比较实用,检测出的结果最终只是拿来参考,
并不一定要全部按照报表中的结果进行设置,还是要弄清楚你为什么要修改
lynis的lynis-report.dat文件中记录的信息很有用,里面记录了你服务器安装的软件及环境信息,可使用文本编辑器打开,默认目录位置
/var/log/lynis-report.dat
new erectile dysfunction treatment india pharmacy – ed medications comparison
purchase synthroid generic – order triamcinolone 4mg plaquenil online buy
Hey, thanks for the article post.Thanks Again. Really Great.
Thank you for your post.Really looking forward to read more. Keep writing.
Thanks again for the article post.Really looking forward to read more. Fantastic.
how to write a introduction for an essaywhat is argumentative essaywrite my essay online
It is actually a nice and helpful piece of info. I am happy that you simply shared this useful info with us. Please keep us up to date like this. Thanks for sharing.
buy albuterol generic – letter writing services cheap dapoxetine 60mg
I need to say your site is really helpful I also love the theme, its amazing!
Major thanks for the post.Really thank you!
Wow, great article post.Thanks Again. Really Great.
levitra 10mg cheap – purchase levitra online cheap buy clomid 50mg generic
I really liked your post. Awesome.
Heya! I just wanted to ask if you ever have any trouble with hackers?My last blog (wordpress) was hacked and I ended up losing several weeks of hard work dueto no data backup. Do you have any methods to protectagainst hackers?
It’s hard to come by well-informed people about this subject, however, you sound like you know what you’retalking about! Thanks
Hi. Awesome! I’m really appreciate it. It will be great if you’ll read my first article on AP!) pay for a scholarship essay
order lisinopril 2.5mg pill – omeprazole ca atenolol 100mg cost
Great, thanks for sharing this blog.Much thanks again. Keep writing.
cheap glucophage 500mg – buy atorvastatin 10mg generic oral amlodipine 10mg
I just like the valuable info you supply to your articles.I will bookmark your blog and check once more here frequently.I am relatively certain I will be told many new stuff right here!Best of luck for the following!
Very neat post.Really looking forward to read more. Will read on…
Everyone loves what you guys are usually up too.Such clever work and reporting! Keep up the terrific works guysI’ve included you guys to our blogroll.
brand hydroxychloroquine 200mg – baricitinib price baricitinib 2mg tablet
amlodipine valsartan what is norvasc used to treat
Enjoyed every bit of your blog.Really looking forward to read more. Really Cool.
hcq medication is hydroxychloroquine an antibiotic
furosemide 40mg uk – furosemide usa stromectol cvs
I like reading through an article that can make men and women think. Also, thank you for allowing me to comment.
A round of applause for your blog article.Really thank you! Great.
I appreciate you sharing this article.Really looking forward to read more. Really Great.
Hey! I’m at work browsing your blog from my new iphone 4! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the superb work!
This article was really awesome Thank you for creating it.
Wow that was strange. I just wrote an extremely long commentbut after I clicked submit my comment didn’t show up.Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say superbblog!
I value the article post.Much thanks again. Fantastic.
prednisolone for sale online – prednisolone 10mg pill sildenafil mail order
There is certainly a lot to learn about this issue. I love all of the points you made.
Great article post.Thanks Again. Cool.
Hi there mates, how is all, and what you wish for to say aboutthis paragraph, in my view its actually amazing designedfor me.
بخش چند نفره بازی با وجود ۴ گروه و تنوع بسیار در نوع ساختمان ها و سربازان و تفاوت های زیاد در بینشان باعث شد تا این بازی به یکی از مسابقاتورزشی الکترونیک (ESport) تبدیل شود و از نظر فکری بابازی همچون شطرنج مقایسه شود.
order amoxil 1000mg pill – buy generic amoxicillin viagra australia
Really appreciate you sharing this blog article.Much thanks again. Will read on…
A round of applause for your article.Really looking forward to read more. Fantastic.
Thanks-a-mundo for the blog post.Really looking forward to read more. Fantastic.
prednisone 10mg for sale – deltasone 10mg generic buy accutane 10mg generic
Very informative post.Really thank you! Will read on…
Really enjoyed this article post.Thanks Again. Want more.
I do accept as true with all the ideas you’ve presented in your post.They’re really convincing and will definitely work.Nonetheless, the posts are too brief for beginners. May just you please extendthem a bit from next time? Thank you for the post.
I think this is a real great article.Really thank you!
An intriguing discussion is definitely worth comment. I believe that you need to write more about this subject matter, it may not be a taboo subject but typically folks don’t talk about these subjects. To the next! Cheers!!
buy tadalafil 5mg without prescription – buy provigil 100mg pills order generic modafinil 200mg
online doctor to prescribe hydroxychloroquine plaquenil retinopathy
I really like and appreciate your post.Really thank you! Awesome.
I don’t even know how I ended up here, but I thought this post was great.I don’t know who you are but definitely you’re going to a famous blogger if youare not already Cheers!
Appreciate you sharing, great blog post. Really Cool.
Thank you for the auspicious writeup. It in fact was aamusement account it. Look advanced to far added agreeablefrom you! However, how can we communicate?
Thank you for your blog.Much thanks again. Great.
Thank you for your article.Really looking forward to read more. Really Cool.
Thanks! Awesome stuff! i need help writing an essay homework pass dissertation abstracts online
cheap doxycycline 100mg – buy doxycycline 100mg without prescription cialis 5mg pill
Hi just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same outcome.
amlodipine gingival hyperplasia side effects of norvasc blood pressure medicine
Thanks-a-mundo for the blog.Much thanks again. Really Great.
gnc ed pills – ed pills otc roman ed pills
Really appreciate you sharing this blog.Much thanks again. Keep writing.
stromectol tablets for sale – buy ivermectin 6mg for humans levitra 10mg usa
Muchos Gracias for your article post.
Truly lots of helpful information! inderal la
Muchos Gracias for your article post. Much obliged.
Really appreciate you sharing this article post.Thanks Again. Awesome.
Wow, great article.Really thank you! Awesome.
Im obliged for the post.Thanks Again. Awesome.
oral amoxil 250mg – levitra 10mg tablet order levitra generic
For those who by now possess other social media marketing platforms like Fb,Twitter and Instagram Then you can certainly use it to receive OnlyFans followers.Free Account – New Free Accounts And Passwordsfree accounts
I really like and appreciate your blog article.Really thank you! Fantastic.
Thanks for sharing, this is a fantastic article post. Will read on…
wow, awesome blog.Thanks Again. Great.
Muchos Gracias for your blog post. Will read on…
Great, thanks for sharing this blog article.Really thank you! Much obliged.
I truly appreciate this blog article.Thanks Again. Awesome.
acillin price – cipro 1000mg tablet order cialis 10mg sale
Get the most up-to-date information on Reside Odds, Predictions, and Betting Trends from the sports gamblingcapital of the globe.
wow, awesome blog.Much thanks again. Want more.
I blog frequently and I genuinely thank you for your information. Your article has truly peaked my interest.I am going to book mark your blog and keep checking for newdetails about once a week. I opted in for your Feedtoo.
Right now it looks like Expression Engine is the best blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?
Normally I don’t read post on blogs, however I wish to say that this write-up very compelled me to check out and do it! Your writing taste has been surprised me. Thanks, very great post.
Really appreciate you sharing this blog article.Really looking forward to read more. Cool.
I do not even know how I finished up here, however I believed this put up used to be good. I don’t recognize who you might be however certainly you are going to a famous blogger when you are not already Cheers!
Greetings! Very useful advice in this particular post! It’s the little changes that will make the largest changes. Thanks a lot for sharing!
order cefuroxime without prescription – order cefuroxime for sale cialis uk
Pretty! This has been a really wonderful post. Many thanks for supplying this info.
College Recruiter is very comparable to other job search boards like CareerBuilder.
Very neat blog.Much thanks again. Really Great.
Thank you for the auspicious writeup. It actually was a enjoyment account it. Glance complicated to far introduced agreeable from you! By the way, how could we be in contact?
When someone writes an paragraph he/she maintains the plan of a user in his/her brain that how a user can understand it.So that’s why this paragraph is amazing. Thanks!
I really liked your article post.Really thank you! Keep writing.
budesonide medication – order budesonide generic disulfiram usa
Great, thanks for sharing this article post.Really thank you! Much obliged.
In fact when someone doesn’t understand then its up toother viewers that they will help, so here it happens.
Very neat article.Thanks Again. Fantastic.
Only wanna say that this is very useful , Thanks for taking your time to write this.
Im grateful for the article.Really thank you! Fantastic.
Great blog.Really looking forward to read more. Want more.
Im thankful for the blog post. Really Great.
Great, thanks for sharing this blog.Really looking forward to read more. Will read on…
This is one awesome blog article. Fantastic.
Thank you for your article post.Really thank you! Much obliged.
order sildenafil online – tamoxifen for sale ivermectin purchase
I cannot thank you enough for the article post.Thanks Again.
Thanks a lot for the article.Thanks Again. Awesome.
Hey, you used to write magnificent, but the last few posts have been kinda boring I miss your great writings. Past few posts are just a bit out of track! come on!
Amazing issues here. I’m very glad to look your article.Thank you a lot and I am looking forward to touch you.Will you please drop me a mail?
This is one awesome post.Much thanks again. Fantastic.
It’s really a great and useful piece of information. I am glad that youjust shared this useful information with us. Pleasekeep us up to date like this. Thanks for sharing.
I have read so many content on the topic of the blogger lovers but this article is truly afastidious article, keep it up.
Wow, great blog. Cool.
best pharmacy: canadian mail order pharmacy – american pharmacy
Hello! I could have sworn Iíve been to your blog before but after going through many of the articles I realized itís new to me. Nonetheless, Iím certainly pleased I came across it and Iíll be book-marking it and checking back regularly!
This is one awesome post.Really thank you! Fantastic.
As you have likely heard many times in your life, practice makes perfect.
[url=https://modafinil.boutique/]modafinil online pharmacy usa[/url]
buy cephalexin 500mg without prescription – order cephalexin 125mg pills erythromycin 500mg uk
You completed certain good points there. I did a search on the issue and found nearly all persons will consent with your blog.
Enjoyed every bit of your blog post.Really looking forward to read more. Really Cool.
Hi there! I just wanted to ask if you ever have any trouble with hackers?My last blog (wordpress) was hacked and I ended up losing a few monthsof hard easy diets that workdue to no back up. Do you have any methods to stop hackers?
A motivating discussion is worth comment. There’s no doubt that that you need to write more on this issue, it may not be a taboo matter but usually people don’t speak about such subjects. To the next! Kind regards.
Thank you for your blog post.Thanks Again. Really Cool.
i had invested in a cleaning business and of course, this is a great business::
bactrim pill – buy bactrim 960mg generic viagra 150mg over the counter
buy augmentin 375mg pill – cialis dosage 40 mg tadalafil 10mg for sale
buy prednisolone 20mg pill – buy prednisolone 20mg pills buy generic cialis
buy viagra 100mg without prescription – order generic sildenafil 150mg viagra 100mg for sale