Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-06-2024 16:28

General

  • Target

    02efa58022f21dab1d400e8ddc3620c4_JaffaCakes118.exe

  • Size

    10.6MB

  • MD5

    02efa58022f21dab1d400e8ddc3620c4

  • SHA1

    e805af3f400abe91974ad3a2b544a6e3b5f77b1a

  • SHA256

    61dbcf0adaa64a67b42678fbdfffac4035ef4eb947f455d6bda7dc807e4a589c

  • SHA512

    16ec166259460e33a60482212ce9cff12967add5a4fa0a5cb1ed3c0658e3627f6f9fe1990d509e48653920cd383e3d3e4ecd4d0c55778579beb626c9e8250a9e

  • SSDEEP

    196608:d3qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqP:d

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) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\02efa58022f21dab1d400e8ddc3620c4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\02efa58022f21dab1d400e8ddc3620c4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rajrzovl\
      2⤵
        PID:4780
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjhcwdnx.exe" C:\Windows\SysWOW64\rajrzovl\
        2⤵
          PID:1352
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rajrzovl binPath= "C:\Windows\SysWOW64\rajrzovl\gjhcwdnx.exe /d\"C:\Users\Admin\AppData\Local\Temp\02efa58022f21dab1d400e8ddc3620c4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rajrzovl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rajrzovl
          2⤵
          • Launches sc.exe
          PID:2304
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:2020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2148 -s 1268
          2⤵
          • Program crash
          PID:3300
      • C:\Windows\SysWOW64\rajrzovl\gjhcwdnx.exe
        C:\Windows\SysWOW64\rajrzovl\gjhcwdnx.exe /d"C:\Users\Admin\AppData\Local\Temp\02efa58022f21dab1d400e8ddc3620c4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2848
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2848 -s 516
          2⤵
          • Program crash
          PID:224
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2148 -ip 2148
        1⤵
          PID:860
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2848 -ip 2848
          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=2268 --field-trial-handle=2244,i,11878111470816612087,2265290141962607370,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4868

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              10.5MB

              MD5

              681bee07423513cbf660d3047b540cc2

              SHA1

              fc1847fc9bf47bbe47fa4206652d1452937e0936

              SHA256

              c457b2ab1465a316b6471b2946257964c27ff0619135c2f171ee0894d7567fa4

              SHA512

              b5ce173f418246078b38a9eb484af632120777b9bdf60bc6b73ea832579a421adf31615f3f59bae359476dea7eadf56fbac10ff96b5e9471330a24752aa3a7f0

            • memory/2148-20-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/2148-9-0x0000000000400000-0x0000000000871000-memory.dmp

              Filesize

              4.4MB

            • memory/2148-5-0x0000000000400000-0x0000000000871000-memory.dmp

              Filesize

              4.4MB

            • memory/2148-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

              Filesize

              76KB

            • memory/2148-15-0x0000000000A00000-0x0000000000B00000-memory.dmp

              Filesize

              1024KB

            • memory/2148-19-0x00000000001D0000-0x00000000001E3000-memory.dmp

              Filesize

              76KB

            • memory/2148-3-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/2148-1-0x0000000000A00000-0x0000000000B00000-memory.dmp

              Filesize

              1024KB

            • memory/2848-11-0x0000000000400000-0x0000000000871000-memory.dmp

              Filesize

              4.4MB

            • memory/2848-17-0x0000000000400000-0x0000000000871000-memory.dmp

              Filesize

              4.4MB

            • memory/2848-10-0x0000000000400000-0x0000000000871000-memory.dmp

              Filesize

              4.4MB

            • memory/4484-16-0x0000000001030000-0x0000000001045000-memory.dmp

              Filesize

              84KB

            • memory/4484-12-0x0000000001030000-0x0000000001045000-memory.dmp

              Filesize

              84KB

            • memory/4484-21-0x0000000001030000-0x0000000001045000-memory.dmp

              Filesize

              84KB

            • memory/4484-22-0x0000000001030000-0x0000000001045000-memory.dmp

              Filesize

              84KB

            • memory/4484-23-0x0000000001030000-0x0000000001045000-memory.dmp

              Filesize

              84KB