General

  • Target

    tmp

  • Size

    2.7MB

  • Sample

    230519-nmg3jsde26

  • MD5

    6c99aa5d2bed8e90452d5a6a77c72f65

  • SHA1

    c0c91c9c4be9285baeeabf0c48c637078ac0c9a1

  • SHA256

    822c9d934cb53ca7bf76f899ad40500b4d04d24a6b044be4ed6494564e8e99e0

  • SHA512

    2da92dbcb491370f99a253cdd62a5a9e3b905517ab2a31bbad53232d68b8eed946b423fec7dfb24aea878ab0184f9f3838cdeaba3bc65c2f923aad070d1ac1c2

  • SSDEEP

    49152:KCwsbCANnKXferL7Vwe/Gg0P+WhdwTGH7sH:dws2ANnKXOaeOgmhdwTSsH

Malware Config

Extracted

Family

gh0strat

C2

159.75.0.162

Targets

    • Target

      tmp

    • Size

      2.7MB

    • MD5

      6c99aa5d2bed8e90452d5a6a77c72f65

    • SHA1

      c0c91c9c4be9285baeeabf0c48c637078ac0c9a1

    • SHA256

      822c9d934cb53ca7bf76f899ad40500b4d04d24a6b044be4ed6494564e8e99e0

    • SHA512

      2da92dbcb491370f99a253cdd62a5a9e3b905517ab2a31bbad53232d68b8eed946b423fec7dfb24aea878ab0184f9f3838cdeaba3bc65c2f923aad070d1ac1c2

    • SSDEEP

      49152:KCwsbCANnKXferL7Vwe/Gg0P+WhdwTGH7sH:dws2ANnKXOaeOgmhdwTSsH

    • 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.

    • Modifies firewall policy service

    • 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

    • 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

Modify Existing Service

1
T1031

Registry Run Keys / Startup Folder

3
T1060

Defense Evasion

Modify Registry

4
T1112

Discovery

Query Registry

2
T1012

Peripheral Device Discovery

1
T1120

System Information Discovery

3
T1082

Remote System Discovery

1
T1018

Tasks