Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 09:52

General

  • Target

    JaffaCakes118_2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313.exe

  • Size

    310KB

  • MD5

    2c5389a25b8b4e41c9d0d9368635c66c

  • SHA1

    0b874b47a0b5b8c971a6750d35fd1eb081ab2df8

  • SHA256

    2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313

  • SHA512

    43f9c4aa667fad4f1d6c31af8c0cbed18b1e66d6a0596cd04d605714813c89e621f86dd369769c8f54705b10e2b7935f1e84f0e37e64f8258c4bfc7456b86dd2

  • SSDEEP

    6144:tSKVaczmP5HaPF4N3LnJSs0+2775wRLcacJj:tSKVaczC4PF0bJSsDVRLc

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.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 2 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_2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ooonyeem\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mtxwxen.exe" C:\Windows\SysWOW64\ooonyeem\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ooonyeem binPath= "C:\Windows\SysWOW64\ooonyeem\mtxwxen.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ooonyeem "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ooonyeem
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1016
    • 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:3212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1504 -s 1040
      2⤵
      • Program crash
      PID:3664
  • C:\Windows\SysWOW64\ooonyeem\mtxwxen.exe
    C:\Windows\SysWOW64\ooonyeem\mtxwxen.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f09b78d9553e76cfb5f37d3b95c328c0e27492a41b053870c4cd38fe34cc313.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4492
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4492 -s 516
      2⤵
      • Program crash
      PID:3920
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4492 -ip 4492
    1⤵
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1504 -ip 1504
      1⤵
        PID:208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        7a5d9d49dbaa79c7f34a96f7e75f488c

        SHA1

        7a9bea7dc988f2371fbcb2ac5d3ae303cef00048

        SHA256

        7de2af615c78109180ba139a5f7042fa858688e6ed17b767725996e7623ebd1f

        SHA512

        6fdde9275ac57f1f773cba09873b4bf358d68e87fce211e0ceff9985de9fa1d5d7a70971845122e7799fd999fbf64d05bc1efc17d28e3e44e56e48d0fcd889bb

      • memory/216-22-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/216-11-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/216-14-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/216-21-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/216-20-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/1504-17-0x0000000000400000-0x000000000056A000-memory.dmp

        Filesize

        1.4MB

      • memory/1504-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1504-1-0x0000000000800000-0x0000000000900000-memory.dmp

        Filesize

        1024KB

      • memory/1504-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1504-18-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/4492-8-0x0000000000400000-0x000000000056A000-memory.dmp

        Filesize

        1.4MB

      • memory/4492-16-0x0000000000400000-0x000000000056A000-memory.dmp

        Filesize

        1.4MB

      • memory/4492-9-0x0000000000400000-0x000000000056A000-memory.dmp

        Filesize

        1.4MB

      • memory/4492-10-0x0000000000400000-0x000000000056A000-memory.dmp

        Filesize

        1.4MB