DECLARATION of MAL(WAR)EThe good, the bad, and the ugly
Who are we?IT Security Consultants @ NetSPIWe help organizations:• Identify vulnerabilities• Determine impact• Develop remediation plans• Reduce risk
• What is malware?• Who creates malware?• Why do they create malware?• What skill level is required?• The malware lifecycle‒The “good” guy’s role‒The “bad” guy’s role• The “ugly” truthPresentation Overview?
What is Malware?
Wikipedia definition:…“software used or created by attackers todisrupt computer operation, gathersensitive information, or gain access toprivate computer systems”…Our definition:…“software created to do badthings and is generally a pain in the butt”…What is Malware?
Types of Malware• Remote Exploits• Local Exploits• Trojans• Backdoors• Rootkits• Viruses• Worms
Who would dosuch a thing?
Who is Creating Malware?• Organized crime• Governments• Political activist“hacktivists”• Evil developers• Bored teenagers• You?
Why wouldthey do that?
Why are they Creating Malware?• Sell, sell, sell• Steal money• Steal information• Strategic position• Denial of Service• Political gain• Hacking as a hobby• Internal employees.........
Who’s got the skills?
What skill level is required?• Malware Developers = Programmers‒ More advanced programming skillset‒ Create custom malware• Less likely to be noticed• Personal use or sold to specific group‒ Commoditized malware kits• More likely to be noticed• Free and commercial• Malware Kit Users‒ Don’t require advanced skillset‒ Much more likely tocause damage by mistake
The Malware Lifecycle
The Malware LifecycleMalware DevelopmentMalware DeploymentMalware DetectionMalware CorrectionMalware ProtectionBadGuysGoodGuys
Malware Development• Professional Malware Development‒ Often work like software companies‒ Often produce very secure malware• Create different types of malware‒ Remote exploits‒ Local exploits‒ Backdoors, “bots”, and/or rootkits‒ Worms or viruses‒ Command and control‒ Update functions
Malware Deployment69%Of all breaches incorporate malwareAs reported in the Verizon Business – 2012 Data Breach Investigations ReportAvailable at www.verizonenterprise.com
Malware Deployment79%Of all breaches were targets of opportunityAs reported in the Verizon Business – 2012 Data Breach Investigations ReportAvailable at www.verizonenterprise.com
Malware Deployment• Malware is often deployed via:‒ Social engineering – email, phone, physical‒ Default passwords on management applications‒ Web application issues‒ “Water holing” web applications• Web Browser Issues etcEmailUsersAppsPassMalwarePackage
“…the median number of days advancedattackers are on the network beforebeing detected is…”416Detecting Malware?As report by Mandiant in their Annual Threat Report: M-Trends™ 2012
94%Of organizations learn theyare victims of targetedattacks from anexternal entityDetecting Malware?As report by Mandiant in their Annual Threat Report: M-Trends™ 2012
Detecting Malware!• Where threats being detected:‒ Networks‒ Servers‒ Workstations‒ Applications / Databases‒ People• How are threats being detected:‒ Behavioral / Anomaly based analysis‒ Signature based analysis‒ SIEM / Statistics based analysis‒ Canaries / Honey pots !Detect
Detecting Malware!• Challenges:‒Identify signatures related to• undocumented malware• encrypted traffic‒Keeping up with the amountof malware being released‒Creating dependable behavioralbased profiles‒Creating useful statistical rules‒Identifying malware in memory!Detect
Correcting Affected Assets!• Where does correction occur:‒ Networks‒ Servers‒ Workstations‒ Applications / Databases‒ People• How does correction occur:‒ Incident response‒ Patch systems and applications‒ Code applications securely‒ Securely configure• Firewalls• Servers• Applications• User accounts• TrainingXCorrect
Correcting Affected Assets!• Challenges:‒Creating patches for exploits beforethey are widely used‒Patching 3rd party software‒Creating and managing secure code‒Legacy and unsupported applications‒Vendor contracts‒Providing adequate trainingXCorrect
Protecting Assets!• Where are assets protected:‒ Networks‒ Servers‒ Workstations‒ Applications / Databases‒ People• How are assets being protected:‒ Build/manage secure configurations‒ Build/manage secure applications‒ Network Access Control &Intrusion Prevention Systems‒ Proactive exploit development‒ Proactive vulnerability identification‒ Development of signatures‒ 3rd Party Risk assessmentsPProtect
Protecting Assets!• Challenges:‒Security vs. usability‒Asset inventory‒Managing secure configurations‒Communication/risk related topartners, contractors, and vendors‒Cost / Time / Skills‒Education and trainingPProtect
Putting it AllTogether
The Malware Deployment Cycle
The Malware Deployment CycleExampleTime
Simplified Network Diagram
Gain Access via Exploit
Escalate Privileges via Exploit
Install Backdoor or Bot
Propagate via Worm or Virus
Command and Control: Phone Home
Command and Control: Get Orders
Good Guys Detect
Good Guys Correct
Good Guys Protect
The Ugly Truth: Bad GuysBad guys are creating Malware that is:• Not going away• Getting more advanced• Getting harder to detect• Getting easier to use• Getting used by more people
The Ugly Truth: Good GuysGood guys need to:• Continue to fight the good fight!• Continue to develop new methods of detection,correction, and prevention• Develop better security policies that make attacks:• Harder to execute• Easier to detect• Easier to respond to and contain• Focus on proactive vulnerability identification• Get rid of unnecessary sensitive data• Encrypt remaining sensitive data• Educate more users more oftenThat can start with you…
What’s Next?What can I do?• Don’t visit sketchy web sites• Don’t open mail from unknown senders• Review links before clicking them in emails• Patch your systems and software• Validate website before providing sensitiveinformationClick the “little lock” in your browser• Don’t create and/or use malware ...…unless it’s for the good guys