Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/04/2024, 00:44

General

  • Target
    ab109c913445e8a0251de173a629b44d_JaffaCakes118.exe
  • Size 10.6MB
  • Sample240404-a3kxgsaa55
  • SHA256 2f82a0c6e14edc35e09a3a1cac9ad392baa94447467e7ef69e00c7540a801150
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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\ab109c913445e8a0251de173a629b44d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ab109c913445e8a0251de173a629b44d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xibtanmw\
      2⤵
        PID:2272
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhointgo.exe" C:\Windows\SysWOW64\xibtanmw\
        2⤵
          PID:4764
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xibtanmw binPath= "C:\Windows\SysWOW64\xibtanmw\vhointgo.exe /d\"C:\Users\Admin\AppData\Local\Temp\ab109c913445e8a0251de173a629b44d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1660
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xibtanmw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:712
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xibtanmw
          2⤵
          • Launches sc.exe
          PID:3856
        • 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:1340
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4600 -s 1244
          2⤵
          • Program crash
          PID:1240
      • C:\Windows\SysWOW64\xibtanmw\vhointgo.exe
        C:\Windows\SysWOW64\xibtanmw\vhointgo.exe /d"C:\Users\Admin\AppData\Local\Temp\ab109c913445e8a0251de173a629b44d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3240
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3240 -s 560
          2⤵
          • Program crash
          PID:4664
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4600 -ip 4600
        1⤵
          PID:4452
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 3240 -ip 3240
          1⤵
            PID:5032

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                vhointgo.exe

                • Path C:\Users\Admin\AppData\Local\Temp\vhointgo.exe
                • Size 13.9MB
                • SHA256 ca9adf1eb6e2bf10868de1dce9f3be87fcc3f1e491db2f47c1a57a499c4decdf
                • MD5 SHA1 SHA512 SSDEEP

                memory/3240-10-0x00000000008B0000-0x00000000009B0000-memory.dmp

                memory/3240-17-0x0000000000400000-0x0000000000870000-memory.dmp

                memory/3240-12-0x0000000000400000-0x0000000000870000-memory.dmp

                memory/4536-11-0x00000000005B0000-0x00000000005C5000-memory.dmp

                memory/4536-15-0x00000000005B0000-0x00000000005C5000-memory.dmp

                memory/4536-16-0x00000000005B0000-0x00000000005C5000-memory.dmp

                memory/4536-18-0x00000000005B0000-0x00000000005C5000-memory.dmp

                memory/4536-19-0x00000000005B0000-0x00000000005C5000-memory.dmp

                memory/4600-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/4600-1-0x00000000009A0000-0x0000000000AA0000-memory.dmp

                memory/4600-8-0x0000000000400000-0x0000000000870000-memory.dmp

                memory/4600-4-0x0000000000400000-0x0000000000870000-memory.dmp

                memory/4600-2-0x00000000001C0000-0x00000000001D3000-memory.dmp