XSS Shell v0.3.8

鬼仔:在 Trace 那里看到的,大概看了下
有远程控制的意思,大家看图就明白了
我把他的功能界面给截了下来
我简单测试了一下
比较有新意,一个客户端,一个服务器端
都是在浏览器中进行的
使用方法也比较简单,虽说是英文的,但是应该能看懂
我这么烂的英语水平都弄懂什么意思了。 :lol:
安装及测试步骤我已特别标明了。
下载地址在文章最后。

————————-
XSS SHELL v0.3.8
————————-
Ferruh Mavituna – Last Updated : 02/11/2006

————————-
WHAT IS XSS SHELL ?
————————-
XSS Shell is powerful a XSS backdoor and zombie manager. This concept first presented by "XSS-Proxy – http://xss-proxy.sourceforge.net/". Normally in XSS attacks attacker has one shot, in XSS Shell you can interactively send requests and get responses from victim. you can backdoor the page.

You can steal basic auth, you can bypass IP restrictions in administration panels, you can DDoS some systems with a permanent XSS vulnerability etc. Attack possibilities are limited with ideas. Basically this tool demonstrates that you can do more with XSS.

————————-
LICENSE
————————-
GNU, Check xssshell.asp for details.

————————-
FEATURES
————————-
XSS Shell has several features to gain whole access over victim. Also you can simply add your own commands.

Most of the features can enable or disabled from configuration or can be tweaked from source code.

Features;
  – Regenerating Pages
    – This is one of the key and advanced features of XSS Shell. XSS Shell re-renders the infected page and keep user in virtual environment. Thus even user click any links in the infected page he or she will be still under control! (within cross-domain restrictions) In normal XSS attacks when user leaves the page you can't do anything.
    – Secondly this feature keeps the session open so even victim follow an outside link from infected page session is not going to timeout and you will be still in charge.
  – Keylogger
  – Mouse Logger (click points + current DOM)

Built-in Commands;
  – Get Keylogger Data
  – Get Current Page (Current rendered DOM / like screenshot)
  – Get Cookie
  – Execute supplied javaScript (eval)
  – Get Clipboard (IE only)
  – Get internal IP address (Firefox + JVM only)
  – Check victim's visited URL history
  – DDoS
  – Force to Crash victim's browser

————————-
INSTALL
————————-
XSS Shell uses ASP + MS Access database as backend but you can simply port them into any other server-side solution. You just need to stick with simple communication protocol.

Install Admin Interface;

1. Copy "xssshell" folder into your web server
2. Copy "db" to a secure place (below root)
3. Configure "database path" from "xssshell/db.asp"
4. Modify hard coded password in db.asp [default password is : w00t]
5. Now you can access admin interface from something like http://[YOURHOST]/xssshell/

Configure XSS Shell for communication;
1. Open xssshell.asp
2. Set "SERVER" variable to where your XSSShell folder is located. i.e: "http://[YOURHOST]/xssshell/";
3. Be sure to check "ME", "CONNECTOR", "COMMANDS_URL" variables. If you changed filenames, folder names or some kind of different configuration you need modify them.

Now open your admin interface from your browser,
To test it, just modify "sample_victim/default.asp" source code and replace "http://attacker:81/release/xssshell.js" URL with your own XSS Shell URL. Open "sample_victim" folder in some other browser and may be upload in to some other server.

Now you should see a zombie in admin interface. Just write something into "parameters" textarea and click "alert()". You should see an alert message in victim's browser.

————————-
SECURITY NOTES
————————-
– As a hunter be careful about possible "Backfire" in getSelfHTML(). Someone can hack you back or track you by another XSS or XSS Shell attack.
  – Checkout "showdata.asp" and implement your own "filter()" function to make it safer for you.

– Put "On error resume next" to db.asp, better modify your web server to not show any error.

————————-
HOW CAN YOU EXTEND?
————————-
First implement it to xssshell.asp
  1) Add new enum for your control
    – Set a name and unique number like "CMD_GETCOOKIE"
      – var CMD_SAMPLE = 78;
    
    – Set datatype for your response (generally TEXT),
      – dataTypes[CMD_SAMPLE] = TEXT;
    
  2) Write your function and add it to page
    – function cmdSample(){return "yeah working !"}
  
  3) Call it
    – Go inside to "function processGivenCommand(cmd)"
    – Add a new case like "case CMD_SAMPLE:"
  
  4) Report it back
    – Inside the case call log;
    "log(cmdSample(), dataTypes[cmd.cmd], cmd.attackID, "waitAndRun()");"
    
Secondly Implement it to admin interface;
  – In db.asp just add a new element to "Commands" array (command name, command unique number, description).
  i.e. "cmdSample()",78,"Command sample ! Just returns a message"

There are parameters and lots of helper in the code. Check out other commands for reference.
Enable debug feature to debug your new commands easily.

————————-
KNOWN BUGS;
————————-
– Keylogger is not working on IE
– Possibly not going to work for framed pages because of frame regeneration.
– Not working on Konqueror

————————-
CHANGELOG
————————-
Ferruh Mavituna [ ferruh{at}mavituna.com – http://ferruh.mavituna.com ]

v0.2 (14/08/2006)
  – Communication Changes
  – Working well in cross-site domains issues
  – New commands added

v0.3 (18/08/2006)
  – Frameset Feature
  – Several changes & Bug Fixes

v0.3.1 (30/10/2006)
  – Clean-up in files and folders

v0.3.5 (31/10/2006)
  – Improvements and fixes related with victim management
  – Password Protected admin pages

v0.3.7 (01/11/2006)
  – Visited Link checker command
  – Spell checks
  – Save / Eval parsing bugs fixed
  – History Checker added
  – Minor fixes & improvements especially in tunnel
  – Some admin interface makeover

v0.3.8 (01/11/2006)
  – getURL Command() – no post etc. support yet…
  – Post support added to getURL() command!

v0.3.9 (02/11/2006)
  – Connection drop timeout check. If your XSS Shell server is down or connection dropped because of victim it'll try to repair itself.
  – DoS and Crash commands added

————————-
USED JS LIBRARIES for ADMIN INTERFACE, Thanks to developers
————————-
moo.ajax  –  moofx.mad4milk.net
script.aculo.us  –  (http://script.aculo.us, http://mir.aculo.us)

下载地址:XSSShell039.zip

相关日志

楼被抢了 2 层了... 抢座Rss 2.0或者 Trackback

  • 坦丁

    早在国外的BBS里下了这个软件!只是不知道如何利用!

  • 鬼仔

    仔细看下他说明,很简单的英文,我这么烂的英文水平都弄懂什么意思了。

发表评论