Analysis

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

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

General

  • Target
    9e4a5a885fda8f38847f4f27cf21c52a_JaffaCakes118.exe
  • Size 11.3MB
  • Sample240403-dhmr5aea5v
  • SHA256 96cbde3b6581f41951448104432acd2ee0069d14a86ce150d73736c89eae7bd4
  • 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\9e4a5a885fda8f38847f4f27cf21c52a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9e4a5a885fda8f38847f4f27cf21c52a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bysylyqa\
      2⤵
        PID:2004
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\orpkelvf.exe" C:\Windows\SysWOW64\bysylyqa\
        2⤵
          PID:4876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bysylyqa binPath= "C:\Windows\SysWOW64\bysylyqa\orpkelvf.exe /d\"C:\Users\Admin\AppData\Local\Temp\9e4a5a885fda8f38847f4f27cf21c52a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3084
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bysylyqa "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2836
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bysylyqa
          2⤵
          • Launches sc.exe
          PID:4540
        • 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:4768
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4352 -s 1220
          2⤵
          • Program crash
          PID:4344
      • C:\Windows\SysWOW64\bysylyqa\orpkelvf.exe
        C:\Windows\SysWOW64\bysylyqa\orpkelvf.exe /d"C:\Users\Admin\AppData\Local\Temp\9e4a5a885fda8f38847f4f27cf21c52a_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3092
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2316
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3092 -s 512
          2⤵
          • Program crash
          PID:4404
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4352 -ip 4352
        1⤵
          PID:1148
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3092 -ip 3092
          1⤵
            PID:4476
          • 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=3740 --field-trial-handle=2328,i,5873823382323802923,13134441441264702821,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4124

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  orpkelvf.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\orpkelvf.exe
                  • Size 11.7MB
                  • SHA256 e3c63934d6738b84b3c73ecf77427a90808f30fcddfa356f8be157d89388a2ae
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/2316-13-0x0000000000C20000-0x0000000000C35000-memory.dmp

                  memory/2316-21-0x0000000000C20000-0x0000000000C35000-memory.dmp

                  memory/2316-20-0x0000000000C20000-0x0000000000C35000-memory.dmp

                  memory/2316-18-0x0000000000C20000-0x0000000000C35000-memory.dmp

                  memory/3092-19-0x0000000000400000-0x0000000000870000-memory.dmp

                  memory/3092-14-0x0000000000400000-0x0000000000870000-memory.dmp

                  memory/3092-11-0x0000000000B50000-0x0000000000C50000-memory.dmp

                  memory/4352-5-0x0000000000400000-0x0000000000870000-memory.dmp

                  memory/4352-12-0x00000000001C0000-0x00000000001D3000-memory.dmp

                  memory/4352-9-0x0000000000400000-0x0000000000870000-memory.dmp

                  memory/4352-1-0x0000000000AA0000-0x0000000000BA0000-memory.dmp

                  memory/4352-3-0x0000000000400000-0x0000000000870000-memory.dmp

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