Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-04-2024 17:09

General

  • Target

    fd38b33ef2c814530a6334068ede6c9e_JaffaCakes118.exe

  • Size

    13.4MB

  • MD5

    fd38b33ef2c814530a6334068ede6c9e

  • SHA1

    7db500679ab97ade3132968cefb5487341bfc7fa

  • SHA256

    68f68b471d96eba7489c49f0764a552bece2be9a88eea0f4caa7cf0b532f242e

  • SHA512

    018cb80f9bb521fd0367f47a43ab5f07d8d3ceb1c79a25dbfce82262aeea115eee6bba773c69c7de94cabc267ee1487d090a3afae0c9f638cd8a697b40fd17c0

  • SSDEEP

    393216:qHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH:

Malware Config

Extracted

Family

tofsee

C2

194.61.3.129

defeatwax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fd38b33ef2c814530a6334068ede6c9e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fd38b33ef2c814530a6334068ede6c9e_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iuxpdpjy\
      2⤵
        PID:1496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qmjemsfg.exe" C:\Windows\SysWOW64\iuxpdpjy\
        2⤵
          PID:3960
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iuxpdpjy binPath= "C:\Windows\SysWOW64\iuxpdpjy\qmjemsfg.exe /d\"C:\Users\Admin\AppData\Local\Temp\fd38b33ef2c814530a6334068ede6c9e_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iuxpdpjy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3576
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iuxpdpjy
          2⤵
          • Launches sc.exe
          PID:4996
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:808
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5004 -s 888
          2⤵
          • Program crash
          PID:3348
      • C:\Windows\SysWOW64\iuxpdpjy\qmjemsfg.exe
        C:\Windows\SysWOW64\iuxpdpjy\qmjemsfg.exe /d"C:\Users\Admin\AppData\Local\Temp\fd38b33ef2c814530a6334068ede6c9e_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:928
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3648
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 928 -s 536
          2⤵
          • Program crash
          PID:2776
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 5004 -ip 5004
        1⤵
          PID:4044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 928 -ip 928
          1⤵
            PID:1584

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.7MB

            MD5

            114c1134ca66c4b2418659faae3ad11f

            SHA1

            a4111ca4975ab185127d8cbb4bbacccf976d8e54

            SHA256

            d527481d7199dc80dd07a77ec5c5af5486fa0bda88a3a653a21625e6a5a3ec8b

            SHA512

            8b73ee56e6cef463e3115f38018a639276a97c5503eb6e30f4ba0dca1e303d673ba2617b5e822d1987bc5322f0815ba085f477746dfcc43dacc625bf08ea8ac7

          • memory/928-13-0x0000000000400000-0x00000000009AE000-memory.dmp

            Filesize

            5.7MB

          • memory/928-11-0x0000000000C00000-0x0000000000D00000-memory.dmp

            Filesize

            1024KB

          • memory/3648-10-0x00000000012D0000-0x00000000012E5000-memory.dmp

            Filesize

            84KB

          • memory/3648-15-0x00000000012D0000-0x00000000012E5000-memory.dmp

            Filesize

            84KB

          • memory/3648-16-0x00000000012D0000-0x00000000012E5000-memory.dmp

            Filesize

            84KB

          • memory/3648-18-0x00000000012D0000-0x00000000012E5000-memory.dmp

            Filesize

            84KB

          • memory/3648-19-0x00000000012D0000-0x00000000012E5000-memory.dmp

            Filesize

            84KB

          • memory/5004-9-0x00000000026F0000-0x0000000002703000-memory.dmp

            Filesize

            76KB

          • memory/5004-8-0x0000000000400000-0x00000000009AE000-memory.dmp

            Filesize

            5.7MB

          • memory/5004-1-0x00000000009F0000-0x0000000000AF0000-memory.dmp

            Filesize

            1024KB

          • memory/5004-4-0x0000000000400000-0x00000000009AE000-memory.dmp

            Filesize

            5.7MB

          • memory/5004-2-0x00000000026F0000-0x0000000002703000-memory.dmp

            Filesize

            76KB