attacks on industrial enterprises using remote ... · kaspersky lab ics cert attacks on industrial...

22
Vyacheslav Kopeytsev, Security Researcher Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018

Upload: others

Post on 22-Sep-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Vyacheslav Kopeytsev, Security Researcher

Kaspersky Lab ICS CERT

Attacks on industrial enterprises using remote administration tools

Q3, 2018

Page 2: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Unusual phishing emails

Page 3: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Victims

Page 4: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Victims

• Manufacturing

• Oil and gas

• Metallurgy

• Engineering

• Energy

• Construction

• Mining

• Logistics

More than 800 machines from 400 industrial companies

Page 5: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Malware persistence

Typical storages for this attack:

%AppData%\LocalDataNT

%AppData%\NTLocalAppData

Page 6: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

“Corrupted” attachments

Page 7: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

PDF documents

Page 8: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Bug, feature or vulnerability?

In case of importing system DLLS only by filename dynamic libraries will be

found in folder from system %PATH% variable

TeamViewer

RMS

Page 9: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Windows %PATH% management

To search files called by filename (not by full file path)

Windows uses specific algorithm:

1. Current (active) directory

2. Directories from system %PATH%

environment variable

3. Directories from user %PATH%

environment variable

Page 10: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Windows DLL Hijacking technique

RAT Malware DLL System DLL

All API calls Selected API calls

Page 11: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Splicing in attacks with TeamViewer

To hide malware activity from user and TeamViewer software self check algorithms

threat actors used rootkit technique called splicing:

Page 12: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

RAT custom builds

Threat actors used legitimate RM

Host Agent build configurator that

allow them to use old RM Host

versions without integrity check.

After it they extracted RM Host binary

and needed DLLs from custom RM

Agent build.

Page 13: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

RMS back connections and notifications

Page 14: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Attacks with TeamViewer connections and notifications

Malware configuration file

Page 15: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

CnC server inside

Thanks to cooperation with the hosting provider, Kaspersky Lab experts were able

to access data located on the malware command and control server

Page 16: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

CnC server inside

Page 17: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

CnC server inside

Page 18: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

CnC server inside

Page 19: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Second stage malware

• Keylogging

• Screenshots capturing

• System and applications info stealing

• Additional malware downloading

• Proxy server

• Password stealing

• IM history stealing

• DDoS attacks

• Network traffic sniffing and spoofing

• User files stealing

• Babylon RAT

• Betabot/Neurevt

• AZORult stealer

• Hallaj PRO Rat

Page 20: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Mimikatz

Mimikatz – a tool that

allow attackers to extract

domain users passwords,

it’s hashes and other auth

data from Windows

memory

Page 21: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

Protection and mitigation

1. Control all remote administration tools installations;

2. Keep AV software bases up to date on all machines;

3. Disable SeDebugPrivilegies where it possible;

4. Control all network connections from industrial network to detect illegitimate

remote administration tools installation;

5. Training users to prevent the opening of phishing emails

Page 22: Attacks on industrial enterprises using remote ... · Kaspersky Lab ICS CERT Attacks on industrial enterprises using remote administration tools Q3, 2018 . Unusual phishing emails

LET’S TALK?

Kaspersky Lab HQ

39A/3 Leningradskoe Shosse

Moscow, 125212, Russian Federation

Tel: +7 (495) 797-8700

www.kaspersky.com