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 41 guests and 2 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Malware
how to find 'interesting' malware samples?
EH-Net
May 19, 2013, 02:14:51 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
>
Malware
(Moderator:
don
) >
how to find 'interesting' malware samples?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: how to find 'interesting' malware samples? (Read 8935 times)
0 Members and 1 Guest are viewing this topic.
Andrew Waite
Hero Member
Offline
Posts: 928
how to find 'interesting' malware samples?
«
on:
May 11, 2008, 09:55:18 AM »
Peoples,
I've recently put a
Nepenthes
server into production. There were several reasons for this, from trying to get a better view of what's out there, training resources and just 'for fun' (yes I'm a bit strange).
Unfortunately, the server is being
too
successful and is providing more samples than I can analyse in the timeframe available. Can anyone provide tips so that I can quickly identify and focus on the 'interesting' samples rather than spend time and resources investigating 'garden variety' malware?
Any advice appreciated, thanks in advance.
RR
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
dean
Guest
Re: how to find 'interesting' malware samples?
«
Reply #1 on:
May 13, 2008, 12:04:04 PM »
First run the executable through a service like virustotal.com. This will allow you to determine if it has been seen in the wild before and how well detected it is. It will also give you an indication as to it's function. Is it a dropper? If so you might want to run it to see what files it installs.
Also, check the MD5 of the executable on a site like offensivecomputing.net. All malware submissions to the site are named with the MD5 of the file. This will give you an idea of how new the sample is and if anyone has already unpacked and analyzed it.
Are you looking for specific samples or just anything that comes across your honeypot. You might want to modify the config of nepenthes to only simulate certain services on specific OSes. This will reduce some of the data you get. Also, automate your submissions to one of the sandbox analysis sites like Norman. This speeds up initial analysis.
dean
«
Last Edit: May 13, 2008, 12:07:56 PM by dean
»
Logged
shakuni
Jr. Member
Offline
Posts: 80
Re: how to find 'interesting' malware samples?
«
Reply #2 on:
May 14, 2008, 02:10:15 AM »
Initially you have to work really hard and analyse as much malware as you can. After some time you'll get a feel about what is interesting and what is not.
Logged
There is no rule, law or tradition that apply universally... including this one.
Andrew Waite
Hero Member
Offline
Posts: 928
Re: how to find 'interesting' malware samples?
«
Reply #3 on:
May 14, 2008, 03:21:42 AM »
Dean,
thanks for the info, I hadn't come across offensivecomputing.net (looking the link I'm not sure how I've missed it). Hopefully should help me out.
One of the reasons I set the box up was to get a better feel for what is out there and what I'm likely to come up against. In this regard I'd like to collect/log everything that hits my box.
My personal interest in malware is directed towards botnets, so ideally I'd like to limit my actual analysis to these.
From looking through the nepenthes arcitecture I assume that I am correct in my understanding that it emulates specific vulnerabilities? If this is the case how effective is it at finding 'zero-day' malware? How often are new vulnerabilities updated to catch malware using more recent exploits?
Shakumi,
Quote from: shakuni on May 14, 2008, 02:10:15 AM
Initially you have to work really hard and analyse as much malware as you can. After some time you'll get a feel about what is interesting and what is not.
I was afraid someone was going to tell me that
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
dean
Guest
Re: how to find 'interesting' malware samples?
«
Reply #4 on:
May 14, 2008, 09:15:02 AM »
Nepenthes is a low interaction honeypot. As such it can only simulate known vulnerable services. As it can only simulate a known vuln it will not catch an 0day exploit. What it will capture is the initial network traffic of the exploit before it 'changes direction' and diverges from the vulnerability being emulated. This traffic is captured via the portwatch module. Ideally, you would want a high interaction (actual system) honeypot to see exactly what this malware would attempt to exploit. Look at the genIII honeypot/net from the honeynet project if you want a high interaction honeypot.
Look into the submission module that allows you to submit samples to Norman and CWsandbox automatically. This will speed up initial analysis.
Also, be aware that most malware (even 'unknown' variants) will likely use known exploit(s) to spread. This does not mean that the malware itself is not new. I have a sample currently that after two weeks is still only detected by 5 out of 32 AVs. This sample spread through an sequence of iframes and javascript/VB on about 4 different sites. Multiple known exploits were offered up based on the browser type, OS, 3rd party app, etc... to exploit the system in order to finally download and run it.
A lot of malware (the latest stormworm iteration for example) will use two or more stages to download the malware onto the system. The initial exe can end up being the only way to get the final payload.
/dean
Logged
Andrew Waite
Hero Member
Offline
Posts: 928
Re: how to find 'interesting' malware samples?
«
Reply #5 on:
May 14, 2008, 09:32:19 AM »
Dean,
thanks for the additional pointers (from previous forum threads I had a feeling you would be the man with the information
).
I'll take a better look submission module. The server was built following the guide from the ShadowServer Foundation (found
here
), whilst I now have a working honeypot I'm still new to this aspect of malware research.
Following your previous advice I went over to offensive computing to search the database for my binaries but non have been found (searched via md5). I'm assuming that this is a normal state of affairs rather than me just getting a large volume of interesting and unknown malware strains?
I'm working on my possibly incorrent understanding. For downloading the final payload from multi-stage malware is this something that can be automated through high-interaction honeypots, or is this typically something that would be gained via behavioural analysis in a lab?
Thanks again for the assistance and apologises for the n00by questions.
RR
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
dean
Guest
Re: how to find 'interesting' malware samples?
«
Reply #6 on:
May 15, 2008, 09:56:39 AM »
A common theme in malware today is dynamic code generation and custom packing. All this is automated now. One interesting example I found was a site that dynamically generated malicious javascript and shellcode when it was accessed. Each visit would produce code with unique variables and even the shellcode was changed each time.
This might be why your examples are not showing up on offensivecomputing. One char different will change the hash.
Run your samples through:
Virustotal
Norman Sandbox
CWsandbox
if they have been submitted before the sites will let you know. If not an analysis will be done automatically.
A high intereaction honeypot will execute the malware and if that malware is a dropper for additional malware then that will also be downloaded and installed.
I would suggest reading up on the various types of honeypots available, including client honeypots. Also, realize that if you run a high interaction honeypot that the potential for it to be used to attack another host is there.
http://www.securityfocus.com/infocus/1897/1
<-- this is not a bad intro to the different options available to you.
Logged
Andrew Waite
Hero Member
Offline
Posts: 928
Re: how to find 'interesting' malware samples?
«
Reply #7 on:
May 17, 2008, 02:29:54 AM »
I'll take another look at the submission modules (thought I had configured the norman sandbox module but I must have an error in my config somewhere
).
The article you linked was an interesting read, I've now got a long list of new bookmarks for further research. Unfortunately I am currently unable to implement a high-interaction machine as I only have authorisation for this project providing I can ensure that it will not be able to have a negative impact on the rest of my environment, hence the original choice of low-interaction.
Thanks again for the assistance, hopefully I'll have some interesting findings to share soon
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
xmachine
Newbie
Offline
Posts: 7
Re: how to find 'interesting' malware samples?
«
Reply #8 on:
June 03, 2008, 02:31:14 PM »
If you want to make this process more exciting, treat it as hunting. Have you watched AVP (Aliens vs Predators). After you got the sample from Nepenthes, you can run it inside a
"controlled"
and
"restricted"
network. Then use some sniffing/ids/ips/av tools to observe the life-cycle of the malware, from infection to detection. With this you can build a strong skills about malwares analysis and how to build defenses. For more infomation about manual malware analysis, give it a try here:
http://extremesecurity.blogspot.com/2008/02/analyze-malware-infections-on-your-own.html
http://extremesecurity.blogspot.com/2008/02/analyze-malware-infections-on-your-own_10.html
http://extremesecurity.blogspot.com/2008/02/malwares-containment-basics.html
http://extremesecurity.blogspot.com/2008/02/malwares-containment-level-ii.html
http://extremesecurity.blogspot.com/2008/03/malwares-containment-quarantine.html
Don't Try This At Your Work
http://extremesecurity.blogspot.com
Logged
Do it securely, or not at all
http://extremesecurity.blogspot.com
Symantec STS
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4165
Editor-In-Chief
Re: how to find 'interesting' malware samples?
«
Reply #9 on:
June 03, 2008, 03:55:01 PM »
Your participation is much appreciated, but this is now your 3rd post and in each one you only offer links to your blog. While I realize that marketing makes the world go 'round, let's not treat EH-Net as your own marketing arm.
Looking forward to your continued contributions,
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
oneeyedcarmen
Full Member
Offline
Posts: 233
Klaatu, Borada,Necktie?
Re: how to find 'interesting' malware samples?
«
Reply #10 on:
June 04, 2008, 07:28:38 AM »
Don will be leaving us soon to become the next Secretary of State
Logged
Reluctant CISSP, Certified ASS
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
General Certification
: CPT Practical Submission
(0) by
z28power4u
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(5) by
MrTuxracer
Career Central
: Starter cert?
(0) by
Alert
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
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.