Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 39 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Forensics
Web site forensics
EH-Net
May 20, 2013, 12:42:31 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Forensics
(Moderator:
don
) >
Web site forensics
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Web site forensics (Read 7128 times)
0 Members and 1 Guest are viewing this topic.
rob1
Newbie
Offline
Posts: 6
Web site forensics
«
on:
February 03, 2013, 11:45:27 PM »
Im seeing a lot of companies and individuals asking for forensics of their website after it gets hacked and was wondering if some of yall have experience in this and how do you go about doing this type of work?
For example like a Wordpress site that gets compromised and is serving up malware, how would you determine what happened or where to look?
Logged
Security+Ce
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: Web site forensics
«
Reply #1 on:
February 04, 2013, 01:21:13 AM »
Checklist here:
http://www.sans.org/reading_room/whitepapers/incident/incident-handlers-handbook_33901
Search for "incident" on this page; there are several publications:
http://csrc.nist.gov/publications/PubsSPs.html
This is a great book as well:
http://www.amazon.com/Real-Digital-Forensics-Computer-Security/dp/0321240693
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
rob1
Newbie
Offline
Posts: 6
Re: Web site forensics
«
Reply #2 on:
February 04, 2013, 09:27:52 AM »
Thanks for the links, ajohnson but im talking about website forensics, not just general computer forensics. Like which areas on a website do you go to look for intrusion and how to mitigate them.
Logged
Security+Ce
ziggy_567
Sr. Member
Offline
Posts: 361
Re: Web site forensics
«
Reply #3 on:
February 04, 2013, 10:03:23 AM »
Logs?
IDS/IPS alerts?
Regardless of whether you're looking for compromise on a workstation, webserver, or whatever....it all boils down to what logging do you have in place. Without the logs, you can't do much investigating....
If adequate logging is in place, the incident response/investigation process does not deviate just because it's a webserver.
Logged
--
Ziggy
eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
H1t M0nk3y
Hero Member
Offline
Posts: 864
Re: Web site forensics
«
Reply #4 on:
February 04, 2013, 10:49:39 AM »
I agree with ziggy_567.
Quote
Like which areas on a website do you go to look for intrusion and
how to mitigate them
.
Mitigating vulnerabilities could be quite a challenge. I will start with OWASP Top 10 vulnerabilities found in web applications:
https://www.owasp.org/index.php/Top_10_2010-Main
Logged
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: Web site forensics
«
Reply #5 on:
February 04, 2013, 12:40:10 PM »
Exactly what Ziggy said. The techniques are the same regardless of whether its a web server, a database server, a domain controller, etc. You may be looking at a different log file and ancillary evidence, but its the same general process. The resources I provided will answer your questions. Check out the "Hackers Challenges" books as well; they walk you through real attacks and the ensuing IH/IR.
You also have to remember that a web app compromise can lead to a full-blown system compromise. You can't just fix a hole in a web app and call it a day. If a backdoor is left unnoticed and active, you'll still have a big problem on your hands. So again, regardless of whether the initial vector is a web app or a user downloading malware, you should still check when files were modified, running processes, user activity, network activity, etc.
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
rob1
Newbie
Offline
Posts: 6
Re: Web site forensics
«
Reply #6 on:
February 04, 2013, 09:18:14 PM »
The Hackers Challenges books are just what i was looking for. Thanks ajohnson.
Logged
Security+Ce
Ketchup
Hero Member
Offline
Posts: 1021
Re: Web site forensics
«
Reply #7 on:
February 05, 2013, 10:01:17 PM »
This one is actually tough. In forensics, we have live system analysis and dead-box forensics. In order to do a complete investigation of a hacking/malware attack, you would want to capture RAM, other volatile information, and a forensic image of the box. This is really the best evidence for an analysis. Unfortunately, many Word Press, Joomla, and other CMS sites are run on shared hosting. You will not get access to the actual server (or the virtual machine) in most cases.
In that case you are stuck with log files and the malware itself. Most Word Press compromises are designed to redirect you somewhere. Although, some will aim for complete access. You would want to look at the MySQL database and the code base. Chances are you will find some malicious (and obfuscated) javascript code. You may also see a ton of strange content stored in the database, fragments of SQLi or other attacks. You can look at log files and database logs for the source of the injected files. Most of the time, you will hit a proxy though.
Logged
~~~~~~~~~~~~~~
Ketchup
H1t M0nk3y
Hero Member
Offline
Posts: 864
Re: Web site forensics
«
Reply #8 on:
February 06, 2013, 10:43:31 AM »
Nice point Ketchup!
Logged
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
jimbob
Newbie
Offline
Posts: 14
Re: Web site forensics
«
Reply #9 on:
February 12, 2013, 07:33:52 AM »
Off the top of my head here's a couple of things you need to look at for forensic exam post-compromise on a web server. No doubt there's some repetition of what's been said but here goes.
Logs - check the access logs for the web server for attack strings, access to admin pages and anything else that looks anomalous e.g. access to backdoor files.
Web root - what files have changed? Check the MAC times for new files and those that have been modified. Are there any new files that look suspicious e.g. .htaccess files, new PHP or JavaScript files. Use the content for malicious code inserts to try and file the bad files but beware of obfuscation.
Server config - are there any new configuration added? Check for things like malicious Apache modules.
database - most web applications have some kind of backing store or database. Are there new accounts added? Is there anything else in there that could provide persistent access?
Your aim ought to be to determine how the compromise occurred, what was carried out after the attack and remedy the situation. Remember to use Google since the attack is probably not unique to you. What web software are you using? Popular packages such as WordPress and Joomla are often the target for automated and effective attacks.
Regards,
Jim
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(86) by
impelse
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
General Certification
: CPT Practical Submission
(0) by
z28power4u
Web Applications
: Nessus and Nikto
(4) by
Seen
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.