04/14/12

Cyber threats the joker and the thief

gAtO FoUnD- the continued threat of vulnerabilities within Web applications, mobile applications, and outlines specific vulnerabilities with cloud-based implications.  Also an alarming trend for security professionals, in the form of continued prevalence of critical application layer vulnerabilities, such as Cross Site Scripting (XSS) and SQL Injection. Though there are existing fixes for these well-known vulnerabilities, these flaws continued to dominate with XSS climbing to a staggering 38 percent of total Web vulnerabilities, increasing slightly from the second half of 2010. SQL Injection accounted for 15 percent of the total number of Web vulnerabilities.

Web vulnerabilities –  In the first two months of 2012, 59 percent of all reported security

vulnerabilities were Web vulnerabilities

–  In 2011, Cross Site Scripting (XSS) accounted for 38 percent of total

Web vulnerabilities

“As businesses worry about the next big security threat, they fail to realize the threats that are right in front of them,” said John Weinschenk, CEO of Cenzic. “From an industry-wide perspective, the fact that the amount well-known vulnerabilities continue to persist is a signal that education, diligence, and proper coding during the development phase are a necessity in today’s cyber world. Real change can only happen by adhering to these principles.”

Mobile vulnerabilities –  A total of 89 mobile vulnerabilities were made public in 2011 and so

far in 2012 (Jan-Feb) 11 mobile vulnerabilities have been made public.

–  Sensitive Information Disclosure (28 percent) and Session

Authentication and Authorization (28 percent) make up the bulk of the

vulnerabilities.

In recent report it is also details the vulnerabilities related to cloud and mobile device usage, noting a total of 89 mobile vulnerabilities were made public in 2011, while out of a set of 1201 publically reported vulnerabilities 855 had cloud-based security implications. As mobile devices continue to be used to access online cloud computing platforms, emerging hybrid vulnerabilities haved developed as well.

Cloud vulnerabilities –  In 2011, out of a set of 1201 publically reported vulnerabilities 855

had cloud based security implications

–  Specific security vulnerabilities were found in cloud-based

applications including EyeOS, OrangeHRM, The Parallels Plesk Panel,

Oracle Fusion Middleware, Batavi E Commerce, deV!ls ClanPortal, and

more.

The growing demand for cloud applications and mobile devices that access them is creating a unique problem. Each has its own set of security issues, but when used in tandem, they can produce hybrid vulnerabilities that compound threats and increase the complexity of secure coding. By exploiting vulnerabilities in a mobile application a hacker can open up an attack vector to a preexisting vulnerability on the cloud based application -gAtO oUt

 

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit
12/16/11

Stuxnet / Duqu Cyber Weapons Diagram

Notes for Diagram W32.Duqu threat

These files must be installed by another executable (the installer) which has not yet been recovered.

1. the installer get’s in and installed the all and register the files to 

gather enumeration information and encrypts it.

 

Highly Targeted towards a limited number of organizations for their specific assets.

Enumerating the Network – Recording Keystrokes – Gathering System Information -

uses HTTP and HTTPS to communicate with a command-and-control

general remote access capabilities

gather intelligence from a private entity to aid future attacks on a third party

  • The DLL offers nine main routines:
    • 65h: List of running processes, account details, and domain information
  • • 66h: Drive names and information, including those of shared drives
    • 68h: Take a screenshot
    • 69h: Network information (interfaces, routing tables, shares list, etc.)
    • 67h: Keylogger
    • 6Ah: Window enumeration
    • 6Bh: Share enumeration
    • 6Dh: File exploration on all drives, including removable drives
    • 6Eh: Enumerate computers on the domain through NetServerEnum 
  • The log file contains records with the following fields:
    • Type
    • Size
    • Flags
    • Timestamp
  • • Data

Key points:

•    Executables using the Stuxnet source code have been discovered. They appear to have been developed since the last Stuxnet file was recovered.
•    The executables are designed to capture information such as keystrokes and system information.
•    Current analysis shows no code related to industrial control systems, exploits, or self-replication.
•    The executables have been found in a limited number of organizations, including those involved in the manufacturing of industrial control systems.
•    The exfiltrated data may be used to enable a future Stuxnet-like attack.

The threat uses a custom C&C protocol, primarily downloading or uploading what appear to be JPG files. However, in addition to transferring dummy JPG files, additional data for exfiltration is encrypted and sent, and likewise received. Finally, the threat is configured to run for 36 days. After 36 days, the threat will automatically remove itself from the system.

 

Text of Diagram:

Stuxnet / Duqu

Architecture

Installation

Injection Procedure

USB Drives

Infection Routine Flow

Windows Computers

Stuxnet Updates Itself

Command and Control Server Communication

Internet Connection

Internal Networks

Remote Control

C&C Server

Compromised Computer -Client

GET

200 OK

GET index.php?data=[DATA]

DATA

OS Version

Machine Name

Workgroup Name

Exec RPC code

Responce Type 1:

200 OK execute RPC routine

Decrypt & exec.code

Responce Type 2:

