General

  • Target

    tmp

  • Size

    7.9MB

  • Sample

    230519-nqt7aagd2z

  • MD5

    730b65aafc0abb9e1f7e69d9e19ed3e4

  • SHA1

    2629f7bc69f8bfce43a6e32e06f25dbed86ea64a

  • SHA256

    4a97c1f0f4a139fa0079730d2559763dd52c7a92bb3fdbefb7c972a4e79cc04f

  • SHA512

    fdc9799d71db417e7768f127dd0cbcd72ce050fbc7949f91028563a357d00c52b87f7ce0e3148913aee700d37c2e935daf2090e16a0bd183958a196001f0687f

  • SSDEEP

    196608:HKXbeO7YD4egJOMXIIoKrrrrUW11kWgj55sOE:079wyIIoB+E5U

Malware Config

Extracted

Family

gh0strat

C2

159.75.0.162

Targets

    • Target

      tmp

    • Size

      7.9MB

    • MD5

      730b65aafc0abb9e1f7e69d9e19ed3e4

    • SHA1

      2629f7bc69f8bfce43a6e32e06f25dbed86ea64a

    • SHA256

      4a97c1f0f4a139fa0079730d2559763dd52c7a92bb3fdbefb7c972a4e79cc04f

    • SHA512

      fdc9799d71db417e7768f127dd0cbcd72ce050fbc7949f91028563a357d00c52b87f7ce0e3148913aee700d37c2e935daf2090e16a0bd183958a196001f0687f

    • SSDEEP

      196608:HKXbeO7YD4egJOMXIIoKrrrrUW11kWgj55sOE:079wyIIoB+E5U

    • Detect PurpleFox Rootkit

      Detect PurpleFox Rootkit.

    • Gh0st RAT payload

    • Gh0strat

      Gh0st RAT is a remote access tool (RAT) with its source code public and it has been used by multiple Chinese groups.

    • PurpleFox

      PurpleFox is an exploit kit used to distribute other malware families and first seen in 2018.

    • Drops file in Drivers directory

    • Sets DLL path for service in the registry

    • Sets service image path in registry

    • Checks computer location settings

      Looks up country code configured in the registry, likely geofence.

    • Executes dropped EXE

    • Loads dropped DLL

    • UPX packed file

      Detects executables packed with UPX/modified UPX open source packer.

    • Adds Run key to start application

    • Enumerates connected drives

      Attempts to read the root path of hard drives other than the default C: drive.

    • Drops file in System32 directory

MITRE ATT&CK Matrix ATT&CK v6

Persistence

Registry Run Keys / Startup Folder

3
T1060

Defense Evasion

Modify Registry

3
T1112

Discovery

Query Registry

3
T1012

System Information Discovery

4
T1082

Peripheral Device Discovery

1
T1120

Remote System Discovery

1
T1018

Tasks