Analysis

  • max time kernel
    142s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-08-2024 08:02

General

  • Target

    baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe

  • Size

    125KB

  • MD5

    baee0f9bf421c883c45232169f34b452

  • SHA1

    f87cf64ebadf9cea8b6ddb7c3fbb151a0b610902

  • SHA256

    51ab52acf44fe469672a8bc675ca71d5121661e7c40018a5cd71abcdf36652d6

  • SHA512

    319f00fdbda61c0525c646195ea177ccfb4442eb3bf7e60a9b9518cbf68770fa206756639aabc97e864e49b32d6e56915f631177ebc41878bf5ed78748bfd5b4

  • SSDEEP

    3072:Y3JgVs2LveVDnjcaO5I0q35gXg8aXO72fkMzpFoZjV:6JgVz2nO5qpeaXSYGV

Malware Config

Extracted

Family

latentbot

C2

ozaneryilmaz.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • ModiLoader, DBatLoader

    ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.

  • UAC bypass 3 TTPs 1 IoCs
  • ModiLoader Second Stage 7 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 4 IoCs
  • UPX packed file 10 IoCs

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 3 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Windows directory 4 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 4 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs
  • System policy modification 1 TTPs 1 IoCs
  • Uses Volume Shadow Copy service COM API

    The Volume Shadow Copy service is used to manage backups/snapshots.

Processes

  • C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4496
    • C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
      C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
      2⤵
      • Checks computer location settings
      • Checks whether UAC is enabled
      • Drops file in Windows directory
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:864
      • C:\Windows\mstwain32.exe
        "C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4716
        • C:\Windows\mstwain32.exe
          C:\Windows\mstwain32.exe
          4⤵
          • UAC bypass
          • Executes dropped EXE
          • Loads dropped DLL
          • Adds Run key to start application
          • Checks whether UAC is enabled
          • Drops file in Windows directory
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • System policy modification
          PID:4852
  • C:\Windows\system32\vssvc.exe
    C:\Windows\system32\vssvc.exe
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:1892

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Windows\cmsetac.dll

    Filesize

    32KB

    MD5

    c200deb575126b97609d020897aaa5ac

    SHA1

    9d086f32f5e6a134c5a9dffe35d29c2a3261a42f

    SHA256

    a4a0c6545cd3990fcfb973ff5b76517520edf142d9f09fbcb118c92574ed2762

    SHA512

    c8040e3997967d4c25401b53b9fb97545709829876031cdd985c46cf0cccb467a546c8563441b2fbe2e03de0c9829732a345eb629e2eb2eecb87026794e4b7d7

  • C:\Windows\mstwain32.exe

    Filesize

    125KB

    MD5

    baee0f9bf421c883c45232169f34b452

    SHA1

    f87cf64ebadf9cea8b6ddb7c3fbb151a0b610902

    SHA256

    51ab52acf44fe469672a8bc675ca71d5121661e7c40018a5cd71abcdf36652d6

    SHA512

    319f00fdbda61c0525c646195ea177ccfb4442eb3bf7e60a9b9518cbf68770fa206756639aabc97e864e49b32d6e56915f631177ebc41878bf5ed78748bfd5b4

  • C:\Windows\ntdtcstp.dll

    Filesize

    7KB

    MD5

    67587e25a971a141628d7f07bd40ffa0

    SHA1

    76fcd014539a3bb247cc0b761225f68bd6055f6b

    SHA256

    e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378

    SHA512

    6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350

  • memory/864-6-0x0000000000A10000-0x0000000000A11000-memory.dmp

    Filesize

    4KB

  • memory/864-3-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/864-0-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/864-4-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/864-16-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/864-5-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4496-2-0x0000000011490000-0x00000000114B7000-memory.dmp

    Filesize

    156KB

  • memory/4716-20-0x0000000011490000-0x00000000114B7000-memory.dmp

    Filesize

    156KB

  • memory/4852-23-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4852-25-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4852-22-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4852-32-0x0000000000710000-0x0000000000711000-memory.dmp

    Filesize

    4KB

  • memory/4852-24-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4852-36-0x00000000030D0000-0x00000000030DE000-memory.dmp

    Filesize

    56KB

  • memory/4852-38-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

  • memory/4852-39-0x0000000000760000-0x0000000000768000-memory.dmp

    Filesize

    32KB

  • memory/4852-40-0x00000000030D0000-0x00000000030DE000-memory.dmp

    Filesize

    56KB