200 OK encryption binary code

C&C Control

Check Internet Connection

Send system information to C&C

C&C response to execute to execute encrypted binary code

C&C reponse to execute RPC routine

Security Issues -Mitigation Techniques

Security Information

Event Management

Intrusion monitoring system intergrated with SIEM

Implement Extrusion Detection

Implement passive vulnerability scanners (PVS)

Control System

o

Secure Facility No Internet

Installation

Injection Procedure

USB Drives

Infection Routine Flow

Windows Computers

NO – Stuxnet Updates Itself

PLC Controllers

Industrial Motors

Command and Control Server Communication

Internet Connection

Internal Networks

Remote Control

PLC Controllers

Industrial Motors

PLC- Programmable logic controller

Duqu

Duqu – this capability to gather intelligence from a private entity to aid future attacks

Duqu – creators of Duqu had access to the source code of Stuxnet

Duqu – payload has been replaced with general remote access capabilities

Duqu – automatically remove itself from the system.

Duqu -  threat is configured to run for 36 days

Duqu – C&C – primarily downloading or uploading what appear to be JPG files

Duqu – information is logged to a lightly encrypted and compressed local file

Duqu -gathering system information

Duqu – enumerating the network

DUQU – download additional executables

Duqu -HTTP and HTTPS to communicate

Duqu – signed with a valid digital certificate

Duqu – record keystrokes

DATA:

Lists of running processes, account details, and domain information

Drive names and other information, including those of shared drives

Screenshots

Network information (interfaces, routing tables, shares list, etc.)

Key Presses – Key Logger

Open Windows Names

File Exploration on all Drives, including removable Drives

Enumeration of computers in the Domain through NetServerEnum

SCADA

Process automation protocols  DF-1 FOUNDATION fieldbus – H1 & HSE Profibus – by PROFIBUS International. PROFINET IO CC-Link Industrial Networks – Supported by the CLPA CIP (Common Industrial Protocol) – Can be treated as application layer common to DeviceNet, CompoNet, ControlNet and EtherNet/IP Controller Area Network utilised in many network implementations, including CANopen and DeviceNet ControlNet – an implementation of CIP, originally by Allen-Bradley DeviceNet – an implementation of CIP, originally by Allen-Bradley DirectNet – Koyo / Automation Direct proprietary, yet documented PLC interface EtherNet/IP – IP stands for “Industrial Protocol”. An implementation of CIP, originally created by Rockwell Automation Ethernet Powerlink – an open protocol managed by the Ethernet POWERLINK Standardization Group (EPSG). EtherCAT Interbus, Phoenix Contact’s protocol for communication over serial links, now part of PROFINET IO HART Protocol Modbus RTU or ASCII or TCP Modbus Plus Modbus PEMEX Ethernet Global Data (EGD) – GE Fanuc PLCs (see also SRTP) FINS, Omron’s protocol for communication over several networks, including ethernet. HostLink Protocol, Omron’s protocol for communication over serial links. MECHATROLINK – open protocol originally developed by Yaskawa. MelsecNet, supported by Mitsubishi Electric. Optomux – Serial (RS-422/485) network protocol originally developed by Opto 22 in 1982. The protocol was openly documented and over time used for industrial automation applications. Honeywell SDS – Smart Distributed System – Originally developed by Honeywell. Currently supported by Holjeron. SERCOS interface, Open Protocol for hard real-time control of motion and I/O SERCOS III, Ethernet-based version of SERCOS real-time interface standard GE SRTP – GE Fanuc PLCs Sinec H1 – Siemens SynqNet – Danaher TTEthernet – TTTech PieP – An Open Fieldbus Protocol BSAP – Bristol Standard Asynchronous Protocol, developed by Bristol Babcock Inc. RAPIEnet[1], Real-time Automation Protocols for Industrial Ethernet

Company Management

Internet

Local Control Offshore Platform

o

PLC-DCS -  distributed control system (

PLC-RTU – Remote Terminal Unit

Valve Station

Stress Breach Station

Terminals

Internet

PLC Programmable Logic Controller

Stuxnet Seeks Specific Models S7-300 S7-400

Read Input of Device

Execute Program

Diagnostics & Communications

Update Output

PLC Scans

Communication Media

Sattelite

TelCom

Internet

SONET / SDH

Cellular Networks

SCADA Master

Internet

HMI

MTU

Web Server

Internet

Duqu – Duqu’s purpose is to gather intelligence data and assets from entities, such as industrial control system manufacturers, in order to more easily conduct a future attack against another third party. The attackers are looking for information such as design documents that could help them mount a future attack on an industrial control facility.

Duqu -Geographics

France, Netherland, Switzerland, Ukraine

India

Iran

Sudan

Vietnam

Duqu – Compile Time Wed Jun 01, 03:25:18 2011 Mon Oct 17 17:07:47 2011 Mon Oct 17 16:26:09 2011 Tue Aug 09 21:37:39 2011 Purpose Stealing information Reconnaissance module Lifespan extender Stealing information

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit