Showing posts with label Operation GoldenAxe. Show all posts
Showing posts with label Operation GoldenAxe. Show all posts

Operation GoldenAxe2:ActiveX attacks targeting reunification, diplomacy and security stakeholders


SUMMARY

Even after the inter-Korean summit, it was recently confirmed that North Korean hacking group was distributing malware to experts in unification, diplomacy and security using the ActiveX vulnerability of groupware solution.

A malware from North Korea has been circulated through the watering hole technique on the website of "sejong research Institute". This institute is a private think tank that studies unification, diplomacy and security.

The malware connects to the C&C server and sends information of the PC, downloads and executes additional malware. And the malware is the latest variant of the "GoldenAxe organization" known for its attacks by North Korea.

The "GoldenAxe organization" is a malicious organization that has attacked Korean companies and organizations through certain web sites for about 12 years from 2007 to May 2018 by exploiting ActiveX vulnerabilities in Korean software.

North Korea targeted the weak points of major ActiveX modules that are installed not only in the South Korean public institutions and companies but also in the national PC. Due to the nature of ActiveX, vulnerable versions often remain on your PC without being deleted.

The malware execution is possible using the "ShellExecute" function in " AcubeFileCtrl.ocx", which is included in ActiveX modules for groupware solutions.
This vulnerability is patched and disabled in “AcubeFileCtrl.ocx 2.3.0.4”.

About watering hall script

The following malicious scripts were injected on the main web page of the think tank website.

The script "jquery-1.5.3.min.json" is encoded as follows and contains information collection codes, such as browser information and whether a specific ActiveX is installed.

The following malicious code is encoded in "jquery-1.5.3.min.json".


The following are some of the malicious codes that have been decoded "jquery-1.5.3.min.json"


  
The collected information, such as browser information and whether or not to install a specific ActiveX, is encoded into base64 and sent to a specific site("alphap1.com").
  
Parameter
Meaning
Parameter
Meaning
w
Site name
Fv
Flash version
r
<?=$referer?> value
Silv
Silverlight version
o
OS version
Ez
EasyPayPlugin installed
lv
Accept-Language(ex, KO)
Ac
ACUBEFILECTRL installed
bt
Browser Information
Si
SIClientAccess installed
bv
Browser Information
Du
DUZONERPSSO installed
bdv
Browser Information
Iw
INIWALLET61 installed

North Korea's "sejong Institute (www.sejong.org)" Attack History

collected information - Jan 12, 2017
* hxxp://www.sejong.org
-> hxxps://www.srider.net/www/custom.asp?id=sj (collection of visitor information)

1st watering hole attack - April 18, 2018 ~ April 19, 2018
* hxxp://www.sejong.org
-> hxxp://www.sejong.org/pub/inc/config.php (ActiveX vulnerability, Deobfuscated)

2nd watering hole attack - April 23, 2018
* hxxp://www.sejong.org
-> hxxp://www.sejong.org/js/menu.js
-> hxxp://www.sejong.org/_lib/conf/config.php (ActiveX vulnerability, Change malicious code path, Deobfuscated)

An inter-Korean summit - April 27, 2018
* Agreed to work together to ease the acute military tensions on the Korean Peninsula

3rd watering hole attack - May 7, 2018 ~ May 8, 2018
* hxxp://www.sejong.org
-> hxxp://www.sejong.org/_lib/conf/config.php (ActiveX vulnerability, obfuscated)

Groupware ActiveX vulnerabilities

The exploit code for a groupware solution is as follows.


Exploit uses "ShellExecute" function to download and execute malware.


A vulnerability exists in the execution of entered data without any verification.

When exploit runs, the file "temp.vbs" appears in the "%temp%" directory and runs after downloading the RAT malware.


Information of the RAT

The C&C server's IP and port are stored in the binary.


The initial authentication protocol is as follows. Authenticate with the C&C server with a fixed base64 encoded value.


data sent to server(decoded string)


data sent from server(decoded string)


The RC4 algorithm is used to communicate with the C&C server. Rc4 key is "1234567890".


Malware sends information about ComputerName, UserName, IP Address, MAC Address, and OS version to C&C Server.

Execute a command sent from C&C server using "cmd.exe". Then send the results to the server.


Creates a file that is sent by the C&C server

About "Operation GoldenAxe"

