Thursday, November 30, 2023

Hackers Weaponize HWP Documents to Attack Defense and Press Sectors

HWP documents are primarily associated with the Hangul Word Processor software used in South Korea. 

Hackers may opt for HWP documents to target National Defense and Press Sectors because they exploit vulnerabilities in this specific file format and software, which may not be as widely monitored or protected as more common document formats like PDF or Microsoft Word.

Cybersecurity analysts at ASEC recently discovered HWP documents with OLE objects, potentially distributed via email attachments or download links, targeting specific sectors like:-

  • National Defense
  • Media

The document names relate to the following domains:-

  • National Defense
  • Unification
  • Education
  • Broadcasting

Hackers Weaponize HWP Documents

The analyzed HWP documents have two main types:-

  • One connecting to an external URL.
  • The other one creating a script file. 

However, the researchers also suspect a common creator due to the shared FTP server password in type 2.

Operation process (Source - ASEC)
Operation process (Source – ASEC)

Here below, we have mentioned all the HWP documents’ file names:-

  • Unification** cue sheet May 29 Mon.hwp
  • 20230508_ProfessorMeetingMaterial_NewTemplate.hwp
  • (***)2023-05-30 Material for Professor Meeting.hwp
  • Payment Receipt (Chief ***).hwp
  • (Template)Payment Receipt_Congratulatory and Condolence Money.hwp
  • 20230512_MyungbakScenario_Details.hwp
  • 1-1.Installation of a Separate Service for Research Support Within the Overseeing Organization (** University Graduate School Academic-Industry Cooperation Center).hwp
  • Reference Material for School President for the Honorary Doctorate Awarding Ceremony of Former Prime Minister Hu** ***.hwp
  • [Faculty Training Department-489 (Attached)] [Attachment 3] Lecturer Card (Template).hwp
  • National Defense and Protection Sacrificed to Political Disputes.hwp
  • ** Unification April 30 2023 (Sun).hwp
  • Special The Agricultural Industry and Quality of Life of North Korea ** Cho.hwp
  • 42- Wagner’s Lesson (Aug 2023).hwp
  • [Template1] Business Budget Issue Request.hwp
  • Dissertation Evaluation (** Kwon).hwp
  • Evidentiary Documents of Incentive Payment.hwp
  • ** Unification Sep 06 Final Wednesday.hwp
  • ** Kim_Statement of Honorarium Payment.hwp
  • [Template_Attachment 5]_Recommender_Certificate_Template-** Jeon.hwp

The OLE object has 5MB of dummy bytes and a malicious URL. When clicked, it connects to that URL, and the malicious URLs found are tailored for specific individuals with unique parameters.

Here below, we have mentioned the malicious URLs:-

  • hxxp://host.sharingdocument[.]one/dashboard/explore/starred?hwpview=[specific value] 
  • hxxp://mail.smartprivacyc[.]com/get/account/view?myact=[specific value]

Type 2 HWP docs embed a malicious script. It creates zz.bat and oz.txt in %temp%. Clicking them runs PowerShell commands from GitHub:-

  • hxxps://raw.githubusercontent[.]com/babaramam/repo/main/pq.txt

Besides this, the data is deobfuscated and executed with a key, while the GitHub script has four functions that we have mentioned below:-

  • mainFunc
  • getinfo
  • uploadResult
  • downCommand

The mainFunc changes the PowerShell policy, enabling later script execution. getinfo collects user data from hxxps://raw.githubusercontent[.]com/babaramam/repo/main/info.txt. 

uploadResult sends collected data and deletes it. downCommand maintains persistence with the LNK file. thumbs.log runs the script on PC restart.

Though it collects user data, the script can perform various malicious actions based on pq.txt.

Nowadays, there are multiple malicious HWP documents circulating actively, so it’s strongly recommended to be cautious about document authors and senders.

Protect yourself from vulnerabilities using Patch Manager Plus to patch over 850 third-party applications quickly. Try a free trial to ensure 100% security.


Latest articles

Chrome Zero-Day Vulnerability That Exploited In The Wild

Google has fixed the sixth Chrome zero-day bug that was exploited in the wild this...

Iranian Mobile Banking Malware Steal Login Credentials & Steal OTP Codes

An Android malware campaign was previously discovered that distributed banking trojans targeting four major...

BLUFFS: Six New Attacks that Break Secrecy of Bluetooth Sessions

Six novel Bluetooth attack methods have been discovered, which were named BLUFFS (Bluetooth Forward...

Google Workspace’s Design Flaw Allows Attacker Unauthorized Access

Recent years saw a surge in cloud tech adoption, highlighting the efficiency through tools...

Serial ‘SIM Swapper’ Sentenced to Eight Years in Prison

In a digital age marred by deceit, 25-year-old Amir Hossein Golshan stands as a...

Design Flaw in Domain-Wide Delegation Could Leave Google Workspace Vulnerable to Takeover – Hunters

BOSTON, MASS. and TEL AVIV, ISRAEL, November 28, 2023 - A severe design flaw...

Hackers Behind High-Profile Ransomware Attacks on 71 Countries Arrested

Hackers launched ransomware attacks to extort money from the following two entities by encrypting...
Tushar Subhra Dutta
Tushar Subhra Dutta
Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

API Attack Simulation Webinar

Live API Attack Simulation

In the upcoming webinar, Karthik Krishnamoorthy, CTO and Vivek Gopalan, VP of Products at Indusface demonstrate how APIs could be hacked.The session will cover:an exploit of OWASP API Top 10 vulnerability, a brute force account take-over (ATO) attack on API, a DDoS attack on an API, how a WAAP could bolster security over an API gateway

Related Articles