Search for decryption functions for asp Trojan Files

Source: Internet
Author: User

Let's take a demonstration of zzzhk's horse today. His horse backdoor is also the best.

First, we can see <% @ LANGUAGE = VBScript. Encode %>

 

Then we will use an asp anti-encoding tool, a bunch of Baidu tools, etc.

Note that the character "X" will be removed from the semi-automated exit mode in the case of anti-encoding. Solution: Replace the character "X" with a symbol such as "X ".

 

Then open the tool

 

 

Take it off. copy it and save it as 1.asp.

Next, find the custom decryption function.

 

 

Escape encrypts Baidu's UnEscape for decryption

RRS "<script language = javascript> function killErrors () {return true;} window. onerror = killErrors ;"
RRS "function yesok () {if (confirm (" "Are you sure you want to perform this operation ?" ") Return true; else return false ;}"
RRS "function ShowFolder (Folder) {top. addrform. FolderPath. value = Folder; top. addrform. submit ();}"
RRS "function FullForm (FName, FAction) {top. hideform. FName. value = FName; if (FAction = "" CopyFile "") {DName = prompt. hideform. FName. value + = "" | "" + DName;} else if (FAction = "" MoveFile "") {DName = prompt ("" Please input _ move _ to the target file _ all _ name_name "", FName); top. hideform. FName. value + = "" | "" + DName;} else if (FAction = "" CopyFolder "") {DName = prompt ("" Please enter _ all _ name_name "", FName); top. hideform. FN Ame. value + = "" | "" + DName;} else if (FAction = "" MoveFolder "") {DName = prompt ("" Please enter _ all _ name_name "", FName); top. hideform. FName. value + = "" | "" + DName;} else if (FAction = "" NewFolder "") {DName = prompt ("" Please enter the folder to be created _ all _ name_name "", FName); top. hideform. FName. value = DName;} else if (FAction = "" CreateMdb "") {DName = prompt ("" Please enter the name of the Mdb file to be created _ all _ name_name, note that the name cannot be the same!" ", FName); top. hideform. FName. value = DName;} else if (FAction = "" CompactMdb "") {DName = prompt ("enter the name of the Mdb file to be compressed _ all _ name_name, check whether the file exists!" ", FName); top. hideform. FName. value = DName;} else {DName =" "Other" ";} if (DName! = Null) {top. hideform. action. value = FAction; top. hideform. submit ();} else {top. hideform. FName. value = ";}}""

The result is displayed.

Find execute AAAA ("xxxxxxxxxxxxxxxxxxxx") and find a bunch of things... we will look for the decryption function.

Function AAAA (objstr)

Objstr = Replace (objstr, "delimiter ","""")

For I = 1 To Len (objstr)

If Mid (objstr, I, 1) <> "Ω" Then

NewStr = Mid (objstr, I, 1) & NewStr

Else

NewStr = vbCrlf & NewStr

End If

Next

AAAA = NewStr

End Function

You can directly put it in VB.

Select "" content: "XXXXXXXXXXXXXXXXXX" in execute AAAA ("XXXXXXXXXXXXXXXXXX ")

And so on... The idea is like this.

Okay. Write it again in another day. If you don't understand it, please leave a message... Don't laugh

Source: Network Security

 

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.