Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 16:46

General

  • Target

    JaffaCakes118_d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee.exe

  • Size

    236KB

  • MD5

    d56c8d55c3de102b93d2de0977675269

  • SHA1

    47fc8dc61ec75e3fbec90df6f1260382a7d6a4c1

  • SHA256

    d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee

  • SHA512

    70561bacffc5bf31e0201d4180053f2be081093f89061a3daac0bd8110bfd59b1cf1f5b1204997b3bbceb032f59a151138377203912355c423e424fd8e35091d

  • SSDEEP

    6144:x4Gu7W6nYZOlOH7OxP80PtqJLr9tamsUKPfRYw:xv3YYslOGP80PtqJLr9CvZYw

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.

  • Tofsee family
  • 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 4 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hixvegof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frmjqppd.exe" C:\Windows\SysWOW64\hixvegof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hixvegof binPath= "C:\Windows\SysWOW64\hixvegof\frmjqppd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hixvegof "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hixvegof
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2352
    • 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
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4968 -s 792
      2⤵
      • Program crash
      PID:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4968 -s 644
      2⤵
      • Program crash
      PID:1032
  • C:\Windows\SysWOW64\hixvegof\frmjqppd.exe
    C:\Windows\SysWOW64\hixvegof\frmjqppd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3d822be312737cc70fbc680cc2bdb7806846b8fe74df7f5cb8c4720cc332cee.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2288
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1904
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2288 -s 512
      2⤵
      • Program crash
      PID:3944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2288 -s 564
      2⤵
      • Program crash
      PID:4592
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4968 -ip 4968
    1⤵
      PID:4660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4968 -ip 4968
      1⤵
        PID:1152
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 2288 -ip 2288
        1⤵
          PID:2720
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 2288 -ip 2288
          1⤵
            PID:2304

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.4MB

            MD5

            781fd29a39032cffc8d1a6daec343433

            SHA1

            29c35bc1aa0ffb08cb1a4c5c0248d9d347b6feee

            SHA256

            5ca9e472a590ad5b36756cbfe458216e69bd0aa5cfc5b8c675a9132f46a50137

            SHA512

            f59b95d3e0d02b032373035f732845a7dc581ab09828dc534540889562088c0bf328209ff63494aafdf0f02065687f8c4cb670d003cc15b0142b7b9e0f59e5dd

          • memory/1904-12-0x00000000004A0000-0x00000000004B5000-memory.dmp

            Filesize

            84KB

          • memory/1904-14-0x00000000004A0000-0x00000000004B5000-memory.dmp

            Filesize

            84KB

          • memory/1904-16-0x00000000004A0000-0x00000000004B5000-memory.dmp

            Filesize

            84KB

          • memory/2288-11-0x0000000000400000-0x000000000086B000-memory.dmp

            Filesize

            4.4MB

          • memory/2288-15-0x0000000000400000-0x000000000086B000-memory.dmp

            Filesize

            4.4MB

          • memory/4968-1-0x00000000009A0000-0x0000000000AA0000-memory.dmp

            Filesize

            1024KB

          • memory/4968-2-0x00000000008A0000-0x00000000008B3000-memory.dmp

            Filesize

            76KB

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

            Filesize

            84KB

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

            Filesize

            84KB

          • memory/4968-9-0x00000000008A0000-0x00000000008B3000-memory.dmp

            Filesize

            76KB

          • memory/4968-8-0x0000000000400000-0x000000000086B000-memory.dmp

            Filesize

            4.4MB