image n/a

Security Literature

image n/a Hacker Challenge Report (pdf)
image n/a ANI 0-day Analysis (pdf)
image n/a Firepass Security Advisory (pdf)
image n/a eDir Remote Code Exec (pdf)
image n/a ZERT & MS VML Patch (pdf)
image n/a Python To Extract Malware (pdf)
image n/a Torpig VMM/IDT Signatures (pdf)
image n/a Vmware Shellcode Injection (pdf)
image n/a Unpacking FSG (pdf)
image n/a Hacking the Packer (pdf)
image n/a Life and Times of Ddabx (pdf)
image n/a W0rd 0-day Dissassembly
image n/a Cryptography of SSH2
image n/a Upload Scripts & Toolkits
image n/a Red-Headed Browsers & WMF
image n/a Classic Trimode Exploit
image n/a ISC Malware Quiz 5 (pdf)
image n/a Access Log Analytics 2006
image n/a Assorted Incidentals 2005
image n/a Scan of the Month 34
image n/a MS JVMs ByteVerify Trojan
image n/a Awstats Linux Rootkit
image n/a Tri-Mode Browser Exploits
image n/a Namibian TIBS Infection
image n/a Bestfriends and Sdbot Rootkit
image n/a Gwee Exploits Webmail
image n/a XSS, Triple-encoded Exploit
image n/a telnet:// used in IE Exploit
image n/a Investigating CHM Exploits
image n/a Investigating Netwin Malware
image n/a Short Security Discussions
image n/a Short Proof of Concepts
image n/a Attack Signatures and Analysis
image n/a First Trojan Tracking Journey

Vulnerabilities

This page contains a list of vulnerabilities that I have identified and/or researched since March of 2006. All bugs were reported responsibly and fixed prior to disclosure on this web site. The target institution or product is confidential in some reports and available in others. The icons on this page are taken from the MINIMALIZM v1.0 icon set by (Razor99).

Binaries

Novell eDirectory Remote Code Exec Stack Overflow
Novell eDirectory/iMonitor URI Stack Overflow Analysis (soon)
Injecting Shellcode Into Running Vmware Guests
Tumbleweed MailGate Remote Code Exec Stack Overflow
PE Analyzer Local DoS Condition

Browser / Web Based

Multiple Vulnerabilities in F5 FirePass SSL VPN
Cross Site Scripting - Bank Contact Page
SQL Injection - Bank Maintenance Login Form
Cross Site Scripting - University Online Bookstore
SQL Injection - Bank Job Application Pages
Cross Site Scripting - University Online Bookstore

There is a cross-site scripting vulnerability in a University's online book store, which if exploited, would permit cookie theft. If an attacker obtains a legitimate user's cookie, he could then log in as that user and have access to billing address, shipping address, phone numbers, emails, and depending on the stage of check-out process - credit card numbers and CVV2s.

In particular, this vulnerability exists because the "email" variable in the "SendUsEmailView" servlet is not filtered for input.

https://www.fakeuniv.com/webapp/wcs/stores/servlet/SendUsEmailView?\ email=comments%40fakeuniv.com&langId=-1&catalogId=10&storeId=43

Unlike the (first XSS), the email value is not printed back to the page in plain view. Instead, it is just used to fill in the value of a hidden field.

[form name="sendMsgForm" method="post" action=""]
...
[input type="hidden" name="recipient" value="comments@fakeuniv.com"/]

All we need to do in order to exploit this XSS vulnerability is supply a value for email that ends with a double quote, forward slash, and greater than character ("/>); then follow with our desired code for the client browser to execute. When the server writes the supplied data, the double quote terminates the value field and forward slash/greater than combination terminates the input tag. Now script tags, or any others can be inserted into the page.

The following sample URL and screen shot show this in action. The JSESSIONID is unique to a client browser, but means nothing for authentication. The WC_AUTHENTICATION cookie is only obtained by a client after s/he successfully logs in. This is the cookie an attacker would want to capture.

http://www.fakeuniv.com/webapp/wcs/stores/servlet/SendUsEmailView?\ email=comments%40fakeuniv.com%22/%3E%3Cscript%3Ealert(document.cookie);\ %3C/script%3E&langId=-1&catalogId=10&storeId=43

In other words:

/SendUsEmailView?email=[email]"/>[xss-code]

This shows that the application is vulnerable to XSS, but not that anything useful (attack-wise) can be done with this knowledge. However, since the book store uses cookies to retain state on it's visitors, the obvious exploit would start with an attacker crafting a URL that contains code to capture the cookie. This is rather simple process as shown in the (first XSS) write-up. The only drawback is that the legitimate user must be logged in to the book store at the time s/he clicks the attacker-supplied URL.

This technique was verified by logging into the online book store after creating a free account. The WS_AUTHENTICATION cookie value(s) was then extracted and added to a second machine at a different IP address using the Firefox AnEC Cookie Editor plug-in. Once the University's book store page was opened in the second machine's browser, I was already logged in.

One strength employed by the book store is that the cookies expire with each session (as opposed to a period of time in days or weeks). Therefore, even if an attacker obtains a cookie while a legitimate user is logged in, he only has until the user completes the session or closes the browser. This leaves a very small window of time that sensitive information can be gathered.

Art of Memory Forensics

Malware Analyst's Cookbook

Site design and layout with umm...a bash shell. Graphic by (Aaron Bieber)
Unless otherwise noted, this work is licensed with (Creative Commons Attribution License).