The "GoldenAxe” organization has been using ActiveX vulnerabilities in Korea software for about 12 years from 2007 to June 2018 to malware inside Korean companies and organizations through a specific website.

List of ActiveX modules used in "Operation GoldenAxe"
ActiveX programs used
explanation
Xman.CXmanObj.1
Daum Portal ActiveX Manager Module
SKCOMMAX.SKCommAXCtrl.1
SignKorea Certificate ActiveX Control Module
FileUpload.FileAccess.1
Softforum XECUREWEB PKI Solution File UP/Down Control Module
IDEFENSE.IdefenseCtrl3.1.1
Kings Information I-DEFENSE Online PC Firewall ActiveX Control Module
KMCWEBMANAGER.KMCWebManagerCtrl.1
KMS InfoScan Privacy Web Manager Control Module
KCPPaymentUX.KCPUX.1
KCP Electronic payment Module
XPAYUPDATER.XPayUpdaterCtrl.1
LG U+ Electronic payment Update Module
DownMgr.DownMgrCtrl.1
Fasoo DRM Download Manager Module
HShell.WShell.1
HANDYSOFT Groupware HShell Module
KBINSTALLER.KBinstallerCtrl.1
Naravision Kebi Mail Webmail Control Module
npenkIEInstall5
INCA nprotect Netizen Firewall ActiveX Install Module
EasyPayPlugin.EPplugin.1
EasyPay Electronic Payment Plug-in Module
MagicLoaderX.MagicLoaderX.1
Dream Security MagicloaderX Authentication Plug-in Module
NVERSIONMAN.NVersionManCtrl.1
Nanoom Groupware Smart Flow NVersionMan Module
admctrl.FileIO.1
Dream Security Administrator Privilege Processing Component Modul
RDVistaSupport.VistaSupport.1
M2 Soft Reporting Solution Report Designer Module
JxVistaDll.JXVistaUtil.1
Soft 25 Zone Encryption Solution JX - CEAL Vista Module
JXFILEBOX.JxFileBoxCtrl.1
Soft 25 JXFILEBOX Module
JXORGTREE.JXOrgTreeCtrl.1
Soft25 Webmail JXMAIL Module
INIWALLET61.INIwallet61Ctrl.1
INISYS INIWALLET Browser extension module
INIUPDATER.INIUpdaterCtrl.1
Initec INISAFE Encryption Solution Update Module
INISAFEWeb60.INISafe6Ctrl64.1
Initec INISAFE Encryption Solution Control Module
INCITERX.InciterXCtrl.1
SoftRun InciterX Patch Manager System Control Module
SIClientAccess.SIClientAccess.1
Softforum IAM Safeidentity Module
ACUBEFILECTRL.AcubeFileCtrlCtrl.1
Samsung SDS Groupware ACUBE Solution Control Module
DUZONERPSSO.DUZONERPSSOCtrl.1
Duzon Groupware IAM Control Module

Reference

[0x01] nkeconomy, http://www.nkeconomy.com/news/articleView.html?idxno=135

Operation GoldenAxe


1. Overview

For about a year from June 2016 to May 2017, the estimated power of North Korea has been involved in South Korea’s 10 more organization’s websites related to diplomacy, space aviation, North Korea, unification, parliamentary, labor, finance, etc.
A Watering hole attack was conducted to distribute malware to visitors through. As direct attacks against institutions and businesses in the field became increasingly difficult, they conducted an attack against a relatively easy association compliant, and conducted a bypass penetration.
Infection vector used program was ActiveX programs from 10 domestic software, including electronic payments, authentication, encryption, reporting, webmail and groupware, to infect visitors in their respective fields. Some ActiveX programs have been installed on the PCs of many users in the country, and they distributed the malware using a vulnerability in zero day vulnerability where no patches existed at the time of distributing the malware. It was also able to distribute malware without being detected for a long time by only distributing them for a very short period of time or identifying and distributing specific users.
The malwares were similar to those that were distributed to South Korean security agencies and large South Korean companies, which police and prosecutors concluded in 2016 were respectively responsible for North Korea. There is also a connection with malwares used in the South's ATM hacking scandal, which is suspected of being committed by North Korea but has yet to be closed. In addition, during the time of the North Korea's March 20 attack against broadcast and financial hacking (2013) incident, ActiveX vulnerabilities of the South Korean financial security module were used to infiltrate the agencies for several months, resulting in secondary damage called hard disk destruction. With this so called " Operation GoldenAxe”, it is expected to reach further damage.

2. Target

2.1. Web sites for distributing malware

The following 10 Web sites were hacked and malwares were distributed to visitors.
The Korea Foreign Affairs Association
Aerospace Research Institute
North Korean Strategic Information Service Center
A group of North Korean defectors preparing for reunification
hxxp://www[.]tongiledu[.]org
Unification Education Council
National Union of Public Research Workers
The National Council of Councils
Woori Bank Branch
Sindaeam Hospital
Hunjeonghoe of South Korea (former lawmaker)

2.2. ActiveX programs used to distribute malware

The following 10 ActiveX programs were used to distribute malware.
Some ActiveX vulnerabilities used in the dissemination were exploited by zero-day vulnerabilities, with no patches present at the time of the spread of malwares.
In particular, ActiveX zero-day vulnerabilities in M2Soft's reporting solution were used in June 2016 for an organization, and were again used to distribute the malware of North Korea.

EasyPayPlugin.EPplugin.1
EasyPay Electronic Payment Plug-in Module
MagicLoaderX.MagicLoaderX.1
Dream Security MagicloaderX Authentication Plug-in Modul
NVERSIONMAN.NVersionManCtrl.1
Nanoom Groupware Smart Flow NVersionMan Module
admctrl.FileIO.1
Dream Security Administrator Privilege Processing  Component Modul 
RDVistaSupport.VistaSupport.1
M2 Soft Reporting Solution Report Designer Module
JxVistaDll.JXVistaUtil.1
Soft 25 Zone Encryption Solution JX - CEAL Vista Module 
JXFILEBOX.JxFileBoxCtrl.1
Soft 25 JXFILEBOX Module
JXORGTREE.JXOrgTreeCtrl.1
Soft25 Webmail JXMAIL Module
INIWALLET61.INIwallet61Ctrl.1
INISYS INIWALLET Browser extension module
INIUPDATER.INIUpdaterCtrl.1
Initec INISAFE Encryption Solution Update Module


3. Malware distributed (malware by North Korea)

A number of malwares have been circulated, which are similar to malwares those were said to be attributed by North Korea from the investigation report of the Prosecutor’s Office and National Police Office.
Malwares allow users to remotely control their PCs to steal information or transmit additional malwares.
 

3.1. Similar to the malware used for hacking to South Korea’s large enterprise group

(Source: S. Korea’s National Police Office)
The malware on the left of the picture below is malware that was announced by the police as North Korean made, and the malware on the right was distributed in the Operation GoldenAxe. Unique Encryption/Decryption logic used in malware is identical. Other malwares found the same part of the protocol used to control & command.
3.2. Similar to malware used for hacking of S. Korea’s Security Software Companies (Source: S. Korea’s Prosecutor’s Office)


The malware at the top of the picture below is malware that was announced by the S. Korean Prosecutor’s Office as the act of North Korea. Two malwares use the same Encryption/Decryption method and has the same C&C command system. 
                 

When the above two malwares are decoded, the same C&C command system is used as follows.

3.3. Connected to malware found in S. Korea’s ATM hacking (suspected North Korean actions)

The C&C server address used in the incident targeting The National Council on Public Relations (hxxp://ampcc[.]go[.]kr) that distributed malwares during this Operation GoldenAxe corresponds to that of code found in the ATM hacking incident in Korea.

4. Comments/Response

North Korea is mainly using zero-day vulnerabilities in the ActiveX program of South Korean software. ActiveX is a common use by local organizations, companies, and others, and many are installed on the local users ' PCs. Also, finding an ActiveX vulnerability is fairly easy compared to other software programs, making it the best weapon for North Korea to use in an attack spreading malware. In particular, the March 20 attack in 2013, which was found to have been committed by North Korea, was infiltrated by the vulnerability of ActiveX financial security module, which is widely used in South Korea. In the current situation where it is difficult to penetrate directly as major organizations and companies have increased security due to frequent cyberattack from North Korea, the agency and its employees are infected through associations and associations. 
Therefore, it is necessary to refrain from using ActiveX, which is relatively vulnerable to security.