Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/04/2024, 18:43

General

  • Target
    bfe341b4ad6b30fbc711741e5c2fc8a6_JaffaCakes118.exe
  • Size 14.8MB
  • Sample240404-xc7pwsfg44
  • SHA256 e500f5427f16ffe2ea528ff2cf9d0eae84575d3322947aa52b6178e1e60e3939
  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bfe341b4ad6b30fbc711741e5c2fc8a6_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\bfe341b4ad6b30fbc711741e5c2fc8a6_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3360
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qbkptbt\
      2⤵
        PID:3552
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tivrdcvh.exe" C:\Windows\SysWOW64\qbkptbt\
        2⤵
          PID:908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qbkptbt binPath= "C:\Windows\SysWOW64\qbkptbt\tivrdcvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\bfe341b4ad6b30fbc711741e5c2fc8a6_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3404
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qbkptbt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2164
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qbkptbt
          2⤵
          • Launches sc.exe
          PID:3184
        • 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:368
      • C:\Windows\SysWOW64\qbkptbt\tivrdcvh.exe
        C:\Windows\SysWOW64\qbkptbt\tivrdcvh.exe /d"C:\Users\Admin\AppData\Local\Temp\bfe341b4ad6b30fbc711741e5c2fc8a6_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4792
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1656
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4056 --field-trial-handle=2356,i,13261194862334667799,7441241219475888176,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:2616

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              tivrdcvh.exe

              • Path C:\Users\Admin\AppData\Local\Temp\tivrdcvh.exe
              • Size 13.4MB
              • SHA256 7aa5cc0655e380a6ded6fb790ac44c548f9f140d3e45506b1ec1da5471c77528
              • MD5 SHA1 SHA512 SSDEEP

              memory/1656-16-0x0000000000E70000-0x0000000000E85000-memory.dmp

              memory/1656-20-0x0000000000E70000-0x0000000000E85000-memory.dmp

              memory/1656-12-0x0000000000E70000-0x0000000000E85000-memory.dmp

              memory/1656-19-0x0000000000E70000-0x0000000000E85000-memory.dmp

              memory/1656-18-0x0000000000E70000-0x0000000000E85000-memory.dmp

              memory/3360-2-0x00000000021F0000-0x0000000002203000-memory.dmp

              memory/3360-4-0x0000000000400000-0x00000000004A9000-memory.dmp

              memory/3360-8-0x0000000000400000-0x00000000004A9000-memory.dmp

              memory/3360-9-0x00000000021F0000-0x0000000002203000-memory.dmp

              memory/3360-1-0x0000000000610000-0x0000000000710000-memory.dmp

              memory/4792-10-0x0000000000400000-0x00000000004A9000-memory.dmp

              memory/4792-14-0x0000000000400000-0x00000000004A9000-memory.dmp

              memory/4792-11-0x0000000000630000-0x0000000000730000-memory.dmp

              memory/4792-13-0x0000000000400000-0x00000000004A9000-memory.dmp