Analysis

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

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

General

  • Target
    f85a88cc5601bb3b548b567f9c8647f2_JaffaCakes118.exe
  • Size 14.6MB
  • Sample240418-t1a42shf44
  • SHA256 ac46f2c177a5bfd5445aed661574183570f7e36745248cbade26b9fce982c406
  • 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.

  • 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\f85a88cc5601bb3b548b567f9c8647f2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f85a88cc5601bb3b548b567f9c8647f2_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxrpxjdz\
      2⤵
        PID:3744
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ezoydiay.exe" C:\Windows\SysWOW64\gxrpxjdz\
        2⤵
          PID:1592
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gxrpxjdz binPath= "C:\Windows\SysWOW64\gxrpxjdz\ezoydiay.exe /d\"C:\Users\Admin\AppData\Local\Temp\f85a88cc5601bb3b548b567f9c8647f2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gxrpxjdz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1544
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gxrpxjdz
          2⤵
          • Launches sc.exe
          PID:852
        • 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:5068
      • C:\Windows\SysWOW64\gxrpxjdz\ezoydiay.exe
        C:\Windows\SysWOW64\gxrpxjdz\ezoydiay.exe /d"C:\Users\Admin\AppData\Local\Temp\f85a88cc5601bb3b548b567f9c8647f2_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4844
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1372
      • 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=4032 --field-trial-handle=2900,i,14549994492153927475,12895178890800740987,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:656

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              ezoydiay.exe

              • Path C:\Users\Admin\AppData\Local\Temp\ezoydiay.exe
              • Size 128KB
              • SHA256 933ce247c392c21a4fa9f540e1e7d872b4d9357b91d2348f6dc70706d8bad172
              • MD5 SHA1 SHA512 SSDEEP

              memory/1372-16-0x0000000001040000-0x0000000001055000-memory.dmp

              memory/1372-26-0x0000000001040000-0x0000000001055000-memory.dmp

              memory/1372-11-0x0000000001040000-0x0000000001055000-memory.dmp

              memory/1372-14-0x0000000001040000-0x0000000001055000-memory.dmp

              memory/1372-17-0x0000000001040000-0x0000000001055000-memory.dmp

              memory/4248-19-0x0000000000720000-0x0000000000820000-memory.dmp

              memory/4248-1-0x0000000000720000-0x0000000000820000-memory.dmp

              memory/4248-8-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/4248-3-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/4248-2-0x00000000021C0000-0x00000000021D3000-memory.dmp

              memory/4248-22-0x00000000021C0000-0x00000000021D3000-memory.dmp

              memory/4844-10-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/4844-18-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/4844-9-0x0000000000500000-0x0000000000600000-memory.dmp