Analysis

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

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

General

  • Target
    7839715f4fff3d259ee61760bda3706e_JaffaCakes118.exe
  • Size 13.8MB
  • Sample240401-xy5gnade95
  • SHA256 701057420881654468607bc906d733c388db28b56eb2e81293a1910264aadba6
  • 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\7839715f4fff3d259ee61760bda3706e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7839715f4fff3d259ee61760bda3706e_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\swgurlwg\
      2⤵
        PID:2252
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bnzhhshp.exe" C:\Windows\SysWOW64\swgurlwg\
        2⤵
          PID:676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create swgurlwg binPath= "C:\Windows\SysWOW64\swgurlwg\bnzhhshp.exe /d\"C:\Users\Admin\AppData\Local\Temp\7839715f4fff3d259ee61760bda3706e_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description swgurlwg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1160
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start swgurlwg
          2⤵
          • Launches sc.exe
          PID:2240
        • 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:2444
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3980 -s 1216
          2⤵
          • Program crash
          PID:3536
      • C:\Windows\SysWOW64\swgurlwg\bnzhhshp.exe
        C:\Windows\SysWOW64\swgurlwg\bnzhhshp.exe /d"C:\Users\Admin\AppData\Local\Temp\7839715f4fff3d259ee61760bda3706e_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1392
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:380
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1392 -s 512
          2⤵
          • Program crash
          PID:4424
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 188 -p 3980 -ip 3980
        1⤵
          PID:716
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1392 -ip 1392
          1⤵
            PID:1500
          • 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=3804 --field-trial-handle=2264,i,15001568551143786084,90255922961447677,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4100

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  bnzhhshp.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\bnzhhshp.exe
                  • Size 14.3MB
                  • SHA256 d2c8585575c622f48b3ba1c1fcfd796f07fc68e21dff2d50e2b621011634bc27
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/380-16-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                  memory/380-12-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                  memory/380-18-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                  memory/380-19-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                  memory/1392-10-0x0000000000920000-0x0000000000A20000-memory.dmp

                  memory/1392-11-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/1392-17-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/3980-3-0x0000000000400000-0x0000000000871000-memory.dmp

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

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

                  memory/3980-8-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/3980-1-0x0000000000910000-0x0000000000A10000-memory.dmp