Linux留后门程序

今天在freeBuf上看到一个给Linux留后门的办法, 挺不错的, 看完之后身体力行的在ubuntu下面试了下效果还不错!

freeBuf的链接在这里:

http://www.freebuf.com/tools/10474.html

思路就是替换掉系统的openssh,换成我们的自己的,这样在登陆的时候,我们就可以有意的绕过验证。在那篇文章中的ssh下载地址好像失效了, 需要替换一下

http://openbsd.org.ar/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz
替换成:

mirror.internode.on.net/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz

另外原来的作者是在CentOS上编译的代码。 我是在ubuntu上搞的, 所有几个依赖包的安装方法有点不一样。

原来安装zlib ssl pam等修改成下面这样, 然后就可以在ubuntu上编译过去了!

sudo apt-get install zlib1g-dev
sudo apt-get install libssl-dev
sudo apt-get install libpam0g
sudo apt-get install libpam0g-dev
sudo apt-get install libkrb5-dev

在 version.h中把版本改一下includes.h中把密码改一下, 妥妥的编译过去, 然后远程使用xshell登陆, 账户名随意,只要系统中有的就行。。。 成功登陆了, 没问题!

网友评论:

  1. Judix 说:

    1pjVBb http://www.LnAJ7K8QSpfMO2wQ8gO.com

  2. Leah 说:

    Recorded Delivery can you buy viagra over the counter in uk Piete, 43, grew up in Baker City, was married, and for a time worked on a state road crew, said Gentry, a retired school bus driver and mechanic for the Baker City schools. More recently Piete had been living on Gilliland’s ranch outside Baker City. Gilliland, 64, did home repair and rented out the ranch for grazing.

  3. Elwood 说:

    I love this site viagra sub “We welcome the emphasis placed on the fact that this is an exceptional case and should not be seen as a green light for other applications for sterilisation in respect of people with a learning disability.”

  4. Ivory 说:

    I’m from England viagra gelato italy The mission, known as MONUSCO, said its troops would disarm, by force if necessary, anyone other than members of the Congolese security forces found carrying weapons within the zone after a 48-hour grace period.

  5. Barney 说:

    I work for a publishers can we take viagra with water He added that he was one of a number of passengers in the adjacent train that went to help pull trapped survivors out of the wreckage. “People were screaming, people were asking where their children were,” he said.

  6. Lloyd 说:

    Could I have , please? viagra buy at costco sams walmart cvs cost IBM shares hit a two-year low a day after reportingweaker-than-expected revenue and subtracted 76 points from theDow industrial average. IBM also was the biggest decliner on theS&P 500, ending down 6.4 percent at $174.78.

  7. Silas 说:

    I saw your advert in the paper what would viagra do if a woman took it While the complaint alleges that the NSA and FBI bear thebulk of responsibility in setting up Prism, it suggests the U.S.companies may have provided them with the technical means toaccess their servers and collect personal data and content.

  8. Elbert 说:

    Where do you study? buy real viagra online uk Asbury, which gets most of its revenue from sale of luxurycars made by automakers such as BMW, Mercedes-Benz, Honda and Nissan, said its used-vehicle sales rose33 percent in the quarter ended Sept. 30.

  9. Seth 说:

    Could I have an application form? how old do you have to be to order viagra For the past seven years, the Jiangshan school has sent groups of pupils in their first year of senior high to experience U.S. summer camps during the Chinese school break. Although no previous major incidents have been reported, one parent wrote last year to the Jiangshan city government questioning safety procedures. The parent also queried who paid for accompanying teachers, and asked for a breakdown of the almost $5,000 fee for a trip of under three weeks.

  10. Theron 说:

    I don’t know what I want to do after university over the counter herbal viagra “We urge Congress and President Obama to work together toput aside sequestration, address the real drivers of our debtand deficit issues, and avoid slashing the very innovation andinvestments we need to grow in the future.”

  11. Savannah 说:

    Which year are you in? viagra newyork But it was only this spring, roughly 13 billion years later, that astronomers first glimpsed evidence of this ferocious activity and confirmed the distance and age of the galaxy now designated as z8_GND_5296.

  12. Jamie 说:

    It’s serious viagra sprzedaz The journey isn’t for Outen alone. “I wanted to make this journey more than just my journey, and figured I could use it as a fundraising expedition,” Outen continued. Each charity holds a special meaning for her, from CoppaFeel, a breast cancer organization founded by a friend with stage four cancer, or WaterAid, a company devoted to improving access to safe, clean drinking water.

  13. Rosario 说:

    Could I order a new chequebook, please? how long do you have to wait after taking viagra Aged 57, Kelvin says he has no desire to stop: “I love it, but I don’t particularly enjoy the success.” He explains: “I enjoy what I do. I don’t sit back and say ‘God, isn’t it fantastic: it’s so successful’.

  14. Adolph 说:

    I’m retired viagra original Chairman of the BMA council Dr Hamish Meldrum said the report could bring improvements but added: “In some areas there was insufficient consultation with the public or staff on changes to local NHS services during the review process and we don’t want to see that repeated in the future.”

  15. Joseph 说:

    I’m interested in how to get a free trial of viagra Earlier statements by Pentagon officials indicate it is DFAS’s job to designate wounded warriors. In congressional testimony in 2006, then-DFAS Director Gaddy said the agency had developed a “Wounded in Action Pay Management Program,” and that “we identify and monitor all battle-injured and non-battle-injured soldiers who have served in a combat zone from October 7, 2001, to the present.” At the same hearing, then-Pentagon Comptroller J. David Patterson said oversight of wounded warriors was the responsibility of his office and DFAS.

  16. Irea 说:

    I’d like to tell you about a change of address how long dies it take for viagra to kick in • If Albert Pujols lands on the disabled list, outfielder Kole Calhoun and first baseman Efren Navarro — both left-handed hitters — are among the most likely to be called up from Triple-A. Calhoun, batting .354 with 12 homers, would seemingly have the advantage because he’s on the 40-man roster.

  17. 비아그라 구입 说:

    Quality content is the important to be a focus for the viewers to
    visit the site, that’s what this site is providing.

发表评论

发表评论前,请选对水果: 菠萝