Analysis

  • max time kernel
    92s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-05-2024 00:34

General

  • Target

    31d72dbeae3a0c064b685548c9726b4f_JaffaCakes118.exe

  • Size

    407KB

  • MD5

    31d72dbeae3a0c064b685548c9726b4f

  • SHA1

    1a87649fe22fe3c77d72dbc97d0d106149277971

  • SHA256

    ca9477a41b53f2009fd061bb518fa12ff7580b3c0578778672af0734049f1797

  • SHA512

    44981c477c34cf0202eff8ef77ec8bdf50a01a96e31c55de43f29764412522a5175cd34ce09dbc819ecd7e2da1995b360fa5946f9c373655b1e15fa91a49b896

  • SSDEEP

    6144:I7uuJrFt8LE/X6Ox1zrToCjo4IDnxIKI3gPlDh9BhYDugkwb//h41DAfsr0Xv:IRZF6G1zrTF1gxIB3gPlftm/54lbr0X

Malware Config

Signatures

  • Detect ZGRat V1 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 2 IoCs
  • Obfuscated with Agile.Net obfuscator 1 IoCs

    Detects use of the Agile.Net commercial obfuscator, which is capable of entity renaming and control flow obfuscation.

  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

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

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

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\31d72dbeae3a0c064b685548c9726b4f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\31d72dbeae3a0c064b685548c9726b4f_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c copy "C:\Users\Admin\AppData\Local\Temp\31d72dbeae3a0c064b685548c9726b4f_JaffaCakes118.exe" "C:\Users\Admin\Downloads\project7396.exe"
      2⤵
        PID:756
      • C:\Windows\SysWOW64\explorer.exe
        "C:\Windows\System32\explorer.exe" /c, "C:\Users\Admin\Downloads\project7396.exe"
        2⤵
          PID:4656
      • C:\Windows\explorer.exe
        C:\Windows\explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b00b24b} -Embedding
        1⤵
        • Suspicious use of WriteProcessMemory
        PID:1816
        • C:\Users\Admin\Downloads\project7396.exe
          "C:\Users\Admin\Downloads\project7396.exe"
          2⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4700
          • C:\Users\Admin\Downloads\project7396.exe
            "C:\Users\Admin\Downloads\project7396.exe"
            3⤵
            • Executes dropped EXE
            • Accesses Microsoft Outlook profiles
            • Adds Run key to start application
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            • outlook_office_path
            • outlook_win_path
            PID:1020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\project7396.exe.log

        Filesize

        706B

        MD5

        2ef5ef69dadb8865b3d5b58c956077b8

        SHA1

        af2d869bac00685c745652bbd8b3fe82829a8998

        SHA256

        363502eb2a4e53ba02d2d85412b901fcf8e06de221736bdffa949799ef3d21e3

        SHA512

        66d4db5dd17d88e1d54ea0df3a7211a503dc4355de701259cefccc9f2e4e3ced9534b700099ffbb089a5a3acb082011c80b61801aa14aff76b379ce8f90d4fd3

      • C:\Users\Admin\Downloads\project7396.exe

        Filesize

        407KB

        MD5

        31d72dbeae3a0c064b685548c9726b4f

        SHA1

        1a87649fe22fe3c77d72dbc97d0d106149277971

        SHA256

        ca9477a41b53f2009fd061bb518fa12ff7580b3c0578778672af0734049f1797

        SHA512

        44981c477c34cf0202eff8ef77ec8bdf50a01a96e31c55de43f29764412522a5175cd34ce09dbc819ecd7e2da1995b360fa5946f9c373655b1e15fa91a49b896

      • memory/1020-24-0x0000000006D20000-0x0000000006D2A000-memory.dmp

        Filesize

        40KB

      • memory/1020-23-0x0000000007360000-0x00000000073B0000-memory.dmp

        Filesize

        320KB

      • memory/1020-22-0x0000000006C30000-0x0000000006C3A000-memory.dmp

        Filesize

        40KB

      • memory/1020-19-0x0000000005690000-0x00000000056A8000-memory.dmp

        Filesize

        96KB

      • memory/1020-20-0x0000000006160000-0x00000000061C6000-memory.dmp

        Filesize

        408KB

      • memory/1020-15-0x0000000000400000-0x0000000000436000-memory.dmp

        Filesize

        216KB

      • memory/3392-4-0x00000000077E0000-0x0000000007872000-memory.dmp

        Filesize

        584KB

      • memory/3392-11-0x0000000074A10000-0x00000000751C0000-memory.dmp

        Filesize

        7.7MB

      • memory/3392-7-0x0000000074A10000-0x00000000751C0000-memory.dmp

        Filesize

        7.7MB

      • memory/3392-6-0x0000000002BF0000-0x0000000002BF6000-memory.dmp

        Filesize

        24KB

      • memory/3392-5-0x0000000002BC0000-0x0000000002BF0000-memory.dmp

        Filesize

        192KB

      • memory/3392-0-0x0000000074A1E000-0x0000000074A1F000-memory.dmp

        Filesize

        4KB

      • memory/3392-3-0x0000000007CF0000-0x0000000008294000-memory.dmp

        Filesize

        5.6MB

      • memory/3392-2-0x0000000005190000-0x00000000051EA000-memory.dmp

        Filesize

        360KB

      • memory/3392-1-0x00000000007F0000-0x000000000085E000-memory.dmp

        Filesize

        440KB

      • memory/4700-14-0x0000000005A60000-0x0000000005AFC000-memory.dmp

        Filesize

        624KB