Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 03:22

General

  • Target

    fe4f22e8d5f3a4b2bcd81bd69429c12b_JaffaCakes118.exe

  • Size

    2.0MB

  • MD5

    fe4f22e8d5f3a4b2bcd81bd69429c12b

  • SHA1

    50eec07da09636ab7108e93a2a17224724d5f8c2

  • SHA256

    e0fb9bf9bd903a2ea4bc952b168482bd15af73dd1b4ae47529aa10fe6a9112a0

  • SHA512

    6295463804ae0b84e90a6dc04d4a673fce7eea5c8f3a9017aae52eb4ea6c0a522e94fe8f9b5403cd42449a78aac438d0d53e44457581d67c4cd94886054b0ef2

  • SSDEEP

    49152:rSgBqO4ZjnK6IoaAW4kBOSoyx7qwG9h+3vUZLeG2+fWPyGAt4Gjt6:rvanKNqKBkwY3VeDyGA1Q

Malware Config

Signatures

  • Detect ZGRat V1 31 IoCs
  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 1 IoCs
  • UPX packed file 3 IoCs

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

  • Unexpected DNS network traffic destination 7 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fe4f22e8d5f3a4b2bcd81bd69429c12b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe4f22e8d5f3a4b2bcd81bd69429c12b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: MapViewOfSection
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\ProgramData\Anyname.exe
      "C:\ProgramData\Anyname.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3620
      • C:\Users\Admin\AppData\Local\Temp\Patch.exe
        Patch.exe /silent
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        PID:3004
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"
      2⤵
      • Modifies WinLogon for persistence
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1092
      • C:\Users\Admin\AppData\Local\Temp\MSBuild.exe
        C:\Users\Admin\AppData\Local\Temp\MSBuild.exe
        3⤵
        • Executes dropped EXE
        PID:4728
      • C:\Users\Admin\AppData\Local\Temp\MSBuild.exe
        C:\Users\Admin\AppData\Local\Temp\MSBuild.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:3240

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\ProgramData\Anyname.exe

    Filesize

    361KB

    MD5

    40142677d0bb0ecaad6f45521581a8e3

    SHA1

    b107dea7dc8ec3d53769484173bf59b24a3a526a

    SHA256

    8592243aeb23282bb68e22aee5f3aa19288d289c554e6318ff92b3bb80fb2e24

    SHA512

    fa0a0e0e13f59f6169ad417842b04aa3fa66376a585995d9d1737fb655c46d44e2183209e1266909568c8f80ae9d6e43368d461f3d40be432f683ba2b7048e59

  • C:\Users\Admin\AppData\Local\Temp\MSBuild.exe

    Filesize

    256KB

    MD5

    8fdf47e0ff70c40ed3a17014aeea4232

    SHA1

    e6256a0159688f0560b015da4d967f41cbf8c9bd

    SHA256

    ed9884bac608c06b7057037cc91d90e4ae5f74dd2dbce2af476699c6d4492d82

    SHA512

    bd69d092ed4f9c5e1f24eaf5ec79fb316469d53849dc798fae0fcba5e90869b77ee924c23cc6f692198ff25827ab60ad47bb46cadd6e0aadde7731cbafb013be

  • C:\Users\Admin\AppData\Local\Temp\Patch.exe

    Filesize

    78KB

    MD5

    c8ecc6d21f0d96f5adb10ba0fad59327

    SHA1

    63f5f489890b0ea90327a551787120bc71559aed

    SHA256

    e652438962d628a62456c778b1693390423223dd12f5c233e361c5c5273ecec0

    SHA512

    27618145d7fabefae7f2fdd56b9b3d0ea6c624a6d6e833bff52bf2d87210b73536052640b39d3419808d02a7c7829b589292087f154ed494145b54ef1fab621a

  • C:\Users\Admin\AppData\Local\Temp\dup2patcher.dll

    Filesize

    72KB

    MD5

    f6a5ee057facebdbe0f7fcc684408bfe

    SHA1

    2481e7f2051d4563bdb161acc045c4a12054b9e0

    SHA256

    0716d3af51df49db26fa4856fbf219e23d2ae3ffe25272669c8cb5b527fbb6bf

    SHA512

    8153a568ea1f1f954721af33366ae81c00eb9950070004b5e5e2942073be9d6de012fe8233331c9f792f080442d973dd1713823bb6abb0ba0b55af544f6a10a8

  • memory/1092-169-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-177-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-179-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-141-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-175-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-173-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-171-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-143-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-167-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-165-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-163-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-161-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-159-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-157-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-155-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-139-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-151-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-149-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-147-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-145-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-112-0x0000000000400000-0x000000000057B000-memory.dmp

    Filesize

    1.5MB

  • memory/1092-183-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-153-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-137-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-135-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-133-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-131-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-129-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-128-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-181-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-125-0x0000000073100000-0x00000000738B0000-memory.dmp

    Filesize

    7.7MB

  • memory/1092-124-0x0000000005B10000-0x0000000005B1A000-memory.dmp

    Filesize

    40KB

  • memory/1092-123-0x0000000005BE0000-0x0000000005BF0000-memory.dmp

    Filesize

    64KB

  • memory/1092-185-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-122-0x0000000005980000-0x0000000005A12000-memory.dmp

    Filesize

    584KB

  • memory/1092-121-0x0000000005F30000-0x00000000064D4000-memory.dmp

    Filesize

    5.6MB

  • memory/1092-187-0x0000000006EE0000-0x0000000006F5C000-memory.dmp

    Filesize

    496KB

  • memory/1092-120-0x0000000073100000-0x00000000738B0000-memory.dmp

    Filesize

    7.7MB

  • memory/1092-119-0x0000000000400000-0x0000000000576000-memory.dmp

    Filesize

    1.5MB

  • memory/1092-117-0x0000000001440000-0x0000000001441000-memory.dmp

    Filesize

    4KB

  • memory/1092-116-0x0000000077462000-0x0000000077463000-memory.dmp

    Filesize

    4KB

  • memory/3620-106-0x0000000000400000-0x0000000000537000-memory.dmp

    Filesize

    1.2MB

  • memory/3620-111-0x0000000000400000-0x0000000000537000-memory.dmp

    Filesize

    1.2MB

  • memory/3984-54-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-58-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-104-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-103-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-107-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-108-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-109-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-110-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-102-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-100-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-113-0x00000000750B0000-0x000000007520D000-memory.dmp

    Filesize

    1.4MB

  • memory/3984-114-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-101-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-118-0x0000000003AE0000-0x0000000003AE8000-memory.dmp

    Filesize

    32KB

  • memory/3984-98-0x0000000003AE0000-0x0000000003AE8000-memory.dmp

    Filesize

    32KB

  • memory/3984-99-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-97-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-94-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-93-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-88-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-82-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-76-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-69-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-67-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-64-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-65-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-60-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-105-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-56-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-4-0x00000000023E0000-0x00000000023E1000-memory.dmp

    Filesize

    4KB

  • memory/3984-52-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-51-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-50-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-48-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-46-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-42-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-44-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-40-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-37-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-35-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-32-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-30-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-28-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-25-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-23-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-22-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-20-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-18-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-15-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-14-0x0000000000400000-0x0000000000608000-memory.dmp

    Filesize

    2.0MB

  • memory/3984-12-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-10-0x00000000006F0000-0x00000000007F0000-memory.dmp

    Filesize

    1024KB

  • memory/3984-8-0x00000000750B0000-0x000000007520D000-memory.dmp

    Filesize

    1.4MB

  • memory/3984-2-0x0000000077462000-0x0000000077463000-memory.dmp

    Filesize

    4KB