Dumping COVID-19.jar with Java Instrumentation
#1
Bug 
Quote:
[Image: blog-default-header-1.jpg]

There is a generic and easy way to unpack Java malware that is not well-known yet. For demonstration I use a recent JAR malware sample that jumps on the COVID-19 bandwagon.

From the point of view of a threat actor, Java based malware has the advantage that it works regardless of the operating system as long as Java is installed. While the numbers of Java malware have declined in the last 5 years, certain strains are still seen frequently in the wild, e.g., the backdoor Adwind. Malware authors are also still creating new Java based strains like the information stealer Qealler which was first seen in February 2019.

Almost all of those threats are packed, using protection tools like Allatori which makes reverse engineering a bit harder.

In the following video I demonstrate a generic way to unpack Java based malware dynamically. This method uses Java instrumentation, more specifically Java Agents. They are a tool for developers to change the behaviour of their programs without having to modify the original source code. The Java Agent is part of a separate JAR file that is applied to the actual software while running it. That way developers can easily add profiling or logging.

In this instance a Java Agent will dump all Java classes while they are being executed, thus dynamically unpacking the protected payload.

...
Continue Reading
Reply


Messages In This Thread
Dumping COVID-19.jar with Java Instrumentation - by harlan4096 - 28 May 20, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Nvidia GeForce Game Ready Driver 610.52 ...
Nvidia GeForce Gam...harlan4096 — 07:41
Mozilla Firefox Browser 151.0.4
Mozilla Firefox Br...harlan4096 — 07:39
Adobe Acrobat Reader DC 26.001.21662
Adobe Acrobat Read...harlan4096 — 07:38
PowerToys v0.100.0
Release v0.100.0 ...harlan4096 — 07:37
Brave 1.91.171 (Chromium 149.0.7827.103)
Release v1.91.171 ...harlan4096 — 07:36

[-]
Birthdays
Today's Birthdays
avatar (38)Barrackleve
Upcoming Birthdays
avatar (39)Tedscolo
avatar (46)brakasig
avatar (45)JamesReshy
avatar (47)Francisemefe
avatar (40)leoniDup
avatar (39)Patrizaancem
avatar (39)biobdam
avatar (40)Julioagopy
avatar (50)aolaupitt2558
avatar (40)storoBox
avatar (48)kinotHeemn
avatar (39)Ceballos1976
avatar (40)efynu
avatar (32)horancos

[-]
Online Staff
There are no staff members currently online.

>