Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from...

25
Adventures In Open Directories env x='() { :;}; echo "#vb2014"' bash –c true Matt Bing [email protected] @mattbing

Transcript of Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from...

Page 1: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Adventures In Open Directories env x='() { :;}; echo "#vb2014"' bash –c true

Matt Bing

[email protected] @mattbing

Page 2: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

About Me

• 2012-Present - security research analyst

• 2004-2012 – incident response coordinator

Page 3: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

mod_autoindex

On  by  default!  (mostly)  

Page 4: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Architecture Overview

Sandbox of Virtual Machines run

malware

Dirty  Network  

 Bad  Guys?  

Daily  URL  List  

indexfinder.py  

More  malware  

Open  directory?  

Page 5: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

indexfinder.py

Page 6: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Percentage Of Open Directories

Average  2.23%  

Page 7: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Open Directory Heatmap

Page 8: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Hot New Malware

Discovery  Time  -­‐  Compile  Time*  

*  Yes,  compile  6me  can  be  faked  

Page 9: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Fort Disco

6,000+  Compromised  sites  25,000+  Infected  hosts  

Source:  h@ps://community.webroot.com/t5/Security-­‐Industry-­‐News/quot-­‐Fort-­‐Disco-­‐quot-­‐Botnet-­‐Hustles-­‐onto-­‐the-­‐Stage/td-­‐p/53080    

Page 10: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Carders

•  Project  Hook  log  file  •  200+  track1/track2  card  data    

Page 11: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Wherefore Art Thou Rome0?

Page 12: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

What Could Go Wrong?

Page 13: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Advanced Persistent Directory

• Not just dumb cyber criminals • Attack against XXXXXXX gov’t agency • Custom C2 with an open directory

Page 14: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Researcher Profiling

Page 15: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Zeus Variant

Page 16: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

?????

Page 17: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Pony Panel After Pony Panel After Pony Panel After Pony Panel After Pony Panel •  I can spot a Pony panel from two towns over • Not interesting, until it is

Page 18: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

WALLET.DAT

Page 19: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Passwords And Source Code

• Password goes into source code • Source code goes into open directory • Passwords in the source code • Our source code

Page 20: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

So Much Of This

Page 21: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

So It Goes

This  is  four  pages  long  

Page 22: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Malware About Nothing

Page 23: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

They Haven’t Forgotten OPSEC

Page 24: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Themes

• Any malicious URL list can be mined – 2% of a lot is still a lot

• The best data comes from manual review – Much can be automated, think ‘wget –r’

•  Infection logs take the sinkholing out of sinkholing

• There is always something interesting •  If not, there’s something entertaining

Page 25: Adventures In Open Directories - Virus Bulletin · 2014-09-26 · • The best data comes from manual review – Much can be automated, think ‘wget –r’ • Infection logs take

Questions?