Analysis

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

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

General

  • Target

    f9496c106987b667046b3895dea478e6_JaffaCakes118.exe

  • Size

    13.0MB

  • MD5

    f9496c106987b667046b3895dea478e6

  • SHA1

    569bf8c79ad8488eb03343929118a52a223f8296

  • SHA256

    ea8ca76b2aef52390b22087b4535723f4f11f82911bd78a7ed1bd6cfbdd46d8b

  • SHA512

    8ef9534565f25f5a84a37fbd4af6ee94a0d4c643b3c80481818d07645c2d4f632a325e05ae2156b118fc2315431057a988d39055ad5e2121b0fefaa1a1556f70

  • SSDEEP

    12288:3l5qOcvT9o+egMU+HoWfprc0sssssssssssssssssssssssssssssssssssssss:xcvT9ofeqrc

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\f9496c106987b667046b3895dea478e6_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f9496c106987b667046b3895dea478e6_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yhvivwpp\
      2⤵
        PID:4956
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rrkxjgfh.exe" C:\Windows\SysWOW64\yhvivwpp\
        2⤵
          PID:3780
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yhvivwpp binPath= "C:\Windows\SysWOW64\yhvivwpp\rrkxjgfh.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9496c106987b667046b3895dea478e6_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yhvivwpp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yhvivwpp
          2⤵
          • Launches sc.exe
          PID:3504
        • 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:1696
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1672 -s 1036
          2⤵
          • Program crash
          PID:3536
      • C:\Windows\SysWOW64\yhvivwpp\rrkxjgfh.exe
        C:\Windows\SysWOW64\yhvivwpp\rrkxjgfh.exe /d"C:\Users\Admin\AppData\Local\Temp\f9496c106987b667046b3895dea478e6_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:676
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4296
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 676 -s 248
          2⤵
          • Program crash
          PID:1320
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1672 -ip 1672
        1⤵
          PID:3880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 676 -ip 676
          1⤵
            PID:2396

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            15.0MB

            MD5

            4fbfa6c247caee7b70e164aab6f48d54

            SHA1

            83385a790e9c65260098595386a4221c30b97014

            SHA256

            0c53f75e1e78267671a50b05df370b075b0aa9b2d802007e7676f1cedbccfb24

            SHA512

            4f07ff193ef3103e94b4af02b8f1c1a9625cb5bbf3357d768703c033b90ad04012812bf4f245d1d55286603cb3352db4482e4020bba874ade8f34a17946aec12

          • memory/676-10-0x00000000007E0000-0x00000000008E0000-memory.dmp

            Filesize

            1024KB

          • memory/676-11-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/676-18-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/1672-4-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/1672-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB

          • memory/1672-8-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/1672-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB

          • memory/1672-1-0x0000000000590000-0x0000000000690000-memory.dmp

            Filesize

            1024KB

          • memory/4296-12-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/4296-16-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/4296-17-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/4296-19-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB