Friday, October 9, 2026

Kimsuky Uses OpenCode AI Agent and GitHub PATs in Operation GitPower Attacks

North Korea-linked threat actor Kimsuky has expanded its Operation GitPower activity with malicious LNK shortcuts, GitHub Personal Access Token (PAT)-authenticated payload delivery, and AI-generated decoy documents linked to the OpenCode coding agent.

Genians Security Center analyzed 13 malicious LNK samples collected between August 11 and August 19, 2026.

The files were delivered in ZIP archives and masqueraded as Korean business documents involving fund disbursements, insurance premiums, interest payments, certificate renewals, customer records, store master data updates, and Visa payments.

The shift broadens Kimsuky’s traditional lure focus beyond diplomatic, academic, and security themes toward finance and enterprise operations.

The attack begins when a victim extracts a ZIP attachment and opens a malicious Windows shortcut. Every analyzed LNK file was configured to execute PowerShell through unusually long, concealed command-line arguments.

In several cases, roughly 300 leading spaces were inserted before the command to obscure the payload from the shortcut Properties interface.

The shortcuts also used Chrome’s executable path as their icon source and embedded forged metadata claiming to be a small Hangul document modified in 2023.

In reality, the files were LNKs ranging from about 319 KB to 8.9 MB. The larger variants included excessive pseudorandom padding after the valid shortcut structure, likely intended to alter file characteristics and complicate analysis.

Inside the command line, Kimsuky concealed an encrypted loader as a space-delimited decimal array rather than standard Base64.

A custom PowerShell decoder reconstructs the second-stage script, writes it into the victim’s AppData directory, and executes it with Invoke-Expression.

Reuse of the same decoder structure, variable naming, and arithmetic constant across samples indicates a shared builder or automated LNK-generation workflow.

The decoded PowerShell loaders retrieve decoy documents and follow-on scripts from GitHub Raw Content URLs.

Rather than using anonymous downloads, the operators embedded GitHub PATs and issued authenticated requests with Authorization: token <PAT> and Accept: application/vnd.github.v3.raw headers.

This approach allows Kimsuky to use GitHub repositories as controlled staging infrastructure while complicating simple domain-based blocking.

The malware dynamically reconstructs URLs from fragmented strings to reduce static detection opportunities, downloads a decoy PDF, XLSX, or PNG file, and opens it to distract the victim while persistence is established in the background.

Persistence relies on hidden scheduled tasks masquerading as legitimate software or Windows components.

Examples include task names resembling BitLocker, MATLAB startup components, and .NET Framework NGEN jobs, often with misspellings such as “BitLockor.” The tasks execute hidden PowerShell at regular intervals, enabling recurring retrieval of additional payloads.

Genians Researchers said that, the campaign shows how the group is combining commodity cloud services, PowerShell obfuscation, scheduled-task persistence, and automated content generation to target financial and corporate users at scale.

Operation GitPower Campaign

One Visa-themed sample also used Pastebin as a secondary payload channel, executing remotely retrieved code in memory.


LNK Execution Arguments (Source : Genians).
LNK Execution Arguments (Source : Genians).

The diversification gives the operators an alternate delivery route if GitHub content is removed or blocked.

The most notable evolution is evidence that Kimsuky used the open-source AI coding agent OpenCode to mass-produce lure documents.

Multiple PDFs recorded opencode in both the Creator and Producer metadata fields, while the Author field remained set to “anonymous.”

Genians said the metadata values strongly suggest programmatic generation by an AI agent rather than conventional manual document authoring.koreatimes.

Researchers collected 29 decoy files but identified only 11 unique documents by hash, indicating that the group reused the same lures across repositories under randomized filenames.

opencode Interface (Source : Genians).
 opencode Interface (Source : Genians).

Several OpenCode-linked PDFs shared the exact same creation timestamp and contained unreplaced text such as “(placeholder),” exposing incomplete LLM-generated drafts.

Other PDFs contained HeadlessChrome and Skia/PDF metadata, suggesting a second automation pipeline in which HTML content was generated and rendered into PDFs through headless Chrome.

This method produced more polished documents with templated wording and highly similar content structures, enabling rapid topic changes without rebuilding each lure from scratch.

A customer-document variant added anti-analysis checks for VMware processes, Process Hacker, x64dbg, PE-bear, Autoruns, Process Explorer, Procmon, TCPView, and other security-analysis tools.

opencode Entry in PDF Properties (Source : Genians).
opencode Entry in PDF Properties (Source : Genians).

If detected, the malware terminates, removes temporary artifacts, and deletes the PowerShell PSReadLine command-history file. It also checked for a sandbox-associated username, “Bruno.”

Organizations should prioritize EDR and threat-hunting coverage for ZIP-delivered LNK files, abnormal shortcut argument lengths, hidden PowerShell execution, conhost.exe –headless activity, and scheduled tasks with malformed BitLocker, MATLAB, or .NET-style names.

Security teams should also inspect PowerShell telemetry for GitHub Raw Content requests using PAT authorization headers, suspicious Pastebin access, AppData-based .ps1 creation, and encoded decimal-array loaders.

Operation GitPower demonstrates that AI is not replacing Kimsuky’s established tradecraft; it is accelerating the creation and diversification of convincing decoys around a mature GitHub- and PowerShell-based intrusion framework.

IOCs

MD5 HashGitHub Accounts
10780939962b54addc9d31f57d80edfcgithub[.]com/sven5500
1523a2fcc901965ab4568d9fe829e4afgithub[.]com/montry111
500e0bc0d7579fb338912770964076fegithub[.]com/jamjack2026
685bfc6b2c29fbc16cfad908894add55github[.]com/urusa4400
7a53089053b1381742856a5cf2b95f8bgithub[.]com/jamestony88
8db2f20b719dcb7029d6296505622093github[.]com/baras6600P
900e832c10d851bbdef3fb191a15db0egithub[.]com/choemiyang
a2015665a3e18bf0ef86e3931245c7e6github[.]com/jeni534

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

★ Learn 7 Metric-Gated AI SOC Deployment Phases – Download Free AI SOC Deployment Playbook 2026.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Insignary Launches Clarity AIR to Detect Undeclared Open-Source and AI-Written Code

Toronto, Canada, October 8th, 2026, CyberNewswire Insignary Launches Clarity AIR:...

PoC Exploit Released for Zammad Vulnerability Enabling Session Hijacking and Remote Code Execution

A proof-of-concept (PoC) exploit has been released for CVE-2026-102489,...

Critical LMCache RCE Vulnerability Remains Unpatched, Public PoC Exploit Available

A critical vulnerability in LMCache allows unauthenticated attackers to...

16 Malicious Firefox Extensions Impersonate Crypto Wallets to Steal Seed Phrases and Private Keys

16 malicious Firefox extensions that impersonate cryptocurrency wallets to...

Exposed DarkSword iOS Servers Reveal Crypto Wallet Theft From Compromised iPhones

Exposed directories on five servers have revealed an operational...

wolfSSH Patches 5 Security Vulnerabilities, Including Critical SSH Authentication Bypass

wolfSSL has released wolfSSH version 1.6.0, which addresses five...

Critical Gitea Vulnerabilities Allow Attackers to Bypass Authentication and Execute Code

Gitea has released version 28.0.0, addressing 20 vulnerabilities related...

Related Articles

Recent News