Analysis

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

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-07-2024 18:59

General

  • Target

    25e45ae62147eb401b332a1bff694693_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    25e45ae62147eb401b332a1bff694693

  • SHA1

    8bd56b03390f2403549de9263e6ec191bec99284

  • SHA256

    8765a0812ad0542a674be1585e4fd6da359621b5f19da44309bfb4cd02eedda1

  • SHA512

    757075e4a8e740e7be2317529cf9b38f4e2d752f248d153eb3ee3755992516962b82819d690d201abd8e698465af3c78b7ed36df615c8ad9fc885ecc716d5695

  • SSDEEP

    196608:mE/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvn:mE

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\25e45ae62147eb401b332a1bff694693_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\25e45ae62147eb401b332a1bff694693_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xttgyteq\
      2⤵
        PID:4424
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\etgcongs.exe" C:\Windows\SysWOW64\xttgyteq\
        2⤵
          PID:4752
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xttgyteq binPath= "C:\Windows\SysWOW64\xttgyteq\etgcongs.exe /d\"C:\Users\Admin\AppData\Local\Temp\25e45ae62147eb401b332a1bff694693_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1084
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xttgyteq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3368
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xttgyteq
          2⤵
          • Launches sc.exe
          PID:1176
        • 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:3204
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4240 -s 1284
          2⤵
          • Program crash
          PID:4208
      • C:\Windows\SysWOW64\xttgyteq\etgcongs.exe
        C:\Windows\SysWOW64\xttgyteq\etgcongs.exe /d"C:\Users\Admin\AppData\Local\Temp\25e45ae62147eb401b332a1bff694693_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5108
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1644
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5108 -s 512
          2⤵
          • Program crash
          PID:4560
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4240 -ip 4240
        1⤵
          PID:1056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5108 -ip 5108
          1⤵
            PID:3056

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.9MB

            MD5

            55041a3c1d1d2c5fe90186b4887f76ca

            SHA1

            e6bb2171b7f2e9b19e3ab3da3cefea2e42e1c777

            SHA256

            a0a5904dc102edfae49ee590b8188a5d2cd3e245033a66409f28a3e0cc139805

            SHA512

            77867a7828a37a9f66de42433f4824afffd1622972a93df6db2c51bf7d33122f5037d734204afb75aa7b136ee9c869c9e6f4dc6bd400be29eab7f068228b882e

          • memory/1644-14-0x0000000001200000-0x0000000001215000-memory.dmp

            Filesize

            84KB

          • memory/1644-16-0x0000000001200000-0x0000000001215000-memory.dmp

            Filesize

            84KB

          • memory/1644-17-0x0000000001200000-0x0000000001215000-memory.dmp

            Filesize

            84KB

          • memory/4240-4-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/4240-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

          • memory/4240-10-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/4240-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

          • memory/4240-8-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/4240-1-0x0000000000B20000-0x0000000000C20000-memory.dmp

            Filesize

            1024KB

          • memory/5108-11-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/5108-13-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/5108-12-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/5108-19-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB